forked from OSchip/llvm-project
Move passes that live in lib/CodeGen out of Scalar.h
llvm-svn: 258938
This commit is contained in:
parent
820f7548a1
commit
c67cf31f5c
|
@ -654,6 +654,19 @@ namespace llvm {
|
|||
/// memory accesses to target specific intrinsics.
|
||||
///
|
||||
FunctionPass *createInterleavedAccessPass(const TargetMachine *TM);
|
||||
|
||||
/// LowerEmuTLS - This pass generates __emutls_[vt].xyz variables for all
|
||||
/// TLS variables for the emulated TLS model.
|
||||
///
|
||||
ModulePass *createLowerEmuTLSPass(const TargetMachine *TM);
|
||||
|
||||
/// GlobalMerge - This pass merges internal (by default) globals into structs
|
||||
/// to enable reuse of a base pointer by indexed addressing modes.
|
||||
/// It can also be configured to focus on size optimizations only.
|
||||
///
|
||||
Pass *createGlobalMergePass(const TargetMachine *TM, unsigned MaximalOffset,
|
||||
bool OnlyOptimizeForSize = false,
|
||||
bool MergeExternalByDefault = false);
|
||||
} // End llvm namespace
|
||||
|
||||
/// Target machine pass initializer for passes with dependencies. Use with
|
||||
|
|
|
@ -154,16 +154,6 @@ Pass *createLoopInterchangePass();
|
|||
//
|
||||
Pass *createLoopStrengthReducePass();
|
||||
|
||||
//===----------------------------------------------------------------------===//
|
||||
//
|
||||
// GlobalMerge - This pass merges internal (by default) globals into structs
|
||||
// to enable reuse of a base pointer by indexed addressing modes.
|
||||
// It can also be configured to focus on size optimizations only.
|
||||
//
|
||||
Pass *createGlobalMergePass(const TargetMachine *TM, unsigned MaximalOffset,
|
||||
bool OnlyOptimizeForSize = false,
|
||||
bool MergeExternalByDefault = false);
|
||||
|
||||
//===----------------------------------------------------------------------===//
|
||||
//
|
||||
// LoopUnswitch - This pass is a simple loop unswitching pass.
|
||||
|
@ -380,13 +370,6 @@ FunctionPass *createSinkingPass();
|
|||
//
|
||||
Pass *createLowerAtomicPass();
|
||||
|
||||
//===----------------------------------------------------------------------===//
|
||||
//
|
||||
// LowerEmuTLS - This pass generates __emutls_[vt].xyz variables for all
|
||||
// TLS variables for the emulated TLS model.
|
||||
//
|
||||
ModulePass *createLowerEmuTLSPass(const TargetMachine *TM);
|
||||
|
||||
//===----------------------------------------------------------------------===//
|
||||
//
|
||||
// ValuePropagation - Propagate CFG-derived value information
|
||||
|
|
|
@ -14,8 +14,8 @@
|
|||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#include "llvm/Transforms/Scalar.h"
|
||||
#include "llvm/ADT/SmallVector.h"
|
||||
#include "llvm/CodeGen/Passes.h"
|
||||
#include "llvm/IR/LLVMContext.h"
|
||||
#include "llvm/IR/Module.h"
|
||||
#include "llvm/Pass.h"
|
||||
|
|
Loading…
Reference in New Issue