diff --git a/lib/Transforms/Instrumentation/ProfilePaths/CombineBranch.cpp b/lib/Transforms/Instrumentation/ProfilePaths/CombineBranch.cpp index fe2839b3251..9bb220ca771 100644 --- a/lib/Transforms/Instrumentation/ProfilePaths/CombineBranch.cpp +++ b/lib/Transforms/Instrumentation/ProfilePaths/CombineBranch.cpp @@ -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 diff --git a/lib/Transforms/Instrumentation/ProfilePaths/InstLoops.cpp b/lib/Transforms/Instrumentation/ProfilePaths/InstLoops.cpp index 56a20730b78..e608174a171 100644 --- a/lib/Transforms/Instrumentation/ProfilePaths/InstLoops.cpp +++ b/lib/Transforms/Instrumentation/ProfilePaths/InstLoops.cpp @@ -176,4 +176,8 @@ bool InstLoops::runOnFunction(Function &F){ return true; // Function was modified. } +FunctionPass *createLoopInstrumentationPass () { + return new InstLoops(); +} + } // End llvm namespace