Lines Matching refs:AttributeSet

712 AttributeSet AttributeSet::get(LLVMContext &C, const AttrBuilder &B) {  in get()
713 return AttributeSet(AttributeSetNode::get(C, B)); in get()
716 AttributeSet AttributeSet::get(LLVMContext &C, ArrayRef<Attribute> Attrs) { in get()
717 return AttributeSet(AttributeSetNode::get(C, Attrs)); in get()
720 AttributeSet AttributeSet::addAttribute(LLVMContext &C, in addAttribute()
725 return addAttributes(C, AttributeSet::get(C, B)); in addAttribute()
728 AttributeSet AttributeSet::addAttribute(LLVMContext &C, StringRef Kind, in addAttribute()
732 return addAttributes(C, AttributeSet::get(C, B)); in addAttribute()
735 AttributeSet AttributeSet::addAttributes(LLVMContext &C, in addAttributes()
736 const AttributeSet AS) const { in addAttributes()
748 AttributeSet AttributeSet::removeAttribute(LLVMContext &C, in removeAttribute()
756 AttributeSet AttributeSet::removeAttribute(LLVMContext &C, in removeAttribute()
764 AttributeSet AttributeSet::removeAttributes(LLVMContext &C, in removeAttributes()
775 unsigned AttributeSet::getNumAttributes() const { in getNumAttributes()
779 bool AttributeSet::hasAttribute(Attribute::AttrKind Kind) const { in hasAttribute()
783 bool AttributeSet::hasAttribute(StringRef Kind) const { in hasAttribute()
787 Attribute AttributeSet::getAttribute(Attribute::AttrKind Kind) const { in getAttribute()
791 Attribute AttributeSet::getAttribute(StringRef Kind) const { in getAttribute()
795 MaybeAlign AttributeSet::getAlignment() const { in getAlignment()
799 MaybeAlign AttributeSet::getStackAlignment() const { in getStackAlignment()
803 uint64_t AttributeSet::getDereferenceableBytes() const { in getDereferenceableBytes()
807 uint64_t AttributeSet::getDereferenceableOrNullBytes() const { in getDereferenceableOrNullBytes()
811 Type *AttributeSet::getByRefType() const { in getByRefType()
815 Type *AttributeSet::getByValType() const { in getByValType()
819 Type *AttributeSet::getStructRetType() const { in getStructRetType()
823 Type *AttributeSet::getPreallocatedType() const { in getPreallocatedType()
827 Type *AttributeSet::getInAllocaType() const { in getInAllocaType()
831 Type *AttributeSet::getElementType() const { in getElementType()
836 AttributeSet::getAllocSizeArgs() const { in getAllocSizeArgs()
842 unsigned AttributeSet::getVScaleRangeMin() const { in getVScaleRangeMin()
846 std::optional<unsigned> AttributeSet::getVScaleRangeMax() const { in getVScaleRangeMax()
850 UWTableKind AttributeSet::getUWTableKind() const { in getUWTableKind()
854 AllocFnKind AttributeSet::getAllocKind() const { in getAllocKind()
858 MemoryEffects AttributeSet::getMemoryEffects() const { in getMemoryEffects()
862 FPClassTest AttributeSet::getNoFPClass() const { in getNoFPClass()
866 std::string AttributeSet::getAsString(bool InAttrGrp) const { in getAsString()
870 bool AttributeSet::hasParentContext(LLVMContext &C) const { in hasParentContext()
878 AttributeSet::iterator AttributeSet::begin() const { in begin()
882 AttributeSet::iterator AttributeSet::end() const { in end()
887 LLVM_DUMP_METHOD void AttributeSet::dump() const { in dump()
1076 AttributeListImpl::AttributeListImpl(ArrayRef<AttributeSet> Sets) in AttributeListImpl()
1081 llvm::copy(Sets, getTrailingObjects<AttributeSet>()); in AttributeListImpl()
1100 ArrayRef<AttributeSet> Sets) { in Profile()
1134 ArrayRef<AttributeSet> AttrSets) { in getImpl()
1150 AttributeListImpl::totalSizeToAlloc<AttributeSet>(AttrSets.size()), in getImpl()
1177 SmallVector<std::pair<unsigned, AttributeSet>, 8> AttrPairVec; in get()
1187 AttrPairVec.emplace_back(Index, AttributeSet::get(C, AttrVec)); in get()
1195 ArrayRef<std::pair<unsigned, AttributeSet>> Attrs) { in get()
1203 [](const std::pair<unsigned, AttributeSet> &Pair) { in get()
1214 SmallVector<AttributeSet, 4> AttrVec(attrIdxToArrayIdx(MaxIndex) + 1); in get()
1221 AttributeList AttributeList::get(LLVMContext &C, AttributeSet FnAttrs, in get()
1222 AttributeSet RetAttrs, in get()
1223 ArrayRef<AttributeSet> ArgAttrs) { in get()
1247 SmallVector<AttributeSet, 8> AttrSets; in get()
1263 AttributeSet Attrs) { in get()
1267 SmallVector<AttributeSet, 8> AttrSets(Index + 1); in get()
1274 return get(C, Index, AttributeSet::get(C, B)); in get()
1319 SmallVector<AttributeSet, 8> NewAttrSets(MaxSize); in get()
1324 NewAttrSets[I] = AttributeSet::get(C, CurBuilder); in get()
1333 AttributeSet Attrs = getAttributes(Index); in addAttributeAtIndex()
1339 return setAttributesAtIndex(C, Index, AttributeSet::get(C, NewAttrs)); in addAttributeAtIndex()
1359 AttributeSet Attrs) const { in setAttributesAtIndex()
1361 SmallVector<AttributeSet, 4> AttrSets(this->begin(), this->end()); in setAttributesAtIndex()
1381 return AttributeList::get(C, {{Index, AttributeSet::get(C, B)}}); in addAttributesAtIndex()
1385 return setAttributesAtIndex(C, Index, AttributeSet::get(C, Merged)); in addAttributesAtIndex()
1393 SmallVector<AttributeSet, 4> AttrSets(this->begin(), this->end()); in addParamAttribute()
1402 AttrSets[Index] = AttributeSet::get(C, B); in addParamAttribute()
1411 AttributeSet Attrs = getAttributes(Index); in removeAttributeAtIndex()
1412 AttributeSet NewAttrs = Attrs.removeAttribute(C, Kind); in removeAttributeAtIndex()
1421 AttributeSet Attrs = getAttributes(Index); in removeAttributeAtIndex()
1422 AttributeSet NewAttrs = Attrs.removeAttribute(C, Kind); in removeAttributeAtIndex()
1430 AttributeSet Attrs = getAttributes(Index); in removeAttributesAtIndex()
1431 AttributeSet NewAttrs = Attrs.removeAttributes(C, AttrsToRemove); in removeAttributesAtIndex()
1445 return setAttributesAtIndex(C, WithoutIndex, AttributeSet()); in removeAttributesAtIndex()
1483 AttributeSet AttributeList::getParamAttrs(unsigned ArgNo) const { in getParamAttrs()
1487 AttributeSet AttributeList::getRetAttrs() const { in getRetAttrs()
1491 AttributeSet AttributeList::getFnAttrs() const { in getFnAttrs()
1616 AttributeSet AttributeList::getAttributes(unsigned Index) const { in getAttributes()
1678 AttrBuilder::AttrBuilder(LLVMContext &Ctx, AttributeSet AS) : Ctx(Ctx) { in AttrBuilder()