LLVM 20.0.0git
|
Class which stores all the state required in a MachineIRBuilder. More...
#include "llvm/CodeGen/GlobalISel/MachineIRBuilder.h"
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 |
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.
GISelCSEInfo* llvm::MachineIRBuilderState::CSEInfo = nullptr |
Definition at line 67 of file MachineIRBuilder.h.
Referenced by llvm::MachineIRBuilder::getCSEInfo(), and llvm::MachineIRBuilder::setCSEInfo().
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().
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().
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().
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().
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().
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().
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().
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().
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().