Searched refs:NumElemsArg (Results 1 – 10 of 10) sorted by relevance
/external/llvm/lib/IR/ |
D | Attributes.cpp | 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() [all …]
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/ |
D | Attributes.h | 106 const Optional<unsigned> &NumElemsArg); 519 const Optional<unsigned> &NumElemsArg); 525 const Optional<unsigned> &NumElemsArg) { 526 return addAllocSizeAttr(C, ArgNo + FirstArgIndex, ElemSizeArg, NumElemsArg); 831 const Optional<unsigned> &NumElemsArg);
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/IR/ |
D | Attributes.cpp | 60 const Optional<unsigned> &NumElemsArg) { in packAllocSizeArgs() argument 61 assert((!NumElemsArg.hasValue() || in packAllocSizeArgs() 62 *NumElemsArg != AllocSizeNumElemsNotPresent) && in packAllocSizeArgs() 66 NumElemsArg.getValueOr(AllocSizeNumElemsNotPresent); in packAllocSizeArgs() 74 Optional<unsigned> NumElemsArg; in unpackAllocSizeArgs() local 76 NumElemsArg = NumElems; in unpackAllocSizeArgs() 77 return std::make_pair(ElemSizeArg, NumElemsArg); in unpackAllocSizeArgs() 173 const Optional<unsigned> &NumElemsArg) { in getWithAllocSizeArgs() argument 174 assert(!(ElemSizeArg == 0 && NumElemsArg && *NumElemsArg == 0) && in getWithAllocSizeArgs() 176 return get(Context, AllocSize, packAllocSizeArgs(ElemSizeArg, NumElemsArg)); in getWithAllocSizeArgs() [all …]
|
/external/llvm-project/llvm/lib/IR/ |
D | Attributes.cpp | 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() [all …]
|
/external/swiftshader/third_party/llvm-subzero/include/llvm/IR/ |
D | Attributes.h | 101 const Optional<unsigned> &NumElemsArg); 310 const Optional<unsigned> &NumElemsArg); 551 const Optional<unsigned> &NumElemsArg);
|
/external/llvm-project/llvm/include/llvm/IR/ |
D | Attributes.h | 109 const Optional<unsigned> &NumElemsArg); 561 const Optional<unsigned> &NumElemsArg); 567 const Optional<unsigned> &NumElemsArg) { 568 return addAllocSizeAttr(C, ArgNo + FirstArgIndex, ElemSizeArg, NumElemsArg); 898 const Optional<unsigned> &NumElemsArg);
|
/external/llvm/include/llvm/IR/ |
D | Attributes.h | 101 const Optional<unsigned> &NumElemsArg); 309 const Optional<unsigned> &NumElemsArg); 554 const Optional<unsigned> &NumElemsArg);
|
/external/llvm/lib/AsmParser/ |
D | LLParser.cpp | 1053 Optional<unsigned> NumElemsArg; in ParseFnAttributeValuePairs() local 1055 if (parseAllocSizeArguments(ElemSizeArg, NumElemsArg)) in ParseFnAttributeValuePairs() 1057 B.addAllocSizeAttr(ElemSizeArg, NumElemsArg); in ParseFnAttributeValuePairs()
|
/external/llvm-project/llvm/lib/AsmParser/ |
D | LLParser.cpp | 1332 Optional<unsigned> NumElemsArg; in parseFnAttributeValuePairs() local 1334 if (parseAllocSizeArguments(ElemSizeArg, NumElemsArg)) in parseFnAttributeValuePairs() 1336 B.addAllocSizeAttr(ElemSizeArg, NumElemsArg); in parseFnAttributeValuePairs()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/AsmParser/ |
D | LLParser.cpp | 1262 Optional<unsigned> NumElemsArg; in ParseFnAttributeValuePairs() local 1264 if (parseAllocSizeArguments(ElemSizeArg, NumElemsArg)) in ParseFnAttributeValuePairs() 1266 B.addAllocSizeAttr(ElemSizeArg, NumElemsArg); in ParseFnAttributeValuePairs()
|