Home
last modified time | relevance | path

Searched refs:ElemSizeArg (Results 1 – 11 of 11) sorted by relevance

/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/
DAttributes.h105 unsigned ElemSizeArg,
518 addAllocSizeAttr(LLVMContext &C, unsigned Index, unsigned ElemSizeArg,
524 addAllocSizeParamAttr(LLVMContext &C, unsigned ArgNo, unsigned ElemSizeArg,
526 return addAllocSizeAttr(C, ArgNo + FirstArgIndex, ElemSizeArg, NumElemsArg);
830 AttrBuilder &addAllocSizeAttr(unsigned ElemSizeArg,
/external/swiftshader/third_party/llvm-subzero/include/llvm/IR/
DAttributes.h100 unsigned ElemSizeArg,
309 unsigned ElemSizeArg,
550 AttrBuilder &addAllocSizeAttr(unsigned ElemSizeArg,
/external/llvm-project/llvm/include/llvm/IR/
DAttributes.h108 unsigned ElemSizeArg,
560 addAllocSizeAttr(LLVMContext &C, unsigned Index, unsigned ElemSizeArg,
566 addAllocSizeParamAttr(LLVMContext &C, unsigned ArgNo, unsigned ElemSizeArg,
568 return addAllocSizeAttr(C, ArgNo + FirstArgIndex, ElemSizeArg, NumElemsArg);
897 AttrBuilder &addAllocSizeAttr(unsigned ElemSizeArg,
/external/llvm/include/llvm/IR/
DAttributes.h100 unsigned ElemSizeArg,
308 unsigned ElemSizeArg,
553 AttrBuilder &addAllocSizeAttr(unsigned ElemSizeArg,
/external/llvm/lib/IR/
DAttributes.cpp43 static uint64_t packAllocSizeArgs(unsigned ElemSizeArg, in packAllocSizeArgs() argument
49 return uint64_t(ElemSizeArg) << 32 | in packAllocSizeArgs()
56 unsigned ElemSizeArg = Num >> 32; in unpackAllocSizeArgs() local
61 return std::make_pair(ElemSizeArg, NumElemsArg); in unpackAllocSizeArgs()
134 Attribute::getWithAllocSizeArgs(LLVMContext &Context, unsigned ElemSizeArg, in getWithAllocSizeArgs() argument
136 assert(!(ElemSizeArg == 0 && NumElemsArg && *NumElemsArg == 0) && in getWithAllocSizeArgs()
138 return get(Context, AllocSize, packAllocSizeArgs(ElemSizeArg, NumElemsArg)); in getWithAllocSizeArgs()
1051 unsigned ElemSizeArg, in addAllocSizeAttr() argument
1054 B.addAllocSizeAttr(ElemSizeArg, NumElemsArg); in addAllocSizeAttr()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DAttributes.cpp59 static uint64_t packAllocSizeArgs(unsigned ElemSizeArg, in packAllocSizeArgs() argument
65 return uint64_t(ElemSizeArg) << 32 | in packAllocSizeArgs()
72 unsigned ElemSizeArg = Num >> 32; in unpackAllocSizeArgs() local
77 return std::make_pair(ElemSizeArg, NumElemsArg); in unpackAllocSizeArgs()
172 Attribute::getWithAllocSizeArgs(LLVMContext &Context, unsigned ElemSizeArg, in getWithAllocSizeArgs() argument
174 assert(!(ElemSizeArg == 0 && NumElemsArg && *NumElemsArg == 0) && in getWithAllocSizeArgs()
176 return get(Context, AllocSize, packAllocSizeArgs(ElemSizeArg, NumElemsArg)); in getWithAllocSizeArgs()
1276 unsigned ElemSizeArg, in addAllocSizeAttr() argument
1279 B.addAllocSizeAttr(ElemSizeArg, NumElemsArg); in addAllocSizeAttr()
/external/llvm-project/llvm/lib/IR/
DAttributes.cpp60 static uint64_t packAllocSizeArgs(unsigned ElemSizeArg, in packAllocSizeArgs() argument
66 return uint64_t(ElemSizeArg) << 32 | in packAllocSizeArgs()
73 unsigned ElemSizeArg = Num >> 32; in unpackAllocSizeArgs() local
78 return std::make_pair(ElemSizeArg, NumElemsArg); in unpackAllocSizeArgs()
188 Attribute::getWithAllocSizeArgs(LLVMContext &Context, unsigned ElemSizeArg, in getWithAllocSizeArgs() argument
190 assert(!(ElemSizeArg == 0 && NumElemsArg && *NumElemsArg == 0) && in getWithAllocSizeArgs()
192 return get(Context, AllocSize, packAllocSizeArgs(ElemSizeArg, NumElemsArg)); in getWithAllocSizeArgs()
1412 unsigned ElemSizeArg, in addAllocSizeAttr() argument
1415 B.addAllocSizeAttr(ElemSizeArg, NumElemsArg); in addAllocSizeAttr()
/external/llvm/lib/AsmParser/
DLLParser.h246 bool parseAllocSizeArguments(unsigned &ElemSizeArg,
DLLParser.cpp1052 unsigned ElemSizeArg; in ParseFnAttributeValuePairs() local
1055 if (parseAllocSizeArguments(ElemSizeArg, NumElemsArg)) in ParseFnAttributeValuePairs()
1057 B.addAllocSizeAttr(ElemSizeArg, NumElemsArg); in ParseFnAttributeValuePairs()
/external/llvm-project/llvm/lib/AsmParser/
DLLParser.cpp1331 unsigned ElemSizeArg; 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/
DLLParser.cpp1261 unsigned ElemSizeArg; in ParseFnAttributeValuePairs() local
1264 if (parseAllocSizeArguments(ElemSizeArg, NumElemsArg)) in ParseFnAttributeValuePairs()
1266 B.addAllocSizeAttr(ElemSizeArg, NumElemsArg); in ParseFnAttributeValuePairs()