Searched refs:attrIdxToArrayIdx (Results 1 – 2 of 2) sorted by relevance
899 static constexpr unsigned attrIdxToArrayIdx(unsigned Index) { in attrIdxToArrayIdx() function915 static_assert(attrIdxToArrayIdx(AttributeList::FunctionIndex) == 0U, in AttributeListImpl()1032 SmallVector<AttributeSet, 4> AttrVec(attrIdxToArrayIdx(MaxIndex) + 1); in get()1034 AttrVec[attrIdxToArrayIdx(Pair.first)] = Pair.second; in get()1084 Index = attrIdxToArrayIdx(Index); in get()1172 Index = attrIdxToArrayIdx(Index); in addAttributes()1190 unsigned MaxIndex = attrIdxToArrayIdx(ArgNos.back() + FirstArgIndex); in addParamAttribute()1195 unsigned Index = attrIdxToArrayIdx(ArgNo + FirstArgIndex); in addParamAttribute()1208 Index = attrIdxToArrayIdx(Index); in removeAttribute()1221 Index = attrIdxToArrayIdx(Index); in removeAttribute()[all …]
1007 static unsigned attrIdxToArrayIdx(unsigned Index) { in attrIdxToArrayIdx() function1020 for (const auto &I : Sets[attrIdxToArrayIdx(AttributeList::FunctionIndex)]) in AttributeListImpl()1157 SmallVector<AttributeSet, 4> AttrVec(attrIdxToArrayIdx(MaxIndex) + 1); in get()1159 AttrVec[attrIdxToArrayIdx(Pair.first)] = Pair.second; in get()1209 Index = attrIdxToArrayIdx(Index); in get()1308 Index = attrIdxToArrayIdx(Index); in addAttributes()1326 unsigned MaxIndex = attrIdxToArrayIdx(ArgNos.back() + FirstArgIndex); in addParamAttribute()1331 unsigned Index = attrIdxToArrayIdx(ArgNo + FirstArgIndex); in addParamAttribute()1344 Index = attrIdxToArrayIdx(Index); in removeAttribute()1357 Index = attrIdxToArrayIdx(Index); in removeAttribute()[all …]