mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-08-05 13:26:55 +00:00
Enable printing of dominator related information.
Theis will eventually be moved! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@123 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -94,8 +94,33 @@ namespace cfg {
|
||||
class Interval;
|
||||
void WriteToOutput(const Interval *I, ostream &o);
|
||||
inline ostream &operator <<(ostream &o, const Interval *I) {
|
||||
WriteToOutput(I, o);
|
||||
return o;
|
||||
WriteToOutput(I, o); return o;
|
||||
}
|
||||
|
||||
// Stuff for printing out Dominator data structures...
|
||||
class DominatorSet;
|
||||
class ImmediateDominators;
|
||||
class DominatorTree;
|
||||
class DominanceFrontier;
|
||||
|
||||
void WriteToOutput(const DominatorSet &, ostream &o);
|
||||
inline ostream &operator <<(ostream &o, const DominatorSet &DS) {
|
||||
WriteToOutput(DS, o); return o;
|
||||
}
|
||||
|
||||
void WriteToOutput(const ImmediateDominators &, ostream &o);
|
||||
inline ostream &operator <<(ostream &o, const ImmediateDominators &ID) {
|
||||
WriteToOutput(ID, o); return o;
|
||||
}
|
||||
|
||||
void WriteToOutput(const DominatorTree &, ostream &o);
|
||||
inline ostream &operator <<(ostream &o, const DominatorTree &DT) {
|
||||
WriteToOutput(DT, o); return o;
|
||||
}
|
||||
|
||||
void WriteToOutput(const DominanceFrontier &, ostream &o);
|
||||
inline ostream &operator <<(ostream &o, const DominanceFrontier &DF) {
|
||||
WriteToOutput(DF, o); return o;
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user