Lines Matching refs:AttributeSet

623 AttributeSet AttributeSet::get(LLVMContext &C, const AttrBuilder &B) {  in get()
624 return AttributeSet(AttributeSetNode::get(C, B)); in get()
627 AttributeSet AttributeSet::get(LLVMContext &C, ArrayRef<Attribute> Attrs) { in get()
628 return AttributeSet(AttributeSetNode::get(C, Attrs)); in get()
631 AttributeSet AttributeSet::addAttribute(LLVMContext &C, in addAttribute()
636 return addAttributes(C, AttributeSet::get(C, B)); in addAttribute()
639 AttributeSet AttributeSet::addAttribute(LLVMContext &C, StringRef Kind, in addAttribute()
643 return addAttributes(C, AttributeSet::get(C, B)); in addAttribute()
646 AttributeSet AttributeSet::addAttributes(LLVMContext &C, in addAttributes()
647 const AttributeSet AS) const { in addAttributes()
659 AttributeSet AttributeSet::removeAttribute(LLVMContext &C, in removeAttribute()
667 AttributeSet AttributeSet::removeAttribute(LLVMContext &C, in removeAttribute()
675 AttributeSet AttributeSet::removeAttributes(LLVMContext &C, in removeAttributes()
686 unsigned AttributeSet::getNumAttributes() const { in getNumAttributes()
690 bool AttributeSet::hasAttribute(Attribute::AttrKind Kind) const { in hasAttribute()
694 bool AttributeSet::hasAttribute(StringRef Kind) const { in hasAttribute()
698 Attribute AttributeSet::getAttribute(Attribute::AttrKind Kind) const { in getAttribute()
702 Attribute AttributeSet::getAttribute(StringRef Kind) const { in getAttribute()
706 MaybeAlign AttributeSet::getAlignment() const { in getAlignment()
710 MaybeAlign AttributeSet::getStackAlignment() const { in getStackAlignment()
714 uint64_t AttributeSet::getDereferenceableBytes() const { in getDereferenceableBytes()
718 uint64_t AttributeSet::getDereferenceableOrNullBytes() const { in getDereferenceableOrNullBytes()
722 Type *AttributeSet::getByRefType() const { in getByRefType()
726 Type *AttributeSet::getByValType() const { in getByValType()
730 Type *AttributeSet::getStructRetType() const { in getStructRetType()
734 Type *AttributeSet::getPreallocatedType() const { in getPreallocatedType()
738 Type *AttributeSet::getInAllocaType() const { in getInAllocaType()
742 Type *AttributeSet::getElementType() const { in getElementType()
746 std::pair<unsigned, Optional<unsigned>> AttributeSet::getAllocSizeArgs() const { in getAllocSizeArgs()
751 unsigned AttributeSet::getVScaleRangeMin() const { in getVScaleRangeMin()
755 Optional<unsigned> AttributeSet::getVScaleRangeMax() const { in getVScaleRangeMax()
759 UWTableKind AttributeSet::getUWTableKind() const { in getUWTableKind()
763 AllocFnKind AttributeSet::getAllocKind() const { in getAllocKind()
767 std::string AttributeSet::getAsString(bool InAttrGrp) const { in getAsString()
771 bool AttributeSet::hasParentContext(LLVMContext &C) const { in hasParentContext()
779 AttributeSet::iterator AttributeSet::begin() const { in begin()
783 AttributeSet::iterator AttributeSet::end() const { in end()
788 LLVM_DUMP_METHOD void AttributeSet::dump() const { in dump()
965 AttributeListImpl::AttributeListImpl(ArrayRef<AttributeSet> Sets) in AttributeListImpl()
970 llvm::copy(Sets, getTrailingObjects<AttributeSet>()); in AttributeListImpl()
989 ArrayRef<AttributeSet> Sets) { in Profile()
1023 ArrayRef<AttributeSet> AttrSets) { in getImpl()
1039 AttributeListImpl::totalSizeToAlloc<AttributeSet>(AttrSets.size()), in getImpl()
1066 SmallVector<std::pair<unsigned, AttributeSet>, 8> AttrPairVec; in get()
1076 AttrPairVec.emplace_back(Index, AttributeSet::get(C, AttrVec)); in get()
1084 ArrayRef<std::pair<unsigned, AttributeSet>> Attrs) { in get()
1092 [](const std::pair<unsigned, AttributeSet> &Pair) { in get()
1103 SmallVector<AttributeSet, 4> AttrVec(attrIdxToArrayIdx(MaxIndex) + 1); in get()
1110 AttributeList AttributeList::get(LLVMContext &C, AttributeSet FnAttrs, in get()
1111 AttributeSet RetAttrs, in get()
1112 ArrayRef<AttributeSet> ArgAttrs) { in get()
1136 SmallVector<AttributeSet, 8> AttrSets; in get()
1152 AttributeSet Attrs) { in get()
1156 SmallVector<AttributeSet, 8> AttrSets(Index + 1); in get()
1163 return get(C, Index, AttributeSet::get(C, B)); in get()
1208 SmallVector<AttributeSet, 8> NewAttrSets(MaxSize); in get()
1213 NewAttrSets[I] = AttributeSet::get(C, CurBuilder); in get()
1224 AttributeSet Attrs = getAttributes(Index); in addAttributeAtIndex()
1228 return setAttributesAtIndex(C, Index, AttributeSet::get(C, NewAttrs)); in addAttributeAtIndex()
1248 AttributeSet Attrs) const { in setAttributesAtIndex()
1250 SmallVector<AttributeSet, 4> AttrSets(this->begin(), this->end()); in setAttributesAtIndex()
1264 return AttributeList::get(C, {{Index, AttributeSet::get(C, B)}}); in addAttributesAtIndex()
1268 return setAttributesAtIndex(C, Index, AttributeSet::get(C, Merged)); in addAttributesAtIndex()
1276 SmallVector<AttributeSet, 4> AttrSets(this->begin(), this->end()); in addParamAttribute()
1285 AttrSets[Index] = AttributeSet::get(C, B); in addParamAttribute()
1298 SmallVector<AttributeSet, 4> AttrSets(this->begin(), this->end()); in removeAttributeAtIndex()
1313 SmallVector<AttributeSet, 4> AttrSets(this->begin(), this->end()); in removeAttributeAtIndex()
1323 AttributeSet Attrs = getAttributes(Index); in removeAttributesAtIndex()
1324 AttributeSet NewAttrs = Attrs.removeAttributes(C, AttrsToRemove); in removeAttributesAtIndex()
1339 SmallVector<AttributeSet, 4> AttrSets(this->begin(), this->end()); in removeAttributesAtIndex()
1340 AttrSets[WithoutIndex] = AttributeSet(); in removeAttributesAtIndex()
1380 AttributeSet AttributeList::getParamAttrs(unsigned ArgNo) const { in getParamAttrs()
1384 AttributeSet AttributeList::getRetAttrs() const { in getRetAttrs()
1388 AttributeSet AttributeList::getFnAttrs() const { in getFnAttrs()
1501 AttributeSet AttributeList::getAttributes(unsigned Index) const { in getAttributes()
1563 AttrBuilder::AttrBuilder(LLVMContext &Ctx, AttributeSet AS) : Ctx(Ctx) { in AttrBuilder()