export an ID for the instructionNamer, allowing analysis/transformation passes

that need it to require it by ID.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@58238 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Torok Edwin 2008-10-27 10:16:27 +00:00
parent 741748afce
commit 3d54502304
2 changed files with 2 additions and 0 deletions

View File

@ -329,6 +329,7 @@ FunctionPass *createCodeGenPreparePass(const TargetLowering *TLI = 0);
// InstructionNamer - Give any unnamed non-void instructions "tmp" names.
//
FunctionPass *createInstructionNamerPass();
extern const PassInfo *const InstructionNamerID;
} // End llvm namespace

View File

@ -40,6 +40,7 @@ namespace {
}
const PassInfo *const llvm::InstructionNamerID = &X;
//===----------------------------------------------------------------------===//
//
// InstructionNamer - Give any unnamed non-void instructions "tmp" names.