[llvm-commits] CVS: reopt/include/reopt/UnpackTraceFunction.h
Brian Gaeke
gaeke at cs.uiuc.edu
Thu Jul 22 22:00:12 PDT 2004
Changes in directory reopt/include/reopt:
UnpackTraceFunction.h updated: 1.13 -> 1.14
---
Log message:
rewriteProlog and rewriteEpilog don't need to take MachineFunction
arguments.
Add prototype for new runOnMachineBasicBlock method.
---
Diffs of the changes: (+3 -3)
Index: reopt/include/reopt/UnpackTraceFunction.h
diff -u reopt/include/reopt/UnpackTraceFunction.h:1.13 reopt/include/reopt/UnpackTraceFunction.h:1.14
--- reopt/include/reopt/UnpackTraceFunction.h:1.13 Thu Jul 15 16:53:32 2004
+++ reopt/include/reopt/UnpackTraceFunction.h Fri Jul 23 00:00:01 2004
@@ -62,7 +62,7 @@
void PrintValueAIs (const std::string &ValueName, const AllocInfo &MatrixAI,
const AllocInfo &TraceAI) const;
- void rewriteProlog (MachineFunction &MF, MachineBasicBlock &MBB);
+ void rewriteProlog (MachineBasicBlock &MBB);
void copyConstantToRegister (MachineFunction &MF, Constant *C, unsigned Reg,
unsigned SpareReg,
std::vector<MachineInstr *> &mvec);
@@ -73,8 +73,8 @@
const PHINode *PN);
bool rewriteEpilogInstr (MachineBasicBlock &MBB,
MachineBasicBlock::iterator iter);
- void rewriteEpilog (MachineFunction &MF, MachineBasicBlock &MBB);
-
+ void rewriteEpilog (MachineBasicBlock &MBB);
+ bool runOnMachineBasicBlock (MachineBasicBlock &MBB);
public:
UnpackTraceFunction (TargetMachine *TM_) : TM (TM_), TF (0) { }
void setTraceFunction (TraceFunction *TF_) { TF = TF_; }
More information about the llvm-commits
mailing list