diff options
Diffstat (limited to 'include/llvm/Pass.h')
-rw-r--r-- | include/llvm/Pass.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/llvm/Pass.h b/include/llvm/Pass.h index 104b272d09..a0cbca121d 100644 --- a/include/llvm/Pass.h +++ b/include/llvm/Pass.h @@ -175,6 +175,10 @@ public: // argument string, or null if it is not known. static const PassInfo *lookupPassInfo(StringRef Arg); + // createPass - Create a object for the specified pass class, + // or null if it is not known. + static Pass *createPass(char &TI); + /// getAnalysisIfAvailable<AnalysisType>() - Subclasses use this function to /// get analysis information that might be around, for example to update it. /// This is different than getAnalysis in that it can fail (if the analysis |