Lines Matching refs:NumElemsArg
44 const Optional<unsigned> &NumElemsArg) { in packAllocSizeArgs() argument
45 assert((!NumElemsArg.hasValue() || in packAllocSizeArgs()
46 *NumElemsArg != AllocSizeNumElemsNotPresent) && in packAllocSizeArgs()
50 NumElemsArg.getValueOr(AllocSizeNumElemsNotPresent); in packAllocSizeArgs()
58 Optional<unsigned> NumElemsArg; in unpackAllocSizeArgs() local
60 NumElemsArg = NumElems; in unpackAllocSizeArgs()
61 return std::make_pair(ElemSizeArg, NumElemsArg); in unpackAllocSizeArgs()
135 const Optional<unsigned> &NumElemsArg) { in getWithAllocSizeArgs() argument
136 assert(!(ElemSizeArg == 0 && NumElemsArg && *NumElemsArg == 0) && in getWithAllocSizeArgs()
138 return get(Context, AllocSize, packAllocSizeArgs(ElemSizeArg, NumElemsArg)); in getWithAllocSizeArgs()
1052 const Optional<unsigned> &NumElemsArg) { in addAllocSizeAttr() argument
1054 B.addAllocSizeAttr(ElemSizeArg, NumElemsArg); in addAllocSizeAttr()