diff options
author | Brian Gaeke <gaeke@uiuc.edu> | 2003-09-05 19:43:19 +0000 |
---|---|---|
committer | Brian Gaeke <gaeke@uiuc.edu> | 2003-09-05 19:43:19 +0000 |
commit | 85ce5f3ccc3a8d1c7eac934d1713c64413a7d209 (patch) | |
tree | 50038ded7adf69bbcd40b8e5e60f869017275329 /lib/Transforms/Instrumentation/ProfilePaths/InstLoops.cpp | |
parent | d1cab3e6ce508e593b17fdd660ed8cc4ea486d72 (diff) |
Correct comments
Don't include InstLoops.h
Don't export factory functions for these passes
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8373 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms/Instrumentation/ProfilePaths/InstLoops.cpp')
-rw-r--r-- | lib/Transforms/Instrumentation/ProfilePaths/InstLoops.cpp | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/lib/Transforms/Instrumentation/ProfilePaths/InstLoops.cpp b/lib/Transforms/Instrumentation/ProfilePaths/InstLoops.cpp index 1c0ec3b9ae..6802c4fd96 100644 --- a/lib/Transforms/Instrumentation/ProfilePaths/InstLoops.cpp +++ b/lib/Transforms/Instrumentation/ProfilePaths/InstLoops.cpp @@ -4,7 +4,6 @@ // At every backedge, insert a counter for that backedge and a call function //===----------------------------------------------------------------------===// -#include "llvm/Reoptimizer/InstLoops.h" #include "llvm/Analysis/Dominators.h" #include "llvm/Support/CFG.h" #include "llvm/Constants.h" @@ -49,13 +48,6 @@ namespace{ RegisterOpt<InstLoops> X("instloops", "Instrument backedges for profiling"); } -// createInstLoopsPass - Create a new pass to add path profiling -// -Pass *createInstLoopsPass() { - return new InstLoops(); -} - - //helper function to get back edges: it is called by //the "getBackEdges" function below void InstLoops::getBackEdgesVisit(BasicBlock *u, |