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 | f098ced8486cad297ee633433709ed1424a745d3 (patch) | |
tree | 45573067dbdfdd62276a080a74c8795ca484158b /lib/Transforms/Instrumentation/ProfilePaths/InstLoops.cpp | |
parent | b3b1e33632056459a7454f3bc3b3f142a7ea94df (diff) |
Add accessor function.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16622 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms/Instrumentation/ProfilePaths/InstLoops.cpp')
-rw-r--r-- | lib/Transforms/Instrumentation/ProfilePaths/InstLoops.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/Transforms/Instrumentation/ProfilePaths/InstLoops.cpp b/lib/Transforms/Instrumentation/ProfilePaths/InstLoops.cpp index 56a20730b7..e608174a17 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 |