diff options
Diffstat (limited to 'include/llvm/Pass.h')
-rw-r--r-- | include/llvm/Pass.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/llvm/Pass.h b/include/llvm/Pass.h index 329f7eaba73d..1d53ae32cf37 100644 --- a/include/llvm/Pass.h +++ b/include/llvm/Pass.h @@ -306,6 +306,9 @@ protected: }; //===----------------------------------------------------------------------===// +/// Deprecated - do not create new passes as BasicBlockPasses. Use FunctionPass +/// with a loop over the BasicBlocks instead. +// /// BasicBlockPass class - This class is used to implement most local /// optimizations. Optimizations should subclass this class if they /// meet the following constraints: @@ -338,6 +341,8 @@ public: /// do any post processing needed after all passes have run. virtual bool doFinalization(Function &); + void preparePassManager(PMStack &PMS) override; + void assignPassManager(PMStack &PMS, PassManagerType T) override; /// Return what kind of Pass Manager can manage this pass. |