Lines Matching refs:NumElemsArg
61 const Optional<unsigned> &NumElemsArg) { in packAllocSizeArgs() argument
62 assert((!NumElemsArg.hasValue() || in packAllocSizeArgs()
63 *NumElemsArg != AllocSizeNumElemsNotPresent) && in packAllocSizeArgs()
67 NumElemsArg.getValueOr(AllocSizeNumElemsNotPresent); in packAllocSizeArgs()
75 Optional<unsigned> NumElemsArg; in unpackAllocSizeArgs() local
77 NumElemsArg = NumElems; in unpackAllocSizeArgs()
78 return std::make_pair(ElemSizeArg, NumElemsArg); in unpackAllocSizeArgs()
189 const Optional<unsigned> &NumElemsArg) { in getWithAllocSizeArgs() argument
190 assert(!(ElemSizeArg == 0 && NumElemsArg && *NumElemsArg == 0) && in getWithAllocSizeArgs()
192 return get(Context, AllocSize, packAllocSizeArgs(ElemSizeArg, NumElemsArg)); in getWithAllocSizeArgs()
1413 const Optional<unsigned> &NumElemsArg) { in addAllocSizeAttr() argument
1415 B.addAllocSizeAttr(ElemSizeArg, NumElemsArg); in addAllocSizeAttr()