14 #ifndef LLVM_IR_METADATAIMPL_H 15 #define LLVM_IR_METADATAIMPL_H 22 template <
class T,
class InfoT>
24 const typename InfoT::KeyTy &
Key) {
26 return I == Store.
end() ? nullptr : *
I;
34 N->storeDistinctInContext();
42 template <
class T,
class StoreT>
49 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.