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:
Andrew Trick
2012-02-08 21:22:34 +00:00
parent d2a7bedbc9
commit ebe18ef5c2
4 changed files with 18 additions and 3 deletions

View File

@@ -135,7 +135,7 @@ protected:
///
/// Add a target-independent CodeGen pass at this point in the pipeline.
void addCommonPass(char &ID);
void addPass(char &ID);
/// printNoVerify - Add a pass to dump the machine function, if debugging is
/// enabled.