diff options
Diffstat (limited to 'include/llvm/CodeGen/FunctionLiveVarInfo.h')
-rw-r--r-- | include/llvm/CodeGen/FunctionLiveVarInfo.h | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/include/llvm/CodeGen/FunctionLiveVarInfo.h b/include/llvm/CodeGen/FunctionLiveVarInfo.h index 0bdd7f92b9..9120d8eb75 100644 --- a/include/llvm/CodeGen/FunctionLiveVarInfo.h +++ b/include/llvm/CodeGen/FunctionLiveVarInfo.h @@ -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 |