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

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

Public Member Functions
AMDGPUMIRFormatter ()=default
~AMDGPUMIRFormatter () override=default
void printImm (raw_ostream &OS, const MachineInstr &MI, std::optional< unsigned > OpIdx, int64_t Imm) const override
Implement target specific printing for machine operand immediate value, so that we can have more meaningful mnemonic than a 64-bit integer.
bool parseImmMnemonic (const unsigned OpCode, const unsigned OpIdx, StringRef Src, int64_t &Imm, ErrorCallbackType ErrorCallback) const override
Implement target specific parsing of immediate mnemonics.
bool parseCustomPseudoSourceValue (StringRef Src, MachineFunction &MF, PerFunctionMIParsingState &PFS, const PseudoSourceValue *&PSV, ErrorCallbackType ErrorCallback) const override
Implement target specific parsing of target custom pseudo source value.
Public Member Functions inherited from llvm::MIRFormatter
MIRFormatter ()=default
virtual ~MIRFormatter ()=default
virtual void printCustomPseudoSourceValue (raw_ostream &OS, ModuleSlotTracker &MST, const PseudoSourceValue &PSV) const
Implement target specific printing of target custom pseudo source value.
Additional Inherited Members
Public Types inherited from llvm::MIRFormatter
typedef function_ref< bool(StringRef::iterator Loc, const Twine &)> ErrorCallbackType
Static Public Member Functions inherited from llvm::MIRFormatter
static LLVM_ABI void printIRValue (raw_ostream &OS, const Value &V, ModuleSlotTracker &MST)
Helper functions to print IR value as MIR serialization format which will be useful for target specific printer, e.g.
static LLVM_ABI bool parseIRValue (StringRef Src, MachineFunction &MF, PerFunctionMIParsingState &PFS, const Value *&V, ErrorCallbackType ErrorCallback)
Helper functions to parse IR value from MIR serialization format which will be useful for target specific parser, e.g.

Definition at line 26 of file AMDGPUMIRFormatter.h.

llvm::AMDGPUMIRFormatter::AMDGPUMIRFormatter ( ) default

~AMDGPUMIRFormatter()

llvm::AMDGPUMIRFormatter::~AMDGPUMIRFormatter ( ) overridedefault

parseCustomPseudoSourceValue()

parseImmMnemonic()

printImm()


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