Home
last modified time | relevance | path

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

/freebsd-14.2/contrib/llvm-project/clang/lib/Sema/
H A DSemaChecking.cpp283 TheCall->setType(TheCall->getArg(0)->getType()); in SemaBuiltinPreserveAI()
456 CallExpr *TheCall; member
463 : S(S), TheCall(TheCall), ErrorTracker(S.getDiagnostics()), in BuiltinDumpStructGenerator()
487 Args.assign(TheCall->arg_begin() + 2, TheCall->arg_end());
1111 if (TheCall->isValueDependent() || TheCall->isTypeDependent() || in checkFortifiedBuiltinMemoryFunction()
1403 DiagRuntimeBehavior(TheCall->getBeginLoc(), TheCall, in checkFortifiedBuiltinMemoryFunction()
1424 DiagRuntimeBehavior(TheCall->getBeginLoc(), TheCall, in checkFortifiedBuiltinMemoryFunction()
2031 return TheCall; in SemaBuiltinLaunder()
7812 MultiExprArg Args{TheCall->getArgs(), TheCall->getNumArgs()}; in SemaAtomicOpsOverloaded()
9547 TheCall->setType(TheCall->getArg(0)->getType()); in SemaBuiltinArithmeticFence()
[all …]
H A DSemaOverload.cpp14281 if (CheckFunctionCall(FnDecl, TheCall, in CreateOverloadedUnaryOp()
14675 CallExpr *TheCall; in CreateOverloadedBinOp() local
14681 TheCall = CXXOperatorCallExpr::Create( in CreateOverloadedBinOp()
15124 if (CheckFunctionCall(Method, TheCall, in CreateOverloadedArraySubscriptExpr()
15438 CallExpr *TheCall = nullptr; in BuildCallToMemberFunction() local
15450 TheCall = in BuildCallToMemberFunction()
15469 TheCall, Method)) in BuildCallToMemberFunction()
15479 if (CheckFunctionCall(Method, TheCall, Proto)) in BuildCallToMemberFunction()
15794 if (CheckFunctionCall(Method, TheCall, Proto)) in BuildCallToObjectOfClassType()
15915 CallExpr *TheCall = in BuildOverloadedArrowExpr() local
[all …]
H A DSemaExprCXX.cpp3861 SmallVector<Expr *, 8> Args(TheCall->arguments()); in resolveBuiltinNewDeleteOverload()
3883 SourceRange Range = TheCall->getSourceRange(); in resolveBuiltinNewDeleteOverload()
3936 CallExpr *TheCall = cast<CallExpr>(TheCallResult.get()); in SemaBuiltinOperatorNewDeleteOverloaded() local
3938 Diag(TheCall->getExprLoc(), diag::err_builtin_requires_language) in SemaBuiltinOperatorNewDeleteOverloaded()
3948 if (resolveBuiltinNewDeleteOverload(*this, TheCall, IsDelete, in SemaBuiltinOperatorNewDeleteOverloaded()
3953 DiagnoseUseOfDecl(OperatorNewOrDelete, TheCall->getExprLoc()); in SemaBuiltinOperatorNewDeleteOverloaded()
3956 TheCall->setType(OperatorNewOrDelete->getReturnType()); in SemaBuiltinOperatorNewDeleteOverloaded()
3957 for (unsigned i = 0; i != TheCall->getNumArgs(); ++i) { in SemaBuiltinOperatorNewDeleteOverloaded()
3962 Entity, TheCall->getArg(i)->getBeginLoc(), TheCall->getArg(i)); in SemaBuiltinOperatorNewDeleteOverloaded()
3965 TheCall->setArg(i, Arg.get()); in SemaBuiltinOperatorNewDeleteOverloaded()
[all …]
H A DSemaExpr.cpp7556 CallExpr *TheCall; in BuildResolvedCallExpr() local
7564 TheCall = in BuildResolvedCallExpr()
7572 TheCall->shrinkNumArgs(Args.size()); in BuildResolvedCallExpr()
7579 CallExpr *TheOldCall = TheCall; in BuildResolvedCallExpr()
7582 if (!TheCall) return Result; in BuildResolvedCallExpr()
7583 Args = llvm::ArrayRef(TheCall->getArgs(), TheCall->getNumArgs()); in BuildResolvedCallExpr()
7591 TheCall = CUDAKernelCallExpr::Create( in BuildResolvedCallExpr()
7595 TheCall = in BuildResolvedCallExpr()
7715 TheCall->setArg(i, Arg); in BuildResolvedCallExpr()
7717 TheCall->computeDependence(); in BuildResolvedCallExpr()
[all …]
H A DTreeTransform.h3864 ExprResult TheCall = CallExpr::Create( in RebuildShuffleVectorExpr() local
3870 return SemaRef.SemaBuiltinShuffleVector(cast<CallExpr>(TheCall.get())); in RebuildShuffleVectorExpr()
/freebsd-14.2/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DMallocOverflowSecurityChecker.cpp53 const CallExpr *TheCall, ASTContext &Context) const;
69 const CallExpr *TheCall, ASTContext &Context) const { in CheckMallocArgument() argument
76 const Expr *e = TheCall->getArg(0); in CheckMallocArgument()
120 MallocOverflowCheck(TheCall, mulop, e, maxVal)); in CheckMallocArgument()
309 if (const CallExpr *TheCall = dyn_cast<CallExpr>(CS->getStmt())) { in checkASTCodeBody() local
311 const FunctionDecl *FD = TheCall->getDirectCallee(); in checkASTCodeBody()
323 if (TheCall->getNumArgs() == 1) in checkASTCodeBody()
324 CheckMallocArgument(PossibleMallocOverflows, TheCall, in checkASTCodeBody()
/freebsd-14.2/contrib/llvm-project/clang/include/clang/Sema/
H A DSema.h13889 bool ParseSVEImmChecks(CallExpr *TheCall,
13907 CallExpr *TheCall);
13940 bool SemaBuiltinComplex(CallExpr *TheCall);
13941 bool SemaBuiltinVSX(CallExpr *TheCall);
13953 bool SemaBuiltinPrefetch(CallExpr *TheCall);
13956 bool SemaBuiltinAssume(CallExpr *TheCall);
13958 bool SemaBuiltinLongjmp(CallExpr *TheCall);
13959 bool SemaBuiltinSetjmp(CallExpr *TheCall);
14004 bool BuiltinWasmTableGet(CallExpr *TheCall);
14005 bool BuiltinWasmTableSet(CallExpr *TheCall);
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DCodeExtractor.cpp1102 CallInst *TheCall) { in insertLifetimeMarkersSurroundingCall() argument
1105 Instruction *Term = TheCall->getParent()->getTerminator(); in insertLifetimeMarkersSurroundingCall()
1113 TheCall->getFunction()) && in insertLifetimeMarkersSurroundingCall()
1119 Marker->insertBefore(TheCall); in insertLifetimeMarkersSurroundingCall()
1526 CallInst &TheCall) { in fixupDebugInfoPostExtraction() argument
1670 if (!TheCall.getDebugLoc()) in fixupDebugInfoPostExtraction()
1671 TheCall.setDebugLoc(DILocation::get(Ctx, 0, 0, OldSP)); in fixupDebugInfoPostExtraction()
1834 CallInst *TheCall = in extractCodeRegion() local
1842 oldFunction->getParent(), LifetimesStart.getArrayRef(), {}, TheCall); in extractCodeRegion()
1879 fixupDebugInfoPostExtraction(*oldFunction, *newFunction, *TheCall); in extractCodeRegion()
H A DInlineFunction.cpp1549 Instruction *TheCall, in HandleByValArgument() argument
1553 Function *Caller = TheCall->getFunction(); in HandleByValArgument()
1571 if (getOrEnforceKnownAlignment(Arg, *ByValAlignment, DL, TheCall, AC) >= in HandleByValArgument()
1646 Instruction *TheCall, bool CalleeHasDebugInfo) { in fixupLineNumbers() argument
1647 const DebugLoc &TheCallDL = TheCall->getDebugLoc(); in fixupLineNumbers()
1882 const CallBase &TheCall, ProfileSummaryInfo *PSI, in updateCallProfile() argument
1887 PSI ? PSI->getProfileCount(TheCall, CallerBFI) : std::nullopt; in updateCallProfile()
/freebsd-14.2/contrib/llvm-project/clang/lib/CodeGen/
H A DCGExprCXX.cpp1354 const CallExpr *TheCall, in EmitBuiltinNewDeleteCall() argument
1357 EmitCallArgs(Args, Type, TheCall->arguments()); in EmitBuiltinNewDeleteCall()
H A DCGObjC.cpp3777 CXXOperatorCallExpr *TheCall = CXXOperatorCallExpr::Create( in GenerateObjCAtomicSetterCopyHelperFunction() local
3781 EmitStmt(TheCall); in GenerateObjCAtomicSetterCopyHelperFunction()