| /freebsd-13.1/contrib/llvm-project/clang/lib/Sema/ |
| H A D | SemaChecking.cpp | 156 TheCall->setType(Ty); in SemaBuiltinAnnotation() 204 TheCall->setType(TheCall->getArg(0)->getType()); in SemaBuiltinPreserveAI() 599 if (TheCall->isValueDependent() || TheCall->isTypeDependent() || in checkFortifiedBuiltinMemoryFunction() 773 DiagRuntimeBehavior(TheCall->getBeginLoc(), TheCall, in checkFortifiedBuiltinMemoryFunction() 1375 return TheCall; in SemaBuiltinLaunder() 1874 TheCall)) in CheckBuiltinFunctionCall() 5125 MultiExprArg Args{TheCall->getArgs(), TheCall->getNumArgs()}; in SemaAtomicOpsOverloaded() 6680 TheCall->setType(TheCall->getArg(0)->getType()); in SemaBuiltinArithmeticFence() 6895 DiagRuntimeBehavior(TheCall->getBeginLoc(), TheCall, in SemaBuiltinConstantArgRange() 16570 TheCall->setType( in SemaBuiltinMatrixColumnMajorLoad() [all …]
|
| H A D | SemaOverload.cpp | 13351 if (CheckFunctionCall(FnDecl, TheCall, in CreateOverloadedUnaryOp() 13735 ExprResult R = MaybeBindToTemporary(TheCall); in CreateOverloadedBinOp() 14095 if (CheckFunctionCall(Method, TheCall, in CreateOverloadedArraySubscriptExpr() 14099 return MaybeBindToTemporary(TheCall); in CreateOverloadedArraySubscriptExpr() 14383 TheCall, Method)) in BuildCallToMemberFunction() 14405 if (CheckFunctionCall(Method, TheCall, Proto)) in BuildCallToMemberFunction() 14426 TheCall->getMethodDecl()->isPure()) { in BuildCallToMemberFunction() 14731 if (CheckFunctionCall(Method, TheCall, Proto)) in BuildCallToObjectOfClassType() 14842 CXXOperatorCallExpr *TheCall = in BuildOverloadedArrowExpr() local 14849 if (CheckFunctionCall(Method, TheCall, in BuildOverloadedArrowExpr() [all …]
|
| H A D | SemaExprCXX.cpp | 3702 SmallVector<Expr *, 8> Args(TheCall->arg_begin(), TheCall->arg_end()); in resolveBuiltinNewDeleteOverload() 3724 SourceRange Range = TheCall->getSourceRange(); in resolveBuiltinNewDeleteOverload() 3777 CallExpr *TheCall = cast<CallExpr>(TheCallResult.get()); in SemaBuiltinOperatorNewDeleteOverloaded() local 3779 Diag(TheCall->getExprLoc(), diag::err_builtin_requires_language) in SemaBuiltinOperatorNewDeleteOverloaded() 3789 if (resolveBuiltinNewDeleteOverload(*this, TheCall, IsDelete, in SemaBuiltinOperatorNewDeleteOverloaded() 3794 DiagnoseUseOfDecl(OperatorNewOrDelete, TheCall->getExprLoc()); in SemaBuiltinOperatorNewDeleteOverloaded() 3797 TheCall->setType(OperatorNewOrDelete->getReturnType()); in SemaBuiltinOperatorNewDeleteOverloaded() 3798 for (unsigned i = 0; i != TheCall->getNumArgs(); ++i) { in SemaBuiltinOperatorNewDeleteOverloaded() 3803 Entity, TheCall->getArg(i)->getBeginLoc(), TheCall->getArg(i)); in SemaBuiltinOperatorNewDeleteOverloaded() 3806 TheCall->setArg(i, Arg.get()); in SemaBuiltinOperatorNewDeleteOverloaded() [all …]
|
| H A D | SemaExpr.cpp | 6732 CallExpr *TheCall; in BuildResolvedCallExpr() local 6740 TheCall = in BuildResolvedCallExpr() 6748 TheCall->shrinkNumArgs(Args.size()); in BuildResolvedCallExpr() 6755 CallExpr *TheOldCall = TheCall; in BuildResolvedCallExpr() 6758 if (!TheCall) return Result; in BuildResolvedCallExpr() 6759 Args = llvm::makeArrayRef(TheCall->getArgs(), TheCall->getNumArgs()); in BuildResolvedCallExpr() 6767 TheCall = CUDAKernelCallExpr::Create( in BuildResolvedCallExpr() 6771 TheCall = in BuildResolvedCallExpr() 6864 TheCall->setArg(i, Arg); in BuildResolvedCallExpr() 6866 TheCall->computeDependence(); in BuildResolvedCallExpr() [all …]
|
| H A D | TreeTransform.h | 3622 ExprResult TheCall = CallExpr::Create( in RebuildShuffleVectorExpr() local 3628 return SemaRef.SemaBuiltinShuffleVector(cast<CallExpr>(TheCall.get())); in RebuildShuffleVectorExpr()
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
| H A D | MallocOverflowSecurityChecker.cpp | 311 if (const CallExpr *TheCall = dyn_cast<CallExpr>(CS->getStmt())) { in checkASTCodeBody() local 313 const FunctionDecl *FD = TheCall->getDirectCallee(); in checkASTCodeBody() 324 if (TheCall->getNumArgs() == 1) in checkASTCodeBody() 325 CheckMallocArgument(PossibleMallocOverflows, TheCall->getArg(0), in checkASTCodeBody()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
| H A D | CodeExtractor.cpp | 1071 CallInst *TheCall) { in insertLifetimeMarkersSurroundingCall() argument 1075 Instruction *Term = TheCall->getParent()->getTerminator(); in insertLifetimeMarkersSurroundingCall() 1087 TheCall->getFunction()) && in insertLifetimeMarkersSurroundingCall() 1095 CastInst::CreatePointerCast(Mem, Int8PtrTy, "lt.cast", TheCall); in insertLifetimeMarkersSurroundingCall() 1100 Marker->insertBefore(TheCall); in insertLifetimeMarkersSurroundingCall() 1467 CallInst &TheCall) { in fixupDebugInfoPostExtraction() argument 1564 if (!TheCall.getDebugLoc()) in fixupDebugInfoPostExtraction() 1565 TheCall.setDebugLoc(DILocation::get(Ctx, 0, 0, OldSP)); in fixupDebugInfoPostExtraction() 1715 CallInst *TheCall = in extractCodeRegion() local 1723 oldFunction->getParent(), LifetimesStart.getArrayRef(), {}, TheCall); in extractCodeRegion() [all …]
|
| H A D | InlineFunction.cpp | 1396 static Value *HandleByValArgument(Value *Arg, Instruction *TheCall, in HandleByValArgument() argument 1403 Function *Caller = TheCall->getFunction(); in HandleByValArgument() 1421 if (getOrEnforceKnownAlignment(Arg, Align(ByValAlignment), DL, TheCall, in HandleByValArgument() 1495 Instruction *TheCall, bool CalleeHasDebugInfo) { in fixupLineNumbers() argument 1496 const DebugLoc &TheCallDL = TheCall->getDebugLoc(); in fixupLineNumbers() 1608 const CallBase &TheCall, ProfileSummaryInfo *PSI, in updateCallProfile() argument 1613 auto CallSiteCount = PSI ? PSI->getProfileCount(TheCall, CallerBFI) : None; in updateCallProfile()
|
| /freebsd-13.1/contrib/llvm-project/clang/include/clang/Sema/ |
| H A D | Sema.h | 12538 CallExpr *TheCall); 12563 CallExpr *TheCall); 12587 bool SemaBuiltinComplex(CallExpr *TheCall); 12588 bool SemaBuiltinVSX(CallExpr *TheCall); 12589 bool SemaBuiltinOSLogFormat(CallExpr *TheCall); 12600 bool SemaBuiltinPrefetch(CallExpr *TheCall); 12601 bool SemaBuiltinAllocaWithAlign(CallExpr *TheCall); 12603 bool SemaBuiltinAssume(CallExpr *TheCall); 12604 bool SemaBuiltinAssumeAligned(CallExpr *TheCall); 12605 bool SemaBuiltinLongjmp(CallExpr *TheCall); [all …]
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/CodeGen/ |
| H A D | CGExprCXX.cpp | 1337 const CallExpr *TheCall, in EmitBuiltinNewDeleteCall() argument 1340 EmitCallArgs(Args, Type, TheCall->arguments()); in EmitBuiltinNewDeleteCall()
|
| H A D | CGObjC.cpp | 3742 CXXOperatorCallExpr *TheCall = CXXOperatorCallExpr::Create( in GenerateObjCAtomicSetterCopyHelperFunction() local 3746 EmitStmt(TheCall); in GenerateObjCAtomicSetterCopyHelperFunction()
|