Home
last modified time | relevance | path

Searched refs:SizeArg (Results 1 – 6 of 6) sorted by relevance

/freebsd/contrib/llvm-project/llvm/include/llvm/Transforms/Coroutines/
H A DCoroInstr.h238 enum { SizeArg, AlignArg, StorageArg, PrototypeArg, AllocArg, DeallocArg }; enumerator
244 return cast<ConstantInt>(getArgOperand(SizeArg))->getZExtValue(); in getStorageSize()
307 enum { SizeArg, AlignArg, StorageArg, AsyncFuncPtrArg }; enumerator
316 return cast<ConstantInt>(getArgOperand(SizeArg))->getZExtValue(); in getStorageSize()
747 enum { SizeArg, AlignArg }; enumerator
750 Value *getSize() const { return getArgOperand(SizeArg); } in getSize()
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DR600OpenCLImageTypeLoweringPass.cpp237 Argument &SizeArg = *(++ArgI); in replaceImageAndSamplerUses() local
239 Modified |= replaceImageUses(Arg, ResourceID, SizeArg, FormatArg); in replaceImageAndSamplerUses()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Coroutines/
H A DCoroutines.cpp638 checkConstantInt(this, getArgOperand(SizeArg), in checkWellFormed()
654 checkConstantInt(this, getArgOperand(SizeArg), in checkWellFormed()
/freebsd/contrib/llvm-project/llvm/lib/Target/WebAssembly/
H A DWebAssemblyLowerEmscriptenEHSjLj.cpp550 auto [SizeArg, NEltArg] = *Args; in wrapInvoke()
551 SizeArg += 1; in wrapInvoke()
554 FnAttrs.addAllocSizeAttr(SizeArg, NEltArg); in wrapInvoke()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaChecking.cpp1186 Expr *SizeArg = TheCall->getArg(NewIndex); in checkFortifiedBuiltinMemoryFunction() local
1187 if (!SizeArg->EvaluateAsInt(Result, getASTContext())) in checkFortifiedBuiltinMemoryFunction()
9730 const Expr *SizeArg = in CheckMemaccessSize() local
9743 if (isLiteralZero(SizeArg) && in CheckMemaccessSize()
9744 !isArgumentExpandedFromMacro(SM, CallLoc, SizeArg->getExprLoc())) { in CheckMemaccessSize()
9746 SourceLocation DiagLoc = SizeArg->getExprLoc(); in CheckMemaccessSize()
10033 const Expr *SizeArg = ignoreLiteralAdditions(Call->getArg(2), Context); in CheckStrlcpycatArguments() local
10036 if (CheckMemorySizeofForComparison(*this, SizeArg, FnName, in CheckStrlcpycatArguments()
10041 if (const Expr *Ex = getSizeOfExprArg(SizeArg)) in CheckStrlcpycatArguments()
10045 if (const CallExpr *SizeCall = dyn_cast<CallExpr>(SizeArg)) { in CheckStrlcpycatArguments()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/
H A DAddressSanitizer.cpp3761 Value *SizeArg = ConstantInt::get(IntptrTy, Size); in poisonAlloca() local
3764 {AddrArg, SizeArg}); in poisonAlloca()