[llvm-commits] CVS: llvm/lib/Transforms/Utils/BreakCriticalEdges.cpp LCSSA.cpp LoopSimplify.cpp LowerAllocations.cpp LowerInvoke.cpp LowerSelect.cpp LowerSwitch.cpp Mem2Reg.cpp UnifyFunctionExitNodes.cpp

Chris Lattner lattner at cs.uiuc.edu
Sun Aug 27 15:43:25 PDT 2006



Changes in directory llvm/lib/Transforms/Utils:

BreakCriticalEdges.cpp updated: 1.31 -> 1.32
LCSSA.cpp updated: 1.27 -> 1.28
LoopSimplify.cpp updated: 1.73 -> 1.74
LowerAllocations.cpp updated: 1.60 -> 1.61
LowerInvoke.cpp updated: 1.38 -> 1.39
LowerSelect.cpp updated: 1.6 -> 1.7
LowerSwitch.cpp updated: 1.23 -> 1.24
Mem2Reg.cpp updated: 1.19 -> 1.20
UnifyFunctionExitNodes.cpp updated: 1.35 -> 1.36
---
Log message:

eliminate RegisterOpt.  It does the same thing as RegisterPass.


---
Diffs of the changes:  (+9 -9)

 BreakCriticalEdges.cpp     |    2 +-
 LCSSA.cpp                  |    2 +-
 LoopSimplify.cpp           |    2 +-
 LowerAllocations.cpp       |    2 +-
 LowerInvoke.cpp            |    2 +-
 LowerSelect.cpp            |    2 +-
 LowerSwitch.cpp            |    2 +-
 Mem2Reg.cpp                |    2 +-
 UnifyFunctionExitNodes.cpp |    2 +-
 9 files changed, 9 insertions(+), 9 deletions(-)


Index: llvm/lib/Transforms/Utils/BreakCriticalEdges.cpp
diff -u llvm/lib/Transforms/Utils/BreakCriticalEdges.cpp:1.31 llvm/lib/Transforms/Utils/BreakCriticalEdges.cpp:1.32
--- llvm/lib/Transforms/Utils/BreakCriticalEdges.cpp:1.31	Sun Aug 27 07:54:02 2006
+++ llvm/lib/Transforms/Utils/BreakCriticalEdges.cpp	Sun Aug 27 17:42:52 2006
@@ -47,7 +47,7 @@
     }
   };
 
-  RegisterOpt<BreakCriticalEdges> X("break-crit-edges",
+  RegisterPass<BreakCriticalEdges> X("break-crit-edges",
                                     "Break critical edges in CFG");
 }
 


Index: llvm/lib/Transforms/Utils/LCSSA.cpp
diff -u llvm/lib/Transforms/Utils/LCSSA.cpp:1.27 llvm/lib/Transforms/Utils/LCSSA.cpp:1.28
--- llvm/lib/Transforms/Utils/LCSSA.cpp:1.27	Tue Aug  1 19:16:47 2006
+++ llvm/lib/Transforms/Utils/LCSSA.cpp	Sun Aug 27 17:42:52 2006
@@ -80,7 +80,7 @@
     }
   };
   
-  RegisterOpt<LCSSA> X("lcssa", "Loop-Closed SSA Form Pass");
+  RegisterPass<LCSSA> X("lcssa", "Loop-Closed SSA Form Pass");
 }
 
 FunctionPass *llvm::createLCSSAPass() { return new LCSSA(); }


Index: llvm/lib/Transforms/Utils/LoopSimplify.cpp
diff -u llvm/lib/Transforms/Utils/LoopSimplify.cpp:1.73 llvm/lib/Transforms/Utils/LoopSimplify.cpp:1.74
--- llvm/lib/Transforms/Utils/LoopSimplify.cpp:1.73	Sun Aug 27 07:54:02 2006
+++ llvm/lib/Transforms/Utils/LoopSimplify.cpp	Sun Aug 27 17:42:52 2006
@@ -89,7 +89,7 @@
                                          std::vector<BasicBlock*> &PredBlocks);
   };
 
-  RegisterOpt<LoopSimplify>
+  RegisterPass<LoopSimplify>
   X("loopsimplify", "Canonicalize natural loops", true);
 }
 


Index: llvm/lib/Transforms/Utils/LowerAllocations.cpp
diff -u llvm/lib/Transforms/Utils/LowerAllocations.cpp:1.60 llvm/lib/Transforms/Utils/LowerAllocations.cpp:1.61
--- llvm/lib/Transforms/Utils/LowerAllocations.cpp:1.60	Sun Aug 27 07:54:02 2006
+++ llvm/lib/Transforms/Utils/LowerAllocations.cpp	Sun Aug 27 17:42:52 2006
@@ -65,7 +65,7 @@
     bool runOnBasicBlock(BasicBlock &BB);
   };
 
-  RegisterOpt<LowerAllocations>
+  RegisterPass<LowerAllocations>
   X("lowerallocs", "Lower allocations from instructions to calls");
 }
 


Index: llvm/lib/Transforms/Utils/LowerInvoke.cpp
diff -u llvm/lib/Transforms/Utils/LowerInvoke.cpp:1.38 llvm/lib/Transforms/Utils/LowerInvoke.cpp:1.39
--- llvm/lib/Transforms/Utils/LowerInvoke.cpp:1.38	Sun Aug 27 07:54:02 2006
+++ llvm/lib/Transforms/Utils/LowerInvoke.cpp	Sun Aug 27 17:42:52 2006
@@ -94,7 +94,7 @@
     unsigned JumpBufAlign;
   };
 
-  RegisterOpt<LowerInvoke>
+  RegisterPass<LowerInvoke>
   X("lowerinvoke", "Lower invoke and unwind, for unwindless code generators");
 }
 


Index: llvm/lib/Transforms/Utils/LowerSelect.cpp
diff -u llvm/lib/Transforms/Utils/LowerSelect.cpp:1.6 llvm/lib/Transforms/Utils/LowerSelect.cpp:1.7
--- llvm/lib/Transforms/Utils/LowerSelect.cpp:1.6	Wed May 17 16:05:27 2006
+++ llvm/lib/Transforms/Utils/LowerSelect.cpp	Sun Aug 27 17:42:52 2006
@@ -50,7 +50,7 @@
     bool runOnFunction(Function &F);
   };
 
-  RegisterOpt<LowerSelect>
+  RegisterPass<LowerSelect>
   X("lowerselect", "Lower select instructions to branches");
 }
 


Index: llvm/lib/Transforms/Utils/LowerSwitch.cpp
diff -u llvm/lib/Transforms/Utils/LowerSwitch.cpp:1.23 llvm/lib/Transforms/Utils/LowerSwitch.cpp:1.24
--- llvm/lib/Transforms/Utils/LowerSwitch.cpp:1.23	Sun Aug 27 07:54:02 2006
+++ llvm/lib/Transforms/Utils/LowerSwitch.cpp	Sun Aug 27 17:42:52 2006
@@ -68,7 +68,7 @@
     }
   };
 
-  RegisterOpt<LowerSwitch>
+  RegisterPass<LowerSwitch>
   X("lowerswitch", "Lower SwitchInst's to branches");
 }
 


Index: llvm/lib/Transforms/Utils/Mem2Reg.cpp
diff -u llvm/lib/Transforms/Utils/Mem2Reg.cpp:1.19 llvm/lib/Transforms/Utils/Mem2Reg.cpp:1.20
--- llvm/lib/Transforms/Utils/Mem2Reg.cpp:1.19	Sun Aug 27 07:54:02 2006
+++ llvm/lib/Transforms/Utils/Mem2Reg.cpp	Sun Aug 27 17:42:52 2006
@@ -48,7 +48,7 @@
     }
   };
 
-  RegisterOpt<PromotePass> X("mem2reg", "Promote Memory to Register");
+  RegisterPass<PromotePass> X("mem2reg", "Promote Memory to Register");
 }  // end of anonymous namespace
 
 bool PromotePass::runOnFunction(Function &F) {


Index: llvm/lib/Transforms/Utils/UnifyFunctionExitNodes.cpp
diff -u llvm/lib/Transforms/Utils/UnifyFunctionExitNodes.cpp:1.35 llvm/lib/Transforms/Utils/UnifyFunctionExitNodes.cpp:1.36
--- llvm/lib/Transforms/Utils/UnifyFunctionExitNodes.cpp:1.35	Fri Jun  2 13:40:06 2006
+++ llvm/lib/Transforms/Utils/UnifyFunctionExitNodes.cpp	Sun Aug 27 17:42:52 2006
@@ -22,7 +22,7 @@
 #include "llvm/Type.h"
 using namespace llvm;
 
-static RegisterOpt<UnifyFunctionExitNodes>
+static RegisterPass<UnifyFunctionExitNodes>
 X("mergereturn", "Unify function exit nodes");
 
 int UnifyFunctionExitNodes::stub;






More information about the llvm-commits mailing list