mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-24 04:45:00 +00:00
Pull Callgraph out of the cfg namespace
llvm-svn: 1821
This commit is contained in:
parent
962e012ad5
commit
4830f16b6e
@ -55,20 +55,6 @@ namespace cfg {
|
||||
WriteToOutput(DF, o); return o;
|
||||
}
|
||||
|
||||
// Stuff for printing out a callgraph...
|
||||
class CallGraph;
|
||||
class CallGraphNode;
|
||||
|
||||
void WriteToOutput(const CallGraph &, std::ostream &o);
|
||||
inline std::ostream &operator <<(std::ostream &o, const CallGraph &CG) {
|
||||
WriteToOutput(CG, o); return o;
|
||||
}
|
||||
|
||||
void WriteToOutput(const CallGraphNode *, std::ostream &o);
|
||||
inline std::ostream &operator <<(std::ostream &o, const CallGraphNode *CGN) {
|
||||
WriteToOutput(CGN, o); return o;
|
||||
}
|
||||
|
||||
// Stuff for printing out Loop information
|
||||
class Loop;
|
||||
class LoopInfo;
|
||||
@ -91,5 +77,18 @@ inline std::ostream &operator <<(std::ostream &o, const InductionVariable &IV) {
|
||||
WriteToOutput(IV, o); return o;
|
||||
}
|
||||
|
||||
// Stuff for printing out a callgraph...
|
||||
class CallGraph;
|
||||
class CallGraphNode;
|
||||
|
||||
void WriteToOutput(const CallGraph &, std::ostream &o);
|
||||
inline std::ostream &operator <<(std::ostream &o, const CallGraph &CG) {
|
||||
WriteToOutput(CG, o); return o;
|
||||
}
|
||||
|
||||
void WriteToOutput(const CallGraphNode *, std::ostream &o);
|
||||
inline std::ostream &operator <<(std::ostream &o, const CallGraphNode *CGN) {
|
||||
WriteToOutput(CGN, o); return o;
|
||||
}
|
||||
|
||||
#endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user