LLVM 22.0.0git
llvm::MachineIRBuilderState Struct Reference

Class which stores all the state required in a MachineIRBuilder. More...

#include "llvm/CodeGen/GlobalISel/MachineIRBuilder.h"

Public Attributes

MachineFunctionMF = nullptr
 MachineFunction under construction.
const TargetInstrInfoTII = nullptr
 Information used to access the description of the opcodes.
MachineRegisterInfoMRI = nullptr
 Information used to verify types are consistent and to create virtual registers.
DebugLoc DL
 Debug location to be set to any instruction we create.
MDNodePCSections = nullptr
 PC sections metadata to be set to any instruction we create.
MDNodeMMRA = nullptr
 MMRA Metadata to be set on any instruction we create.
GISelChangeObserverObserver = nullptr
GISelCSEInfoCSEInfo = nullptr
Fields describing the insertion point.
MachineBasicBlockMBB = nullptr
MachineBasicBlock::iterator II

Detailed 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.

Definition at line 46 of file MachineIRBuilder.h.

Member Data Documentation

◆ CSEInfo

GISelCSEInfo* llvm::MachineIRBuilderState::CSEInfo = nullptr

Definition at line 68 of file MachineIRBuilder.h.

◆ DL

DebugLoc llvm::MachineIRBuilderState::DL

Debug location to be set to any instruction we create.

Definition at line 54 of file MachineIRBuilder.h.

◆ II

MachineBasicBlock::iterator llvm::MachineIRBuilderState::II

Definition at line 63 of file MachineIRBuilder.h.

◆ MBB

MachineBasicBlock* llvm::MachineIRBuilderState::MBB = nullptr

Definition at line 62 of file MachineIRBuilder.h.

◆ MF

MachineFunction* llvm::MachineIRBuilderState::MF = nullptr

MachineFunction under construction.

Definition at line 48 of file MachineIRBuilder.h.

◆ MMRA

MDNode* llvm::MachineIRBuilderState::MMRA = nullptr

MMRA Metadata to be set on any instruction we create.

Definition at line 58 of file MachineIRBuilder.h.

◆ MRI

MachineRegisterInfo* llvm::MachineIRBuilderState::MRI = nullptr

Information used to verify types are consistent and to create virtual registers.

Definition at line 52 of file MachineIRBuilder.h.

◆ Observer

GISelChangeObserver* llvm::MachineIRBuilderState::Observer = nullptr

Definition at line 66 of file MachineIRBuilder.h.

◆ PCSections

MDNode* llvm::MachineIRBuilderState::PCSections = nullptr

PC sections metadata to be set to any instruction we create.

Definition at line 56 of file MachineIRBuilder.h.

◆ TII

const TargetInstrInfo* llvm::MachineIRBuilderState::TII = nullptr

Information used to access the description of the opcodes.

Definition at line 50 of file MachineIRBuilder.h.


The documentation for this struct was generated from the following file: