LLVM 20.0.0git
|
This class has methods called by AMDGPUAsmPrinter to accumulate and print the PAL metadata. More...
#include "AMDGPUPALMetadata.h"
#include "AMDGPUPTNote.h"
#include "SIDefines.h"
#include "llvm/BinaryFormat/ELF.h"
#include "llvm/IR/Constants.h"
#include "llvm/IR/Module.h"
#include "llvm/MC/MCExpr.h"
#include "llvm/Support/AMDGPUMetadata.h"
#include "llvm/Support/EndianStream.h"
Go to the source code of this file.
Functions | |
static unsigned | getRsrc1Reg (CallingConv::ID CC) |
static unsigned | getScratchSizeKey (CallingConv::ID CC) |
static const char * | getRegisterName (unsigned RegNum) |
static const char * | getStageName (CallingConv::ID CC) |
This class has methods called by AMDGPUAsmPrinter to accumulate and print the PAL metadata.
Definition in file AMDGPUPALMetadata.cpp.
Definition at line 394 of file AMDGPUPALMetadata.cpp.
References Name, llvm::AMDGPU::PALMD::R_2C0A_SPI_SHADER_PGM_RSRC1_PS, llvm::AMDGPU::PALMD::R_2C4A_SPI_SHADER_PGM_RSRC1_VS, llvm::AMDGPU::PALMD::R_2C8A_SPI_SHADER_PGM_RSRC1_GS, llvm::AMDGPU::PALMD::R_2CCA_SPI_SHADER_PGM_RSRC1_ES, llvm::AMDGPU::PALMD::R_2D0A_SPI_SHADER_PGM_RSRC1_HS, llvm::AMDGPU::PALMD::R_2D4A_SPI_SHADER_PGM_RSRC1_LS, llvm::AMDGPU::PALMD::R_2E00_COMPUTE_DISPATCH_INITIATOR, llvm::AMDGPU::PALMD::R_2E12_COMPUTE_PGM_RSRC1, llvm::AMDGPU::PALMD::R_A1B3_SPI_PS_INPUT_ENA, llvm::AMDGPU::PALMD::R_A1B4_SPI_PS_INPUT_ADDR, llvm::AMDGPU::PALMD::R_A1B6_SPI_PS_IN_CONTROL, and llvm::AMDGPU::PALMD::R_A2D5_VGT_SHADER_STAGES_EN.
|
static |
Definition at line 94 of file AMDGPUPALMetadata.cpp.
References llvm::CallingConv::AMDGPU_ES, llvm::CallingConv::AMDGPU_GS, llvm::CallingConv::AMDGPU_HS, llvm::CallingConv::AMDGPU_LS, llvm::CallingConv::AMDGPU_PS, llvm::CallingConv::AMDGPU_VS, CC, llvm::AMDGPU::PALMD::R_2C0A_SPI_SHADER_PGM_RSRC1_PS, llvm::AMDGPU::PALMD::R_2C4A_SPI_SHADER_PGM_RSRC1_VS, llvm::AMDGPU::PALMD::R_2C8A_SPI_SHADER_PGM_RSRC1_GS, llvm::AMDGPU::PALMD::R_2CCA_SPI_SHADER_PGM_RSRC1_ES, llvm::AMDGPU::PALMD::R_2D0A_SPI_SHADER_PGM_RSRC1_HS, llvm::AMDGPU::PALMD::R_2D4A_SPI_SHADER_PGM_RSRC1_LS, and llvm::AMDGPU::PALMD::R_2E12_COMPUTE_PGM_RSRC1.
Referenced by llvm::AMDGPUPALMetadata::setRsrc1(), and llvm::AMDGPUPALMetadata::setRsrc2().
|
static |
Definition at line 116 of file AMDGPUPALMetadata.cpp.
References llvm::CallingConv::AMDGPU_ES, llvm::CallingConv::AMDGPU_GS, llvm::CallingConv::AMDGPU_HS, llvm::CallingConv::AMDGPU_LS, llvm::CallingConv::AMDGPU_PS, llvm::CallingConv::AMDGPU_VS, and CC.
Referenced by llvm::AMDGPUPALMetadata::setNumUsedSgprs(), llvm::AMDGPUPALMetadata::setNumUsedVgprs(), and llvm::AMDGPUPALMetadata::setScratchSize().
|
static |
Definition at line 946 of file AMDGPUPALMetadata.cpp.
References llvm::CallingConv::AMDGPU_ES, llvm::CallingConv::AMDGPU_Gfx, llvm::CallingConv::AMDGPU_GS, llvm::CallingConv::AMDGPU_HS, llvm::CallingConv::AMDGPU_LS, llvm::CallingConv::AMDGPU_PS, llvm::CallingConv::AMDGPU_VS, CC, and llvm_unreachable.