LLVM 19.0.0git
Namespaces | Functions | Variables
AMDGPUAsmUtils.cpp File Reference
#include "AMDGPUAsmUtils.h"
#include "AMDGPUBaseInfo.h"
#include "SIDefines.h"

Go to the source code of this file.

Namespaces

namespace  llvm
 This is an optimization pass for GlobalISel generic memory operations.
 
namespace  llvm::AMDGPU
 
namespace  llvm::AMDGPU::DepCtr
 
namespace  llvm::AMDGPU::SendMsg
 
namespace  llvm::AMDGPU::Hwreg
 
namespace  llvm::AMDGPU::MTBUFFormat
 
namespace  llvm::AMDGPU::Swizzle
 
namespace  llvm::AMDGPU::VGPRIndexMode
 

Functions

template<size_t N>
static StringRef llvm::AMDGPU::getNameFromOperandTable (const CustomOperand(&Table)[N], unsigned Encoding, const MCSubtargetInfo &STI)
 Map from the encoding of a sendmsg/hwreg asm operand to it's name.
 
template<size_t N>
static int64_t llvm::AMDGPU::getEncodingFromOperandTable (const CustomOperand(&Table)[N], StringRef Name, const MCSubtargetInfo &STI)
 Map from a symbolic name for a sendmsg/hwreg asm operand to it's encoding.
 
int64_t llvm::AMDGPU::SendMsg::getMsgId (StringRef Name, const MCSubtargetInfo &STI)
 Map from a symbolic name for a msg_id to the message portion of the immediate encoding.
 
StringRef llvm::AMDGPU::SendMsg::getMsgName (uint64_t Encoding, const MCSubtargetInfo &STI)
 Map from an encoding to the symbolic name for a msg_id immediate.
 
int64_t llvm::AMDGPU::SendMsg::getMsgOpId (int64_t MsgId, StringRef Name, const MCSubtargetInfo &STI)
 Map from a symbolic name for a sendmsg operation to the operation portion of the immediate encoding.
 
StringRef llvm::AMDGPU::SendMsg::getMsgOpName (int64_t MsgId, uint64_t Encoding, const MCSubtargetInfo &STI)
 Map from an encoding to the symbolic name for a sendmsg operation.
 
int64_t llvm::AMDGPU::Hwreg::getHwregId (StringRef Name, const MCSubtargetInfo &STI)
 
StringRef llvm::AMDGPU::Hwreg::getHwreg (uint64_t Encoding, const MCSubtargetInfo &STI)
 

Variables

const CustomOperandVal llvm::AMDGPU::DepCtr::DepCtrInfo []
 
const int llvm::AMDGPU::DepCtr::DEP_CTR_SIZE
 
static constexpr CustomOperand llvm::AMDGPU::SendMsg::MsgOperands []
 
static constexpr CustomOperand llvm::AMDGPU::SendMsg::SysMsgOperands []
 
static constexpr CustomOperand llvm::AMDGPU::SendMsg::StreamMsgOperands []
 
static constexpr CustomOperand llvm::AMDGPU::Hwreg::Operands []
 
StringLiteral const llvm::AMDGPU::MTBUFFormat::DfmtSymbolic []
 
StringLiteral const llvm::AMDGPU::MTBUFFormat::NfmtSymbolicGFX10 []
 
StringLiteral const llvm::AMDGPU::MTBUFFormat::NfmtSymbolicSICI []
 
StringLiteral const llvm::AMDGPU::MTBUFFormat::NfmtSymbolicVI []
 
StringLiteral const llvm::AMDGPU::MTBUFFormat::UfmtSymbolicGFX10 []
 
unsigned const llvm::AMDGPU::MTBUFFormat::DfmtNfmt2UFmtGFX10 []
 
StringLiteral const llvm::AMDGPU::MTBUFFormat::UfmtSymbolicGFX11 []
 
unsigned const llvm::AMDGPU::MTBUFFormat::DfmtNfmt2UFmtGFX11 []
 
const char *const llvm::AMDGPU::Swizzle::IdSymbolic []
 
const char *const llvm::AMDGPU::VGPRIndexMode::IdSymbolic []