/external/llvm-project/clang-tools-extra/clang-tidy/cppcoreguidelines/ |
D | ProBoundsConstantArrayIndexCheck.cpp | 110 const auto &SizeArg = TemplateArgs[1]; in check() local 111 if (SizeArg.getKind() != TemplateArgument::Integral) in check() 113 llvm::APInt ArraySize = SizeArg.getAsIntegral(); in check()
|
/external/llvm-project/llvm/lib/Transforms/Coroutines/ |
D | CoroInstr.h | 205 enum { SizeArg, AlignArg, StorageArg, PrototypeArg, AllocArg, DeallocArg }; enumerator 211 return cast<ConstantInt>(getArgOperand(SizeArg))->getZExtValue(); in getStorageSize() 278 enum { SizeArg, AlignArg, StorageArg, AsyncFuncPtrArg }; enumerator 287 return cast<ConstantInt>(getArgOperand(SizeArg))->getZExtValue(); in getStorageSize() 601 enum { SizeArg, AlignArg }; enumerator 604 return getArgOperand(SizeArg); in getSize()
|
D | Coroutines.cpp | 659 checkConstantInt(this, getArgOperand(SizeArg), in checkWellFormed() 686 checkConstantInt(this, getArgOperand(SizeArg), in checkWellFormed()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Coroutines/ |
D | CoroInstr.h | 205 enum { SizeArg, AlignArg, StorageArg, PrototypeArg, AllocArg, DeallocArg }; enumerator 211 return cast<ConstantInt>(getArgOperand(SizeArg))->getZExtValue(); in getStorageSize() 461 enum { SizeArg, AlignArg }; enumerator 464 return getArgOperand(SizeArg); in getSize()
|
D | Coroutines.cpp | 628 checkConstantInt(this, getArgOperand(SizeArg), in checkWellFormed()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/ |
D | R600OpenCLImageTypeLoweringPass.cpp | 251 Argument &SizeArg = *(++ArgI); in replaceImageAndSamplerUses() local 253 Modified |= replaceImageUses(Arg, ResourceID, SizeArg, FormatArg); in replaceImageAndSamplerUses()
|
/external/llvm/lib/Target/AMDGPU/ |
D | AMDGPUOpenCLImageTypeLoweringPass.cpp | 235 Argument &SizeArg = *(++ArgI); in replaceImageAndSamplerUses() local 237 Modified |= replaceImageUses(Arg, ResourceID, SizeArg, FormatArg); in replaceImageAndSamplerUses()
|
/external/llvm-project/llvm/lib/Target/AMDGPU/ |
D | R600OpenCLImageTypeLoweringPass.cpp | 251 Argument &SizeArg = *(++ArgI); in replaceImageAndSamplerUses() local 253 Modified |= replaceImageUses(Arg, ResourceID, SizeArg, FormatArg); in replaceImageAndSamplerUses()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/WebAssembly/ |
D | WebAssemblyLowerEmscriptenEHSjLj.cpp | 420 unsigned SizeArg; in wrapInvoke() local 422 std::tie(SizeArg, NEltArg) = FnAttrs.getAllocSizeArgs(); in wrapInvoke() 423 SizeArg += 1; in wrapInvoke() 426 FnAttrs.addAllocSizeAttr(SizeArg, NEltArg); in wrapInvoke()
|
/external/llvm-project/llvm/lib/Target/WebAssembly/ |
D | WebAssemblyLowerEmscriptenEHSjLj.cpp | 442 unsigned SizeArg; in wrapInvoke() local 444 std::tie(SizeArg, NEltArg) = FnAttrs.getAllocSizeArgs(); in wrapInvoke() 445 SizeArg += 1; in wrapInvoke() 448 FnAttrs.addAllocSizeAttr(SizeArg, NEltArg); in wrapInvoke()
|
/external/llvm/lib/Transforms/Instrumentation/ |
D | AddressSanitizer.cpp | 2250 Value *SizeArg = ConstantInt::get(IntptrTy, Size); in poisonAlloca() local 2253 {AddrArg, SizeArg}); in poisonAlloca()
|
/external/llvm-project/clang/lib/Sema/ |
D | SemaChecking.cpp | 726 Expr *SizeArg = TheCall->getArg(ObjectIndex); in checkFortifiedBuiltinMemoryFunction() local 727 if (!SizeArg->EvaluateAsInt(Result, getASTContext())) in checkFortifiedBuiltinMemoryFunction() 9799 const Expr *SizeArg = in CheckMemaccessSize() local 9809 if (isLiteralZero(SizeArg) && in CheckMemaccessSize() 9810 !isArgumentExpandedFromMacro(SM, CallLoc, SizeArg->getExprLoc())) { in CheckMemaccessSize() 9812 SourceLocation DiagLoc = SizeArg->getExprLoc(); in CheckMemaccessSize() 10085 const Expr *SizeArg = ignoreLiteralAdditions(Call->getArg(2), Context); in CheckStrlcpycatArguments() local 10088 if (CheckMemorySizeofForComparison(*this, SizeArg, FnName, in CheckStrlcpycatArguments() 10093 if (const Expr *Ex = getSizeOfExprArg(SizeArg)) in CheckStrlcpycatArguments() 10097 if (const CallExpr *SizeCall = dyn_cast<CallExpr>(SizeArg)) { in CheckStrlcpycatArguments()
|
/external/clang/lib/Sema/ |
D | SemaChecking.cpp | 158 const Expr *SizeArg = TheCall->getArg(SizeIdx); in SemaBuiltinMemChkCall() local 164 if (!SizeArg->EvaluateAsInt(Size, S.Context) || in SemaBuiltinMemChkCall() 6331 const Expr *SizeArg = ignoreLiteralAdditions(Call->getArg(2), Context); in CheckStrlcpycatArguments() local 6334 if (CheckMemorySizeofForComparison(*this, SizeArg, FnName, in CheckStrlcpycatArguments() 6339 if (const Expr *Ex = getSizeOfExprArg(SizeArg)) in CheckStrlcpycatArguments() 6343 if (const CallExpr *SizeCall = dyn_cast<CallExpr>(SizeArg)) { in CheckStrlcpycatArguments()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Instrumentation/ |
D | AddressSanitizer.cpp | 3242 Value *SizeArg = ConstantInt::get(IntptrTy, Size); in poisonAlloca() local 3245 {AddrArg, SizeArg}); in poisonAlloca()
|
/external/llvm-project/llvm/lib/Transforms/Instrumentation/ |
D | AddressSanitizer.cpp | 3375 Value *SizeArg = ConstantInt::get(IntptrTy, Size); in poisonAlloca() local 3378 {AddrArg, SizeArg}); in poisonAlloca()
|
/external/llvm-project/clang/lib/CodeGen/ |
D | CGOpenMPRuntime.cpp | 9559 ImplicitParamDecl SizeArg(C, /*DC=*/nullptr, Loc, /*Id=*/nullptr, Int64Ty, in emitUserDefinedMapper() local 9567 Args.push_back(&SizeArg); in emitUserDefinedMapper() 9585 MapperCGF.GetAddrOfLocalVar(&SizeArg), /*Volatile=*/false, in emitUserDefinedMapper()
|