forked from OSchip/llvm-project
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:
parent
ef36246c6f
commit
ca97b42ef7
|
@ -329,6 +329,7 @@ FunctionPass *createCodeGenPreparePass(const TargetLowering *TLI = 0);
|
||||||
// InstructionNamer - Give any unnamed non-void instructions "tmp" names.
|
// InstructionNamer - Give any unnamed non-void instructions "tmp" names.
|
||||||
//
|
//
|
||||||
FunctionPass *createInstructionNamerPass();
|
FunctionPass *createInstructionNamerPass();
|
||||||
|
extern const PassInfo *const InstructionNamerID;
|
||||||
|
|
||||||
} // End llvm namespace
|
} // End llvm namespace
|
||||||
|
|
||||||
|
|
|
@ -40,6 +40,7 @@ namespace {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
const PassInfo *const llvm::InstructionNamerID = &X;
|
||||||
//===----------------------------------------------------------------------===//
|
//===----------------------------------------------------------------------===//
|
||||||
//
|
//
|
||||||
// InstructionNamer - Give any unnamed non-void instructions "tmp" names.
|
// InstructionNamer - Give any unnamed non-void instructions "tmp" names.
|
||||||
|
|
Loading…
Reference in New Issue