LLVM  14.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"

Collaboration diagram for llvm::MachineIRBuilderState:
Collaboration graph
[legend]

Public Attributes

MachineFunctionMF = nullptr
 MachineFunction under construction. More...
 
const TargetInstrInfoTII = nullptr
 Information used to access the description of the opcodes. More...
 
MachineRegisterInfoMRI = nullptr
 Information used to verify types are consistent and to create virtual registers. More...
 
DebugLoc DL
 Debug location to be set to any instruction we create. More...
 
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 37 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 39 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 43 of file MachineIRBuilder.h.

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

◆ Observer

GISelChangeObserver* llvm::MachineIRBuilderState::Observer = nullptr

◆ TII

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

Information used to access the description of the opcodes.

Definition at line 41 of file MachineIRBuilder.h.

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


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