mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-03 13:31:05 +00:00
Remove assignPassManager's default arguments. It's really
confusing to have different arguments for the same virtual function at different levels of the class hierarchy. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@110500 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
4afefdec65
commit
8d570bf8e9
@ -58,7 +58,7 @@ public:
|
|||||||
|
|
||||||
/// Assign pass manager to manage this pass
|
/// Assign pass manager to manage this pass
|
||||||
virtual void assignPassManager(PMStack &PMS,
|
virtual void assignPassManager(PMStack &PMS,
|
||||||
PassManagerType PMT = PMT_LoopPassManager);
|
PassManagerType PMT);
|
||||||
|
|
||||||
/// Return what kind of Pass Manager can manage this pass.
|
/// Return what kind of Pass Manager can manage this pass.
|
||||||
virtual PassManagerType getPotentialPassManagerType() const {
|
virtual PassManagerType getPotentialPassManagerType() const {
|
||||||
|
@ -63,7 +63,7 @@ public:
|
|||||||
|
|
||||||
/// Assign pass manager to manager this pass
|
/// Assign pass manager to manager this pass
|
||||||
virtual void assignPassManager(PMStack &PMS,
|
virtual void assignPassManager(PMStack &PMS,
|
||||||
PassManagerType PMT =PMT_CallGraphPassManager);
|
PassManagerType PMT);
|
||||||
|
|
||||||
/// Return what kind of Pass Manager can manage this pass.
|
/// Return what kind of Pass Manager can manage this pass.
|
||||||
virtual PassManagerType getPotentialPassManagerType() const {
|
virtual PassManagerType getPotentialPassManagerType() const {
|
||||||
|
@ -119,7 +119,7 @@ public:
|
|||||||
/// Each pass is responsible for assigning a pass manager to itself.
|
/// Each pass is responsible for assigning a pass manager to itself.
|
||||||
/// PMS is the stack of available pass manager.
|
/// PMS is the stack of available pass manager.
|
||||||
virtual void assignPassManager(PMStack &,
|
virtual void assignPassManager(PMStack &,
|
||||||
PassManagerType = PMT_Unknown) {}
|
PassManagerType) {}
|
||||||
/// Check if available pass managers are suitable for this pass or not.
|
/// Check if available pass managers are suitable for this pass or not.
|
||||||
virtual void preparePassManager(PMStack &);
|
virtual void preparePassManager(PMStack &);
|
||||||
|
|
||||||
@ -225,7 +225,7 @@ public:
|
|||||||
virtual bool runOnModule(Module &M) = 0;
|
virtual bool runOnModule(Module &M) = 0;
|
||||||
|
|
||||||
virtual void assignPassManager(PMStack &PMS,
|
virtual void assignPassManager(PMStack &PMS,
|
||||||
PassManagerType T = PMT_ModulePassManager);
|
PassManagerType T);
|
||||||
|
|
||||||
/// Return what kind of Pass Manager can manage this pass.
|
/// Return what kind of Pass Manager can manage this pass.
|
||||||
virtual PassManagerType getPotentialPassManagerType() const;
|
virtual PassManagerType getPotentialPassManagerType() const;
|
||||||
@ -307,7 +307,7 @@ public:
|
|||||||
bool run(Function &F);
|
bool run(Function &F);
|
||||||
|
|
||||||
virtual void assignPassManager(PMStack &PMS,
|
virtual void assignPassManager(PMStack &PMS,
|
||||||
PassManagerType T = PMT_FunctionPassManager);
|
PassManagerType T);
|
||||||
|
|
||||||
/// Return what kind of Pass Manager can manage this pass.
|
/// Return what kind of Pass Manager can manage this pass.
|
||||||
virtual PassManagerType getPotentialPassManagerType() const;
|
virtual PassManagerType getPotentialPassManagerType() const;
|
||||||
@ -364,7 +364,7 @@ public:
|
|||||||
bool runOnFunction(Function &F);
|
bool runOnFunction(Function &F);
|
||||||
|
|
||||||
virtual void assignPassManager(PMStack &PMS,
|
virtual void assignPassManager(PMStack &PMS,
|
||||||
PassManagerType T = PMT_BasicBlockPassManager);
|
PassManagerType T);
|
||||||
|
|
||||||
/// Return what kind of Pass Manager can manage this pass.
|
/// Return what kind of Pass Manager can manage this pass.
|
||||||
virtual PassManagerType getPotentialPassManagerType() const;
|
virtual PassManagerType getPotentialPassManagerType() const;
|
||||||
|
Loading…
Reference in New Issue
Block a user