LLVM 22.0.0git
AMDGPULateCodeGenPrepare.cpp File Reference

This pass does misc. More...

Go to the source code of this file.

Classes

class  AMDGPULateCodeGenPrepareLegacy

Macros

#define DEBUG_TYPE   "amdgpu-late-codegenprepare"

Functions

 INITIALIZE_PASS_BEGIN (AMDGPULateCodeGenPrepareLegacy, DEBUG_TYPE, "AMDGPU IR late optimizations", false, false) INITIALIZE_PASS_END(AMDGPULateCodeGenPrepareLegacy

Variables

static cl::opt< boolWidenLoads ("amdgpu-late-codegenprepare-widen-constant-loads", cl::desc("Widen sub-dword constant address space loads in " "AMDGPULateCodeGenPrepare"), cl::ReallyHidden, cl::init(true))
 DEBUG_TYPE
AMDGPU IR late optimizations
AMDGPU IR late false

Detailed Description

This pass does misc.

AMDGPU optimizations on IR just before instruction selection.

Definition in file AMDGPULateCodeGenPrepare.cpp.

Macro Definition Documentation

◆ DEBUG_TYPE

#define DEBUG_TYPE   "amdgpu-late-codegenprepare"

Definition at line 29 of file AMDGPULateCodeGenPrepare.cpp.

Function Documentation

◆ INITIALIZE_PASS_BEGIN()

INITIALIZE_PASS_BEGIN ( AMDGPULateCodeGenPrepareLegacy ,
DEBUG_TYPE ,
"AMDGPU IR late optimizations" ,
false ,
false  )

Variable Documentation

◆ DEBUG_TYPE

DEBUG_TYPE

Definition at line 577 of file AMDGPULateCodeGenPrepare.cpp.

◆ false

AMDGPU IR late false

Definition at line 578 of file AMDGPULateCodeGenPrepare.cpp.

◆ optimizations

AMDGPU IR late optimizations

Definition at line 578 of file AMDGPULateCodeGenPrepare.cpp.

◆ WidenLoads

cl::opt< bool > WidenLoads("amdgpu-late-codegenprepare-widen-constant-loads", cl::desc("Widen sub-dword constant address space loads in " "AMDGPULateCodeGenPrepare"), cl::ReallyHidden, cl::init(true)) ( "amdgpu-late-codegenprepare-widen-constant-loads" ,
cl::desc("Widen sub-dword constant address space loads in " "AMDGPULateCodeGenPrepare") ,
cl::ReallyHidden ,
cl::init(true)  )
static