| /llvm-project-15.0.7/clang/lib/Sema/ |
| H A D | SemaChecking.cpp | 175 TheCall->setType(Ty); in SemaBuiltinAnnotation() 246 TheCall->setType(TheCall->getArg(0)->getType()); in SemaBuiltinPreserveAI() 391 CallExpr *TheCall; member 398 : S(S), TheCall(TheCall), ErrorTracker(S.getDiagnostics()), in BuiltinDumpStructGenerator() 422 Args.assign(TheCall->arg_begin() + 2, TheCall->arg_end()); 999 if (TheCall->isValueDependent() || TheCall->isTypeDependent() || in checkFortifiedBuiltinMemoryFunction() 1301 DiagRuntimeBehavior(TheCall->getBeginLoc(), TheCall, in checkFortifiedBuiltinMemoryFunction() 1908 return TheCall; in SemaBuiltinLaunder() 6004 MultiExprArg Args{TheCall->getArgs(), TheCall->getNumArgs()}; in SemaAtomicOpsOverloaded() 7591 TheCall->setType(TheCall->getArg(0)->getType()); in SemaBuiltinArithmeticFence() [all …]
|
| H A D | SemaOverload.cpp | 13515 CallExpr *TheCall = CXXOperatorCallExpr::Create( in CreateOverloadedUnaryOp() local 13522 if (CheckFunctionCall(FnDecl, TheCall, in CreateOverloadedUnaryOp() 13906 ExprResult R = MaybeBindToTemporary(TheCall); in CreateOverloadedBinOp() 14304 if (CheckFunctionCall(Method, TheCall, in CreateOverloadedArraySubscriptExpr() 14602 TheCall, Method)) in BuildCallToMemberFunction() 14624 if (CheckFunctionCall(Method, TheCall, Proto)) in BuildCallToMemberFunction() 14645 TheCall->getMethodDecl()->isPure()) { in BuildCallToMemberFunction() 14646 const CXXMethodDecl *MD = TheCall->getMethodDecl(); in BuildCallToMemberFunction() 14917 if (CheckFunctionCall(Method, TheCall, Proto)) in BuildCallToObjectOfClassType() 15028 CXXOperatorCallExpr *TheCall = in BuildOverloadedArrowExpr() local [all …]
|
| H A D | SemaExprCXX.cpp | 3748 SmallVector<Expr *, 8> Args(TheCall->arguments()); in resolveBuiltinNewDeleteOverload() 3770 SourceRange Range = TheCall->getSourceRange(); in resolveBuiltinNewDeleteOverload() 3823 CallExpr *TheCall = cast<CallExpr>(TheCallResult.get()); in SemaBuiltinOperatorNewDeleteOverloaded() local 3825 Diag(TheCall->getExprLoc(), diag::err_builtin_requires_language) in SemaBuiltinOperatorNewDeleteOverloaded() 3835 if (resolveBuiltinNewDeleteOverload(*this, TheCall, IsDelete, in SemaBuiltinOperatorNewDeleteOverloaded() 3840 DiagnoseUseOfDecl(OperatorNewOrDelete, TheCall->getExprLoc()); in SemaBuiltinOperatorNewDeleteOverloaded() 3843 TheCall->setType(OperatorNewOrDelete->getReturnType()); in SemaBuiltinOperatorNewDeleteOverloaded() 3844 for (unsigned i = 0; i != TheCall->getNumArgs(); ++i) { in SemaBuiltinOperatorNewDeleteOverloaded() 3849 Entity, TheCall->getArg(i)->getBeginLoc(), TheCall->getArg(i)); in SemaBuiltinOperatorNewDeleteOverloaded() 3852 TheCall->setArg(i, Arg.get()); in SemaBuiltinOperatorNewDeleteOverloaded() [all …]
|
| H A D | SemaExpr.cpp | 7011 CallExpr *TheCall; in BuildResolvedCallExpr() local 7019 TheCall = in BuildResolvedCallExpr() 7027 TheCall->shrinkNumArgs(Args.size()); in BuildResolvedCallExpr() 7034 CallExpr *TheOldCall = TheCall; in BuildResolvedCallExpr() 7037 if (!TheCall) return Result; in BuildResolvedCallExpr() 7038 Args = llvm::makeArrayRef(TheCall->getArgs(), TheCall->getNumArgs()); in BuildResolvedCallExpr() 7046 TheCall = CUDAKernelCallExpr::Create( in BuildResolvedCallExpr() 7050 TheCall = in BuildResolvedCallExpr() 7160 TheCall->setArg(i, Arg); in BuildResolvedCallExpr() 7162 TheCall->computeDependence(); in BuildResolvedCallExpr() [all …]
|
| H A D | TreeTransform.h | 3685 ExprResult TheCall = CallExpr::Create( in RebuildShuffleVectorExpr() local 3691 return SemaRef.SemaBuiltinShuffleVector(cast<CallExpr>(TheCall.get())); in RebuildShuffleVectorExpr()
|
| /llvm-project-15.0.7/clang/lib/StaticAnalyzer/Checkers/ |
| H A D | MallocOverflowSecurityChecker.cpp | 52 const CallExpr *TheCall, ASTContext &Context) const; 68 const CallExpr *TheCall, ASTContext &Context) const { in CheckMallocArgument() argument 75 const Expr *e = TheCall->getArg(0); in CheckMallocArgument() 119 MallocOverflowCheck(TheCall, mulop, e, maxVal)); in CheckMallocArgument() 312 if (const CallExpr *TheCall = dyn_cast<CallExpr>(CS->getStmt())) { in checkASTCodeBody() local 314 const FunctionDecl *FD = TheCall->getDirectCallee(); in checkASTCodeBody() 325 if (TheCall->getNumArgs() == 1) in checkASTCodeBody() 326 CheckMallocArgument(PossibleMallocOverflows, TheCall, in checkASTCodeBody()
|
| /llvm-project-15.0.7/llvm/lib/Transforms/Utils/ |
| H A D | CodeExtractor.cpp | 1092 CallInst *TheCall) { in insertLifetimeMarkersSurroundingCall() argument 1096 Instruction *Term = TheCall->getParent()->getTerminator(); in insertLifetimeMarkersSurroundingCall() 1108 TheCall->getFunction()) && in insertLifetimeMarkersSurroundingCall() 1116 CastInst::CreatePointerCast(Mem, Int8PtrTy, "lt.cast", TheCall); in insertLifetimeMarkersSurroundingCall() 1121 Marker->insertBefore(TheCall); in insertLifetimeMarkersSurroundingCall() 1523 CallInst &TheCall) { in fixupDebugInfoPostExtraction() argument 1620 if (!TheCall.getDebugLoc()) in fixupDebugInfoPostExtraction() 1621 TheCall.setDebugLoc(DILocation::get(Ctx, 0, 0, OldSP)); in fixupDebugInfoPostExtraction() 1785 CallInst *TheCall = in extractCodeRegion() local 1793 oldFunction->getParent(), LifetimesStart.getArrayRef(), {}, TheCall); in extractCodeRegion() [all …]
|
| H A D | InlineFunction.cpp | 1423 Instruction *TheCall, in HandleByValArgument() argument 1429 Function *Caller = TheCall->getFunction(); in HandleByValArgument() 1447 if (getOrEnforceKnownAlignment(Arg, Align(ByValAlignment), DL, TheCall, in HandleByValArgument() 1522 Instruction *TheCall, bool CalleeHasDebugInfo) { in fixupLineNumbers() argument 1523 const DebugLoc &TheCallDL = TheCall->getDebugLoc(); in fixupLineNumbers() 1635 const CallBase &TheCall, ProfileSummaryInfo *PSI, in updateCallProfile() argument 1639 auto CallSiteCount = PSI ? PSI->getProfileCount(TheCall, CallerBFI) : None; in updateCallProfile()
|
| /llvm-project-15.0.7/clang/include/clang/Sema/ |
| H A D | Sema.h | 13076 CallExpr *TheCall); 13101 CallExpr *TheCall); 13125 bool SemaBuiltinComplex(CallExpr *TheCall); 13126 bool SemaBuiltinVSX(CallExpr *TheCall); 13127 bool SemaBuiltinOSLogFormat(CallExpr *TheCall); 13138 bool SemaBuiltinPrefetch(CallExpr *TheCall); 13139 bool SemaBuiltinAllocaWithAlign(CallExpr *TheCall); 13141 bool SemaBuiltinAssume(CallExpr *TheCall); 13142 bool SemaBuiltinAssumeAligned(CallExpr *TheCall); 13143 bool SemaBuiltinLongjmp(CallExpr *TheCall); [all …]
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/modernize/ |
| H A D | LoopConvertCheck.cpp | 307 const auto *TheCall = dyn_cast_or_null<CXXMemberCallExpr>( in getContainerFromBeginEndCall() local 309 if (!TheCall || TheCall->getNumArgs() != 0) in getContainerFromBeginEndCall() 312 const auto *Member = dyn_cast<MemberExpr>(TheCall->getCallee()); in getContainerFromBeginEndCall()
|
| /llvm-project-15.0.7/clang/lib/CodeGen/ |
| H A D | CGExprCXX.cpp | 1332 const CallExpr *TheCall, in EmitBuiltinNewDeleteCall() argument 1335 EmitCallArgs(Args, Type, TheCall->arguments()); in EmitBuiltinNewDeleteCall()
|
| H A D | CGObjC.cpp | 3739 CXXOperatorCallExpr *TheCall = CXXOperatorCallExpr::Create( in GenerateObjCAtomicSetterCopyHelperFunction() local 3743 EmitStmt(TheCall); in GenerateObjCAtomicSetterCopyHelperFunction()
|