[llvm-commits] CVS: llvm/include/llvm/CodeGen/FunctionLiveVarInfo.h
Vikram Adve
vadve at cs.uiuc.edu
Tue Jul 29 14:33:01 PDT 2003
Changes in directory llvm/include/llvm/CodeGen:
FunctionLiveVarInfo.h updated: 1.26 -> 1.27
---
Log message:
Don't require a BB to look-up live variables, unless they may need to
be recomputed.
---
Diffs of the changes:
Index: llvm/include/llvm/CodeGen/FunctionLiveVarInfo.h
diff -u llvm/include/llvm/CodeGen/FunctionLiveVarInfo.h:1.26 llvm/include/llvm/CodeGen/FunctionLiveVarInfo.h:1.27
--- llvm/include/llvm/CodeGen/FunctionLiveVarInfo.h:1.26 Tue Jan 14 16:56:12 2003
+++ llvm/include/llvm/CodeGen/FunctionLiveVarInfo.h Tue Jul 29 14:32:04 2003
@@ -110,13 +110,17 @@
// 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
More information about the llvm-commits
mailing list