Lines Matching refs:AttributeSet
513 AttributeSet AttributeSet::get(LLVMContext &C, const AttrBuilder &B) { in get()
514 return AttributeSet(AttributeSetNode::get(C, B)); in get()
517 AttributeSet AttributeSet::get(LLVMContext &C, ArrayRef<Attribute> Attrs) { in get()
518 return AttributeSet(AttributeSetNode::get(C, Attrs)); in get()
521 AttributeSet AttributeSet::addAttribute(LLVMContext &C, in addAttribute()
526 return addAttributes(C, AttributeSet::get(C, B)); in addAttribute()
529 AttributeSet AttributeSet::addAttribute(LLVMContext &C, StringRef Kind, in addAttribute()
533 return addAttributes(C, AttributeSet::get(C, B)); in addAttribute()
536 AttributeSet AttributeSet::addAttributes(LLVMContext &C, in addAttributes()
537 const AttributeSet AS) const { in addAttributes()
551 AttributeSet AttributeSet::removeAttribute(LLVMContext &C, in removeAttribute()
559 AttributeSet AttributeSet::removeAttribute(LLVMContext &C, in removeAttribute()
567 AttributeSet AttributeSet::removeAttributes(LLVMContext &C, in removeAttributes()
574 unsigned AttributeSet::getNumAttributes() const { in getNumAttributes()
578 bool AttributeSet::hasAttribute(Attribute::AttrKind Kind) const { in hasAttribute()
582 bool AttributeSet::hasAttribute(StringRef Kind) const { in hasAttribute()
586 Attribute AttributeSet::getAttribute(Attribute::AttrKind Kind) const { in getAttribute()
590 Attribute AttributeSet::getAttribute(StringRef Kind) const { in getAttribute()
594 unsigned AttributeSet::getAlignment() const { in getAlignment()
598 unsigned AttributeSet::getStackAlignment() const { in getStackAlignment()
602 uint64_t AttributeSet::getDereferenceableBytes() const { in getDereferenceableBytes()
606 uint64_t AttributeSet::getDereferenceableOrNullBytes() const { in getDereferenceableOrNullBytes()
610 std::pair<unsigned, Optional<unsigned>> AttributeSet::getAllocSizeArgs() const { in getAllocSizeArgs()
615 std::string AttributeSet::getAsString(bool InAttrGrp) const { in getAsString()
619 AttributeSet::iterator AttributeSet::begin() const { in begin()
623 AttributeSet::iterator AttributeSet::end() const { in end()
628 LLVM_DUMP_METHOD void AttributeSet::dump() const { in dump()
807 ArrayRef<AttributeSet> Sets) in AttributeListImpl()
812 llvm::copy(Sets, getTrailingObjects<AttributeSet>()); in AttributeListImpl()
831 ArrayRef<AttributeSet> Sets) { in Profile()
847 ArrayRef<AttributeSet> AttrSets) { in getImpl()
863 AttributeListImpl::totalSizeToAlloc<AttributeSet>(AttrSets.size())); in getImpl()
892 SmallVector<std::pair<unsigned, AttributeSet>, 8> AttrPairVec; in get()
902 AttrPairVec.emplace_back(Index, AttributeSet::get(C, AttrVec)); in get()
910 ArrayRef<std::pair<unsigned, AttributeSet>> Attrs) { in get()
916 [](const std::pair<unsigned, AttributeSet> &LHS, in get()
917 const std::pair<unsigned, AttributeSet> &RHS) { in get()
922 [](const std::pair<unsigned, AttributeSet> &Pair) { in get()
933 SmallVector<AttributeSet, 4> AttrVec(attrIdxToArrayIdx(MaxIndex) + 1); in get()
940 AttributeList AttributeList::get(LLVMContext &C, AttributeSet FnAttrs, in get()
941 AttributeSet RetAttrs, in get()
942 ArrayRef<AttributeSet> ArgAttrs) { in get()
966 SmallVector<AttributeSet, 8> AttrSets; in get()
986 SmallVector<AttributeSet, 8> AttrSets(Index + 1); in get()
987 AttrSets[Index] = AttributeSet::get(C, B); in get()
1022 SmallVector<AttributeSet, 8> NewAttrSets(MaxSize); in get()
1027 NewAttrSets[I] = AttributeSet::get(C, CurBuilder); in get()
1062 return AttributeList::get(C, {{Index, AttributeSet::get(C, B)}}); in addAttributes()
1074 SmallVector<AttributeSet, 4> AttrSets(this->begin(), this->end()); in addAttributes()
1080 AttrSets[Index] = AttributeSet::get(C, Merged); in addAttributes()
1090 SmallVector<AttributeSet, 4> AttrSets(this->begin(), this->end()); in addParamAttribute()
1099 AttrSets[Index] = AttributeSet::get(C, B); in addParamAttribute()
1110 SmallVector<AttributeSet, 4> AttrSets(this->begin(), this->end()); in removeAttribute()
1123 SmallVector<AttributeSet, 4> AttrSets(this->begin(), this->end()); in removeAttribute()
1138 SmallVector<AttributeSet, 4> AttrSets(this->begin(), this->end()); in removeAttributes()
1154 SmallVector<AttributeSet, 4> AttrSets(this->begin(), this->end()); in removeAttributes()
1155 AttrSets[WithoutIndex] = AttributeSet(); in removeAttributes()
1190 AttributeSet AttributeList::getParamAttributes(unsigned ArgNo) const { in getParamAttributes()
1194 AttributeSet AttributeList::getRetAttributes() const { in getRetAttributes()
1198 AttributeSet AttributeList::getFnAttributes() const { in getFnAttributes()
1281 AttributeSet AttributeList::getAttributes(unsigned Index) const { in getAttributes()
1323 AttributeSet AS = AL.getAttributes(Index); in AttrBuilder()
1328 AttrBuilder::AttrBuilder(AttributeSet AS) { in AttrBuilder()
1538 AttributeSet AS = AL.getAttributes(Index); in hasAttributes()