Go to the documentation of this file.
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 is an optimization pass for GlobalISel generic memory operations.
static T * storeImpl(T *N, StorageType Storage, StoreT &Store)
static T * getUniqued(DenseSet< T *, InfoT > &Store, const typename InfoT::KeyTy &Key)
Implements a dense probed hash-table based set.
#define llvm_unreachable(msg)
Marks that the current location is not supposed to be reachable.