87 if (ST.hasDX10ClampMode())
106 if (ST.hasDX10ClampMode())
109 if (ST.hasIEEEMode())
112 if (ST.hasRrWGMode())
AMD GCN specific subclass of TargetSubtarget.
#define S_00B84C_EXCP_EN(x)
#define S_00B428_MEM_ORDERED(x)
#define S_00B028_MEM_ORDERED(x)
#define S_00B84C_TGID_Z_EN(x)
#define S_00B228_WGP_MODE(x)
#define S_00B848_MEM_ORDERED(x)
#define S_00B228_MEM_ORDERED(x)
#define S_00B848_RR_WG_MODE(x)
#define S_00B84C_TGID_X_EN(x)
#define S_00B848_DEBUG_MODE(x)
#define S_00B428_WGP_MODE(x)
#define S_00B84C_TG_SIZE_EN(x)
#define S_00B84C_TIDIG_COMP_CNT(x)
#define S_00B84C_LDS_SIZE(x)
#define S_00B84C_USER_SGPR(x)
#define S_00B84C_TRAP_HANDLER(x)
#define S_00B84C_TGID_Y_EN(x)
#define S_00B128_MEM_ORDERED(x)
#define S_00B848_WGP_MODE(x)
#define S_00B84C_EXCP_EN_MSB(x)
#define S_00B848_DX10_CLAMP(x)
#define S_00B848_PRIORITY(x)
#define S_00B848_IEEE_MODE(x)
#define S_00B848_FLOAT_MODE(x)
static uint64_t getComputePGMRSrc2Reg(const SIProgramInfo &ProgInfo)
static uint64_t getPGMRSrc1Reg(const SIProgramInfo &ProgInfo, CallingConv::ID CC, const GCNSubtarget &ST)
static uint64_t getComputePGMRSrc1Reg(const SIProgramInfo &ProgInfo, const GCNSubtarget &ST)
static const MCExpr * MaskShift(const MCExpr *Val, uint32_t Mask, uint32_t Shift, MCContext &Ctx)
Defines struct to track resource usage and hardware flags for kernels and entry functions.
static const MCBinaryExpr * createAnd(const MCExpr *LHS, const MCExpr *RHS, MCContext &Ctx)
static const MCBinaryExpr * createOr(const MCExpr *LHS, const MCExpr *RHS, MCContext &Ctx)
static const MCBinaryExpr * createShl(const MCExpr *LHS, const MCExpr *RHS, MCContext &Ctx)
static const MCConstantExpr * create(int64_t Value, MCContext &Ctx, bool PrintInHex=false, unsigned SizeInBytes=0)
Context object for machine code objects.
Base class for the full range of assembler expressions which are needed for parsing.
MCContext & getContext() const
bool isCompute(CallingConv::ID cc)
@ AMDGPU_VS
Used for Mesa vertex shaders, or AMDPAL last shader stage before rasterization (vertex shader if tess...
@ AMDGPU_HS
Used for Mesa/AMDPAL hull shaders (= tessellation control shaders).
@ AMDGPU_GS
Used for Mesa/AMDPAL geometry shaders.
@ AMDGPU_PS
Used for Mesa/AMDPAL pixel shaders.
This is an optimization pass for GlobalISel generic memory operations.
Track resource usage for kernels / entry functions.
const MCExpr * getPGMRSrc2(CallingConv::ID CC, MCContext &Ctx) const
const MCExpr * ComputePGMRSrc3GFX90A
const MCExpr * NumArchVGPR
const MCExpr * getComputePGMRSrc2(MCContext &Ctx) const
Compute the value of the ComputePGMRsrc2 register.
const MCExpr * VGPRBlocks
const MCExpr * ScratchBlocks
const MCExpr * getComputePGMRSrc1(const GCNSubtarget &ST, MCContext &Ctx) const
Compute the value of the ComputePGMRsrc1 register.
uint32_t TrapHandlerEnable
const MCExpr * ScratchEnable
const MCExpr * AccumOffset
const MCExpr * NumAccVGPR
const MCExpr * DynamicCallStack
const MCExpr * SGPRBlocks
const MCExpr * NumVGPRsForWavesPerEU
const MCExpr * getPGMRSrc1(CallingConv::ID CC, const GCNSubtarget &ST, MCContext &Ctx) const
const MCExpr * ScratchSize
const MCExpr * NumSGPRsForWavesPerEU
void reset(const MachineFunction &MF)