Home
last modified time | relevance | path

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

/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/IR/
DAttributes.h104 unsigned ElemSizeArg,
497 unsigned ElemSizeArg,
503 unsigned ElemSizeArg,
505 return addAllocSizeAttr(C, ArgNo + FirstArgIndex, ElemSizeArg, NumElemsArg);
786 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/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-7.0/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()
151 Attribute::getWithAllocSizeArgs(LLVMContext &Context, unsigned ElemSizeArg, in getWithAllocSizeArgs() argument
153 assert(!(ElemSizeArg == 0 && NumElemsArg && *NumElemsArg == 0) && in getWithAllocSizeArgs()
155 return get(Context, AllocSize, packAllocSizeArgs(ElemSizeArg, NumElemsArg)); in getWithAllocSizeArgs()
1175 unsigned ElemSizeArg, in addAllocSizeAttr() argument
1178 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/swiftshader/third_party/llvm-7.0/llvm/lib/AsmParser/
DLLParser.cpp1223 unsigned ElemSizeArg; in ParseFnAttributeValuePairs() local
1226 if (parseAllocSizeArguments(ElemSizeArg, NumElemsArg)) in ParseFnAttributeValuePairs()
1228 B.addAllocSizeAttr(ElemSizeArg, NumElemsArg); in ParseFnAttributeValuePairs()