Add accessor function.
authorBrian Gaeke <gaeke@uiuc.edu>
Thu, 30 Sep 2004 20:14:29 +0000 (20:14 +0000)
committerBrian Gaeke <gaeke@uiuc.edu>
Thu, 30 Sep 2004 20:14:29 +0000 (20:14 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16622 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Transforms/Instrumentation/ProfilePaths/CombineBranch.cpp
lib/Transforms/Instrumentation/ProfilePaths/InstLoops.cpp

index fe2839b3251244da81deaa6c9a3caa4fae8799d2..9bb220ca7710207605329570e892a79932ea8700 100644 (file)
@@ -181,4 +181,8 @@ bool CombineBranches::runOnFunction(Function &F){
   return true; // FIXME: assumes a modification was always made.
 }
 
+FunctionPass *createCombineBranchesPass () {
+  return new CombineBranches();
+}
+
 } // End llvm namespace
index 56a20730b78a2efb4cbb0659c52df6766b0b2a20..e608174a171b05880da9eb43207ab84f10714ac6 100644 (file)
@@ -176,4 +176,8 @@ bool InstLoops::runOnFunction(Function &F){
   return true;  // Function was modified.
 }
 
+FunctionPass *createLoopInstrumentationPass () {
+  return new InstLoops();
+}
+
 } // End llvm namespace