/external/llvm/lib/Transforms/Utils/ |
D | InlineFunction.cpp | 330 static Value *HandleByValArgument(Value *Arg, Instruction *TheCall, in HandleByValArgument() argument 370 Function *Caller = TheCall->getParent()->getParent(); in HandleByValArgument() 379 Value *DestCast = new BitCastInst(NewAlloca, VoidPtrTy, "tmp", TheCall); in HandleByValArgument() 380 Value *SrcCast = new BitCastInst(Arg, VoidPtrTy, "tmp", TheCall); in HandleByValArgument() 397 IRBuilder<>(TheCall).CreateCall(MemCpyFn, CallArgs); in HandleByValArgument() 458 Instruction *TheCall) { in fixupLineNumbers() argument 459 DebugLoc TheCallDL = TheCall->getDebugLoc(); in fixupLineNumbers() 491 Instruction *TheCall = CS.getInstruction(); in InlineFunction() local 492 assert(TheCall->getParent() && TheCall->getParent()->getParent() && in InlineFunction() 506 !(isa<CallInst>(TheCall) && cast<CallInst>(TheCall)->isTailCall()); in InlineFunction() [all …]
|
D | CloneFunction.cpp | 371 Instruction *TheCall) { in CloneAndPruneFunctionInto() argument
|
/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() 99 Sema::CheckBuiltinFunctionCall(unsigned BuiltinID, CallExpr *TheCall) { in CheckBuiltinFunctionCall() argument 100 ExprResult TheCallResult(Owned(TheCall)); in CheckBuiltinFunctionCall() 115 if (SemaBuiltinConstantArg(TheCall, ArgNo, Result)) in CheckBuiltinFunctionCall() 122 assert(TheCall->getNumArgs() == 1 && in CheckBuiltinFunctionCall() 124 if (CheckObjCString(TheCall->getArg(0))) in CheckBuiltinFunctionCall() [all …]
|
D | SemaOverload.cpp | 10145 CallExpr *TheCall = in CreateOverloadedUnaryOp() local 10150 if (CheckCallReturnType(FnDecl->getResultType(), OpLoc, TheCall, in CreateOverloadedUnaryOp() 10154 return MaybeBindToTemporary(TheCall); in CreateOverloadedUnaryOp() 10383 CXXOperatorCallExpr *TheCall = in CreateOverloadedBinOp() local 10388 if (CheckCallReturnType(FnDecl->getResultType(), OpLoc, TheCall, in CreateOverloadedBinOp() 10397 TheCall->getSourceRange(), VariadicDoesNotApply); in CreateOverloadedBinOp() 10399 return MaybeBindToTemporary(TheCall); in CreateOverloadedBinOp() 10594 CXXOperatorCallExpr *TheCall = in CreateOverloadedArraySubscriptExpr() local 10600 if (CheckCallReturnType(FnDecl->getResultType(), LLoc, TheCall, in CreateOverloadedArraySubscriptExpr() 10604 return MaybeBindToTemporary(TheCall); in CreateOverloadedArraySubscriptExpr() [all …]
|
D | SemaExpr.cpp | 4100 CallExpr *TheCall; in BuildResolvedCallExpr() local 4102 TheCall = new (Context) CUDAKernelCallExpr(Context, Fn, in BuildResolvedCallExpr() 4109 TheCall = new (Context) CallExpr(Context, Fn, in BuildResolvedCallExpr() 4117 return CheckBuiltinFunctionCall(BuiltinID, TheCall); in BuildResolvedCallExpr() 4137 TheCall->setCallee(Fn); in BuildResolvedCallExpr() 4166 Fn->getLocStart(), TheCall, in BuildResolvedCallExpr() 4171 TheCall->setType(FuncT->getCallResultType(Context)); in BuildResolvedCallExpr() 4172 TheCall->setValueKind(Expr::getValueKindForType(FuncT->getResultType())); in BuildResolvedCallExpr() 4176 if (ConvertArgumentsForCall(TheCall, Fn, FDecl, Proto, Args, NumArgs, in BuildResolvedCallExpr() 4230 TheCall->setArg(i, Arg); in BuildResolvedCallExpr() [all …]
|
D | TreeTransform.h | 2438 ExprResult TheCall = SemaRef.Owned( in RebuildShuffleVectorExpr() local 2445 return SemaRef.SemaBuiltinShuffleVector(cast<CallExpr>(TheCall.take())); in RebuildShuffleVectorExpr()
|
/external/clang/lib/StaticAnalyzer/Checkers/ |
D | MallocOverflowSecurityChecker.cpp | 240 if (const CallExpr *TheCall = dyn_cast<CallExpr>(CS->getStmt())) { in checkASTCodeBody() local 242 const FunctionDecl *FD = TheCall->getDirectCallee(); in checkASTCodeBody() 253 if (TheCall->getNumArgs() == 1) in checkASTCodeBody() 254 CheckMallocArgument(PossibleMallocOverflows, TheCall->getArg(0), in checkASTCodeBody()
|
/external/llvm/lib/ExecutionEngine/JIT/ |
D | JIT.cpp | 543 CallInst *TheCall = CallInst::Create(F, Args, "", StubBB); in runFunction() local 544 TheCall->setCallingConv(F->getCallingConv()); in runFunction() 545 TheCall->setTailCall(); in runFunction() 546 if (!TheCall->getType()->isVoidTy()) in runFunction() 548 ReturnInst::Create(F->getContext(), TheCall, StubBB); in runFunction()
|
/external/llvm/include/llvm/Transforms/Utils/ |
D | Cloning.h | 154 Instruction *TheCall = 0);
|
/external/llvm/lib/Transforms/IPO/ |
D | DeadArgumentElimination.cpp | 553 const Instruction *TheCall = CS.getInstruction(); in SurveyFunction() local 554 if (!TheCall) { // Not a direct call site? in SurveyFunction() 566 for (Value::const_use_iterator I = TheCall->use_begin(), in SurveyFunction() 567 E = TheCall->use_end(); I != E; ++I) { in SurveyFunction() 589 RetValLiveness[0] = SurveyUses(TheCall, MaybeLiveRetUses[0]); in SurveyFunction()
|
/external/clang/include/clang/Sema/ |
D | Sema.h | 7289 bool CheckFunctionCall(FunctionDecl *FDecl, CallExpr *TheCall, 7293 bool CheckBlockCall(NamedDecl *NDecl, CallExpr *TheCall, 7308 ExprResult CheckBuiltinFunctionCall(unsigned BuiltinID, CallExpr *TheCall); 7309 bool CheckARMBuiltinFunctionCall(unsigned BuiltinID, CallExpr *TheCall); 7310 bool CheckMipsBuiltinFunctionCall(unsigned BuiltinID, CallExpr *TheCall); 7312 bool SemaBuiltinVAStart(CallExpr *TheCall); 7313 bool SemaBuiltinUnorderedCompare(CallExpr *TheCall); 7314 bool SemaBuiltinFPClassification(CallExpr *TheCall, unsigned NumArgs); 7318 ExprResult SemaBuiltinShuffleVector(CallExpr *TheCall); 7321 bool SemaBuiltinPrefetch(CallExpr *TheCall); [all …]
|
/external/clang/lib/CodeGen/ |
D | CGObjC.cpp | 2879 CXXOperatorCallExpr TheCall(C, OO_Equal, CalleeExp->getCallee(), in GenerateObjCAtomicSetterCopyHelperFunction() local 2883 EmitStmt(&TheCall); in GenerateObjCAtomicSetterCopyHelperFunction()
|