reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

Derived Classes

lib/IR/AttributeImpl.h
  113 class EnumAttributeImpl : public AttributeImpl {
  147 class StringAttributeImpl : public AttributeImpl {

Declarations

include/llvm/IR/Attributes.h
   37 class AttributeImpl;

References

include/llvm/ADT/FoldingSet.h
  221   static void Profile(const T &X, FoldingSetNodeID &ID) {
  224   static void Profile(T &X, FoldingSetNodeID &ID) {
  232   static inline bool Equals(T &X, const FoldingSetNodeID &ID, unsigned IDHash,
  240   static inline unsigned ComputeHash(T &X, FoldingSetNodeID &TempID);
  250   : public DefaultFoldingSetTrait<T> {};
  369   FoldingSetTrait<T>::Profile(X, TempID);
  375   FoldingSetTrait<T>::Profile(X, TempID);
  410   using iterator = FoldingSetIterator<T>;
  415   using const_iterator = FoldingSetIterator<const T>;
  420   using bucket_iterator = FoldingSetBucketIterator<T>;
  432   bool RemoveNode(T *N) { return FoldingSetBase::RemoveNode(N); }
  437   T *GetOrInsertNode(T *N) {
  437   T *GetOrInsertNode(T *N) {
  444   T *FindNodeOrInsertPos(const FoldingSetNodeID &ID, void *&InsertPos) {
  451   void InsertNode(T *N, void *InsertPos) {
  457   void InsertNode(T *N) {
  473 template <class T> class FoldingSet final : public FoldingSetImpl<T> {
  474   using Super = FoldingSetImpl<T>;
  480     T *TN = static_cast<T *>(N);
  481     FoldingSetTrait<T>::Profile(*TN, ID);
  488     T *TN = static_cast<T *>(N);
  489     return FoldingSetTrait<T>::Equals(*TN, ID, IDHash, TempID);
  495     T *TN = static_cast<T *>(N);
  496     return FoldingSetTrait<T>::ComputeHash(*TN, TempID);
  640   T &operator*() const {
  644   T *operator->() const {
include/llvm/IR/Attributes.h
   79   AttributeImpl *pImpl = nullptr;
   81   Attribute(AttributeImpl *A) : pImpl(A) {}
lib/IR/AttributeImpl.h
   53   AttributeImpl(const AttributeImpl &) = delete;
   54   AttributeImpl &operator=(const AttributeImpl &) = delete;
   54   AttributeImpl &operator=(const AttributeImpl &) = delete;
   75   bool operator<(const AttributeImpl &AI) const;
  113 class EnumAttributeImpl : public AttributeImpl {
  147 class StringAttributeImpl : public AttributeImpl {
lib/IR/Attributes.cpp
   88   AttributeImpl *PA = pImpl->AttrsSet.FindNodeOrInsertPos(ID, InsertPoint);
  111   AttributeImpl *PA = pImpl->AttrsSet.FindNodeOrInsertPos(ID, InsertPoint);
  132   AttributeImpl *PA = pImpl->AttrsSet.FindNodeOrInsertPos(ID, InsertPoint);
  544 bool AttributeImpl::operator<(const AttributeImpl &AI) const {
lib/IR/LLVMContextImpl.cpp
  107   for (FoldingSetIterator<AttributeImpl> I = AttrsSet.begin(),
  109     FoldingSetIterator<AttributeImpl> Elem = I++;
lib/IR/LLVMContextImpl.h
 1268   FoldingSet<AttributeImpl> AttrsSet;