/external/clang/lib/Sema/ |
D | 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 …]
|
D | SemaOverload.cpp | 11009 CallExpr *TheCall = in CreateOverloadedUnaryOp() local 11013 if (CheckCallReturnType(FnDecl->getReturnType(), OpLoc, TheCall, FnDecl)) in CreateOverloadedUnaryOp() 11016 return MaybeBindToTemporary(TheCall); in CreateOverloadedUnaryOp() 11238 CXXOperatorCallExpr *TheCall = in CreateOverloadedBinOp() local 11243 if (CheckCallReturnType(FnDecl->getReturnType(), OpLoc, TheCall, in CreateOverloadedBinOp() 11257 TheCall->getSourceRange(), VariadicDoesNotApply); in CreateOverloadedBinOp() 11259 return MaybeBindToTemporary(TheCall); in CreateOverloadedBinOp() 11457 CXXOperatorCallExpr *TheCall = in CreateOverloadedArraySubscriptExpr() local 11463 if (CheckCallReturnType(FnDecl->getReturnType(), LLoc, TheCall, FnDecl)) in CreateOverloadedArraySubscriptExpr() 11466 return MaybeBindToTemporary(TheCall); in CreateOverloadedArraySubscriptExpr() [all …]
|
D | SemaExpr.cpp | 4895 CallExpr *TheCall; in BuildResolvedCallExpr() local 4897 TheCall = new (Context) CUDAKernelCallExpr(Context, Fn, in BuildResolvedCallExpr() 4902 TheCall = new (Context) CallExpr(Context, Fn, Args, Context.BoolTy, in BuildResolvedCallExpr() 4907 return CheckBuiltinFunctionCall(FDecl, BuiltinID, TheCall); in BuildResolvedCallExpr() 4927 TheCall->setCallee(Fn); in BuildResolvedCallExpr() 4955 if (CheckCallReturnType(FuncT->getReturnType(), Fn->getLocStart(), TheCall, in BuildResolvedCallExpr() 4960 TheCall->setType(FuncT->getCallResultType(Context)); in BuildResolvedCallExpr() 4961 TheCall->setValueKind(Expr::getValueKindForType(FuncT->getReturnType())); in BuildResolvedCallExpr() 4965 if (ConvertArgumentsForCall(TheCall, Fn, FDecl, Proto, Args, RParenLoc, in BuildResolvedCallExpr() 5016 TheCall->setArg(i, Arg); in BuildResolvedCallExpr() [all …]
|
D | TreeTransform.h | 2743 ExprResult TheCall = new (SemaRef.Context) CallExpr( in RebuildShuffleVectorExpr() local 2748 return SemaRef.SemaBuiltinShuffleVector(cast<CallExpr>(TheCall.get())); in RebuildShuffleVectorExpr()
|
/external/llvm/lib/Transforms/Utils/ |
D | 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() 870 Instruction *TheCall) { in fixupLineNumbers() argument 871 DebugLoc TheCallDL = TheCall->getDebugLoc(); in fixupLineNumbers() 922 Instruction *TheCall = CS.getInstruction(); in InlineFunction() local 923 assert(TheCall->getParent() && TheCall->getParent()->getParent() && in InlineFunction() 938 BasicBlock *OrigBB = TheCall->getParent(); in InlineFunction() 1017 ActualArg = HandleByValArgument(ActualArg, TheCall, CalledFunc, IFI, in InlineFunction() 1037 &InlinedFunctionInfo, TheCall); in InlineFunction() [all …]
|
D | CloneFunction.cpp | 716 Instruction *TheCall) { in CloneAndPruneFunctionInto() argument
|
/external/clang/lib/StaticAnalyzer/Checkers/ |
D | 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()
|
/external/llvm/include/llvm/Transforms/Utils/ |
D | Cloning.h | 188 Instruction *TheCall = nullptr);
|
/external/clang/include/clang/Sema/ |
D | Sema.h | 8443 bool CheckFunctionCall(FunctionDecl *FDecl, CallExpr *TheCall, 8447 bool CheckPointerCall(NamedDecl *NDecl, CallExpr *TheCall, 8449 bool CheckOtherCall(CallExpr *TheCall, const FunctionProtoType *Proto); 8462 unsigned BuiltinID, CallExpr *TheCall); 8464 bool CheckARMBuiltinExclusiveCall(unsigned BuiltinID, CallExpr *TheCall, 8466 bool CheckNeonBuiltinFunctionCall(unsigned BuiltinID, CallExpr *TheCall); 8467 bool CheckARMBuiltinFunctionCall(unsigned BuiltinID, CallExpr *TheCall); 8469 bool CheckAArch64BuiltinFunctionCall(unsigned BuiltinID, CallExpr *TheCall); 8470 bool CheckMipsBuiltinFunctionCall(unsigned BuiltinID, CallExpr *TheCall); 8471 bool CheckSystemZBuiltinFunctionCall(unsigned BuiltinID, CallExpr *TheCall); [all …]
|
/external/llvm/lib/Transforms/IPO/ |
D | DeadArgumentElimination.cpp | 588 const Instruction *TheCall = CS.getInstruction(); in SurveyFunction() local 589 if (!TheCall) { // Not a direct call site? in SurveyFunction() 602 for (const Use &U : TheCall->uses()) { in SurveyFunction()
|
/external/clang/lib/CodeGen/ |
D | CGObjC.cpp | 2922 CXXOperatorCallExpr TheCall(C, OO_Equal, CalleeExp->getCallee(), in GenerateObjCAtomicSetterCopyHelperFunction() local 2926 EmitStmt(&TheCall); in GenerateObjCAtomicSetterCopyHelperFunction()
|