Searched refs:SizeArg (Results 1 – 7 of 7) sorted by relevance
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Coroutines/ |
H A D | CoroInstr.h | 236 enum { SizeArg, AlignArg, StorageArg, PrototypeArg, AllocArg, DeallocArg }; enumerator 242 return cast<ConstantInt>(getArgOperand(SizeArg))->getZExtValue(); in getStorageSize() 309 enum { SizeArg, AlignArg, StorageArg, AsyncFuncPtrArg }; enumerator 318 return cast<ConstantInt>(getArgOperand(SizeArg))->getZExtValue(); in getStorageSize() 740 enum { SizeArg, AlignArg }; enumerator 743 return getArgOperand(SizeArg); in getSize()
|
H A D | Coroutines.cpp | 589 checkConstantInt(this, getArgOperand(SizeArg), in checkWellFormed() 605 checkConstantInt(this, getArgOperand(SizeArg), in checkWellFormed()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
H A D | R600OpenCLImageTypeLoweringPass.cpp | 237 Argument &SizeArg = *(++ArgI); in replaceImageAndSamplerUses() local 239 Modified |= replaceImageUses(Arg, ResourceID, SizeArg, FormatArg); in replaceImageAndSamplerUses()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/WebAssembly/ |
H A D | WebAssemblyLowerEmscriptenEHSjLj.cpp | 546 auto [SizeArg, NEltArg] = *Args; in wrapInvoke() 547 SizeArg += 1; in wrapInvoke() 550 FnAttrs.addAllocSizeAttr(SizeArg, NEltArg); in wrapInvoke()
|
/freebsd/contrib/llvm-project/clang/lib/Sema/ |
H A D | SemaChecking.cpp | 1185 Expr *SizeArg = TheCall->getArg(NewIndex); in checkFortifiedBuiltinMemoryFunction() local 1186 if (!SizeArg->EvaluateAsInt(Result, getASTContext())) in checkFortifiedBuiltinMemoryFunction() 8584 const Expr *SizeArg = in CheckMemaccessSize() local 8597 if (isLiteralZero(SizeArg) && in CheckMemaccessSize() 8598 !isArgumentExpandedFromMacro(SM, CallLoc, SizeArg->getExprLoc())) { in CheckMemaccessSize() 8600 SourceLocation DiagLoc = SizeArg->getExprLoc(); in CheckMemaccessSize() 8864 const Expr *SizeArg = ignoreLiteralAdditions(Call->getArg(2), Context); in CheckStrlcpycatArguments() local 8867 if (CheckMemorySizeofForComparison(*this, SizeArg, FnName, in CheckStrlcpycatArguments() 8872 if (const Expr *Ex = getSizeOfExprArg(SizeArg)) in CheckStrlcpycatArguments() 8876 if (const CallExpr *SizeCall = dyn_cast<CallExpr>(SizeArg)) { in CheckStrlcpycatArguments()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/ |
H A D | AddressSanitizer.cpp | 3680 Value *SizeArg = ConstantInt::get(IntptrTy, Size); in poisonAlloca() local 3683 {AddrArg, SizeArg}); in poisonAlloca()
|
/freebsd/contrib/llvm-project/clang/lib/CodeGen/ |
H A D | CGOpenMPRuntime.cpp | 9090 ImplicitParamDecl SizeArg(C, /*DC=*/nullptr, Loc, /*Id=*/nullptr, Int64Ty, in emitUserDefinedMapper() local 9100 Args.push_back(&SizeArg); in emitUserDefinedMapper() 9119 MapperCGF.GetAddrOfLocalVar(&SizeArg), /*Volatile=*/false, in emitUserDefinedMapper()
|