1 //===-- SlotMapping.h - Slot number mapping for unnamed values --*- C++ -*-===//
3 // The LLVM Compiler Infrastructure
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
8 //===----------------------------------------------------------------------===//
10 // This file contains the declaration of the SlotMapping struct.
12 //===----------------------------------------------------------------------===//
14 #ifndef LLVM_ASMPARSER_SLOTMAPPING_H
15 #define LLVM_ASMPARSER_SLOTMAPPING_H
17 #include "llvm/IR/TrackingMDRef.h"
25 /// This struct contains the mapping from the slot numbers to unnamed metadata
26 /// nodes and global values.
28 std::vector<GlobalValue *> GlobalValues;
29 std::map<unsigned, TrackingMDNodeRef> MetadataNodes;
32 } // end namespace llvm