LLVM 23.0.0git
AArch64TargetMachine.cpp File Reference
#include "AArch64TargetMachine.h"
#include "AArch64.h"
#include "AArch64MachineFunctionInfo.h"
#include "AArch64MachineScheduler.h"
#include "AArch64MacroFusion.h"
#include "AArch64Subtarget.h"
#include "AArch64TargetObjectFile.h"
#include "AArch64TargetTransformInfo.h"
#include "MCTargetDesc/AArch64MCTargetDesc.h"
#include "TargetInfo/AArch64TargetInfo.h"
#include "llvm/Analysis/TargetTransformInfo.h"
#include "llvm/Analysis/ValueTracking.h"
#include "llvm/CodeGen/CSEConfigBase.h"
#include "llvm/CodeGen/GlobalISel/CSEInfo.h"
#include "llvm/CodeGen/GlobalISel/IRTranslator.h"
#include "llvm/CodeGen/GlobalISel/InstructionSelect.h"
#include "llvm/CodeGen/GlobalISel/Legalizer.h"
#include "llvm/CodeGen/GlobalISel/LoadStoreOpt.h"
#include "llvm/CodeGen/GlobalISel/Localizer.h"
#include "llvm/CodeGen/GlobalISel/RegBankSelect.h"
#include "llvm/CodeGen/MIRParser/MIParser.h"
#include "llvm/CodeGen/MachineScheduler.h"
#include "llvm/CodeGen/Passes.h"
#include "llvm/CodeGen/TargetInstrInfo.h"
#include "llvm/CodeGen/TargetPassConfig.h"
#include "llvm/IR/Attributes.h"
#include "llvm/IR/Function.h"
#include "llvm/InitializePasses.h"
#include "llvm/MC/MCAsmInfo.h"
#include "llvm/MC/MCTargetOptions.h"
#include "llvm/MC/TargetRegistry.h"
#include "llvm/Pass.h"
#include "llvm/Passes/PassBuilder.h"
#include "llvm/Support/CodeGen.h"
#include "llvm/Support/CommandLine.h"
#include "llvm/Support/Compiler.h"
#include "llvm/Target/TargetLoweringObjectFile.h"
#include "llvm/Target/TargetOptions.h"
#include "llvm/TargetParser/Triple.h"
#include "llvm/Transforms/CFGuard.h"
#include "llvm/Transforms/Scalar.h"
#include "llvm/Transforms/Utils/LowerIFunc.h"
#include "llvm/Transforms/Vectorize/LoopIdiomVectorize.h"
#include <memory>
#include "llvm/Passes/TargetPassRegistry.inc"

Go to the source code of this file.

Macros

#define GET_PASS_REGISTRY   "AArch64PassRegistry.def"
#define ADD_CLASS_PASS_TO_PASS_NAME(NAME, CREATE_PASS)
#define ADD_CLASS_PASS_TO_PASS_NAME_WITH_PARAMS(NAME, CLASS)
#define MODULE_ANALYSIS(NAME, CREATE_PASS)
#define MODULE_PASS(NAME, CREATE_PASS)
#define MODULE_PASS_WITH_PARAMS(NAME, CLASS, CREATE_PASS, PARSER, PARAMS)
#define FUNCTION_ANALYSIS(NAME, CREATE_PASS)
#define FUNCTION_ALIAS_ANALYSIS(NAME, CREATE_PASS)
#define FUNCTION_PASS(NAME, CREATE_PASS)
#define FUNCTION_PASS_WITH_PARAMS(NAME, CLASS, CREATE_PASS, PARSER, PARAMS)
#define LOOP_ANALYSIS(NAME, CREATE_PASS)
#define LOOP_PASS(NAME, CREATE_PASS)
#define MACHINE_FUNCTION_ANALYSIS(NAME, CREATE_PASS)
#define MACHINE_FUNCTION_PASS(NAME, CREATE_PASS)
#define MACHINE_FUNCTION_PASS_WITH_PARAMS(NAME, CLASS, CREATE_PASS, PARSER, PARAMS)
#define ADD_PASS(NAME, CREATE_PASS)
#define ADD_PASS_WITH_PARAMS(NAME, CREATE_PASS, PARSER)
#define MODULE_PASS(NAME, CREATE_PASS)
#define MODULE_PASS_WITH_PARAMS(NAME, CLASS, CREATE_PASS, PARSER, PARAMS)
#define FUNCTION_PASS(NAME, CREATE_PASS)
#define FUNCTION_PASS_WITH_PARAMS(NAME, CLASS, CREATE_PASS, PARSER, PARAMS)
#define LOOP_PASS(NAME, CREATE_PASS)
#define MACHINE_FUNCTION_PASS(NAME, CREATE_PASS)
#define MACHINE_FUNCTION_PASS_WITH_PARAMS(NAME, CLASS, CREATE_PASS, PARSER, PARAMS)
#define MODULE_ANALYSIS(NAME, CREATE_PASS)
#define FUNCTION_ANALYSIS(NAME, CREATE_PASS)
#define FUNCTION_ALIAS_ANALYSIS(NAME, CREATE_PASS)
#define LOOP_ANALYSIS(NAME, CREATE_PASS)
#define MACHINE_FUNCTION_ANALYSIS(NAME, CREATE_PASS)

Functions

LLVM_ABI LLVM_EXTERNAL_VISIBILITY void LLVMInitializeAArch64Target ()
static std::unique_ptr< TargetLoweringObjectFilecreateTLOF (const Triple &TT)
static StringRef computeDefaultCPU (const Triple &TT, StringRef CPU)
static Reloc::Model getEffectiveRelocModel (const Triple &TT, std::optional< Reloc::Model > RM)
static CodeModel::Model getEffectiveAArch64CodeModel (const Triple &TT, std::optional< CodeModel::Model > CM, bool JIT)

Variables

static cl::opt< boolEnableCCMP ("aarch64-enable-ccmp", cl::desc("Enable the CCMP formation pass"), cl::init(true), cl::Hidden)
static cl::opt< boolEnableCondBrTuning ("aarch64-enable-cond-br-tune", cl::desc("Enable the conditional branch tuning pass"), cl::init(true), cl::Hidden)
static cl::opt< boolEnableAArch64CopyPropagation ("aarch64-enable-copy-propagation", cl::desc("Enable the copy propagation with AArch64 copy instr"), cl::init(true), cl::Hidden)
static cl::opt< boolEnableMCR ("aarch64-enable-mcr", cl::desc("Enable the machine combiner pass"), cl::init(true), cl::Hidden)
static cl::opt< boolEnableStPairSuppress ("aarch64-enable-stp-suppress", cl::desc("Suppress STP for AArch64"), cl::init(true), cl::Hidden)
static cl::opt< boolEnableAdvSIMDScalar ("aarch64-enable-simd-scalar", cl::desc("Enable use of AdvSIMD scalar integer instructions"), cl::init(false), cl::Hidden)
static cl::opt< boolEnablePromoteConstant ("aarch64-enable-promote-const", cl::desc("Enable the promote constant pass"), cl::init(true), cl::Hidden)
static cl::opt< boolEnableCollectLOH ("aarch64-enable-collect-loh", cl::desc("Enable the pass that emits the linker optimization hints (LOH)"), cl::init(true), cl::Hidden)
static cl::opt< boolEnableDeadRegisterElimination ("aarch64-enable-dead-defs", cl::Hidden, cl::desc("Enable the pass that removes dead" " definitions and replaces stores to" " them with stores to the zero" " register"), cl::init(true))
static cl::opt< boolEnableRedundantCopyElimination ("aarch64-enable-copyelim", cl::desc("Enable the redundant copy elimination pass"), cl::init(true), cl::Hidden)
static cl::opt< boolEnableLoadStoreOpt ("aarch64-enable-ldst-opt", cl::desc("Enable the load/store pair" " optimization pass"), cl::init(true), cl::Hidden)
static cl::opt< boolEnableAtomicTidy ("aarch64-enable-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-enable-condopt", cl::desc("Enable the condition optimizer pass"), cl::init(true), cl::Hidden)
static cl::opt< boolEnableGEPOpt ("aarch64-enable-gep-opt", cl::Hidden, cl::desc("Enable optimizations on complex GEPs"), cl::init(false))
static cl::opt< boolEnableSelectOpt ("aarch64-select-opt", cl::Hidden, cl::desc("Enable select to branch optimizations"), cl::init(true))
static cl::opt< boolBranchRelaxation ("aarch64-enable-branch-relax", cl::Hidden, cl::init(true), cl::desc("Relax out of range conditional branches"))
static cl::opt< boolEnableCompressJumpTables ("aarch64-enable-compress-jump-tables", cl::Hidden, cl::init(true), cl::desc("Use smallest entry possible for jump tables"))
static cl::opt< cl::boolOrDefaultEnableGlobalMerge ("aarch64-enable-global-merge", cl::Hidden, cl::desc("Enable the global merge pass"))
static cl::opt< boolEnableLoopDataPrefetch ("aarch64-enable-loop-data-prefetch", cl::Hidden, cl::desc("Enable the loop data prefetch pass"), cl::init(true))
static cl::opt< int > EnableGlobalISelAtO ("aarch64-enable-global-isel-at-O", cl::Hidden, cl::desc("Enable GlobalISel at or below an opt level (-1 to disable)"), cl::init(0))
static cl::opt< boolEnableSVEIntrinsicOpts ("aarch64-enable-sve-intrinsic-opts", cl::Hidden, cl::desc("Enable SVE intrinsic opts"), cl::init(true))
static cl::opt< boolEnableSMEPeepholeOpt ("enable-aarch64-sme-peephole-opt", cl::init(true), cl::Hidden, cl::desc("Perform SME peephole optimization"))
static cl::opt< boolEnableFalkorHWPFFix ("aarch64-enable-falkor-hwpf-fix", cl::init(true), cl::Hidden)
static cl::opt< boolEnableBranchTargets ("aarch64-enable-branch-targets", cl::Hidden, cl::desc("Enable the AArch64 branch target pass"), cl::init(true))
static cl::opt< unsignedSVEVectorBitsMaxOpt ("aarch64-sve-vector-bits-max", cl::desc("Assume SVE vector registers are at most this big, " "with zero meaning no maximum size is assumed."), cl::init(0), cl::Hidden)
static cl::opt< unsignedSVEVectorBitsMinOpt ("aarch64-sve-vector-bits-min", cl::desc("Assume SVE vector registers are at least this big, " "with zero meaning no minimum size is assumed."), cl::init(0), cl::Hidden)
static cl::opt< boolForceStreaming ("force-streaming", cl::desc("Force the use of streaming code for all functions"), cl::init(false), cl::Hidden)
static cl::opt< boolForceStreamingCompatible ("force-streaming-compatible", cl::desc("Force the use of streaming-compatible code for all functions"), cl::init(false), cl::Hidden)
cl::opt< boolEnableHomogeneousPrologEpilog
static cl::opt< boolEnableGISelLoadStoreOptPreLegal ("aarch64-enable-gisel-ldst-prelegal", cl::desc("Enable GlobalISel's pre-legalizer load/store optimization pass"), cl::init(true), cl::Hidden)
static cl::opt< boolEnableGISelLoadStoreOptPostLegal ("aarch64-enable-gisel-ldst-postlegal", cl::desc("Enable GlobalISel's post-legalizer load/store optimization pass"), cl::init(false), cl::Hidden)
static cl::opt< boolEnableSinkFold ("aarch64-enable-sink-fold", cl::desc("Enable sinking and folding of instruction copies"), cl::init(true), cl::Hidden)
static cl::opt< boolEnableMachinePipeliner ("aarch64-enable-pipeliner", cl::desc("Enable Machine Pipeliner for AArch64"), cl::init(false), cl::Hidden)
static cl::opt< boolEnableNewSMEABILowering ("aarch64-new-sme-abi", cl::desc("Enable new lowering for the SME ABI"), cl::init(true), cl::Hidden)
static cl::opt< boolEnableSRLTSubregToRegMitigation ("aarch64-srlt-mitigate-sr2r", cl::desc("Enable SUBREG_TO_REG mitigation by adding 'implicit-def' for " "super-regs when using Subreg Liveness Tracking"), cl::init(true), cl::Hidden)

Macro Definition Documentation

◆ ADD_CLASS_PASS_TO_PASS_NAME

#define ADD_CLASS_PASS_TO_PASS_NAME ( NAME,
CREATE_PASS )
Value:
PIC->addClassToPassName(decltype(CREATE_PASS)::name(), NAME);
PassInstrumentationCallbacks PIC
static const char * name

◆ ADD_CLASS_PASS_TO_PASS_NAME_WITH_PARAMS

#define ADD_CLASS_PASS_TO_PASS_NAME_WITH_PARAMS ( NAME,
CLASS )
Value:
PIC->addClassToPassName(CLASS, NAME);

◆ ADD_PASS

#define ADD_PASS ( NAME,
CREATE_PASS )
Value:
if (Name == NAME) { \
PM.addPass(CREATE_PASS); \
return true; \
}

◆ ADD_PASS_WITH_PARAMS

#define ADD_PASS_WITH_PARAMS ( NAME,
CREATE_PASS,
PARSER )
Value:
auto Params = PassBuilder::parsePassParameters(PARSER, Name, NAME); \
if (!Params) { \
errs() << NAME ": " << toString(Params.takeError()) << '\n'; \
return false; \
} \
PM.addPass(CREATE_PASS(Params.get())); \
return true; \
}
static bool checkParametrizedPassName(StringRef Name, StringRef PassName)
static auto parsePassParameters(ParametersParseCallableT &&Parser, StringRef Name, StringRef PassName) -> decltype(Parser(StringRef{}))
This performs customized parsing of pass name with parameters.
std::string toString(const APInt &I, unsigned Radix, bool Signed, bool formatAsCLiteral=false, bool UpperCase=true, bool InsertSeparators=false)

◆ FUNCTION_ALIAS_ANALYSIS [1/2]

#define FUNCTION_ALIAS_ANALYSIS ( NAME,
CREATE_PASS )
Value:
ADD_CLASS_PASS_TO_PASS_NAME(NAME, CREATE_PASS)
#define ADD_CLASS_PASS_TO_PASS_NAME(NAME, CREATE_PASS)

◆ FUNCTION_ALIAS_ANALYSIS [2/2]

#define FUNCTION_ALIAS_ANALYSIS ( NAME,
CREATE_PASS )
Value:
if (Name == NAME) { \
AM.registerFunctionAnalysis< \
std::remove_reference_t<decltype(CREATE_PASS)>>(); \
return true; \
}

◆ FUNCTION_ANALYSIS [1/2]

#define FUNCTION_ANALYSIS ( NAME,
CREATE_PASS )
Value:
ADD_CLASS_PASS_TO_PASS_NAME(NAME, CREATE_PASS)

◆ FUNCTION_ANALYSIS [2/2]

#define FUNCTION_ANALYSIS ( NAME,
CREATE_PASS )
Value:
AM.registerPass([&] { return CREATE_PASS; });

◆ FUNCTION_PASS [1/2]

#define FUNCTION_PASS ( NAME,
CREATE_PASS )
Value:
ADD_CLASS_PASS_TO_PASS_NAME(NAME, CREATE_PASS)

◆ FUNCTION_PASS [2/2]

#define FUNCTION_PASS ( NAME,
CREATE_PASS )
Value:
ADD_PASS(NAME, CREATE_PASS)
#define ADD_PASS(NAME, CREATE_PASS)

◆ FUNCTION_PASS_WITH_PARAMS [1/2]

#define FUNCTION_PASS_WITH_PARAMS ( NAME,
CLASS,
CREATE_PASS,
PARSER,
PARAMS )
Value:
#define ADD_CLASS_PASS_TO_PASS_NAME_WITH_PARAMS(NAME, CLASS)

◆ FUNCTION_PASS_WITH_PARAMS [2/2]

#define FUNCTION_PASS_WITH_PARAMS ( NAME,
CLASS,
CREATE_PASS,
PARSER,
PARAMS )
Value:
ADD_PASS_WITH_PARAMS(NAME, CREATE_PASS, PARSER)
#define ADD_PASS_WITH_PARAMS(NAME, CREATE_PASS, PARSER)

◆ GET_PASS_REGISTRY

#define GET_PASS_REGISTRY   "AArch64PassRegistry.def"

◆ LOOP_ANALYSIS [1/2]

#define LOOP_ANALYSIS ( NAME,
CREATE_PASS )
Value:
ADD_CLASS_PASS_TO_PASS_NAME(NAME, CREATE_PASS)

◆ LOOP_ANALYSIS [2/2]

#define LOOP_ANALYSIS ( NAME,
CREATE_PASS )
Value:
AM.registerPass([&] { return CREATE_PASS; });

◆ LOOP_PASS [1/2]

#define LOOP_PASS ( NAME,
CREATE_PASS )
Value:
ADD_CLASS_PASS_TO_PASS_NAME(NAME, CREATE_PASS)

◆ LOOP_PASS [2/2]

#define LOOP_PASS ( NAME,
CREATE_PASS )
Value:
ADD_PASS(NAME, CREATE_PASS)

◆ MACHINE_FUNCTION_ANALYSIS [1/2]

#define MACHINE_FUNCTION_ANALYSIS ( NAME,
CREATE_PASS )
Value:
ADD_CLASS_PASS_TO_PASS_NAME(NAME, CREATE_PASS)

◆ MACHINE_FUNCTION_ANALYSIS [2/2]

#define MACHINE_FUNCTION_ANALYSIS ( NAME,
CREATE_PASS )
Value:
AM.registerPass([&] { return CREATE_PASS; });

◆ MACHINE_FUNCTION_PASS [1/2]

#define MACHINE_FUNCTION_PASS ( NAME,
CREATE_PASS )
Value:
ADD_CLASS_PASS_TO_PASS_NAME(NAME, CREATE_PASS)

◆ MACHINE_FUNCTION_PASS [2/2]

#define MACHINE_FUNCTION_PASS ( NAME,
CREATE_PASS )
Value:
ADD_PASS(NAME, CREATE_PASS)

◆ MACHINE_FUNCTION_PASS_WITH_PARAMS [1/2]

#define MACHINE_FUNCTION_PASS_WITH_PARAMS ( NAME,
CLASS,
CREATE_PASS,
PARSER,
PARAMS )

◆ MACHINE_FUNCTION_PASS_WITH_PARAMS [2/2]

#define MACHINE_FUNCTION_PASS_WITH_PARAMS ( NAME,
CLASS,
CREATE_PASS,
PARSER,
PARAMS )
Value:
ADD_PASS_WITH_PARAMS(NAME, CREATE_PASS, PARSER)

◆ MODULE_ANALYSIS [1/2]

#define MODULE_ANALYSIS ( NAME,
CREATE_PASS )
Value:
ADD_CLASS_PASS_TO_PASS_NAME(NAME, CREATE_PASS)

◆ MODULE_ANALYSIS [2/2]

#define MODULE_ANALYSIS ( NAME,
CREATE_PASS )
Value:
AM.registerPass([&] { return CREATE_PASS; });

◆ MODULE_PASS [1/2]

#define MODULE_PASS ( NAME,
CREATE_PASS )
Value:
ADD_CLASS_PASS_TO_PASS_NAME(NAME, CREATE_PASS)

◆ MODULE_PASS [2/2]

#define MODULE_PASS ( NAME,
CREATE_PASS )
Value:
ADD_PASS(NAME, CREATE_PASS)

◆ MODULE_PASS_WITH_PARAMS [1/2]

#define MODULE_PASS_WITH_PARAMS ( NAME,
CLASS,
CREATE_PASS,
PARSER,
PARAMS )

◆ MODULE_PASS_WITH_PARAMS [2/2]

#define MODULE_PASS_WITH_PARAMS ( NAME,
CLASS,
CREATE_PASS,
PARSER,
PARAMS )
Value:
ADD_PASS_WITH_PARAMS(NAME, CREATE_PASS, PARSER)

Function Documentation

◆ computeDefaultCPU()

StringRef computeDefaultCPU ( const Triple & TT,
StringRef CPU )
static

◆ createTLOF()

◆ getEffectiveAArch64CodeModel()

CodeModel::Model getEffectiveAArch64CodeModel ( const Triple & TT,
std::optional< CodeModel::Model > CM,
bool JIT )
static

◆ getEffectiveRelocModel()

Reloc::Model getEffectiveRelocModel ( const Triple & TT,
std::optional< Reloc::Model > RM )
static

◆ LLVMInitializeAArch64Target()

LLVM_ABI LLVM_EXTERNAL_VISIBILITY void LLVMInitializeAArch64Target ( )

Definition at line 237 of file AArch64TargetMachine.cpp.

References llvm::PassRegistry::getPassRegistry(), llvm::getTheAArch64_32Target(), llvm::getTheAArch64beTarget(), llvm::getTheAArch64leTarget(), llvm::getTheARM64_32Target(), llvm::getTheARM64Target(), llvm::initializeAArch64A53Fix835769LegacyPass(), llvm::initializeAArch64A57FPLoadBalancingPass(), llvm::initializeAArch64AdvSIMDScalarLegacyPass(), llvm::initializeAArch64Arm64ECCallLoweringPass(), llvm::initializeAArch64AsmPrinterPass(), llvm::initializeAArch64BranchTargetsPass(), llvm::initializeAArch64CollectLOHPass(), llvm::initializeAArch64CompressJumpTablesPass(), llvm::initializeAArch64CondBrTuningPass(), llvm::initializeAArch64ConditionalComparesPass(), llvm::initializeAArch64ConditionOptimizerPass(), llvm::initializeAArch64DAGToDAGISelLegacyPass(), llvm::initializeAArch64DeadRegisterDefinitionsPass(), llvm::initializeAArch64ExpandPseudoPass(), llvm::initializeAArch64LoadStoreOptLegacyPass(), llvm::initializeAArch64LowerHomogeneousPrologEpilogPass(), llvm::initializeAArch64MIPeepholeOptPass(), llvm::initializeAArch64O0PreLegalizerCombinerPass(), llvm::initializeAArch64PointerAuthPass(), llvm::initializeAArch64PostCoalescerPass(), llvm::initializeAArch64PostLegalizerCombinerPass(), llvm::initializeAArch64PostLegalizerLoweringPass(), llvm::initializeAArch64PostSelectOptimizePass(), llvm::initializeAArch64PreLegalizerCombinerPass(), llvm::initializeAArch64PromoteConstantPass(), llvm::initializeAArch64RedundantCondBranchPass(), llvm::initializeAArch64RedundantCopyEliminationPass(), llvm::initializeAArch64SIMDInstrOptPass(), llvm::initializeAArch64SLSHardeningPass(), llvm::initializeAArch64SpeculationHardeningPass(), llvm::initializeAArch64SRLTDefineSuperRegsPass(), llvm::initializeAArch64StackTaggingPass(), llvm::initializeAArch64StackTaggingPreRAPass(), llvm::initializeAArch64StorePairSuppressPass(), llvm::initializeFalkorHWPFFixPass(), llvm::initializeFalkorMarkStridedAccessesLegacyPass(), llvm::initializeGlobalISel(), llvm::initializeKCFIPass(), llvm::initializeLDTLSCleanupPass(), llvm::initializeMachineSMEABIPass(), llvm::initializeSMEABIPass(), llvm::initializeSMEPeepholeOptPass(), llvm::initializeSVEIntrinsicOptsPass(), X, and Y.

Variable Documentation

◆ BranchRelaxation

cl::opt< bool > BranchRelaxation("aarch64-enable-branch-relax", cl::Hidden, cl::init(true), cl::desc("Relax out of range conditional branches")) ( "aarch64-enable-branch-relax" ,
cl::Hidden ,
cl::init(true) ,
cl::desc("Relax out of range conditional branches")  )
static

◆ EnableAArch64CopyPropagation

cl::opt< bool > EnableAArch64CopyPropagation("aarch64-enable-copy-propagation", cl::desc("Enable the copy propagation with AArch64 copy instr"), cl::init(true), cl::Hidden) ( "aarch64-enable-copy-propagation" ,
cl::desc("Enable the copy propagation with AArch64 copy instr") ,
cl::init(true) ,
cl::Hidden  )
static

◆ EnableAdvSIMDScalar

cl::opt< bool > EnableAdvSIMDScalar("aarch64-enable-simd-scalar", cl::desc("Enable use of AdvSIMD scalar integer instructions"), cl::init(false), cl::Hidden) ( "aarch64-enable-simd-scalar" ,
cl::desc("Enable use of AdvSIMD scalar integer instructions") ,
cl::init(false) ,
cl::Hidden  )
static

◆ EnableAtomicTidy

cl::opt< bool > EnableAtomicTidy("aarch64-enable-atomic-cfg-tidy", cl::Hidden, cl::desc("Run SimplifyCFG after expanding atomic operations" " to make use of cmpxchg flow-based information"), cl::init(true)) ( "aarch64-enable-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

◆ EnableBranchTargets

cl::opt< bool > EnableBranchTargets("aarch64-enable-branch-targets", cl::Hidden, cl::desc("Enable the AArch64 branch target pass"), cl::init(true)) ( "aarch64-enable-branch-targets" ,
cl::Hidden ,
cl::desc("Enable the AArch64 branch target pass") ,
cl::init(true)  )
static

◆ EnableCCMP

cl::opt< bool > EnableCCMP("aarch64-enable-ccmp", cl::desc("Enable the CCMP formation pass"), cl::init(true), cl::Hidden) ( "aarch64-enable-ccmp" ,
cl::desc("Enable the CCMP formation pass") ,
cl::init(true) ,
cl::Hidden  )
static

◆ EnableCollectLOH

cl::opt< bool > EnableCollectLOH("aarch64-enable-collect-loh", cl::desc("Enable the pass that emits the linker optimization hints (LOH)"), cl::init(true), cl::Hidden) ( "aarch64-enable-collect-loh" ,
cl::desc("Enable the pass that emits the linker optimization hints (LOH)") ,
cl::init(true) ,
cl::Hidden  )
static

◆ EnableCompressJumpTables

cl::opt< bool > EnableCompressJumpTables("aarch64-enable-compress-jump-tables", cl::Hidden, cl::init(true), cl::desc("Use smallest entry possible for jump tables")) ( "aarch64-enable-compress-jump-tables" ,
cl::Hidden ,
cl::init(true) ,
cl::desc("Use smallest entry possible for jump tables")  )
static

◆ EnableCondBrTuning

cl::opt< bool > EnableCondBrTuning("aarch64-enable-cond-br-tune", cl::desc("Enable the conditional branch tuning pass"), cl::init(true), cl::Hidden) ( "aarch64-enable-cond-br-tune" ,
cl::desc("Enable the conditional branch tuning pass") ,
cl::init(true) ,
cl::Hidden  )
static

◆ EnableCondOpt

cl::opt< bool > EnableCondOpt("aarch64-enable-condopt", cl::desc("Enable the condition optimizer pass"), cl::init(true), cl::Hidden) ( "aarch64-enable-condopt" ,
cl::desc("Enable the condition optimizer pass") ,
cl::init(true) ,
cl::Hidden  )
static

◆ EnableDeadRegisterElimination

cl::opt< bool > EnableDeadRegisterElimination("aarch64-enable-dead-defs", cl::Hidden, cl::desc("Enable the pass that removes dead" " definitions and replaces stores to" " them with stores to the zero" " register"), cl::init(true)) ( "aarch64-enable-dead-defs" ,
cl::Hidden ,
cl::desc("Enable the pass that removes dead" " definitions and replaces stores to" " them with stores to the zero" " register") ,
cl::init(true)  )
static

◆ EnableEarlyIfConversion

cl::opt< bool > EnableEarlyIfConversion("aarch64-enable-early-ifcvt", cl::Hidden, cl::desc("Run early if-conversion"), cl::init(true)) ( "aarch64-enable-early-ifcvt" ,
cl::Hidden ,
cl::desc("Run early if-conversion") ,
cl::init(true)  )
static

◆ EnableFalkorHWPFFix

cl::opt< bool > EnableFalkorHWPFFix("aarch64-enable-falkor-hwpf-fix", cl::init(true), cl::Hidden) ( "aarch64-enable-falkor-hwpf-fix" ,
cl::init(true) ,
cl::Hidden  )
static

◆ EnableGEPOpt

cl::opt< bool > EnableGEPOpt("aarch64-enable-gep-opt", cl::Hidden, cl::desc("Enable optimizations on complex GEPs"), cl::init(false)) ( "aarch64-enable-gep-opt" ,
cl::Hidden ,
cl::desc("Enable optimizations on complex GEPs") ,
cl::init(false)  )
static

◆ EnableGISelLoadStoreOptPostLegal

cl::opt< bool > EnableGISelLoadStoreOptPostLegal("aarch64-enable-gisel-ldst-postlegal", cl::desc("Enable GlobalISel's post-legalizer load/store optimization pass"), cl::init(false), cl::Hidden) ( "aarch64-enable-gisel-ldst-postlegal" ,
cl::desc("Enable GlobalISel's post-legalizer load/store optimization pass") ,
cl::init(false) ,
cl::Hidden  )
static

◆ EnableGISelLoadStoreOptPreLegal

cl::opt< bool > EnableGISelLoadStoreOptPreLegal("aarch64-enable-gisel-ldst-prelegal", cl::desc("Enable GlobalISel's pre-legalizer load/store optimization pass"), cl::init(true), cl::Hidden) ( "aarch64-enable-gisel-ldst-prelegal" ,
cl::desc("Enable GlobalISel's pre-legalizer load/store optimization pass") ,
cl::init(true) ,
cl::Hidden  )
static

◆ EnableGlobalISelAtO

cl::opt< int > EnableGlobalISelAtO("aarch64-enable-global-isel-at-O", cl::Hidden, cl::desc("Enable GlobalISel at or below an opt level (-1 to disable)"), cl::init(0)) ( "aarch64-enable-global-isel-at-O" ,
cl::Hidden ,
cl::desc("Enable GlobalISel at or below an opt level (-1 to disable)") ,
cl::init(0)  )
static

◆ EnableGlobalMerge

cl::opt< cl::boolOrDefault > EnableGlobalMerge("aarch64-enable-global-merge", cl::Hidden, cl::desc("Enable the global merge pass")) ( "aarch64-enable-global-merge" ,
cl::Hidden ,
cl::desc("Enable the global merge pass")  )
static

◆ EnableHomogeneousPrologEpilog

cl::opt<bool> EnableHomogeneousPrologEpilog
extern

◆ EnableLoadStoreOpt

cl::opt< bool > EnableLoadStoreOpt("aarch64-enable-ldst-opt", cl::desc("Enable the load/store pair" " optimization pass"), cl::init(true), cl::Hidden) ( "aarch64-enable-ldst-opt" ,
cl::desc("Enable the load/store pair" " optimization pass") ,
cl::init(true) ,
cl::Hidden  )
static

◆ EnableLoopDataPrefetch

cl::opt< bool > EnableLoopDataPrefetch("aarch64-enable-loop-data-prefetch", cl::Hidden, cl::desc("Enable the loop data prefetch pass"), cl::init(true)) ( "aarch64-enable-loop-data-prefetch" ,
cl::Hidden ,
cl::desc("Enable the loop data prefetch pass") ,
cl::init(true)  )
static

◆ EnableMachinePipeliner

cl::opt< bool > EnableMachinePipeliner("aarch64-enable-pipeliner", cl::desc("Enable Machine Pipeliner for AArch64"), cl::init(false), cl::Hidden) ( "aarch64-enable-pipeliner" ,
cl::desc("Enable Machine Pipeliner for AArch64") ,
cl::init(false) ,
cl::Hidden  )
static

◆ EnableMCR

cl::opt< bool > EnableMCR("aarch64-enable-mcr", cl::desc("Enable the machine combiner pass"), cl::init(true), cl::Hidden) ( "aarch64-enable-mcr" ,
cl::desc("Enable the machine combiner pass") ,
cl::init(true) ,
cl::Hidden  )
static

◆ EnableNewSMEABILowering

cl::opt< bool > EnableNewSMEABILowering("aarch64-new-sme-abi", cl::desc("Enable new lowering for the SME ABI"), cl::init(true), cl::Hidden) ( "aarch64-new-sme-abi" ,
cl::desc("Enable new lowering for the SME ABI") ,
cl::init(true) ,
cl::Hidden  )
static

◆ EnablePromoteConstant

cl::opt< bool > EnablePromoteConstant("aarch64-enable-promote-const", cl::desc("Enable the promote constant pass"), cl::init(true), cl::Hidden) ( "aarch64-enable-promote-const" ,
cl::desc("Enable the promote constant pass") ,
cl::init(true) ,
cl::Hidden  )
static

◆ EnableRedundantCopyElimination

cl::opt< bool > EnableRedundantCopyElimination("aarch64-enable-copyelim", cl::desc("Enable the redundant copy elimination pass"), cl::init(true), cl::Hidden) ( "aarch64-enable-copyelim" ,
cl::desc("Enable the redundant copy elimination pass") ,
cl::init(true) ,
cl::Hidden  )
static

◆ EnableSelectOpt

cl::opt< bool > EnableSelectOpt("aarch64-select-opt", cl::Hidden, cl::desc("Enable select to branch optimizations"), cl::init(true)) ( "aarch64-select-opt" ,
cl::Hidden ,
cl::desc("Enable select to branch optimizations") ,
cl::init(true)  )
static

◆ EnableSinkFold

cl::opt< bool > EnableSinkFold("aarch64-enable-sink-fold", cl::desc("Enable sinking and folding of instruction copies"), cl::init(true), cl::Hidden) ( "aarch64-enable-sink-fold" ,
cl::desc("Enable sinking and folding of instruction copies") ,
cl::init(true) ,
cl::Hidden  )
static

◆ EnableSMEPeepholeOpt

cl::opt< bool > EnableSMEPeepholeOpt("enable-aarch64-sme-peephole-opt", cl::init(true), cl::Hidden, cl::desc("Perform SME peephole optimization")) ( "enable-aarch64-sme-peephole-opt" ,
cl::init(true) ,
cl::Hidden ,
cl::desc("Perform SME peephole optimization")  )
static

◆ EnableSRLTSubregToRegMitigation

cl::opt< bool > EnableSRLTSubregToRegMitigation("aarch64-srlt-mitigate-sr2r", cl::desc("Enable SUBREG_TO_REG mitigation by adding 'implicit-def' for " "super-regs when using Subreg Liveness Tracking"), cl::init(true), cl::Hidden) ( "aarch64-srlt-mitigate-sr2r" ,
cl::desc("Enable SUBREG_TO_REG mitigation by adding 'implicit-def' for " "super-regs when using Subreg Liveness Tracking") ,
cl::init(true) ,
cl::Hidden  )
static

◆ EnableStPairSuppress

cl::opt< bool > EnableStPairSuppress("aarch64-enable-stp-suppress", cl::desc("Suppress STP for AArch64"), cl::init(true), cl::Hidden) ( "aarch64-enable-stp-suppress" ,
cl::desc("Suppress STP for AArch64") ,
cl::init(true) ,
cl::Hidden  )
static

◆ EnableSVEIntrinsicOpts

cl::opt< bool > EnableSVEIntrinsicOpts("aarch64-enable-sve-intrinsic-opts", cl::Hidden, cl::desc("Enable SVE intrinsic opts"), cl::init(true)) ( "aarch64-enable-sve-intrinsic-opts" ,
cl::Hidden ,
cl::desc("Enable SVE intrinsic opts") ,
cl::init(true)  )
static

◆ ForceStreaming

cl::opt< bool > ForceStreaming("force-streaming", cl::desc("Force the use of streaming code for all functions"), cl::init(false), cl::Hidden) ( "force-streaming" ,
cl::desc("Force the use of streaming code for all functions") ,
cl::init(false) ,
cl::Hidden  )
static

◆ ForceStreamingCompatible

cl::opt< bool > ForceStreamingCompatible("force-streaming-compatible", cl::desc("Force the use of streaming-compatible code for all functions"), cl::init(false), cl::Hidden) ( "force-streaming-compatible" ,
cl::desc("Force the use of streaming-compatible code for all functions") ,
cl::init(false) ,
cl::Hidden  )
static

◆ SVEVectorBitsMaxOpt

cl::opt< unsigned > SVEVectorBitsMaxOpt("aarch64-sve-vector-bits-max", cl::desc("Assume SVE vector registers are at most this big, " "with zero meaning no maximum size is assumed."), cl::init(0), cl::Hidden) ( "aarch64-sve-vector-bits-max" ,
cl::desc("Assume SVE vector registers are at most this big, " "with zero meaning no maximum size is assumed.") ,
cl::init(0) ,
cl::Hidden  )
static

◆ SVEVectorBitsMinOpt

cl::opt< unsigned > SVEVectorBitsMinOpt("aarch64-sve-vector-bits-min", cl::desc("Assume SVE vector registers are at least this big, " "with zero meaning no minimum size is assumed."), cl::init(0), cl::Hidden) ( "aarch64-sve-vector-bits-min" ,
cl::desc("Assume SVE vector registers are at least this big, " "with zero meaning no minimum size is assumed.") ,
cl::init(0) ,
cl::Hidden  )
static