14 #ifndef LLVM_LIB_CODEGEN_MIRPARSER_MIPARSER_H
15 #define LLVM_LIB_CODEGEN_MIRPARSER_MIPARSER_H
22 class MachineBasicBlock;
24 class MachineFunction;
bool parseMachineInstr(MachineInstr *&MI, SourceMgr &SM, MachineFunction &MF, StringRef Src, const PerFunctionMIParsingState &PFS, const SlotMapping &IRSlots, SMDiagnostic &Error)
Reg
All possible values of the reg field in the ModR/M byte.
DenseMap< unsigned, unsigned > VirtualRegisterSlots
This owns the files read by a parser, handles include stacks, and handles diagnostic wrangling...
bool parseMBBReference(MachineBasicBlock *&MBB, SourceMgr &SM, MachineFunction &MF, StringRef Src, const PerFunctionMIParsingState &PFS, const SlotMapping &IRSlots, SMDiagnostic &Error)
bool parseNamedRegisterReference(unsigned &Reg, SourceMgr &SM, MachineFunction &MF, StringRef Src, const PerFunctionMIParsingState &PFS, const SlotMapping &IRSlots, SMDiagnostic &Error)
This struct contains the mapping from the slot numbers to unnamed metadata nodes and global values...
Representation of each machine instruction.
DenseMap< unsigned, MachineBasicBlock * > MBBSlots
StringRef - Represent a constant reference to a string, i.e.
Instances of this class encapsulate one diagnostic report, allowing printing to a raw_ostream as a ca...