struct SlotMapping
Declaration
struct SlotMapping { /* full declaration omitted */ };
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.
Declared at: llvm/include/llvm/AsmParser/SlotMapping.h:32
Member Variables
- public std::vector<GlobalValue*> GlobalValues
- public std::map<unsigned int, TrackingMDNodeRef> MetadataNodes
- public StringMap<llvm::Type*> NamedTypes
- public std::map<unsigned int, Type*> Types