mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-10-25 10:27:04 +00:00
Split the sdisel code munging stuff out into its own opt-pass, CodeGenPrepare.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35528 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -109,6 +109,7 @@ namespace {
|
||||
(void) llvm::createIndMemRemPass();
|
||||
(void) llvm::createInstCountPass();
|
||||
(void) llvm::createPredicateSimplifierPass();
|
||||
(void) llvm::createCodeGenPreparePass();
|
||||
|
||||
(void)new llvm::IntervalPartition();
|
||||
(void)new llvm::ImmediateDominators();
|
||||
|
||||
@@ -121,7 +121,7 @@ LoopPass *createLICMPass();
|
||||
// optional parameter used to consult the target machine whether certain
|
||||
// transformations are profitable.
|
||||
//
|
||||
LoopPass *createLoopStrengthReducePass(const TargetLowering *TLI = NULL);
|
||||
LoopPass *createLoopStrengthReducePass(const TargetLowering *TLI = 0);
|
||||
|
||||
//===----------------------------------------------------------------------===//
|
||||
//
|
||||
@@ -309,6 +309,12 @@ extern const PassInfo *LCSSAID;
|
||||
//
|
||||
FunctionPass *createPredicateSimplifierPass();
|
||||
|
||||
//===----------------------------------------------------------------------===//
|
||||
//
|
||||
// CodeGenPrepare - This pass prepares a function for instruction selection.
|
||||
//
|
||||
FunctionPass *createCodeGenPreparePass(const TargetLowering *TLI = 0);
|
||||
|
||||
} // End llvm namespace
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user