[llvm-commits] CVS: reopt/include/reopt/UnpackTraceFunction.h

Brian Gaeke gaeke at cs.uiuc.edu
Fri Jul 9 15:56:01 PDT 2004


Changes in directory reopt/include/reopt:

UnpackTraceFunction.h updated: 1.10 -> 1.11

---
Log message:

Make some decls shorter by removing excess whitespace.
Add decl. of eliminatePhiAtTraceExit.


---
Diffs of the changes:  (+6 -5)

Index: reopt/include/reopt/UnpackTraceFunction.h
diff -u reopt/include/reopt/UnpackTraceFunction.h:1.10 reopt/include/reopt/UnpackTraceFunction.h:1.11
--- reopt/include/reopt/UnpackTraceFunction.h:1.10	Fri Jun 25 01:23:53 2004
+++ reopt/include/reopt/UnpackTraceFunction.h	Fri Jul  9 15:55:34 2004
@@ -18,6 +18,7 @@
 class TraceFunction;
 class AllocInfo;
 class Type;
+class PHINode;
 
 /// This pass inserts copies in two places in the machine
 /// code for TF->TraceFn: first, at the entry basic block to copy the values in
@@ -52,20 +53,20 @@
 
   std::string RegStr (const unsigned R) const;
   void PrintAI (const AllocInfo &AI) const;
-  void PrintValueAIs (const std::string &ValueName,
-                      const AllocInfo &MatrixAI,
+  void PrintValueAIs (const std::string &ValueName, const AllocInfo &MatrixAI,
                       const AllocInfo &TraceAI) const;
 
   void rewriteProlog (MachineFunction &MF, MachineBasicBlock &MBB);
-  void copyConstantToRegister (MachineFunction &MF,
-                               Constant *C, unsigned Reg,
+  void copyConstantToRegister (MachineFunction &MF, Constant *C, unsigned Reg,
                                unsigned SpareReg,
                                std::vector<MachineInstr *> &mvec);
   void addLiveOutCopy (MachineFunction &MF, MachineBasicBlock &MBB,
                        const AllocInfo &Source, const AllocInfo &Target,
                        Value *liveOutValue, Value *liveOutTraceValue);
+  void eliminatePhiAtTraceExit (MachineFunction &MF, MachineBasicBlock &MBB,
+                                const PHINode *PN);
   void rewriteEpilog (MachineFunction &MF, MachineBasicBlock &MBB);
-    
+  
 public:
   UnpackTraceFunction (TargetMachine *TM_) : TM (TM_), TF (0) { }
   void setTraceFunction (TraceFunction *TF_) { TF = TF_; }





More information about the llvm-commits mailing list