Per‐function MIR parsing state, including slots and virtual registers.

Synopsis

Declared in <llvm/CodeGen/MIRParser/MIParser.h>

struct PerFunctionMIParsingState;

Member Functions

Name

Description

PerFunctionMIParsingState [constructor]

Construct parsing state for one machine function.

getIRValue

Return the IR value mapped to unnamed value slot Slot.

getVRegInfo

Get or create info for the numbered virtual register Num.

getVRegInfoNamed

Get or create info for the named virtual register RegName.

Data Members

Name

Description

Allocator

Allocator for VRegInfo and related objects.

ConstantPoolSlots

Constant pool entry slots.

FixedStackObjectSlots

Fixed stack object slots.

IRSlots

Slot mapping for the embedded LLVM IR.

JumpTableSlots

Jump table entry slots.

MBBSlots

MBB slot to block map.

MF

Machine function being parsed.

MachineForwardRefMDNodes

Forward‐referenced machine metadata awaiting definition.

MachineMetadataNodes

Machine metadata nodes keyed by slot number.

SM

Source manager for the MIR being parsed.

Slots2Values

Maps from slot numbers to function's unnamed values.

StackObjectSlots

Ordinary stack object slots.

Target

Target‐specific name lookup tables.

VRegInfos

Numbered virtual register info.

VRegInfosNamed

Named virtual register info.

Non-Member Functions

Name

Description

parseMBBReference

Parse a machine basic block reference from Src.

parseMDNode

Parse a metadata node reference from Src.

parseMachineBasicBlockDefinitions

Parse the machine basic block definitions, and skip the machine instructions.

parseMachineInstructions

Parse the machine instructions.

parseMachineMetadata

Parse a machine metadata definition from Src.

parseNamedRegisterReference

Parse a named physical register reference from Src.

parsePrefetchTarget

Parse a prefetch target (BBID and callsite index) from Src.

parseRegisterReference

Parse a register reference from Src.

parseStackObjectReference

Parse a stack object reference from Src.

parseVirtualRegisterReference

Parse a virtual register reference from Src.

Created with MrDocs