| /NextBSD/contrib/llvm/tools/clang/lib/Sema/ |
| HD | SemaChecking.cpp | 72 static bool SemaBuiltinAnnotation(Sema &S, CallExpr *TheCall) { in SemaBuiltinAnnotation() argument 73 if (checkArgCount(S, TheCall, 2)) in SemaBuiltinAnnotation() 77 Expr *ValArg = TheCall->getArg(0); in SemaBuiltinAnnotation() 86 Expr *StrArg = TheCall->getArg(1)->IgnoreParenCasts(); in SemaBuiltinAnnotation() 94 TheCall->setType(Ty); in SemaBuiltinAnnotation() 100 static bool SemaBuiltinAddressof(Sema &S, CallExpr *TheCall) { in SemaBuiltinAddressof() argument 101 if (checkArgCount(S, TheCall, 1)) in SemaBuiltinAddressof() 104 ExprResult Arg(TheCall->getArg(0)); in SemaBuiltinAddressof() 105 QualType ResultType = S.CheckAddressOfOperand(Arg, TheCall->getLocStart()); in SemaBuiltinAddressof() 109 TheCall->setArg(0, Arg.get()); in SemaBuiltinAddressof() [all …]
|
| HD | SemaOverload.cpp | 11000 CallExpr *TheCall = in CreateOverloadedUnaryOp() local 11004 if (CheckCallReturnType(FnDecl->getReturnType(), OpLoc, TheCall, FnDecl)) in CreateOverloadedUnaryOp() 11007 return MaybeBindToTemporary(TheCall); in CreateOverloadedUnaryOp() 11229 CXXOperatorCallExpr *TheCall = in CreateOverloadedBinOp() local 11234 if (CheckCallReturnType(FnDecl->getReturnType(), OpLoc, TheCall, in CreateOverloadedBinOp() 11248 TheCall->getSourceRange(), VariadicDoesNotApply); in CreateOverloadedBinOp() 11250 return MaybeBindToTemporary(TheCall); in CreateOverloadedBinOp() 11448 CXXOperatorCallExpr *TheCall = in CreateOverloadedArraySubscriptExpr() local 11454 if (CheckCallReturnType(FnDecl->getReturnType(), LLoc, TheCall, FnDecl)) in CreateOverloadedArraySubscriptExpr() 11457 return MaybeBindToTemporary(TheCall); in CreateOverloadedArraySubscriptExpr() [all …]
|
| HD | SemaExpr.cpp | 4933 CallExpr *TheCall; in BuildResolvedCallExpr() local 4935 TheCall = new (Context) CUDAKernelCallExpr(Context, Fn, in BuildResolvedCallExpr() 4940 TheCall = new (Context) CallExpr(Context, Fn, Args, Context.BoolTy, in BuildResolvedCallExpr() 4948 ExprResult Result = CorrectDelayedTyposInExpr(TheCall); in BuildResolvedCallExpr() 4950 TheCall = dyn_cast<CallExpr>(Result.get()); in BuildResolvedCallExpr() 4951 if (!TheCall) return Result; in BuildResolvedCallExpr() 4952 Args = ArrayRef<Expr *>(TheCall->getArgs(), TheCall->getNumArgs()); in BuildResolvedCallExpr() 4957 return CheckBuiltinFunctionCall(FDecl, BuiltinID, TheCall); in BuildResolvedCallExpr() 4977 TheCall->setCallee(Fn); in BuildResolvedCallExpr() 5005 if (CheckCallReturnType(FuncT->getReturnType(), Fn->getLocStart(), TheCall, in BuildResolvedCallExpr() [all …]
|
| HD | TreeTransform.h | 2773 ExprResult TheCall = new (SemaRef.Context) CallExpr( in RebuildShuffleVectorExpr() local 2778 return SemaRef.SemaBuiltinShuffleVector(cast<CallExpr>(TheCall.get())); in RebuildShuffleVectorExpr()
|
| /NextBSD/contrib/llvm/lib/Transforms/Utils/ |
| HD | InlineFunction.cpp | 746 static Value *HandleByValArgument(Value *Arg, Instruction *TheCall, in HandleByValArgument() argument 753 Function *Caller = TheCall->getParent()->getParent(); in HandleByValArgument() 769 if (getOrEnforceKnownAlignment(Arg, ByValAlignment, DL, TheCall, in HandleByValArgument() 869 Instruction *TheCall) { in fixupLineNumbers() argument 870 DebugLoc TheCallDL = TheCall->getDebugLoc(); in fixupLineNumbers() 921 Instruction *TheCall = CS.getInstruction(); in InlineFunction() local 922 assert(TheCall->getParent() && TheCall->getParent()->getParent() && in InlineFunction() 937 BasicBlock *OrigBB = TheCall->getParent(); in InlineFunction() 1004 ActualArg = HandleByValArgument(ActualArg, TheCall, CalledFunc, IFI, in InlineFunction() 1024 &InlinedFunctionInfo, TheCall); in InlineFunction() [all …]
|
| HD | CloneFunction.cpp | 719 Instruction *TheCall) { in CloneAndPruneFunctionInto() argument
|
| /NextBSD/contrib/llvm/tools/clang/lib/StaticAnalyzer/Checkers/ |
| HD | MallocOverflowSecurityChecker.cpp | 241 if (const CallExpr *TheCall = dyn_cast<CallExpr>(CS->getStmt())) { in checkASTCodeBody() local 243 const FunctionDecl *FD = TheCall->getDirectCallee(); in checkASTCodeBody() 254 if (TheCall->getNumArgs() == 1) in checkASTCodeBody() 255 CheckMallocArgument(PossibleMallocOverflows, TheCall->getArg(0), in checkASTCodeBody()
|
| /NextBSD/contrib/llvm/include/llvm/Transforms/Utils/ |
| HD | Cloning.h | 189 Instruction *TheCall = nullptr);
|
| /NextBSD/contrib/llvm/tools/clang/include/clang/Sema/ |
| HD | Sema.h | 8757 bool CheckFunctionCall(FunctionDecl *FDecl, CallExpr *TheCall, 8761 bool CheckPointerCall(NamedDecl *NDecl, CallExpr *TheCall, 8763 bool CheckOtherCall(CallExpr *TheCall, const FunctionProtoType *Proto); 8777 unsigned BuiltinID, CallExpr *TheCall); 8779 bool CheckARMBuiltinExclusiveCall(unsigned BuiltinID, CallExpr *TheCall, 8781 bool CheckNeonBuiltinFunctionCall(unsigned BuiltinID, CallExpr *TheCall); 8782 bool CheckARMBuiltinFunctionCall(unsigned BuiltinID, CallExpr *TheCall); 8784 bool CheckAArch64BuiltinFunctionCall(unsigned BuiltinID, CallExpr *TheCall); 8785 bool CheckMipsBuiltinFunctionCall(unsigned BuiltinID, CallExpr *TheCall); 8786 bool CheckSystemZBuiltinFunctionCall(unsigned BuiltinID, CallExpr *TheCall); [all …]
|
| /NextBSD/contrib/llvm/lib/Transforms/IPO/ |
| HD | DeadArgumentElimination.cpp | 586 const Instruction *TheCall = CS.getInstruction(); in SurveyFunction() local 587 if (!TheCall) { // Not a direct call site? in SurveyFunction() 600 for (const Use &U : TheCall->uses()) { in SurveyFunction()
|
| /NextBSD/contrib/llvm/tools/clang/lib/CodeGen/ |
| HD | CGObjC.cpp | 2950 CXXOperatorCallExpr TheCall(C, OO_Equal, CalleeExp->getCallee(), in GenerateObjCAtomicSetterCopyHelperFunction() local 2954 EmitStmt(&TheCall); in GenerateObjCAtomicSetterCopyHelperFunction()
|