LLVM 22.0.0git
GCNSubtarget.cpp File Reference

Implements the GCN specific subclass of TargetSubtarget. More...

Go to the source code of this file.

Macros

#define DEBUG_TYPE   "gcn-subtarget"
#define GET_SUBTARGETINFO_TARGET_DESC
#define GET_SUBTARGETINFO_CTOR
#define AMDGPUSubtarget   GCNSubtarget

Variables

static cl::opt< boolEnableVGPRIndexMode ("amdgpu-vgpr-index-mode", cl::desc("Use GPR indexing mode instead of movrel for vector indexing"), cl::init(false))
static cl::opt< boolUseAA ("amdgpu-use-aa-in-codegen", cl::desc("Enable the use of AA during codegen."), cl::init(true))
static cl::opt< unsignedNSAThreshold ("amdgpu-nsa-threshold", cl::desc("Number of addresses from which to enable MIMG NSA."), cl::init(2), cl::Hidden)

Detailed Description

Implements the GCN specific subclass of TargetSubtarget.

Definition in file GCNSubtarget.cpp.

Macro Definition Documentation

◆ AMDGPUSubtarget

Definition at line 37 of file GCNSubtarget.cpp.

◆ DEBUG_TYPE

#define DEBUG_TYPE   "gcn-subtarget"

Definition at line 33 of file GCNSubtarget.cpp.

◆ GET_SUBTARGETINFO_CTOR

#define GET_SUBTARGETINFO_CTOR

Definition at line 36 of file GCNSubtarget.cpp.

◆ GET_SUBTARGETINFO_TARGET_DESC

#define GET_SUBTARGETINFO_TARGET_DESC

Definition at line 35 of file GCNSubtarget.cpp.

Variable Documentation

◆ EnableVGPRIndexMode

cl::opt< bool > EnableVGPRIndexMode("amdgpu-vgpr-index-mode", cl::desc("Use GPR indexing mode instead of movrel for vector indexing"), cl::init(false)) ( "amdgpu-vgpr-index-mode" ,
cl::desc("Use GPR indexing mode instead of movrel for vector indexing") ,
cl::init(false)  )
static

◆ NSAThreshold

cl::opt< unsigned > NSAThreshold("amdgpu-nsa-threshold", cl::desc("Number of addresses from which to enable MIMG NSA."), cl::init(2), cl::Hidden) ( "amdgpu-nsa-threshold" ,
cl::desc("Number of addresses from which to enable MIMG NSA.") ,
cl::init(2) ,
cl::Hidden  )
static

◆ UseAA

cl::opt< bool > UseAA("amdgpu-use-aa-in-codegen", cl::desc("Enable the use of AA during codegen."), cl::init(true)) ( "amdgpu-use-aa-in-codegen" ,
cl::desc("Enable the use of AA during codegen.") ,
cl::init(true)  )
static