mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-02 16:56:39 +00:00
--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:
parent
c68059ebc1
commit
598641b4ca
@ -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);
|
||||
|
@ -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
Block a user