Searched refs:NumElemsArg (Results 1 – 3 of 3) sorted by relevance
44 const Optional<unsigned> &NumElemsArg) { in packAllocSizeArgs() argument45 assert((!NumElemsArg.hasValue() || in packAllocSizeArgs()46 *NumElemsArg != AllocSizeNumElemsNotPresent) && in packAllocSizeArgs()50 NumElemsArg.getValueOr(AllocSizeNumElemsNotPresent); in packAllocSizeArgs()58 Optional<unsigned> NumElemsArg; in unpackAllocSizeArgs() local60 NumElemsArg = NumElems; in unpackAllocSizeArgs()61 return std::make_pair(ElemSizeArg, NumElemsArg); in unpackAllocSizeArgs()135 const Optional<unsigned> &NumElemsArg) { in getWithAllocSizeArgs() argument136 assert(!(ElemSizeArg == 0 && NumElemsArg && *NumElemsArg == 0) && in getWithAllocSizeArgs()138 return get(Context, AllocSize, packAllocSizeArgs(ElemSizeArg, NumElemsArg)); in getWithAllocSizeArgs()[all …]
101 const Optional<unsigned> &NumElemsArg);309 const Optional<unsigned> &NumElemsArg);554 const Optional<unsigned> &NumElemsArg);
1053 Optional<unsigned> NumElemsArg; in ParseFnAttributeValuePairs() local1055 if (parseAllocSizeArguments(ElemSizeArg, NumElemsArg)) in ParseFnAttributeValuePairs()1057 B.addAllocSizeAttr(ElemSizeArg, NumElemsArg); in ParseFnAttributeValuePairs()