--added support for implicit operands in machine instructions

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@727 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Ruchira Sasanka 2001-10-12 17:46:27 +00:00
parent c68059ebc1
commit 598641b4ca
4 changed files with 18 additions and 0 deletions

View File

@ -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

View File

@ -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

View File

@ -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);

View File

@ -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);