LLVM 20.0.0git
|
#include "llvm/CodeGen/MIRParser/MIParser.h"
Public Member Functions | |
PerFunctionMIParsingState (MachineFunction &MF, SourceMgr &SM, const SlotMapping &IRSlots, PerTargetMIParsingState &Target) | |
VRegInfo & | getVRegInfo (Register Num) |
VRegInfo & | getVRegInfoNamed (StringRef RegName) |
const Value * | getIRValue (unsigned Slot) |
Public Attributes | |
BumpPtrAllocator | Allocator |
MachineFunction & | MF |
SourceMgr * | SM |
const SlotMapping & | IRSlots |
PerTargetMIParsingState & | Target |
std::map< unsigned, TrackingMDNodeRef > | MachineMetadataNodes |
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, unsigned > | ConstantPoolSlots |
DenseMap< unsigned, unsigned > | JumpTableSlots |
DenseMap< unsigned, const Value * > | Slots2Values |
Maps from slot numbers to function's unnamed values. | |
Definition at line 165 of file MIParser.h.
PerFunctionMIParsingState::PerFunctionMIParsingState | ( | MachineFunction & | MF, |
SourceMgr & | SM, | ||
const SlotMapping & | IRSlots, | ||
PerTargetMIParsingState & | Target | ||
) |
Definition at line 324 of file MIParser.cpp.
Definition at line 374 of file MIParser.cpp.
References llvm::MachineFunction::getFunction(), initSlots2Values(), MF, and Slots2Values.
Referenced by parseIRValue().
Definition at line 329 of file MIParser.cpp.
References Allocator, llvm::MachineFunction::getRegInfo(), I, Info, MF, MRI, and VRegInfos.
Referenced by llvm::MIRParserImpl::parseRegisterInfo().
Definition at line 340 of file MIParser.cpp.
References Allocator, assert(), llvm::MachineRegisterInfo::createIncompleteVirtualRegister(), llvm::MachineFunction::getRegInfo(), I, Info, MF, RegName, and VRegInfosNamed.
BumpPtrAllocator llvm::PerFunctionMIParsingState::Allocator |
Definition at line 166 of file MIParser.h.
Referenced by getVRegInfo(), and getVRegInfoNamed().
Definition at line 180 of file MIParser.h.
Referenced by llvm::MIRParserImpl::initializeConstantPool().
Definition at line 178 of file MIParser.h.
Referenced by llvm::MIRParserImpl::initializeFrameInfo().
const SlotMapping& llvm::PerFunctionMIParsingState::IRSlots |
Definition at line 169 of file MIParser.h.
Referenced by parseGlobalValue(), and parseIRConstant().
Definition at line 181 of file MIParser.h.
Referenced by llvm::MIRParserImpl::initializeJumpTableInfo().
std::map<unsigned, std::pair<TempMDTuple, SMLoc> > llvm::PerFunctionMIParsingState::MachineForwardRefMDNodes |
Definition at line 173 of file MIParser.h.
Referenced by llvm::MIRParserImpl::parseMachineMetadataNodes().
std::map<unsigned, TrackingMDNodeRef> llvm::PerFunctionMIParsingState::MachineMetadataNodes |
Definition at line 172 of file MIParser.h.
DenseMap<unsigned, MachineBasicBlock *> llvm::PerFunctionMIParsingState::MBBSlots |
Definition at line 175 of file MIParser.h.
Referenced by llvm::parseMachineBasicBlockDefinitions().
MachineFunction& llvm::PerFunctionMIParsingState::MF |
Definition at line 167 of file MIParser.h.
Referenced by getIRValue(), getVRegInfo(), getVRegInfoNamed(), llvm::MIRParserImpl::initializeCallSiteInfo(), llvm::MIRParserImpl::initializeConstantPool(), llvm::MIRParserImpl::initializeFrameInfo(), llvm::MIRParserImpl::initializeJumpTableInfo(), parseGlobalValue(), parseIRConstant(), parseIRValue(), llvm::AArch64TargetMachine::parseMachineFunctionInfo(), llvm::GCNTargetMachine::parseMachineFunctionInfo(), llvm::ARMBaseTargetMachine::parseMachineFunctionInfo(), llvm::RISCVTargetMachine::parseMachineFunctionInfo(), llvm::WebAssemblyTargetMachine::parseMachineFunctionInfo(), llvm::X86TargetMachine::parseMachineFunctionInfo(), llvm::MIRParserImpl::parseRegisterInfo(), llvm::MIRParserImpl::parseStackObjectsDebugInfo(), and llvm::MIRParserImpl::setupRegisterInfo().
Maps from slot numbers to function's unnamed values.
Definition at line 184 of file MIParser.h.
Referenced by getIRValue().
SourceMgr* llvm::PerFunctionMIParsingState::SM |
Definition at line 168 of file MIParser.h.
Referenced by llvm::SIMachineFunctionInfo::initializeBaseYamlFields(), llvm::MIRParserImpl::initializeMachineFunction(), and llvm::GCNTargetMachine::parseMachineFunctionInfo().
Definition at line 179 of file MIParser.h.
Referenced by llvm::MIRParserImpl::initializeFrameInfo().
PerTargetMIParsingState& llvm::PerFunctionMIParsingState::Target |
Definition at line 170 of file MIParser.h.
Definition at line 176 of file MIParser.h.
Referenced by getVRegInfo(), llvm::GCNTargetMachine::parseMachineFunctionInfo(), and llvm::MIRParserImpl::setupRegisterInfo().
Definition at line 177 of file MIParser.h.
Referenced by getVRegInfoNamed(), llvm::GCNTargetMachine::parseMachineFunctionInfo(), and llvm::MIRParserImpl::setupRegisterInfo().