diff options
author | Chris Lattner <sabre@nondot.org> | 2003-01-14 22:33:56 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2003-01-14 22:33:56 +0000 |
commit | 2f04a0da4ee4bbcda3f4ba80e5881e1846815f2f (patch) | |
tree | 3cc0b1293f6853a5a1463fef418b17784dbe23a9 /llvm/lib/Transforms/Instrumentation/ProfilePaths/ProfilePaths.cpp | |
parent | 37ac1c4df32cd57c143e59c6018ea840a9718079 (diff) | |
download | bcm5719-llvm-2f04a0da4ee4bbcda3f4ba80e5881e1846815f2f.tar.gz bcm5719-llvm-2f04a0da4ee4bbcda3f4ba80e5881e1846815f2f.zip |
Clean up #includes
Move graph.h into local directory
llvm-svn: 5276
Diffstat (limited to 'llvm/lib/Transforms/Instrumentation/ProfilePaths/ProfilePaths.cpp')
-rw-r--r-- | llvm/lib/Transforms/Instrumentation/ProfilePaths/ProfilePaths.cpp | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/llvm/lib/Transforms/Instrumentation/ProfilePaths/ProfilePaths.cpp b/llvm/lib/Transforms/Instrumentation/ProfilePaths/ProfilePaths.cpp index bc815c6e23f..4c689b12eec 100644 --- a/llvm/lib/Transforms/Instrumentation/ProfilePaths/ProfilePaths.cpp +++ b/llvm/lib/Transforms/Instrumentation/ProfilePaths/ProfilePaths.cpp @@ -24,16 +24,13 @@ // update can be collapsed into minimum number of edges. //===----------------------------------------------------------------------===// -#include "llvm/Transforms/Instrumentation/ProfilePaths.h" #include "llvm/Transforms/Utils/UnifyFunctionExitNodes.h" -#include "llvm/Transforms/Instrumentation/Graph.h" #include "llvm/Support/CFG.h" #include "llvm/Constants.h" #include "llvm/DerivedTypes.h" #include "llvm/iMemory.h" -#include "llvm/GlobalVariable.h" #include "llvm/Module.h" -#include <iostream> +#include "Graph.h" #include <fstream> using std::vector; @@ -51,13 +48,6 @@ struct ProfilePaths : public FunctionPass { static RegisterOpt<ProfilePaths> X("paths", "Profile Paths"); -// createProfilePathsPass - Create a new pass to add path profiling -// -Pass *createProfilePathsPass() { - return new ProfilePaths(); -} - - static Node *findBB(std::vector<Node *> &st, BasicBlock *BB){ for(std::vector<Node *>::iterator si=st.begin(); si!=st.end(); ++si){ if(((*si)->getElement())==BB){ |