Lines Matching refs:AttributeSet

921 AttributeSet AttributeSet::get(LLVMContext &C, const AttrBuilder &B) {  in get()
922 return AttributeSet(AttributeSetNode::get(C, B)); in get()
925 AttributeSet AttributeSet::get(LLVMContext &C, ArrayRef<Attribute> Attrs) { in get()
926 return AttributeSet(AttributeSetNode::get(C, Attrs)); in get()
929 AttributeSet AttributeSet::addAttribute(LLVMContext &C, in addAttribute()
934 return addAttributes(C, AttributeSet::get(C, B)); in addAttribute()
937 AttributeSet AttributeSet::addAttribute(LLVMContext &C, StringRef Kind, in addAttribute()
941 return addAttributes(C, AttributeSet::get(C, B)); in addAttribute()
944 AttributeSet AttributeSet::addAttributes(LLVMContext &C, in addAttributes()
945 const AttributeSet AS) const { in addAttributes()
957 AttributeSet AttributeSet::removeAttribute(LLVMContext &C, in removeAttribute()
965 AttributeSet AttributeSet::removeAttribute(LLVMContext &C, in removeAttribute()
973 AttributeSet AttributeSet::removeAttributes(LLVMContext &C, in removeAttributes()
984 std::optional<AttributeSet>
985 AttributeSet::intersectWith(LLVMContext &C, AttributeSet Other) const { in intersectWith()
1114 unsigned AttributeSet::getNumAttributes() const { in getNumAttributes()
1118 bool AttributeSet::hasAttribute(Attribute::AttrKind Kind) const { in hasAttribute()
1122 bool AttributeSet::hasAttribute(StringRef Kind) const { in hasAttribute()
1126 Attribute AttributeSet::getAttribute(Attribute::AttrKind Kind) const { in getAttribute()
1130 Attribute AttributeSet::getAttribute(StringRef Kind) const { in getAttribute()
1134 MaybeAlign AttributeSet::getAlignment() const { in getAlignment()
1138 MaybeAlign AttributeSet::getStackAlignment() const { in getStackAlignment()
1142 uint64_t AttributeSet::getDereferenceableBytes() const { in getDereferenceableBytes()
1146 uint64_t AttributeSet::getDereferenceableOrNullBytes() const { in getDereferenceableOrNullBytes()
1150 Type *AttributeSet::getByRefType() const { in getByRefType()
1154 Type *AttributeSet::getByValType() const { in getByValType()
1158 Type *AttributeSet::getStructRetType() const { in getStructRetType()
1162 Type *AttributeSet::getPreallocatedType() const { in getPreallocatedType()
1166 Type *AttributeSet::getInAllocaType() const { in getInAllocaType()
1170 Type *AttributeSet::getElementType() const { in getElementType()
1175 AttributeSet::getAllocSizeArgs() const { in getAllocSizeArgs()
1181 unsigned AttributeSet::getVScaleRangeMin() const { in getVScaleRangeMin()
1185 std::optional<unsigned> AttributeSet::getVScaleRangeMax() const { in getVScaleRangeMax()
1189 UWTableKind AttributeSet::getUWTableKind() const { in getUWTableKind()
1193 AllocFnKind AttributeSet::getAllocKind() const { in getAllocKind()
1197 MemoryEffects AttributeSet::getMemoryEffects() const { in getMemoryEffects()
1201 CaptureInfo AttributeSet::getCaptureInfo() const { in getCaptureInfo()
1205 FPClassTest AttributeSet::getNoFPClass() const { in getNoFPClass()
1209 std::string AttributeSet::getAsString(bool InAttrGrp) const { in getAsString()
1213 bool AttributeSet::hasParentContext(LLVMContext &C) const { in hasParentContext()
1221 AttributeSet::iterator AttributeSet::begin() const { in begin()
1225 AttributeSet::iterator AttributeSet::end() const { in end()
1230 LLVM_DUMP_METHOD void AttributeSet::dump() const { in dump()
1425 AttributeListImpl::AttributeListImpl(ArrayRef<AttributeSet> Sets) in AttributeListImpl()
1449 ArrayRef<AttributeSet> Sets) { in Profile()
1483 ArrayRef<AttributeSet> AttrSets) { in getImpl()
1499 AttributeListImpl::totalSizeToAlloc<AttributeSet>(AttrSets.size()), in getImpl()
1526 SmallVector<std::pair<unsigned, AttributeSet>, 8> AttrPairVec; in get()
1536 AttrPairVec.emplace_back(Index, AttributeSet::get(C, AttrVec)); in get()
1544 ArrayRef<std::pair<unsigned, AttributeSet>> Attrs) { in get()
1552 [](const std::pair<unsigned, AttributeSet> &Pair) { in get()
1563 SmallVector<AttributeSet, 4> AttrVec(attrIdxToArrayIdx(MaxIndex) + 1); in get()
1570 AttributeList AttributeList::get(LLVMContext &C, AttributeSet FnAttrs, in get()
1571 AttributeSet RetAttrs, in get()
1572 ArrayRef<AttributeSet> ArgAttrs) { in get()
1596 SmallVector<AttributeSet, 8> AttrSets; in get()
1612 AttributeSet Attrs) { in get()
1616 SmallVector<AttributeSet, 8> AttrSets(Index + 1); in get()
1623 return get(C, Index, AttributeSet::get(C, B)); in get()
1668 SmallVector<AttributeSet, 8> NewAttrSets(MaxSize); in get()
1673 NewAttrSets[I] = AttributeSet::get(C, CurBuilder); in get()
1682 AttributeSet Attrs = getAttributes(Index); in addAttributeAtIndex()
1688 return setAttributesAtIndex(C, Index, AttributeSet::get(C, NewAttrs)); in addAttributeAtIndex()
1708 AttributeSet Attrs) const { in setAttributesAtIndex()
1710 SmallVector<AttributeSet, 4> AttrSets(this->begin(), this->end()); in setAttributesAtIndex()
1730 return AttributeList::get(C, {{Index, AttributeSet::get(C, B)}}); in addAttributesAtIndex()
1734 return setAttributesAtIndex(C, Index, AttributeSet::get(C, Merged)); in addAttributesAtIndex()
1742 SmallVector<AttributeSet, 4> AttrSets(this->begin(), this->end()); in addParamAttribute()
1751 AttrSets[Index] = AttributeSet::get(C, B); in addParamAttribute()
1760 AttributeSet Attrs = getAttributes(Index); in removeAttributeAtIndex()
1761 AttributeSet NewAttrs = Attrs.removeAttribute(C, Kind); in removeAttributeAtIndex()
1770 AttributeSet Attrs = getAttributes(Index); in removeAttributeAtIndex()
1771 AttributeSet NewAttrs = Attrs.removeAttribute(C, Kind); in removeAttributeAtIndex()
1779 AttributeSet Attrs = getAttributes(Index); in removeAttributesAtIndex()
1780 AttributeSet NewAttrs = Attrs.removeAttributes(C, AttrsToRemove); in removeAttributesAtIndex()
1794 return setAttributesAtIndex(C, WithoutIndex, AttributeSet()); in removeAttributesAtIndex()
1841 SmallVector<std::pair<unsigned, AttributeSet>> IntersectedAttrs; in intersectWith()
1863 AttributeSet AttributeList::getParamAttrs(unsigned ArgNo) const { in getParamAttrs()
1867 AttributeSet AttributeList::getRetAttrs() const { in getRetAttrs()
1871 AttributeSet AttributeList::getFnAttrs() const { in getFnAttrs()
2004 AttributeSet AttributeList::getAttributes(unsigned Index) const { in getAttributes()
2066 AttrBuilder::AttrBuilder(LLVMContext &Ctx, AttributeSet AS) : Ctx(Ctx) { in AttrBuilder()
2392 AttributeMask AttributeFuncs::typeIncompatible(Type *Ty, AttributeSet AS, in typeIncompatible()