9#ifndef LLVM_LIB_TARGET_AMDGPU_UTILS_AMDGPUASMUTILS_H
10#define LLVM_LIB_TARGET_AMDGPU_UTILS_AMDGPUASMUTILS_H
69int64_t
getMsgId(StringRef
Name,
const MCSubtargetInfo &STI);
78int64_t
getMsgOpId(int64_t MsgId, StringRef
Name,
const MCSubtargetInfo &STI);
83 const MCSubtargetInfo &STI);
94namespace MTBUFFormat {
113namespace VGPRIndexMode {
static std::vector< std::pair< int, unsigned > > Swizzle(std::vector< std::pair< int, unsigned > > Src, R600InstrInfo::BankSwizzle Swz)
ArrayRef - Represent a constant reference to an array (0 or more elements consecutively in memory),...
Generic base class for all target subtargets.
A wrapper around a string literal that serves as a proxy for constructing global tables of StringRefs...
const CustomOperandVal DepCtrInfo[]
StringRef getHwreg(uint64_t Encoding, const MCSubtargetInfo &STI)
int64_t getHwregId(StringRef Name, const MCSubtargetInfo &STI)
int64_t 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.
int64_t getMsgId(StringRef Name, const MCSubtargetInfo &STI)
Map from a symbolic name for a msg_id to the message portion of the immediate encoding.
StringRef getMsgName(uint64_t Encoding, const MCSubtargetInfo &STI)
Map from an encoding to the symbolic name for a msg_id immediate.
StringRef getMsgOpName(int64_t MsgId, uint64_t Encoding, const MCSubtargetInfo &STI)
Map from an encoding to the symbolic name for a sendmsg operation.
const char *const IdSymbolic[]
ArrayRef< GFXVersion > getGFXVersions()
const char *const IdSymbolic[]
const int OPR_ID_UNSUPPORTED
const int OPR_VAL_INVALID
const int OPR_ID_DUPLICATE
This is an optimization pass for GlobalISel generic memory operations.
unsigned decode(unsigned Code) const
bool isValid(unsigned Val) const
unsigned encode(unsigned Val) const
bool isSupported(const MCSubtargetInfo &STI) const
bool(* Cond)(const MCSubtargetInfo &STI)
bool(* Cond)(const MCSubtargetInfo &STI)