LLVM  7.0.0
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:
[legend]

Public Attributes

MachineFunction * MF
 MachineFunction under construction. More...
 
const TargetInstrInfo * TII
 Information used to access the description of the opcodes. More...
 
MachineRegisterInfo * MRI
 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...
 
std::function< void(MachineInstr *)> InsertedInstr
 
Fields describing the insertion point.
MachineBasicBlock * MBB
 
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

◆ DL

DebugLoc llvm::MachineIRBuilderState::DL

◆ II

MachineBasicBlock::iterator llvm::MachineIRBuilderState::II

◆ InsertedInstr

std::function<void(MachineInstr *)> llvm::MachineIRBuilderState::InsertedInstr

◆ MBB

MachineBasicBlock* llvm::MachineIRBuilderState::MBB

◆ MF

MachineFunction* llvm::MachineIRBuilderState::MF

MachineFunction under construction.

Definition at line 39 of file MachineIRBuilder.h.

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

◆ MRI

MachineRegisterInfo* llvm::MachineIRBuilderState::MRI

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

Definition at line 43 of file MachineIRBuilder.h.

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

◆ TII

const TargetInstrInfo* llvm::MachineIRBuilderState::TII

Information used to access the description of the opcodes.

Definition at line 41 of file MachineIRBuilder.h.

Referenced by llvm::MachineIRBuilderBase::setMF().


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