LLVM: llvm::PerTargetMIParsingState Struct Reference (original) (raw)
#include "[llvm/CodeGen/MIRParser/MIParser.h](MIParser%5F8h%5Fsource.html)"
Public Member Functions | |
---|---|
bool | parseInstrName (StringRef InstrName, unsigned &OpCode) |
Try to convert an instruction name to an opcode. | |
bool | getRegisterByName (StringRef RegName, Register &Reg) |
Try to convert a register name to a register number. | |
const uint32_t * | getRegMask (StringRef Identifier) |
Check if the given identifier is a name of a register mask. | |
unsigned | getSubRegIndex (StringRef Name) |
Check if the given identifier is a name of a subregister index. | |
bool | getTargetIndex (StringRef Name, int &Index) |
Try to convert a name of target index to the corresponding target index. | |
bool | getDirectTargetFlag (StringRef Name, unsigned &Flag) |
Try to convert a name of a direct target flag to the corresponding target flag. | |
bool | getBitmaskTargetFlag (StringRef Name, unsigned &Flag) |
Try to convert a name of a bitmask target flag to the corresponding target flag. | |
bool | getMMOTargetFlag (StringRef Name, MachineMemOperand::Flags &Flag) |
Try to convert a name of a MachineMemOperand target flag to the corresponding target flag. | |
const TargetRegisterClass * | getRegClass (StringRef Name) |
Check if the given identifier is a name of a register class. | |
const RegisterBank * | getRegBank (StringRef Name) |
Check if the given identifier is a name of a register bank. | |
bool | getVRegFlagValue (StringRef FlagName, uint8_t &FlagValue) const |
PerTargetMIParsingState (const TargetSubtargetInfo &STI) | |
~PerTargetMIParsingState ()=default | |
void | setTarget (const TargetSubtargetInfo &NewSubtarget) |
Definition at line 54 of file MIParser.h.
◆ ~PerTargetMIParsingState()
llvm::PerTargetMIParsingState::~PerTargetMIParsingState ( ) | default |
---|
◆ getBitmaskTargetFlag()
◆ getDirectTargetFlag()
◆ getMMOTargetFlag()
◆ getRegBank()
◆ getRegClass()
◆ getRegisterByName()
Try to convert a register name to a register number.
Return true if the register name is invalid.
Definition at line 119 of file MIParser.cpp.
References RegName.
◆ getRegMask()
◆ getSubRegIndex()
◆ getTargetIndex()
bool PerTargetMIParsingState::getTargetIndex | ( | StringRef | Name, |
---|---|---|---|
int & | Index | ||
) |
◆ getVRegFlagValue()
◆ parseInstrName()
◆ setTarget()
The documentation for this struct was generated from the following files:
- include/llvm/CodeGen/MIRParser/MIParser.h
- lib/CodeGen/MIRParser/MIParser.cpp