struct MachineIRBuilderState

Declaration

struct MachineIRBuilderState { /* full declaration omitted */ };

Description

Class which stores all the state required in a MachineIRBuilder. Since MachineIRBuilders will only store state in this object, it allows to transfer BuilderState between different kinds of MachineIRBuilders.

Declared at: llvm/include/llvm/CodeGen/GlobalISel/MachineIRBuilder.h:44

Member Variables

public llvm::MachineFunction* MF = nullptr
MachineFunction under construction.
public const llvm::TargetInstrInfo* TII = nullptr
Information used to access the description of the opcodes.
public llvm::MachineRegisterInfo* MRI = nullptr
Information used to verify types are consistent and to create virtual registers.
public llvm::DebugLoc DL
Debug location to be set to any instruction we create.
public llvm::MachineBasicBlock* MBB = nullptr
@ {
public MachineBasicBlock::iterator II
public llvm::GISelChangeObserver* Observer = nullptr
@ }
public llvm::GISelCSEInfo* CSEInfo = nullptr