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

#include "CodeGen/MIRParser/MIParser.h"

Collaboration diagram for llvm::PerFunctionMIParsingState:
Collaboration graph
[legend]

Public Member Functions

 PerFunctionMIParsingState (MachineFunction &MF, SourceMgr &SM, const SlotMapping &IRSlots, const Name2RegClassMap &Names2RegClasses, const Name2RegBankMap &Names2RegBanks)
 
VRegInfogetVRegInfo (unsigned Num)
 
VRegInfogetVRegInfoNamed (StringRef RegName)
 

Public Attributes

BumpPtrAllocator Allocator
 
MachineFunctionMF
 
SourceMgrSM
 
const SlotMappingIRSlots
 
const Name2RegClassMapNames2RegClasses
 
const Name2RegBankMapNames2RegBanks
 
DenseMap< unsigned, MachineBasicBlock * > MBBSlots
 
DenseMap< unsigned, VRegInfo * > VRegInfos
 
StringMap< VRegInfo * > VRegInfosNamed
 
DenseMap< unsigned, int > FixedStackObjectSlots
 
DenseMap< unsigned, int > StackObjectSlots
 
DenseMap< unsigned, unsignedConstantPoolSlots
 
DenseMap< unsigned, unsignedJumpTableSlots
 

Detailed Description

Definition at line 49 of file MIParser.h.

Constructor & Destructor Documentation

◆ PerFunctionMIParsingState()

PerFunctionMIParsingState::PerFunctionMIParsingState ( MachineFunction MF,
SourceMgr SM,
const SlotMapping IRSlots,
const Name2RegClassMap Names2RegClasses,
const Name2RegBankMap Names2RegBanks 
)

Definition at line 84 of file MIParser.cpp.

Member Function Documentation

◆ getVRegInfo()

VRegInfo & PerFunctionMIParsingState::getVRegInfo ( unsigned  Num)

◆ getVRegInfoNamed()

VRegInfo & PerFunctionMIParsingState::getVRegInfoNamed ( StringRef  RegName)

Member Data Documentation

◆ Allocator

BumpPtrAllocator llvm::PerFunctionMIParsingState::Allocator

Definition at line 50 of file MIParser.h.

Referenced by getVRegInfo(), and getVRegInfoNamed().

◆ ConstantPoolSlots

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

Definition at line 62 of file MIParser.h.

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

◆ FixedStackObjectSlots

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

Definition at line 60 of file MIParser.h.

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

◆ IRSlots

const SlotMapping& llvm::PerFunctionMIParsingState::IRSlots

Definition at line 53 of file MIParser.h.

◆ JumpTableSlots

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

Definition at line 63 of file MIParser.h.

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

◆ MBBSlots

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

Definition at line 57 of file MIParser.h.

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

◆ MF

MachineFunction& llvm::PerFunctionMIParsingState::MF

◆ Names2RegBanks

const Name2RegBankMap& llvm::PerFunctionMIParsingState::Names2RegBanks

Definition at line 55 of file MIParser.h.

Referenced by isImplicitOperandIn().

◆ Names2RegClasses

const Name2RegClassMap& llvm::PerFunctionMIParsingState::Names2RegClasses

Definition at line 54 of file MIParser.h.

Referenced by isImplicitOperandIn().

◆ SM

SourceMgr* llvm::PerFunctionMIParsingState::SM

Definition at line 52 of file MIParser.h.

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

◆ StackObjectSlots

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

Definition at line 61 of file MIParser.h.

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

◆ VRegInfos

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

Definition at line 58 of file MIParser.h.

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

◆ VRegInfosNamed

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

Definition at line 59 of file MIParser.h.

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


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