13#ifndef LLVM_IR_METADATAIMPL_H
14#define LLVM_IR_METADATAIMPL_H
21template <
class T,
class InfoT>
23 const typename InfoT::KeyTy &Key) {
24 auto I = Store.find_as(Key);
25 return I == Store.end() ? nullptr : *
I;
33 N->storeDistinctInContext();
41template <
class T,
class StoreT>
48 N->storeDistinctInContext();
This file defines the DenseSet and SmallDenseSet classes.
Implements a dense probed hash-table based set.
static T * storeImpl(T *N, StorageType Storage, StoreT &Store)
#define llvm_unreachable(msg)
Marks that the current location is not supposed to be reachable.
This is an optimization pass for GlobalISel generic memory operations.
static T * getUniqued(DenseSet< T *, InfoT > &Store, const typename InfoT::KeyTy &Key)