Lines Matching refs:AttributeSet
590 AttributeSet AttributeSet::get(LLVMContext &C, const AttrBuilder &B) { in get()
591 return AttributeSet(AttributeSetNode::get(C, B)); in get()
594 AttributeSet AttributeSet::get(LLVMContext &C, ArrayRef<Attribute> Attrs) { in get()
595 return AttributeSet(AttributeSetNode::get(C, Attrs)); in get()
598 AttributeSet AttributeSet::addAttribute(LLVMContext &C, in addAttribute()
603 return addAttributes(C, AttributeSet::get(C, B)); in addAttribute()
606 AttributeSet AttributeSet::addAttribute(LLVMContext &C, StringRef Kind, in addAttribute()
610 return addAttributes(C, AttributeSet::get(C, B)); in addAttribute()
613 AttributeSet AttributeSet::addAttributes(LLVMContext &C, in addAttributes()
614 const AttributeSet AS) const { in addAttributes()
628 AttributeSet AttributeSet::removeAttribute(LLVMContext &C, in removeAttribute()
636 AttributeSet AttributeSet::removeAttribute(LLVMContext &C, in removeAttribute()
644 AttributeSet AttributeSet::removeAttributes(LLVMContext &C, in removeAttributes()
655 unsigned AttributeSet::getNumAttributes() const { in getNumAttributes()
659 bool AttributeSet::hasAttribute(Attribute::AttrKind Kind) const { in hasAttribute()
663 bool AttributeSet::hasAttribute(StringRef Kind) const { in hasAttribute()
667 Attribute AttributeSet::getAttribute(Attribute::AttrKind Kind) const { in getAttribute()
671 Attribute AttributeSet::getAttribute(StringRef Kind) const { in getAttribute()
675 MaybeAlign AttributeSet::getAlignment() const { in getAlignment()
679 MaybeAlign AttributeSet::getStackAlignment() const { in getStackAlignment()
683 uint64_t AttributeSet::getDereferenceableBytes() const { in getDereferenceableBytes()
687 uint64_t AttributeSet::getDereferenceableOrNullBytes() const { in getDereferenceableOrNullBytes()
691 Type *AttributeSet::getByRefType() const { in getByRefType()
695 Type *AttributeSet::getByValType() const { in getByValType()
699 Type *AttributeSet::getStructRetType() const { in getStructRetType()
703 Type *AttributeSet::getPreallocatedType() const { in getPreallocatedType()
707 Type *AttributeSet::getInAllocaType() const { in getInAllocaType()
711 Type *AttributeSet::getElementType() const { in getElementType()
715 std::pair<unsigned, Optional<unsigned>> AttributeSet::getAllocSizeArgs() const { in getAllocSizeArgs()
720 std::pair<unsigned, unsigned> AttributeSet::getVScaleRangeArgs() const { in getVScaleRangeArgs()
725 std::string AttributeSet::getAsString(bool InAttrGrp) const { in getAsString()
729 bool AttributeSet::hasParentContext(LLVMContext &C) const { in hasParentContext()
737 AttributeSet::iterator AttributeSet::begin() const { in begin()
741 AttributeSet::iterator AttributeSet::end() const { in end()
746 LLVM_DUMP_METHOD void AttributeSet::dump() const { in dump()
955 AttributeListImpl::AttributeListImpl(ArrayRef<AttributeSet> Sets) in AttributeListImpl()
960 llvm::copy(Sets, getTrailingObjects<AttributeSet>()); in AttributeListImpl()
979 ArrayRef<AttributeSet> Sets) { in Profile()
1013 ArrayRef<AttributeSet> AttrSets) { in getImpl()
1029 AttributeListImpl::totalSizeToAlloc<AttributeSet>(AttrSets.size()), in getImpl()
1060 SmallVector<std::pair<unsigned, AttributeSet>, 8> AttrPairVec; in get()
1070 AttrPairVec.emplace_back(Index, AttributeSet::get(C, AttrVec)); in get()
1078 ArrayRef<std::pair<unsigned, AttributeSet>> Attrs) { in get()
1084 [](const std::pair<unsigned, AttributeSet> &LHS, in get()
1085 const std::pair<unsigned, AttributeSet> &RHS) { in get()
1090 [](const std::pair<unsigned, AttributeSet> &Pair) { in get()
1101 SmallVector<AttributeSet, 4> AttrVec(attrIdxToArrayIdx(MaxIndex) + 1); in get()
1108 AttributeList AttributeList::get(LLVMContext &C, AttributeSet FnAttrs, in get()
1109 AttributeSet RetAttrs, in get()
1110 ArrayRef<AttributeSet> ArgAttrs) { in get()
1134 SmallVector<AttributeSet, 8> AttrSets; in get()
1154 SmallVector<AttributeSet, 8> AttrSets(Index + 1); in get()
1155 AttrSets[Index] = AttributeSet::get(C, B); in get()
1201 SmallVector<AttributeSet, 8> NewAttrSets(MaxSize); in get()
1206 NewAttrSets[I] = AttributeSet::get(C, CurBuilder); in get()
1215 AttributeSet Attrs = getAttributes(Index); in addAttribute()
1219 return setAttributes(C, Index, AttributeSet::get(C, NewAttrs)); in addAttribute()
1238 AttributeSet Attrs) const { in setAttributes()
1240 SmallVector<AttributeSet, 4> AttrSets(this->begin(), this->end()); in setAttributes()
1253 return AttributeList::get(C, {{Index, AttributeSet::get(C, B)}}); in addAttributes()
1266 return setAttributes(C, Index, AttributeSet::get(C, Merged)); in addAttributes()
1274 SmallVector<AttributeSet, 4> AttrSets(this->begin(), this->end()); in addParamAttribute()
1283 AttrSets[Index] = AttributeSet::get(C, B); in addParamAttribute()
1294 SmallVector<AttributeSet, 4> AttrSets(this->begin(), this->end()); in removeAttribute()
1307 SmallVector<AttributeSet, 4> AttrSets(this->begin(), this->end()); in removeAttribute()
1318 AttributeSet Attrs = getAttributes(Index); in removeAttributes()
1319 AttributeSet NewAttrs = Attrs.removeAttributes(C, AttrsToRemove); in removeAttributes()
1333 SmallVector<AttributeSet, 4> AttrSets(this->begin(), this->end()); in removeAttributes()
1334 AttrSets[WithoutIndex] = AttributeSet(); in removeAttributes()
1375 AttributeSet AttributeList::getParamAttributes(unsigned ArgNo) const { in getParamAttributes()
1379 AttributeSet AttributeList::getRetAttributes() const { in getRetAttributes()
1383 AttributeSet AttributeList::getFnAttributes() const { in getFnAttributes()
1489 AttributeSet AttributeList::getAttributes(unsigned Index) const { in getAttributes()
1553 AttributeSet AS = AL.getAttributes(Index); in AttrBuilder()
1558 AttrBuilder::AttrBuilder(AttributeSet AS) { in AttrBuilder()
1848 AttributeSet AS = AL.getAttributes(Index); in hasAttributes()