LLVM: llvm::AMDGPUPALMetadata Class Reference (original) (raw)

#include "[Target/AMDGPU/Utils/AMDGPUPALMetadata.h](AMDGPUPALMetadata%5F8h%5Fsource.html)"

Public Member Functions
void readFromIR (Module &M)
bool setFromBlob (unsigned Type, StringRef Blob)
void setRsrc1 (unsigned CC, unsigned Val)
void setRsrc1 (unsigned CC, const MCExpr *Val, MCContext &Ctx)
void setRsrc2 (unsigned CC, unsigned Val)
void setRsrc2 (unsigned CC, const MCExpr *Val, MCContext &Ctx)
void setSpiPsInputEna (unsigned Val)
void setSpiPsInputAddr (unsigned Val)
unsigned getRegister (unsigned Reg)
void setRegister (unsigned Reg, unsigned Val)
void setRegister (unsigned Reg, const MCExpr *Val, MCContext &Ctx)
void setEntryPoint (unsigned CC, StringRef Name)
void setNumUsedVgprs (unsigned CC, unsigned Val)
void setNumUsedVgprs (unsigned CC, const MCExpr *Val, MCContext &Ctx)
void setNumUsedAgprs (unsigned CC, unsigned Val)
void setNumUsedAgprs (unsigned CC, const MCExpr *Val)
void setNumUsedSgprs (unsigned CC, unsigned Val)
void setNumUsedSgprs (unsigned CC, const MCExpr *Val, MCContext &Ctx)
void setScratchSize (unsigned CC, unsigned Val)
void setScratchSize (unsigned CC, const MCExpr *Val, MCContext &Ctx)
void setFunctionScratchSize (StringRef FnName, unsigned Val)
void setFunctionLdsSize (StringRef FnName, unsigned Val)
void setFunctionNumUsedVgprs (StringRef FnName, unsigned Val)
void setFunctionNumUsedVgprs (StringRef FnName, const MCExpr *Val)
void setFunctionNumUsedSgprs (StringRef FnName, unsigned Val)
void setFunctionNumUsedSgprs (StringRef FnName, const MCExpr *Val)
void setWave32 (unsigned CC)
void toString (std::string &S)
bool setFromString (StringRef S)
const char * getVendor () const
unsigned getType () const
void toBlob (unsigned Type, std::string &S)
msgpack::Document * getMsgPackDoc ()
void setLegacy ()
unsigned getPALMajorVersion ()
unsigned getPALMinorVersion ()
VersionTuple getPALVersion ()
void updateHwStageMaximum (unsigned CC, StringRef field, unsigned Val)
void setHwStage (unsigned CC, StringRef field, unsigned Val)
void setHwStage (unsigned CC, StringRef field, bool Val)
void setHwStage (unsigned CC, StringRef field, msgpack::Type Type, const MCExpr *Val)
void setComputeRegisters (StringRef field, unsigned Val)
void setComputeRegisters (StringRef field, bool Val)
msgpack::DocNode * refComputeRegister (StringRef field)
bool checkComputeRegisters (StringRef field, unsigned Val)
bool checkComputeRegisters (StringRef field, bool Val)
void setGraphicsRegisters (StringRef field, unsigned Val)
void setGraphicsRegisters (StringRef field, bool Val)
void setGraphicsRegisters (StringRef field1, StringRef field2, unsigned Val)
void setGraphicsRegisters (StringRef field1, StringRef field2, bool Val)
void reset ()
bool resolvedAllMCExpr ()

Definition at line 25 of file AMDGPUPALMetadata.h.

RegisterExprMap

checkComputeRegisters() [1/2]

checkComputeRegisters() [2/2]

getMsgPackDoc()

getPALMajorVersion()

unsigned AMDGPUPALMetadata::getPALMajorVersion ( )

getPALMinorVersion()

unsigned AMDGPUPALMetadata::getPALMinorVersion ( )

getPALVersion()

getRegister()

getType()

unsigned AMDGPUPALMetadata::getType ( ) const

getVendor()

const char * AMDGPUPALMetadata::getVendor ( ) const

readFromIR()

void AMDGPUPALMetadata::readFromIR ( Module & M )

refComputeRegister()

reset()

void AMDGPUPALMetadata::reset ( )

resolvedAllMCExpr()

bool AMDGPUPALMetadata::resolvedAllMCExpr ( )

setComputeRegisters() [1/2]

void AMDGPUPALMetadata::setComputeRegisters ( StringRef field,
bool Val )

setComputeRegisters() [2/2]

setEntryPoint()

setFromBlob()

setFromString()

setFunctionLdsSize()

setFunctionNumUsedSgprs() [1/2]

setFunctionNumUsedSgprs() [2/2]

setFunctionNumUsedVgprs() [1/2]

setFunctionNumUsedVgprs() [2/2]

setFunctionScratchSize()

setGraphicsRegisters() [1/4]

void AMDGPUPALMetadata::setGraphicsRegisters ( StringRef field,
bool Val )

setGraphicsRegisters() [2/4]

setGraphicsRegisters() [3/4]

setGraphicsRegisters() [4/4]

setHwStage() [1/3]

setHwStage() [2/3]

setHwStage() [3/3]

setLegacy()

void AMDGPUPALMetadata::setLegacy ( )

setNumUsedAgprs() [1/2]

setNumUsedAgprs() [2/2]

setNumUsedSgprs() [1/2]

setNumUsedSgprs() [2/2]

setNumUsedVgprs() [1/2]

setNumUsedVgprs() [2/2]

setRegister() [1/2]

setRegister() [2/2]

Definition at line 207 of file AMDGPUPALMetadata.cpp.

References N, and llvm::msgpack::UInt.

Referenced by readFromIR(), setNumUsedSgprs(), setNumUsedSgprs(), setNumUsedVgprs(), setNumUsedVgprs(), setRsrc1(), setRsrc1(), setRsrc2(), setRsrc2(), setScratchSize(), setScratchSize(), setSpiPsInputAddr(), setSpiPsInputEna(), and setWave32().

setRsrc1() [1/2]

setRsrc1() [2/2]

setRsrc2() [1/2]

setRsrc2() [2/2]

setScratchSize() [1/2]

setScratchSize() [2/2]

setSpiPsInputAddr()

void AMDGPUPALMetadata::setSpiPsInputAddr ( unsigned Val )

setSpiPsInputEna()

void AMDGPUPALMetadata::setSpiPsInputEna ( unsigned Val )

setWave32()

void AMDGPUPALMetadata::setWave32 ( unsigned CC )

Definition at line 409 of file AMDGPUPALMetadata.cpp.

References llvm::CallingConv::AMDGPU_CS, llvm::CallingConv::AMDGPU_GS, llvm::CallingConv::AMDGPU_HS, llvm::CallingConv::AMDGPU_PS, llvm::CallingConv::AMDGPU_VS, llvm::AMDGPU::PALMD::R_2E00_COMPUTE_DISPATCH_INITIATOR, llvm::AMDGPU::PALMD::R_A1B6_SPI_PS_IN_CONTROL, llvm::AMDGPU::PALMD::R_A2D5_VGT_SHADER_STAGES_EN, S_00B800_CS_W32_EN, S_0286D8_PS_W32_EN, S_028B54_GS_W32_EN, S_028B54_HS_W32_EN, S_028B54_VS_W32_EN, and setRegister().

toBlob()

void AMDGPUPALMetadata::toBlob ( unsigned Type,
std::string & S )

toString()

void AMDGPUPALMetadata::toString ( std::string & S )

Definition at line 815 of file AMDGPUPALMetadata.cpp.

References llvm::AMDGPU::PALMD::AssemblerDirective, llvm::AMDGPU::PALMD::AssemblerDirectiveBegin, llvm::AMDGPU::PALMD::AssemblerDirectiveEnd, getRegisterName(), I, llvm::InnerAnalysisManagerProxy< AnalysisManagerT, IRUnitT, ExtraArgTs... >::Key, llvm::msgpack::Nil, RegName, llvm::String, and llvm::Twine::utohexstr().

Referenced by llvm::AMDGPUTargetAsmStreamer::finish().

updateHwStageMaximum()


The documentation for this class was generated from the following files: