34 disablePass<StackMapLivenessPass, FuncletLayoutPass,
88 CreateMCStreamer)
const {
Defines an instruction selector for the AMDGPU target.
Analyzes if a function potentially memory bound and if a kernel kernel may benefit from limiting numb...
static cl::opt< bool, true > EnableStructurizerWorkarounds("amdgpu-enable-structurizer-workarounds", cl::desc("Enable workarounds for the StructurizeCFG pass"), cl::location(AMDGPUTargetMachine::EnableStructurizerWorkarounds), cl::init(true), cl::Hidden)
static cl::opt< bool, true > DisableStructurizer("amdgpu-disable-structurizer", cl::desc("Disable structurizer for experiments; produces unusable code"), cl::location(AMDGPUTargetMachine::DisableStructurizer), cl::ReallyHidden)
static cl::opt< bool, true > LateCFGStructurize("amdgpu-late-structurize", cl::desc("Enable late CFG structurization"), cl::location(AMDGPUTargetMachine::EnableLateStructurizeCFG), cl::Hidden)
The AMDGPU TargetMachine interface definition for hw codegen targets.
const char LLVMTargetMachineRef TM
PassInstrumentationCallbacks PIC
Error addInstSelector(AddMachinePass &) const
AMDGPUCodeGenPassBuilder(GCNTargetMachine &TM, const CGPassBuilderOption &Opts, PassInstrumentationCallbacks *PIC)
void addPreISel(AddIRPass &addPass) const
void addAsmPrinter(AddMachinePass &, CreateMCStreamer) const
static bool EnableLateStructurizeCFG
static bool DisableStructurizer
static bool EnableStructurizerWorkarounds
This class provides access to building LLVM's passes.
void disablePass()
Allow the target to disable a specific pass by default.
Lightweight error class with error context and mandatory checking.
static ErrorSuccess success()
Create a success value.
Converts loops into loop-closed SSA form.
This class manages callbacks registration, as well as provides a way for PassInstrumentation to pass ...
Move instructions into successor blocks when possible.
CodeGenOptLevel getOptLevel() const
Returns the optimization level: None, Less, Default, or Aggressive.
This is an optimization pass for GlobalISel generic memory operations.
bool RequiresCodeGenSCCOrder
A utility pass template to force an analysis result to be available.