LLVM  10.0.0
Public Member Functions | Public Attributes | List of all members
llvm::PerFunctionMIParsingState Struct Reference

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

Collaboration diagram for llvm::PerFunctionMIParsingState:
[legend]

Public Member Functions

 PerFunctionMIParsingState (MachineFunction &MF, SourceMgr &SM, const SlotMapping &IRSlots, PerTargetMIParsingState &Target)
 
VRegInfo & getVRegInfo (unsigned Num)
 
VRegInfo & getVRegInfoNamed (StringRef RegName)
 
const Value * getIRValue (unsigned Slot)
 

Public Attributes

BumpPtrAllocator Allocator
 
MachineFunction & MF
 
SourceMgr * SM
 
const SlotMapping & IRSlots
 
PerTargetMIParsingState & Target
 
DenseMap< unsigned, MachineBasicBlock * > MBBSlots
 
DenseMap< unsigned, VRegInfo * > VRegInfos
 
StringMap< VRegInfo * > VRegInfosNamed
 
DenseMap< unsigned, int > FixedStackObjectSlots
 
DenseMap< unsigned, int > StackObjectSlots
 
DenseMap< unsigned, unsigned > ConstantPoolSlots
 
DenseMap< unsigned, unsigned > JumpTableSlots
 
DenseMap< unsigned, const Value * > Slots2Values
 Maps from slot numbers to function's unnamed values. More...
 

Detailed Description

Definition at line 159 of file MIParser.h.

Constructor & Destructor Documentation

◆ PerFunctionMIParsingState()

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

Definition at line 319 of file MIParser.cpp.

Member Function Documentation

◆ getIRValue()

const Value * PerFunctionMIParsingState::getIRValue ( unsigned  Slot)

Definition at line 369 of file MIParser.cpp.

References llvm::MachineFunction::getFunction(), initSlots2Values(), MF, and Slots2Values.

Referenced by parseIRValue().

◆ getVRegInfo()

VRegInfo & PerFunctionMIParsingState::getVRegInfo ( unsigned  Num)

◆ getVRegInfoNamed()

VRegInfo & PerFunctionMIParsingState::getVRegInfoNamed ( StringRef  RegName)

Member Data Documentation

◆ Allocator

BumpPtrAllocator llvm::PerFunctionMIParsingState::Allocator

Definition at line 160 of file MIParser.h.

Referenced by getVRegInfo(), and getVRegInfoNamed().

◆ ConstantPoolSlots

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

Definition at line 171 of file MIParser.h.

Referenced by llvm::MIRParserImpl::initializeConstantPool(), and parseGlobalValue().

◆ FixedStackObjectSlots

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

Definition at line 169 of file MIParser.h.

Referenced by getUnsigned(), and llvm::MIRParserImpl::initializeFrameInfo().

◆ IRSlots

const SlotMapping& llvm::PerFunctionMIParsingState::IRSlots

Definition at line 163 of file MIParser.h.

Referenced by parseGlobalValue().

◆ JumpTableSlots

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

Definition at line 172 of file MIParser.h.

Referenced by llvm::MIRParserImpl::initializeJumpTableInfo(), and parseGlobalValue().

◆ MBBSlots

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

Definition at line 166 of file MIParser.h.

Referenced by getUnsigned(), llvm::parseMachineBasicBlockDefinitions(), and toString().

◆ MF

MachineFunction& llvm::PerFunctionMIParsingState::MF

◆ Slots2Values

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

Maps from slot numbers to function's unnamed values.

Definition at line 175 of file MIParser.h.

Referenced by getIRValue().

◆ SM

SourceMgr* llvm::PerFunctionMIParsingState::SM

◆ StackObjectSlots

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

Definition at line 170 of file MIParser.h.

Referenced by getUnsigned(), and llvm::MIRParserImpl::initializeFrameInfo().

◆ Target

PerTargetMIParsingState& llvm::PerFunctionMIParsingState::Target

Definition at line 164 of file MIParser.h.

Referenced by isImplicitOperandIn(), parseGlobalValue(), and parseIRValue().

◆ VRegInfos

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

Definition at line 167 of file MIParser.h.

Referenced by getVRegInfo(), and llvm::MIRParserImpl::setupRegisterInfo().

◆ VRegInfosNamed

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

Definition at line 168 of file MIParser.h.

Referenced by getVRegInfoNamed(), and llvm::MIRParserImpl::setupRegisterInfo().


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