forked from OSchip/llvm-project
parent
b524dfd557
commit
28349abeab
|
@ -81,7 +81,7 @@ public:
|
||||||
return FP;
|
return FP;
|
||||||
}
|
}
|
||||||
|
|
||||||
virtual PassManagerType getPassManagerType() {
|
virtual PassManagerType getPassManagerType() const {
|
||||||
return PMT_LoopPassManager;
|
return PMT_LoopPassManager;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -250,7 +250,7 @@ public:
|
||||||
return PassVector.size();
|
return PassVector.size();
|
||||||
}
|
}
|
||||||
|
|
||||||
virtual PassManagerType getPassManagerType() {
|
virtual PassManagerType getPassManagerType() const {
|
||||||
assert ( 0 && "Invalid use of getPassManagerType");
|
assert ( 0 && "Invalid use of getPassManagerType");
|
||||||
return PMT_Unknown;
|
return PMT_Unknown;
|
||||||
}
|
}
|
||||||
|
@ -322,7 +322,7 @@ public:
|
||||||
return FP;
|
return FP;
|
||||||
}
|
}
|
||||||
|
|
||||||
virtual PassManagerType getPassManagerType() {
|
virtual PassManagerType getPassManagerType() const {
|
||||||
return PMT_FunctionPassManager;
|
return PMT_FunctionPassManager;
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
|
@ -66,7 +66,7 @@ public:
|
||||||
return FP;
|
return FP;
|
||||||
}
|
}
|
||||||
|
|
||||||
virtual PassManagerType getPassManagerType() {
|
virtual PassManagerType getPassManagerType() const {
|
||||||
return PMT_CallGraphPassManager;
|
return PMT_CallGraphPassManager;
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
|
@ -98,7 +98,7 @@ public:
|
||||||
return BP;
|
return BP;
|
||||||
}
|
}
|
||||||
|
|
||||||
virtual PassManagerType getPassManagerType() {
|
virtual PassManagerType getPassManagerType() const {
|
||||||
return PMT_BasicBlockPassManager;
|
return PMT_BasicBlockPassManager;
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
@ -210,7 +210,9 @@ public:
|
||||||
return MP;
|
return MP;
|
||||||
}
|
}
|
||||||
|
|
||||||
virtual PassManagerType getPassManagerType() { return PMT_ModulePassManager; }
|
virtual PassManagerType getPassManagerType() const {
|
||||||
|
return PMT_ModulePassManager;
|
||||||
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
//===----------------------------------------------------------------------===//
|
//===----------------------------------------------------------------------===//
|
||||||
|
|
Loading…
Reference in New Issue