Lines Matching refs:AttrSets
1069 ArrayRef<AttributeSet> AttrSets) { in getImpl() argument
1070 assert(!AttrSets.empty() && "pointless AttributeListImpl"); in getImpl()
1074 AttributeListImpl::Profile(ID, AttrSets); in getImpl()
1085 AttributeListImpl::totalSizeToAlloc<AttributeSet>(AttrSets.size()), in getImpl()
1087 PA = new (Mem) AttributeListImpl(AttrSets); in getImpl()
1190 SmallVector<AttributeSet, 8> AttrSets; in get() local
1191 AttrSets.reserve(NumSets); in get()
1193 AttrSets.push_back(FnAttrs); in get()
1195 AttrSets.push_back(RetAttrs); in get()
1199 AttrSets.insert(AttrSets.end(), ArgAttrs.begin(), ArgAttrs.end()); in get()
1202 return getImpl(C, AttrSets); in get()
1210 SmallVector<AttributeSet, 8> AttrSets(Index + 1); in get() local
1211 AttrSets[Index] = AttributeSet::get(C, B); in get()
1212 return getImpl(C, AttrSets); in get()
1309 SmallVector<AttributeSet, 4> AttrSets(this->begin(), this->end()); in addAttributes() local
1310 if (Index >= AttrSets.size()) in addAttributes()
1311 AttrSets.resize(Index + 1); in addAttributes()
1313 AttrBuilder Merged(AttrSets[Index]); in addAttributes()
1315 AttrSets[Index] = AttributeSet::get(C, Merged); in addAttributes()
1317 return getImpl(C, AttrSets); in addAttributes()
1325 SmallVector<AttributeSet, 4> AttrSets(this->begin(), this->end()); in addParamAttribute() local
1327 if (MaxIndex >= AttrSets.size()) in addParamAttribute()
1328 AttrSets.resize(MaxIndex + 1); in addParamAttribute()
1332 AttrBuilder B(AttrSets[Index]); in addParamAttribute()
1334 AttrSets[Index] = AttributeSet::get(C, B); in addParamAttribute()
1337 return getImpl(C, AttrSets); in addParamAttribute()
1345 SmallVector<AttributeSet, 4> AttrSets(this->begin(), this->end()); in removeAttribute() local
1346 assert(Index < AttrSets.size()); in removeAttribute()
1348 AttrSets[Index] = AttrSets[Index].removeAttribute(C, Kind); in removeAttribute()
1350 return getImpl(C, AttrSets); in removeAttribute()
1358 SmallVector<AttributeSet, 4> AttrSets(this->begin(), this->end()); in removeAttribute() local
1359 assert(Index < AttrSets.size()); in removeAttribute()
1361 AttrSets[Index] = AttrSets[Index].removeAttribute(C, Kind); in removeAttribute()
1363 return getImpl(C, AttrSets); in removeAttribute()
1373 SmallVector<AttributeSet, 4> AttrSets(this->begin(), this->end()); in removeAttributes() local
1374 if (Index >= AttrSets.size()) in removeAttributes()
1375 AttrSets.resize(Index + 1); in removeAttributes()
1377 AttrSets[Index] = AttrSets[Index].removeAttributes(C, AttrsToRemove); in removeAttributes()
1379 return getImpl(C, AttrSets); in removeAttributes()
1389 SmallVector<AttributeSet, 4> AttrSets(this->begin(), this->end()); in removeAttributes() local
1390 AttrSets[WithoutIndex] = AttributeSet(); in removeAttributes()
1391 return getImpl(C, AttrSets); in removeAttributes()