LLVM  14.0.0git
Public Member Functions | List of all members
llvm::AMDGPUMIRFormatter Class Referencefinal

#include "Target/AMDGPU/AMDGPUMIRFormatter.h"

Inheritance diagram for llvm::AMDGPUMIRFormatter:
Inheritance graph
[legend]
Collaboration diagram for llvm::AMDGPUMIRFormatter:
Collaboration graph
[legend]

Public Member Functions

 AMDGPUMIRFormatter ()
 
virtual ~AMDGPUMIRFormatter ()=default
 
virtual 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. More...
 
- Public Member Functions inherited from llvm::MIRFormatter
 MIRFormatter ()
 
virtual ~MIRFormatter ()=default
 
virtual void printImm (raw_ostream &OS, const MachineInstr &MI, Optional< unsigned > OpIdx, int64_t Imm) const
 Implement target specific printing for machine operand immediate value, so that we can have more meaningful mnemonic than a 64-bit integer. More...
 
virtual bool parseImmMnemonic (const unsigned OpCode, const unsigned OpIdx, StringRef Src, int64_t &Imm, ErrorCallbackType ErrorCallback) const
 Implement target specific parsing of immediate mnemonics. More...
 
virtual void printCustomPseudoSourceValue (raw_ostream &OS, ModuleSlotTracker &MST, const PseudoSourceValue &PSV) const
 Implement target specific printing of target custom pseudo source value. More...
 

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 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. More...
 
static 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. More...
 

Detailed Description

Definition at line 26 of file AMDGPUMIRFormatter.h.

Constructor & Destructor Documentation

◆ AMDGPUMIRFormatter()

llvm::AMDGPUMIRFormatter::AMDGPUMIRFormatter ( )
inline

Definition at line 28 of file AMDGPUMIRFormatter.h.

◆ ~AMDGPUMIRFormatter()

virtual llvm::AMDGPUMIRFormatter::~AMDGPUMIRFormatter ( )
virtualdefault

Member Function Documentation

◆ parseCustomPseudoSourceValue()

bool AMDGPUMIRFormatter::parseCustomPseudoSourceValue ( StringRef  Src,
MachineFunction MF,
PerFunctionMIParsingState PFS,
const PseudoSourceValue *&  PSV,
ErrorCallbackType  ErrorCallback 
) const
overridevirtual

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