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

that need it to require it by ID.

llvm-svn: 58238
This commit is contained in:
Torok Edwin 2008-10-27 10:16:27 +00:00
parent ef36246c6f
commit ca97b42ef7
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.