LLVM 22.0.0git
llvm::PerFunctionMIParsingState Struct Reference

#include "llvm/CodeGen/MIRParser/MIParser.h"

Public Member Functions

 PerFunctionMIParsingState (MachineFunction &MF, SourceMgr &SM, const SlotMapping &IRSlots, PerTargetMIParsingState &Target)
VRegInfogetVRegInfo (Register Num)
VRegInfogetVRegInfoNamed (StringRef RegName)
const ValuegetIRValue (unsigned Slot)

Public Attributes

BumpPtrAllocator Allocator
MachineFunctionMF
SourceMgrSM
const SlotMappingIRSlots
PerTargetMIParsingStateTarget
std::map< unsigned, TrackingMDNodeRefMachineMetadataNodes
std::map< unsigned, std::pair< TempMDTuple, SMLoc > > MachineForwardRefMDNodes
DenseMap< unsigned, MachineBasicBlock * > MBBSlots
DenseMap< Register, VRegInfo * > VRegInfos
StringMap< VRegInfo * > VRegInfosNamed
DenseMap< unsigned, int > FixedStackObjectSlots
DenseMap< unsigned, int > StackObjectSlots
DenseMap< unsigned, unsignedConstantPoolSlots
DenseMap< unsigned, unsignedJumpTableSlots
DenseMap< unsigned, const Value * > Slots2Values
 Maps from slot numbers to function's unnamed values.

Detailed Description

Definition at line 165 of file MIParser.h.

Constructor & Destructor Documentation

◆ PerFunctionMIParsingState()

PerFunctionMIParsingState::PerFunctionMIParsingState ( MachineFunction & MF,
SourceMgr & SM,
const SlotMapping & IRSlots,
PerTargetMIParsingState & Target )

Definition at line 323 of file MIParser.cpp.

References IRSlots, MF, SM, T, and Target.

Member Function Documentation

◆ getIRValue()

const Value * PerFunctionMIParsingState::getIRValue ( unsigned Slot)

Definition at line 373 of file MIParser.cpp.

References initSlots2Values(), MF, and Slots2Values.

Referenced by parseIRValue().

◆ getVRegInfo()

VRegInfo & PerFunctionMIParsingState::getVRegInfo ( Register Num)

Definition at line 328 of file MIParser.cpp.

References Allocator, I, MF, MRI, llvm::VRegInfo::VReg, and VRegInfos.

Referenced by llvm::MIRParserImpl::parseRegisterInfo().

◆ getVRegInfoNamed()

VRegInfo & PerFunctionMIParsingState::getVRegInfoNamed ( StringRef RegName)

Definition at line 339 of file MIParser.cpp.

References Allocator, assert(), I, MF, RegName, llvm::VRegInfo::VReg, and VRegInfosNamed.

Member Data Documentation

◆ Allocator

BumpPtrAllocator llvm::PerFunctionMIParsingState::Allocator

Definition at line 166 of file MIParser.h.

Referenced by getVRegInfo(), and getVRegInfoNamed().

◆ ConstantPoolSlots

DenseMap<unsigned, unsigned> llvm::PerFunctionMIParsingState::ConstantPoolSlots

Definition at line 180 of file MIParser.h.

Referenced by llvm::MIRParserImpl::initializeConstantPool().

◆ FixedStackObjectSlots

DenseMap<unsigned, int> llvm::PerFunctionMIParsingState::FixedStackObjectSlots

Definition at line 178 of file MIParser.h.

Referenced by llvm::MIRParserImpl::initializeFrameInfo().

◆ IRSlots

const SlotMapping& llvm::PerFunctionMIParsingState::IRSlots

Definition at line 169 of file MIParser.h.

Referenced by parseGlobalValue(), parseIRConstant(), and PerFunctionMIParsingState().

◆ JumpTableSlots

DenseMap<unsigned, unsigned> llvm::PerFunctionMIParsingState::JumpTableSlots

Definition at line 181 of file MIParser.h.

Referenced by llvm::MIRParserImpl::initializeJumpTableInfo().

◆ MachineForwardRefMDNodes

std::map<unsigned, std::pair<TempMDTuple, SMLoc> > llvm::PerFunctionMIParsingState::MachineForwardRefMDNodes

Definition at line 173 of file MIParser.h.

Referenced by llvm::MIRParserImpl::parseMachineMetadataNodes().

◆ MachineMetadataNodes

std::map<unsigned, TrackingMDNodeRef> llvm::PerFunctionMIParsingState::MachineMetadataNodes

Definition at line 172 of file MIParser.h.

◆ MBBSlots

DenseMap<unsigned, MachineBasicBlock *> llvm::PerFunctionMIParsingState::MBBSlots

Definition at line 175 of file MIParser.h.

Referenced by llvm::parseMachineBasicBlockDefinitions().

◆ MF

◆ Slots2Values

DenseMap<unsigned, const Value *> llvm::PerFunctionMIParsingState::Slots2Values

Maps from slot numbers to function's unnamed values.

Definition at line 184 of file MIParser.h.

Referenced by getIRValue().

◆ SM

◆ StackObjectSlots

DenseMap<unsigned, int> llvm::PerFunctionMIParsingState::StackObjectSlots

Definition at line 179 of file MIParser.h.

Referenced by llvm::MIRParserImpl::initializeFrameInfo().

◆ Target

PerTargetMIParsingState& llvm::PerFunctionMIParsingState::Target

Definition at line 170 of file MIParser.h.

Referenced by PerFunctionMIParsingState().

◆ VRegInfos

DenseMap<Register, VRegInfo *> llvm::PerFunctionMIParsingState::VRegInfos

◆ VRegInfosNamed

StringMap<VRegInfo *> llvm::PerFunctionMIParsingState::VRegInfosNamed

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