LLVM  8.0.1
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"

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

Public Attributes

std::vector< 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

std::vector<GlobalValue *> llvm::SlotMapping::GlobalValues

Definition at line 34 of file SlotMapping.h.

◆ 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: