mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-03-01 01:30:36 +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 LiveVarSet * getLiveVarSetAfterMInst(const MachineInstr *const MInst,
|
||||||
const BasicBlock *const CurBB);
|
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 LiveVarSet * getLiveVarSetAfterMInst(const MachineInstr *const MInst,
|
||||||
const BasicBlock *const CurBB);
|
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 LiveVarSet *const InSetOfThisBB,
|
||||||
const BasicBlock *const PredBB);
|
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:
|
public:
|
||||||
|
|
||||||
BBLiveVar( const BasicBlock* baseBB, unsigned int POId);
|
BBLiveVar( const BasicBlock* baseBB, unsigned int POId);
|
||||||
|
@ -35,6 +35,12 @@ class BBLiveVar
|
|||||||
const LiveVarSet *const InSetOfThisBB,
|
const LiveVarSet *const InSetOfThisBB,
|
||||||
const BasicBlock *const PredBB);
|
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:
|
public:
|
||||||
|
|
||||||
BBLiveVar( const BasicBlock* baseBB, unsigned int POId);
|
BBLiveVar( const BasicBlock* baseBB, unsigned int POId);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user