mirror of
https://github.com/RPCS3/llvm.git
synced 2025-01-30 07:14:53 +00:00
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:
parent
741748afce
commit
3d54502304
@ -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
|
||||
|
||||
|
@ -40,6 +40,7 @@ namespace {
|
||||
}
|
||||
|
||||
|
||||
const PassInfo *const llvm::InstructionNamerID = &X;
|
||||
//===----------------------------------------------------------------------===//
|
||||
//
|
||||
// InstructionNamer - Give any unnamed non-void instructions "tmp" names.
|
||||
|
Loading…
x
Reference in New Issue
Block a user