LLVM  3.7.0
Functions | Variables
AArch64TargetMachine.cpp File Reference
#include "AArch64.h"
#include "AArch64TargetMachine.h"
#include "AArch64TargetObjectFile.h"
#include "AArch64TargetTransformInfo.h"
#include "llvm/CodeGen/Passes.h"
#include "llvm/CodeGen/RegAllocRegistry.h"
#include "llvm/IR/Function.h"
#include "llvm/IR/LegacyPassManager.h"
#include "llvm/Support/CommandLine.h"
#include "llvm/Support/TargetRegistry.h"
#include "llvm/Target/TargetOptions.h"
#include "llvm/Transforms/Scalar.h"
Include dependency graph for AArch64TargetMachine.cpp:

Go to the source code of this file.

Functions

void LLVMInitializeAArch64Target ()
 
static std::unique_ptr
< TargetLoweringObjectFile
createTLOF (const Triple &TT)
 
static std::string computeDataLayout (const Triple &TT, bool LittleEndian)
 

Variables

static cl::opt< boolEnableCCMP ("aarch64-ccmp", cl::desc("Enable the CCMP formation pass"), cl::init(true), cl::Hidden)
 
static cl::opt< boolEnableMCR ("aarch64-mcr", cl::desc("Enable the machine combiner pass"), cl::init(true), cl::Hidden)
 
static cl::opt< boolEnableStPairSuppress ("aarch64-stp-suppress", cl::desc("Suppress STP for AArch64"), cl::init(true), cl::Hidden)
 
static cl::opt< boolEnableAdvSIMDScalar ("aarch64-simd-scalar", cl::desc("Enable use of AdvSIMD scalar"" integer instructions"), cl::init(false), cl::Hidden)
 
static cl::opt< boolEnablePromoteConstant ("aarch64-promote-const", cl::desc("Enable the promote ""constant pass"), cl::init(true), cl::Hidden)
 
static cl::opt< boolEnableCollectLOH ("aarch64-collect-loh", cl::desc("Enable the pass that emits the"" linker optimization hints (LOH)"), cl::init(true), cl::Hidden)
 
static cl::opt< boolEnableDeadRegisterElimination ("aarch64-dead-def-elimination", cl::Hidden, cl::desc("Enable the pass that removes dead"" definitons and replaces stores to"" them with stores to the zero"" register"), cl::init(true))
 
static cl::opt< boolEnableLoadStoreOpt ("aarch64-load-store-opt", cl::desc("Enable the load/store pair"" optimization pass"), cl::init(true), cl::Hidden)
 
static cl::opt< boolEnableAtomicTidy ("aarch64-atomic-cfg-tidy", cl::Hidden, cl::desc("Run SimplifyCFG after expanding atomic operations"" to make use of cmpxchg flow-based information"), cl::init(true))
 
static cl::opt< boolEnableEarlyIfConversion ("aarch64-enable-early-ifcvt", cl::Hidden, cl::desc("Run early if-conversion"), cl::init(true))
 
static cl::opt< boolEnableCondOpt ("aarch64-condopt", cl::desc("Enable the condition optimizer pass"), cl::init(true), cl::Hidden)
 
static cl::opt< boolEnableA53Fix835769 ("aarch64-fix-cortex-a53-835769", cl::Hidden, cl::desc("Work around Cortex-A53 erratum 835769"), cl::init(false))
 
static cl::opt< boolEnableGEPOpt ("aarch64-gep-opt", cl::Hidden, cl::desc("Enable optimizations on complex GEPs"), cl::init(false))
 
static cl::opt< cl::boolOrDefaultEnableGlobalMerge ("aarch64-global-merge", cl::Hidden, cl::desc("Enable the global merge pass"))
 

Function Documentation

static std::string computeDataLayout ( const Triple TT,
bool  LittleEndian 
)
static

Definition at line 113 of file AArch64TargetMachine.cpp.

References llvm::Triple::isOSBinFormatMachO().

static std::unique_ptr<TargetLoweringObjectFile> createTLOF ( const Triple TT)
static

Definition at line 105 of file AArch64TargetMachine.cpp.

References llvm::Triple::isOSBinFormatMachO().

void LLVMInitializeAArch64Target ( )

Variable Documentation

cl::opt<bool> EnableA53Fix835769("aarch64-fix-cortex-a53-835769", cl::Hidden, cl::desc("Work around Cortex-A53 erratum 835769"), cl::init(false))
static
cl::opt<bool> EnableAdvSIMDScalar("aarch64-simd-scalar", cl::desc("Enable use of AdvSIMD scalar"" integer instructions"), cl::init(false), cl::Hidden)
static
cl::opt<bool> EnableAtomicTidy("aarch64-atomic-cfg-tidy", cl::Hidden, cl::desc("Run SimplifyCFG after expanding atomic operations"" to make use of cmpxchg flow-based information"), cl::init(true))
static
cl::opt<bool> EnableCCMP("aarch64-ccmp", cl::desc("Enable the CCMP formation pass"), cl::init(true), cl::Hidden)
static
cl::opt<bool> EnableCollectLOH("aarch64-collect-loh", cl::desc("Enable the pass that emits the"" linker optimization hints (LOH)"), cl::init(true), cl::Hidden)
static
cl::opt<bool> EnableCondOpt("aarch64-condopt", cl::desc("Enable the condition optimizer pass"), cl::init(true), cl::Hidden)
static
cl::opt<bool> EnableDeadRegisterElimination("aarch64-dead-def-elimination", cl::Hidden, cl::desc("Enable the pass that removes dead"" definitons and replaces stores to"" them with stores to the zero"" register"), cl::init(true))
static
cl::opt<bool> EnableEarlyIfConversion("aarch64-enable-early-ifcvt", cl::Hidden, cl::desc("Run early if-conversion"), cl::init(true))
static
cl::opt<bool> EnableGEPOpt("aarch64-gep-opt", cl::Hidden, cl::desc("Enable optimizations on complex GEPs"), cl::init(false))
static
cl::opt<cl::boolOrDefault> EnableGlobalMerge("aarch64-global-merge", cl::Hidden, cl::desc("Enable the global merge pass"))
static
cl::opt<bool> EnableLoadStoreOpt("aarch64-load-store-opt", cl::desc("Enable the load/store pair"" optimization pass"), cl::init(true), cl::Hidden)
static
cl::opt<bool> EnableMCR("aarch64-mcr", cl::desc("Enable the machine combiner pass"), cl::init(true), cl::Hidden)
static
cl::opt<bool> EnablePromoteConstant("aarch64-promote-const", cl::desc("Enable the promote ""constant pass"), cl::init(true), cl::Hidden)
static
cl::opt<bool> EnableStPairSuppress("aarch64-stp-suppress", cl::desc("Suppress STP for AArch64"), cl::init(true), cl::Hidden)
static