LLVM: llvm::MachineIRBuilderState Struct Reference (original) (raw)

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

#include "[llvm/CodeGen/GlobalISel/MachineIRBuilder.h](MachineIRBuilder%5F8h%5Fsource.html)"

Public Attributes
MachineFunction * MF = nullptr
MachineFunction under construction.
const TargetInstrInfo * TII = nullptr
Information used to access the description of the opcodes.
MachineRegisterInfo * MRI = 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.
MDNode * PCSections = nullptr
PC sections metadata to be set to any instruction we create.
MDNode * MMRA = nullptr
MMRA Metadata to be set on any instruction we create.
GISelChangeObserver * Observer = nullptr
GISelCSEInfo * CSEInfo = nullptr
Fields describing the insertion point.
MachineBasicBlock * MBB = 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 45 of file MachineIRBuilder.h.

Member Data Documentation

CSEInfo

GISelCSEInfo* llvm::MachineIRBuilderState::CSEInfo = nullptr

Definition at line 67 of file MachineIRBuilder.h.

Referenced by llvm::MachineIRBuilder::getCSEInfo(), and llvm::MachineIRBuilder::setCSEInfo().

DL

DebugLoc llvm::MachineIRBuilderState::DL

Debug location to be set to any instruction we create.

Definition at line 53 of file MachineIRBuilder.h.

Referenced by llvm::MachineIRBuilder::buildDbgLabel(), llvm::MachineIRBuilder::getDebugLoc(), llvm::MachineIRBuilder::getDL(), llvm::MachineIRBuilder::setDebugLoc(), and llvm::MachineIRBuilder::setMF().

II

MachineBasicBlock::iterator llvm::MachineIRBuilderState::II

Definition at line 62 of file MachineIRBuilder.h.

Referenced by llvm::MachineIRBuilder::getInsertPt(), llvm::MachineIRBuilder::setInsertPt(), llvm::MachineIRBuilder::setInstr(), llvm::MachineIRBuilder::setMBB(), and llvm::MachineIRBuilder::setMF().

MBB

MachineBasicBlock* llvm::MachineIRBuilderState::MBB = nullptr

Definition at line 61 of file MachineIRBuilder.h.

Referenced by llvm::MachineIRBuilder::getMBB(), llvm::MachineIRBuilder::setInsertPt(), llvm::MachineIRBuilder::setMBB(), and llvm::MachineIRBuilder::setMF().

MF

MachineFunction* llvm::MachineIRBuilderState::MF = nullptr

MachineFunction under construction.

Definition at line 47 of file MachineIRBuilder.h.

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

MMRA

MDNode* llvm::MachineIRBuilderState::MMRA = nullptr

MMRA Metadata to be set on any instruction we create.

Definition at line 57 of file MachineIRBuilder.h.

Referenced by llvm::MachineIRBuilder::getMMRAMetadata(), llvm::MachineIRBuilder::setMF(), and llvm::MachineIRBuilder::setMMRAMetadata().

MRI

MachineRegisterInfo* llvm::MachineIRBuilderState::MRI = nullptr

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

Definition at line 51 of file MachineIRBuilder.h.

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

Observer

GISelChangeObserver* llvm::MachineIRBuilderState::Observer = nullptr

Definition at line 65 of file MachineIRBuilder.h.

Referenced by llvm::MachineIRBuilder::getObserver(), llvm::MachineIRBuilder::isObservingChanges(), llvm::MachineIRBuilder::recordInsertion(), llvm::MachineIRBuilder::setChangeObserver(), llvm::MachineIRBuilder::setMF(), and llvm::MachineIRBuilder::stopObservingChanges().

PCSections

MDNode* llvm::MachineIRBuilderState::PCSections = nullptr

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

Definition at line 55 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 49 of file MachineIRBuilder.h.

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


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