1//===- IndexedValuesMap.h ---------------------------------------*- C++ -*-===//
3// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4// See https://llvm.org/LICENSE.txt for license information.
5// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7//===----------------------------------------------------------------------===//
9#ifndef LLVM_DWARFLINKER_INDEXEDVALUESMAP_H
10#define LLVM_DWARFLINKER_INDEXEDVALUESMAP_H
20/// This class stores values sequentually and assigns index to the each value.
45}
// end of namespace dwarf_linker
46}
// end of namespace llvm
48#endif // LLVM_DWARFLINKER_INDEXEDVALUESMAP_H
This file defines the DenseMap class.
This file defines the SmallVector class.
This is a 'vector' (really, a variable-sized array), optimized for the case when the array is small.
LLVM Value Representation.
This class stores values sequentually and assigns index to the each value.
uint64_t getValueIndex(T Value)
SmallVector< uint64_t > Values
DenseMap< uint64_t, uint64_t > ValueToIndexMapTy
const SmallVector< T > & getValues() const
ValueToIndexMapTy ValueToIndexMap
This is an optimization pass for GlobalISel generic memory operations.