13 #ifndef LLVM_IR_METADATAIMPL_H 14 #define LLVM_IR_METADATAIMPL_H 21 template <
class T,
class InfoT>
23 const typename InfoT::KeyTy &
Key) {
25 return I == Store.
end() ? nullptr : *
I;
33 N->storeDistinctInContext();
41 template <
class T,
class StoreT>
48 N->storeDistinctInContext();
This class represents lattice values for constants.
Implements a dense probed hash-table based set.
static T * storeImpl(T *N, StorageType Storage, StoreT &Store)
static T * getUniqued(DenseSet< T *, InfoT > &Store, const typename InfoT::KeyTy &Key)
iterator find_as(const LookupKeyT &Val)
Alternative version of find() which allows a different, and possibly less expensive, key type.
#define llvm_unreachable(msg)
Marks that the current location is not supposed to be reachable.