mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-09-27 00:21:03 +00:00
Added Pass::createPass(ID) to handle pass configuration by ID
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@150092 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user