diff options
author | Brian Gaeke <gaeke@uiuc.edu> | 2004-09-30 20:14:29 +0000 |
---|---|---|
committer | Brian Gaeke <gaeke@uiuc.edu> | 2004-09-30 20:14:29 +0000 |
commit | 33e834ebb08f4ad72ab4fb57df293ae96aa69111 (patch) | |
tree | e4f8910f44754edaa68ab4e150bfdbc558edc193 | |
parent | 5a89bde564cbf9d5e4adf54d5500cd9cca7a9e4f (diff) | |
download | bcm5719-llvm-33e834ebb08f4ad72ab4fb57df293ae96aa69111.tar.gz bcm5719-llvm-33e834ebb08f4ad72ab4fb57df293ae96aa69111.zip |
Add accessor function.
llvm-svn: 16622
-rw-r--r-- | llvm/lib/Transforms/Instrumentation/ProfilePaths/CombineBranch.cpp | 4 | ||||
-rw-r--r-- | llvm/lib/Transforms/Instrumentation/ProfilePaths/InstLoops.cpp | 4 |
2 files changed, 8 insertions, 0 deletions
diff --git a/llvm/lib/Transforms/Instrumentation/ProfilePaths/CombineBranch.cpp b/llvm/lib/Transforms/Instrumentation/ProfilePaths/CombineBranch.cpp index fe2839b3251..9bb220ca771 100644 --- a/llvm/lib/Transforms/Instrumentation/ProfilePaths/CombineBranch.cpp +++ b/llvm/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/llvm/lib/Transforms/Instrumentation/ProfilePaths/InstLoops.cpp b/llvm/lib/Transforms/Instrumentation/ProfilePaths/InstLoops.cpp index 56a20730b78..e608174a171 100644 --- a/llvm/lib/Transforms/Instrumentation/ProfilePaths/InstLoops.cpp +++ b/llvm/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 |