forked from OSchip/llvm-project
--added support for implicit operands in machine instructions
llvm-svn: 727
This commit is contained in:
parent
e483768174
commit
85cc5744ba
|
@ -139,6 +139,9 @@ class MethodLiveVarInfo
|
|||
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
|
||||
|
||||
|
||||
|
||||
|
|
|
@ -139,6 +139,9 @@ class MethodLiveVarInfo
|
|||
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
|
||||
|
||||
|
||||
|
||||
|
|
|
@ -35,6 +35,12 @@ class BBLiveVar
|
|||
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);
|
||||
|
|
Loading…
Reference in New Issue