mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-02 00:37:09 +00:00
Move passes that live in lib/CodeGen out of Scalar.h
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@258938 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
509a6e348c
commit
f80dcd65f5
@ -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
Block a user