forked from OSchip/llvm-project
parent
a8ee496f9e
commit
e3858e6674
|
@ -78,6 +78,10 @@ public:
|
|||
bool doFinalization(Module &M);
|
||||
bool doFinalization(Function &F);
|
||||
|
||||
virtual const char *getPassName() const {
|
||||
return "BasicBlock Pass Manager";
|
||||
}
|
||||
|
||||
// Print passes managed by this manager
|
||||
void dumpPassStructure(unsigned Offset) {
|
||||
llvm::cerr << std::string(Offset*2, ' ') << "BasicBlockPass Manager\n";
|
||||
|
@ -185,6 +189,10 @@ public:
|
|||
Info.setPreservesAll();
|
||||
}
|
||||
|
||||
virtual const char *getPassName() const {
|
||||
return "Module Pass Manager";
|
||||
}
|
||||
|
||||
// Print passes managed by this manager
|
||||
void dumpPassStructure(unsigned Offset) {
|
||||
llvm::cerr << std::string(Offset*2, ' ') << "ModulePass Manager\n";
|
||||
|
|
Loading…
Reference in New Issue