mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-04-02 15:51:54 +00:00
Clean up #includes
Move graph.h into local directory llvm-svn: 5276
This commit is contained in:
parent
1af4a99c43
commit
a61f16fc93
@ -7,7 +7,7 @@
|
||||
//top block of cfg
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#include "llvm/Transforms/Instrumentation/Graph.h"
|
||||
#include "Graph.h"
|
||||
#include "llvm/Constants.h"
|
||||
#include "llvm/DerivedTypes.h"
|
||||
#include "llvm/iMemory.h"
|
||||
@ -16,7 +16,6 @@
|
||||
#include "llvm/iOperators.h"
|
||||
#include "llvm/iPHINode.h"
|
||||
#include "llvm/Module.h"
|
||||
#include "llvm/Instruction.h"
|
||||
#include <stdio.h>
|
||||
|
||||
#define INSERT_LOAD_COUNT
|
||||
|
@ -5,14 +5,11 @@
|
||||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#include "llvm/Transforms/Instrumentation/Graph.h"
|
||||
#include "Graph.h"
|
||||
#include "llvm/iTerminators.h"
|
||||
#include "llvm/BasicBlock.h"
|
||||
#include "Support/Statistic.h"
|
||||
#include <algorithm>
|
||||
|
||||
//using std::list;
|
||||
//using std::set;
|
||||
using std::map;
|
||||
using std::vector;
|
||||
using std::cerr;
|
||||
|
@ -7,12 +7,12 @@
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#include "llvm/Transforms/Utils/UnifyFunctionExitNodes.h"
|
||||
#include "llvm/Transforms/Instrumentation/Graph.h"
|
||||
#include "llvm/Pass.h"
|
||||
#include "llvm/Module.h"
|
||||
#include "llvm/iTerminators.h"
|
||||
#include "Support/Statistic.h"
|
||||
#include <algorithm>
|
||||
#include "Graph.h"
|
||||
|
||||
//using std::list;
|
||||
using std::map;
|
||||
|
@ -7,12 +7,12 @@
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#include "llvm/Transforms/Utils/UnifyFunctionExitNodes.h"
|
||||
#include "llvm/Transforms/Instrumentation/Graph.h"
|
||||
#include "llvm/Pass.h"
|
||||
#include "llvm/Module.h"
|
||||
#include "llvm/iTerminators.h"
|
||||
#include "Support/Statistic.h"
|
||||
#include <algorithm>
|
||||
#include "Graph.h"
|
||||
|
||||
//using std::list;
|
||||
using std::map;
|
||||
|
@ -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){
|
||||
|
@ -4,17 +4,11 @@
|
||||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#include "llvm/Transforms/Instrumentation/Graph.h"
|
||||
#include "llvm/Module.h"
|
||||
#include "llvm/BasicBlock.h"
|
||||
#include "llvm/iTerminators.h"
|
||||
#include "llvm/Support/CFG.h"
|
||||
#include "llvm/Function.h"
|
||||
#include "llvm/iOther.h"
|
||||
#include "Support/Casting.h"
|
||||
#include <iostream>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
#include "llvm/Support/CFG.h"
|
||||
#include "Graph.h"
|
||||
|
||||
using std::vector;
|
||||
using std::map;
|
||||
|
Loading…
x
Reference in New Issue
Block a user