[llvm-commits] CVS: llvm/lib/Transforms/Instrumentation/ProfilePaths/CombineBranch.cpp InstLoops.cpp

Brian Gaeke gaeke at cs.uiuc.edu
Thu Sep 30 13:14:39 PDT 2004



Changes in directory llvm/lib/Transforms/Instrumentation/ProfilePaths:

CombineBranch.cpp updated: 1.11 -> 1.12
InstLoops.cpp updated: 1.17 -> 1.18
---
Log message:

Add accessor function.


---
Diffs of the changes:  (+8 -0)

Index: llvm/lib/Transforms/Instrumentation/ProfilePaths/CombineBranch.cpp
diff -u llvm/lib/Transforms/Instrumentation/ProfilePaths/CombineBranch.cpp:1.11 llvm/lib/Transforms/Instrumentation/ProfilePaths/CombineBranch.cpp:1.12
--- llvm/lib/Transforms/Instrumentation/ProfilePaths/CombineBranch.cpp:1.11	Thu Jul 29 12:26:53 2004
+++ llvm/lib/Transforms/Instrumentation/ProfilePaths/CombineBranch.cpp	Thu Sep 30 15:14:29 2004
@@ -181,4 +181,8 @@
   return true; // FIXME: assumes a modification was always made.
 }
 
+FunctionPass *createCombineBranchesPass () {
+  return new CombineBranches();
+}
+
 } // End llvm namespace


Index: llvm/lib/Transforms/Instrumentation/ProfilePaths/InstLoops.cpp
diff -u llvm/lib/Transforms/Instrumentation/ProfilePaths/InstLoops.cpp:1.17 llvm/lib/Transforms/Instrumentation/ProfilePaths/InstLoops.cpp:1.18
--- llvm/lib/Transforms/Instrumentation/ProfilePaths/InstLoops.cpp:1.17	Wed Sep  1 17:55:36 2004
+++ llvm/lib/Transforms/Instrumentation/ProfilePaths/InstLoops.cpp	Thu Sep 30 15:14:29 2004
@@ -176,4 +176,8 @@
   return true;  // Function was modified.
 }
 
+FunctionPass *createLoopInstrumentationPass () {
+  return new InstLoops();
+}
+
 } // End llvm namespace






More information about the llvm-commits mailing list