LLVM 24.0.0git
AMDGPUInstrInfo.h File Reference

Contains the definition of a TargetInstrInfo class that is common to all AMD GPUs. More...

#include "Utils/AMDGPUBaseInfo.h"
#include "AMDGPUGenSearchableTables.inc"

Go to the source code of this file.

Classes

struct  llvm::AMDGPU::RsrcIntrinsic
struct  llvm::AMDGPU::BufferIntrinsicInfo
 The argument layout of a buffer intrinsic. More...
struct  llvm::AMDGPU::ImageDimIntrinsicInfo

Namespaces

namespace  llvm
 This is an optimization pass for GlobalISel generic memory operations.
namespace  llvm::AMDGPU

Macros

#define GET_BufferIntrinsicKind_DECL

Functions

bool llvm::AMDGPU::isUniformMMO (const MachineMemOperand *MMO)
Intrinsic::ID llvm::AMDGPU::getIntrinsicID (const MachineInstr &I)
 Return the intrinsic ID for opcodes with the G_AMDGPU_INTRIN_ prefix.
const RsrcIntrinsic * llvm::AMDGPU::lookupRsrcIntrinsic (unsigned Intr)
const BufferIntrinsicInfo * llvm::AMDGPU::lookupBufferIntrinsic (unsigned Intr)
unsigned llvm::AMDGPU::getMIROperandIdx (const MachineInstr &MI, unsigned Arg)
 Convert IR argument index Arg of the intrinsic called by MI, a G_INTRINSIC* instruction, into an operand index of MI.
constexpr unsigned llvm::AMDGPU::getSDOperandIdx (unsigned Arg, bool HasChain=true)
 Convert IR argument index Arg of an intrinsic into an operand index of the INTRINSIC_* SelectionDAG node calling it.
const ImageDimIntrinsicInfo * llvm::AMDGPU::getImageDimIntrinsicInfo (unsigned Intr)
const ImageDimIntrinsicInfo * llvm::AMDGPU::getImageDimIntrinsicByBaseOpcode (unsigned BaseOpcode, unsigned Dim)

Detailed Description

Contains the definition of a TargetInstrInfo class that is common to all AMD GPUs.

Definition in file AMDGPUInstrInfo.h.

Macro Definition Documentation

◆ GET_BufferIntrinsicKind_DECL

#define GET_BufferIntrinsicKind_DECL

Definition at line 43 of file AMDGPUInstrInfo.h.