LLVM 20.0.0git
|
Implements the GCN specific subclass of TargetSubtarget. More...
#include "GCNSubtarget.h"
#include "AMDGPUCallLowering.h"
#include "AMDGPUInstructionSelector.h"
#include "AMDGPULegalizerInfo.h"
#include "AMDGPURegisterBankInfo.h"
#include "AMDGPUSelectionDAGInfo.h"
#include "AMDGPUTargetMachine.h"
#include "SIMachineFunctionInfo.h"
#include "Utils/AMDGPUBaseInfo.h"
#include "llvm/ADT/SmallString.h"
#include "llvm/CodeGen/GlobalISel/InlineAsmLowering.h"
#include "llvm/CodeGen/MachineScheduler.h"
#include "llvm/CodeGen/TargetFrameLowering.h"
#include "llvm/IR/DiagnosticInfo.h"
#include "llvm/IR/MDBuilder.h"
#include <algorithm>
#include "AMDGPUGenSubtargetInfo.inc"
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 |
Functions | |
static unsigned | getMaxNumPreloadedSGPRs () |
Variables | |
static cl::opt< bool > | EnablePowerSched ("amdgpu-enable-power-sched", cl::desc("Enable scheduling to minimize mAI power bursts"), cl::init(false)) |
static cl::opt< bool > | EnableVGPRIndexMode ("amdgpu-vgpr-index-mode", cl::desc("Use GPR indexing mode instead of movrel for vector indexing"), cl::init(false)) |
static cl::opt< bool > | UseAA ("amdgpu-use-aa-in-codegen", cl::desc("Enable the use of AA during codegen."), cl::init(true)) |
static cl::opt< unsigned > | NSAThreshold ("amdgpu-nsa-threshold", cl::desc("Number of addresses from which to enable MIMG NSA."), cl::init(2), cl::Hidden) |
Implements the GCN specific subclass of TargetSubtarget.
Definition in file GCNSubtarget.cpp.
#define AMDGPUSubtarget GCNSubtarget |
Definition at line 37 of file GCNSubtarget.cpp.
#define DEBUG_TYPE "gcn-subtarget" |
Definition at line 33 of file GCNSubtarget.cpp.
#define GET_SUBTARGETINFO_CTOR |
Definition at line 36 of file GCNSubtarget.cpp.
#define GET_SUBTARGETINFO_TARGET_DESC |
Definition at line 35 of file GCNSubtarget.cpp.
|
static |
Definition at line 474 of file GCNSubtarget.cpp.
Referenced by llvm::GCNSubtarget::getMaxNumSGPRs().
|
static |
Referenced by llvm::GCNSubtarget::createFillMFMAShadowMutation().
|
static |
Referenced by llvm::GCNSubtarget::useVGPRIndexMode().
|
static |
Referenced by llvm::GCNSubtarget::getNSAThreshold().