Home
last modified time | relevance | path

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

/external/clang/lib/Sema/
DSemaChecking.cpp73 static bool SemaBuiltinAnnotation(Sema &S, CallExpr *TheCall) { in SemaBuiltinAnnotation() argument
74 if (checkArgCount(S, TheCall, 2)) in SemaBuiltinAnnotation()
78 Expr *ValArg = TheCall->getArg(0); in SemaBuiltinAnnotation()
87 Expr *StrArg = TheCall->getArg(1)->IgnoreParenCasts(); in SemaBuiltinAnnotation()
95 TheCall->setType(Ty); in SemaBuiltinAnnotation()
101 static bool SemaBuiltinAddressof(Sema &S, CallExpr *TheCall) { in SemaBuiltinAddressof() argument
102 if (checkArgCount(S, TheCall, 1)) in SemaBuiltinAddressof()
105 ExprResult Arg(TheCall->getArg(0)); in SemaBuiltinAddressof()
106 QualType ResultType = S.CheckAddressOfOperand(Arg, TheCall->getLocStart()); in SemaBuiltinAddressof()
110 TheCall->setArg(0, Arg.get()); in SemaBuiltinAddressof()
[all …]
DSemaOverload.cpp11360 CallExpr *TheCall = in CreateOverloadedUnaryOp() local
11364 if (CheckCallReturnType(FnDecl->getReturnType(), OpLoc, TheCall, FnDecl)) in CreateOverloadedUnaryOp()
11367 return MaybeBindToTemporary(TheCall); in CreateOverloadedUnaryOp()
11587 CXXOperatorCallExpr *TheCall = in CreateOverloadedBinOp() local
11592 if (CheckCallReturnType(FnDecl->getReturnType(), OpLoc, TheCall, in CreateOverloadedBinOp()
11606 TheCall->getSourceRange(), VariadicDoesNotApply); in CreateOverloadedBinOp()
11608 return MaybeBindToTemporary(TheCall); in CreateOverloadedBinOp()
11806 CXXOperatorCallExpr *TheCall = in CreateOverloadedArraySubscriptExpr() local
11812 if (CheckCallReturnType(FnDecl->getReturnType(), LLoc, TheCall, FnDecl)) in CreateOverloadedArraySubscriptExpr()
11815 return MaybeBindToTemporary(TheCall); in CreateOverloadedArraySubscriptExpr()
[all …]
DSemaExpr.cpp5059 CallExpr *TheCall; in BuildResolvedCallExpr() local
5061 TheCall = new (Context) CUDAKernelCallExpr(Context, Fn, in BuildResolvedCallExpr()
5066 TheCall = new (Context) CallExpr(Context, Fn, Args, Context.BoolTy, in BuildResolvedCallExpr()
5074 ExprResult Result = CorrectDelayedTyposInExpr(TheCall); in BuildResolvedCallExpr()
5076 TheCall = dyn_cast<CallExpr>(Result.get()); in BuildResolvedCallExpr()
5077 if (!TheCall) return Result; in BuildResolvedCallExpr()
5078 Args = llvm::makeArrayRef(TheCall->getArgs(), TheCall->getNumArgs()); in BuildResolvedCallExpr()
5083 return CheckBuiltinFunctionCall(FDecl, BuiltinID, TheCall); in BuildResolvedCallExpr()
5103 TheCall->setCallee(Fn); in BuildResolvedCallExpr()
5131 if (CheckCallReturnType(FuncT->getReturnType(), Fn->getLocStart(), TheCall, in BuildResolvedCallExpr()
[all …]
DTreeTransform.h2931 ExprResult TheCall = new (SemaRef.Context) CallExpr( in RebuildShuffleVectorExpr() local
2936 return SemaRef.SemaBuiltinShuffleVector(cast<CallExpr>(TheCall.get())); in RebuildShuffleVectorExpr()
/external/llvm/lib/Transforms/Utils/
DInlineFunction.cpp849 static Value *HandleByValArgument(Value *Arg, Instruction *TheCall, in HandleByValArgument() argument
856 Function *Caller = TheCall->getParent()->getParent(); in HandleByValArgument()
872 if (getOrEnforceKnownAlignment(Arg, ByValAlignment, DL, TheCall, in HandleByValArgument()
971 Instruction *TheCall) { in fixupLineNumbers() argument
972 DebugLoc TheCallDL = TheCall->getDebugLoc(); in fixupLineNumbers()
1023 Instruction *TheCall = CS.getInstruction(); in InlineFunction() local
1024 assert(TheCall->getParent() && TheCall->getParent()->getParent() && in InlineFunction()
1055 BasicBlock *OrigBB = TheCall->getParent(); in InlineFunction()
1163 ActualArg = HandleByValArgument(ActualArg, TheCall, CalledFunc, IFI, in InlineFunction()
1183 &InlinedFunctionInfo, TheCall); in InlineFunction()
[all …]
DCloneFunction.cpp732 Instruction *TheCall) { in CloneAndPruneFunctionInto() argument
/external/clang/lib/StaticAnalyzer/Checkers/
DMallocOverflowSecurityChecker.cpp309 if (const CallExpr *TheCall = dyn_cast<CallExpr>(CS->getStmt())) { in checkASTCodeBody() local
311 const FunctionDecl *FD = TheCall->getDirectCallee(); in checkASTCodeBody()
322 if (TheCall->getNumArgs() == 1) in checkASTCodeBody()
323 CheckMallocArgument(PossibleMallocOverflows, TheCall->getArg(0), in checkASTCodeBody()
/external/llvm/include/llvm/Transforms/Utils/
DCloning.h203 Instruction *TheCall = nullptr);
/external/clang/include/clang/Sema/
DSema.h8962 bool CheckFunctionCall(FunctionDecl *FDecl, CallExpr *TheCall,
8966 bool CheckPointerCall(NamedDecl *NDecl, CallExpr *TheCall,
8968 bool CheckOtherCall(CallExpr *TheCall, const FunctionProtoType *Proto);
8982 unsigned BuiltinID, CallExpr *TheCall);
8984 bool CheckARMBuiltinExclusiveCall(unsigned BuiltinID, CallExpr *TheCall,
8986 bool CheckNeonBuiltinFunctionCall(unsigned BuiltinID, CallExpr *TheCall);
8987 bool CheckARMBuiltinFunctionCall(unsigned BuiltinID, CallExpr *TheCall);
8989 bool CheckAArch64BuiltinFunctionCall(unsigned BuiltinID, CallExpr *TheCall);
8990 bool CheckMipsBuiltinFunctionCall(unsigned BuiltinID, CallExpr *TheCall);
8991 bool CheckSystemZBuiltinFunctionCall(unsigned BuiltinID, CallExpr *TheCall);
[all …]
/external/llvm/lib/Transforms/IPO/
DDeadArgumentElimination.cpp589 const Instruction *TheCall = CS.getInstruction(); in SurveyFunction() local
590 if (!TheCall) { // Not a direct call site? in SurveyFunction()
603 for (const Use &U : TheCall->uses()) { in SurveyFunction()
/external/clang/lib/CodeGen/
DCGObjC.cpp2964 CXXOperatorCallExpr TheCall(C, OO_Equal, CalleeExp->getCallee(), in GenerateObjCAtomicSetterCopyHelperFunction() local
2968 EmitStmt(&TheCall); in GenerateObjCAtomicSetterCopyHelperFunction()