Searched refs:NumElemsArg (Results 1 – 7 of 7) 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-7.0/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() 152 const Optional<unsigned> &NumElemsArg) { in getWithAllocSizeArgs() argument 153 assert(!(ElemSizeArg == 0 && NumElemsArg && *NumElemsArg == 0) && in getWithAllocSizeArgs() 155 return get(Context, AllocSize, packAllocSizeArgs(ElemSizeArg, NumElemsArg)); in getWithAllocSizeArgs() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/IR/ |
D | Attributes.h | 105 const Optional<unsigned> &NumElemsArg); 498 const Optional<unsigned> &NumElemsArg); 504 const Optional<unsigned> &NumElemsArg) { 505 return addAllocSizeAttr(C, ArgNo + FirstArgIndex, ElemSizeArg, NumElemsArg); 787 const Optional<unsigned> &NumElemsArg);
|
/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/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/swiftshader/third_party/llvm-7.0/llvm/lib/AsmParser/ |
D | LLParser.cpp | 1224 Optional<unsigned> NumElemsArg; in ParseFnAttributeValuePairs() local 1226 if (parseAllocSizeArguments(ElemSizeArg, NumElemsArg)) in ParseFnAttributeValuePairs() 1228 B.addAllocSizeAttr(ElemSizeArg, NumElemsArg); in ParseFnAttributeValuePairs()
|