Home
last modified time | relevance | path

Searched refs:SortedAttrs (Results 1 – 4 of 4) sorted by relevance

/external/llvm-project/llvm/lib/IR/
DAttributes.cpp814 SmallVector<Attribute, 8> SortedAttrs(Attrs.begin(), Attrs.end()); in get() local
815 llvm::sort(SortedAttrs); in get()
816 return getSorted(C, SortedAttrs); in get()
820 ArrayRef<Attribute> SortedAttrs) { in getSorted() argument
821 if (SortedAttrs.empty()) in getSorted()
828 assert(llvm::is_sorted(SortedAttrs) && "Expected sorted attributes!"); in getSorted()
829 for (const auto &Attr : SortedAttrs) in getSorted()
840 void *Mem = ::operator new(totalSizeToAlloc<Attribute>(SortedAttrs.size())); in getSorted()
841 PA = new (Mem) AttributeSetNode(SortedAttrs); in getSorted()
DAttributeImpl.h224 ArrayRef<Attribute> SortedAttrs);
/external/llvm/lib/IR/
DAttributes.cpp552 SmallVector<Attribute, 8> SortedAttrs(Attrs.begin(), Attrs.end()); in get() local
553 std::sort(SortedAttrs.begin(), SortedAttrs.end()); in get()
555 for (Attribute Attr : SortedAttrs) in get()
566 void *Mem = ::operator new(totalSizeToAlloc<Attribute>(SortedAttrs.size())); in get()
567 PA = new (Mem) AttributeSetNode(SortedAttrs); in get()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DAttributes.cpp745 SmallVector<Attribute, 8> SortedAttrs(Attrs.begin(), Attrs.end()); in get() local
746 llvm::sort(SortedAttrs); in get()
748 for (const auto &Attr : SortedAttrs) in get()
759 void *Mem = ::operator new(totalSizeToAlloc<Attribute>(SortedAttrs.size())); in get()
760 PA = new (Mem) AttributeSetNode(SortedAttrs); in get()