mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-12 17:32:19 +00:00
Don't require a BB to look-up live variables, unless they may need to
be recomputed. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7384 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
c78022ed07
commit
0eb7f745ed
@ -110,13 +110,17 @@ public:
|
||||
// gets InSet of a BB
|
||||
const ValueSet &getInSetOfBB(const BasicBlock *BB) const;
|
||||
|
||||
// gets the Live var set BEFORE an instruction
|
||||
// gets the Live var set BEFORE an instruction.
|
||||
// if BB is specified and the live var set has not yet been computed,
|
||||
// it will be computed on demand.
|
||||
const ValueSet &getLiveVarSetBeforeMInst(const MachineInstr *MI,
|
||||
const BasicBlock *BB);
|
||||
const BasicBlock *BB = 0);
|
||||
|
||||
// gets the Live var set AFTER an instruction
|
||||
// if BB is specified and the live var set has not yet been computed,
|
||||
// it will be computed on demand.
|
||||
const ValueSet &getLiveVarSetAfterMInst(const MachineInstr *MI,
|
||||
const BasicBlock *BB);
|
||||
const BasicBlock *BB = 0);
|
||||
};
|
||||
|
||||
#endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user