LLVM 20.0.0git
Public Attributes | List of all members
llvm::SlotMapping Struct Reference

This struct contains the mappings from the slot numbers to unnamed metadata nodes, global values and types. More...

#include "llvm/AsmParser/SlotMapping.h"

Public Attributes

NumberedValues< GlobalValue * > GlobalValues
 
std::map< unsigned, TrackingMDNodeRefMetadataNodes
 
StringMap< Type * > NamedTypes
 
std::map< unsigned, Type * > Types
 

Detailed Description

This struct contains the mappings from the slot numbers to unnamed metadata nodes, global values and types.

It also contains the mapping for the named types. It can be used to save the parsing state of an LLVM IR module so that the textual references to the values in the module can be parsed outside of the module's source.

Definition at line 33 of file SlotMapping.h.

Member Data Documentation

◆ GlobalValues

NumberedValues<GlobalValue *> llvm::SlotMapping::GlobalValues

Definition at line 34 of file SlotMapping.h.

Referenced by parseGlobalValue().

◆ MetadataNodes

std::map<unsigned, TrackingMDNodeRef> llvm::SlotMapping::MetadataNodes

Definition at line 35 of file SlotMapping.h.

◆ NamedTypes

StringMap<Type *> llvm::SlotMapping::NamedTypes

Definition at line 36 of file SlotMapping.h.

◆ Types

std::map<unsigned, Type *> llvm::SlotMapping::Types

Definition at line 37 of file SlotMapping.h.


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