LLVM 19.0.0git
Public Attributes | List of all members
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.
 
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 44 of file MachineIRBuilder.h.

Member Data Documentation

◆ CSEInfo

GISelCSEInfo* llvm::MachineIRBuilderState::CSEInfo = nullptr

◆ DL

DebugLoc llvm::MachineIRBuilderState::DL

◆ II

MachineBasicBlock::iterator llvm::MachineIRBuilderState::II

◆ MBB

MachineBasicBlock* llvm::MachineIRBuilderState::MBB = nullptr

◆ MF

MachineFunction* llvm::MachineIRBuilderState::MF = nullptr

MachineFunction under construction.

Definition at line 46 of file MachineIRBuilder.h.

Referenced by llvm::MachineIRBuilder::getMF(), and llvm::MachineIRBuilder::setMF().

◆ MRI

MachineRegisterInfo* llvm::MachineIRBuilderState::MRI = nullptr

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

Definition at line 50 of file MachineIRBuilder.h.

Referenced by llvm::MachineIRBuilder::getMRI(), and llvm::MachineIRBuilder::setMF().

◆ Observer

GISelChangeObserver* llvm::MachineIRBuilderState::Observer = nullptr

◆ PCSections

MDNode* llvm::MachineIRBuilderState::PCSections = nullptr

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

Definition at line 54 of file MachineIRBuilder.h.

Referenced by llvm::MachineIRBuilder::getPCSections(), llvm::MachineIRBuilder::setMF(), and llvm::MachineIRBuilder::setPCSections().

◆ TII

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

Information used to access the description of the opcodes.

Definition at line 48 of file MachineIRBuilder.h.

Referenced by llvm::MachineIRBuilder::getTII(), and llvm::MachineIRBuilder::setMF().


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