const LiveVarSet * getLiveVarSetAfterMInst(const MachineInstr *const MInst,
const BasicBlock *const CurBB);
+ // TODO: Put a method to invalidate all LVBBs, delete existin BBLivar in
+ // BB2BBLVMap
+ // inline invalidate
const LiveVarSet * getLiveVarSetAfterMInst(const MachineInstr *const MInst,
const BasicBlock *const CurBB);
+ // TODO: Put a method to invalidate all LVBBs, delete existin BBLivar in
+ // BB2BBLVMap
+ // inline invalidate
const LiveVarSet *const InSetOfThisBB,
const BasicBlock *const PredBB);
+ // To add an operand which is a def
+ void addDef(const Value *Op);
+
+ // To add an operand which is a use
+ void addUse(const Value *Op);
+
public:
BBLiveVar( const BasicBlock* baseBB, unsigned int POId);
const LiveVarSet *const InSetOfThisBB,
const BasicBlock *const PredBB);
+ // To add an operand which is a def
+ void addDef(const Value *Op);
+
+ // To add an operand which is a use
+ void addUse(const Value *Op);
+
public:
BBLiveVar( const BasicBlock* baseBB, unsigned int POId);