/external/clang/lib/Sema/ |
D | SemaChecking.cpp | 76 static bool SemaBuiltinAnnotation(Sema &S, CallExpr *TheCall) { in SemaBuiltinAnnotation() argument 77 if (checkArgCount(S, TheCall, 2)) in SemaBuiltinAnnotation() 81 Expr *ValArg = TheCall->getArg(0); in SemaBuiltinAnnotation() 90 Expr *StrArg = TheCall->getArg(1)->IgnoreParenCasts(); in SemaBuiltinAnnotation() 98 TheCall->setType(Ty); in SemaBuiltinAnnotation() 104 static bool SemaBuiltinAddressof(Sema &S, CallExpr *TheCall) { in SemaBuiltinAddressof() argument 105 if (checkArgCount(S, TheCall, 1)) in SemaBuiltinAddressof() 108 ExprResult Arg(TheCall->getArg(0)); in SemaBuiltinAddressof() 109 QualType ResultType = S.CheckAddressOfOperand(Arg, TheCall->getLocStart()); in SemaBuiltinAddressof() 113 TheCall->setArg(0, Arg.get()); in SemaBuiltinAddressof() [all …]
|
D | SemaOverload.cpp | 11607 CallExpr *TheCall = in CreateOverloadedUnaryOp() local 11611 if (CheckCallReturnType(FnDecl->getReturnType(), OpLoc, TheCall, FnDecl)) in CreateOverloadedUnaryOp() 11614 return MaybeBindToTemporary(TheCall); in CreateOverloadedUnaryOp() 11834 CXXOperatorCallExpr *TheCall = in CreateOverloadedBinOp() local 11839 if (CheckCallReturnType(FnDecl->getReturnType(), OpLoc, TheCall, in CreateOverloadedBinOp() 11853 TheCall->getSourceRange(), VariadicDoesNotApply); in CreateOverloadedBinOp() 11855 return MaybeBindToTemporary(TheCall); in CreateOverloadedBinOp() 12053 CXXOperatorCallExpr *TheCall = in CreateOverloadedArraySubscriptExpr() local 12059 if (CheckCallReturnType(FnDecl->getReturnType(), LLoc, TheCall, FnDecl)) in CreateOverloadedArraySubscriptExpr() 12062 return MaybeBindToTemporary(TheCall); in CreateOverloadedArraySubscriptExpr() [all …]
|
D | SemaExpr.cpp | 5336 CallExpr *TheCall; in BuildResolvedCallExpr() local 5338 TheCall = new (Context) CUDAKernelCallExpr(Context, Fn, in BuildResolvedCallExpr() 5343 TheCall = new (Context) CallExpr(Context, Fn, Args, Context.BoolTy, in BuildResolvedCallExpr() 5351 ExprResult Result = CorrectDelayedTyposInExpr(TheCall); in BuildResolvedCallExpr() 5353 TheCall = dyn_cast<CallExpr>(Result.get()); in BuildResolvedCallExpr() 5354 if (!TheCall) return Result; in BuildResolvedCallExpr() 5355 Args = llvm::makeArrayRef(TheCall->getArgs(), TheCall->getNumArgs()); in BuildResolvedCallExpr() 5360 return CheckBuiltinFunctionCall(FDecl, BuiltinID, TheCall); in BuildResolvedCallExpr() 5380 TheCall->setCallee(Fn); in BuildResolvedCallExpr() 5408 if (CheckCallReturnType(FuncT->getReturnType(), Fn->getLocStart(), TheCall, in BuildResolvedCallExpr() [all …]
|
D | TreeTransform.h | 3014 ExprResult TheCall = new (SemaRef.Context) CallExpr( in RebuildShuffleVectorExpr() local 3019 return SemaRef.SemaBuiltinShuffleVector(cast<CallExpr>(TheCall.get())); in RebuildShuffleVectorExpr()
|
/external/swiftshader/third_party/LLVM/lib/Transforms/Utils/ |
D | InlineFunction.cpp | 730 static Value *HandleByValArgument(Value *Arg, Instruction *TheCall, in HandleByValArgument() argument 770 Function *Caller = TheCall->getParent()->getParent(); in HandleByValArgument() 779 Value *DestCast = new BitCastInst(NewAlloca, VoidPtrTy, "tmp", TheCall); in HandleByValArgument() 780 Value *SrcCast = new BitCastInst(Arg, VoidPtrTy, "tmp", TheCall); in HandleByValArgument() 797 IRBuilder<>(TheCall).CreateCall(MemCpyFn, CallArgs); in HandleByValArgument() 859 Instruction *TheCall) { in fixupLineNumbers() argument 860 DebugLoc TheCallDL = TheCall->getDebugLoc(); in fixupLineNumbers() 891 Instruction *TheCall = CS.getInstruction(); in InlineFunction() local 892 LLVMContext &Context = TheCall->getContext(); in InlineFunction() 893 assert(TheCall->getParent() && TheCall->getParent()->getParent() && in InlineFunction() [all …]
|
D | CloneFunction.cpp | 354 Instruction *TheCall) { in CloneAndPruneFunctionInto() argument 396 if (TheCall) in CloneAndPruneFunctionInto() 397 TheCallDL = TheCall->getDebugLoc(); in CloneAndPruneFunctionInto()
|
/external/llvm/lib/Transforms/Utils/ |
D | InlineFunction.cpp | 1178 static Value *HandleByValArgument(Value *Arg, Instruction *TheCall, in HandleByValArgument() argument 1185 Function *Caller = TheCall->getParent()->getParent(); in HandleByValArgument() 1201 if (getOrEnforceKnownAlignment(Arg, ByValAlignment, DL, TheCall, in HandleByValArgument() 1300 Instruction *TheCall) { in fixupLineNumbers() argument 1301 const DebugLoc &TheCallDL = TheCall->getDebugLoc(); in fixupLineNumbers() 1352 Instruction *TheCall = CS.getInstruction(); in InlineFunction() local 1353 assert(TheCall->getParent() && TheCall->getParent()->getParent() && in InlineFunction() 1384 BasicBlock *OrigBB = TheCall->getParent(); in InlineFunction() 1505 ActualArg = HandleByValArgument(ActualArg, TheCall, CalledFunc, IFI, in InlineFunction() 1525 &InlinedFunctionInfo, TheCall); in InlineFunction() [all …]
|
D | CloneFunction.cpp | 635 Instruction *TheCall) { in CloneAndPruneFunctionInto() argument
|
/external/clang/lib/StaticAnalyzer/Checkers/ |
D | MallocOverflowSecurityChecker.cpp | 309 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/swiftshader/third_party/LLVM/lib/Analysis/ |
D | InlineCost.cpp | 432 Instruction *TheCall = CS.getInstruction(); in getInlineBonuses() local 444 if (InvokeInst *II = dyn_cast<InvokeInst>(TheCall)) { in getInlineBonuses() 447 } else if (isa<UnreachableInst>(++BasicBlock::iterator(TheCall))) in getInlineBonuses() 481 Instruction *TheCall = CS.getInstruction(); in getInlineCost() local 482 Function *Caller = TheCall->getParent()->getParent(); in getInlineCost()
|
/external/swiftshader/third_party/LLVM/lib/ExecutionEngine/JIT/ |
D | JIT.cpp | 536 CallInst *TheCall = CallInst::Create(F, Args, "", StubBB); in runFunction() local 537 TheCall->setCallingConv(F->getCallingConv()); in runFunction() 538 TheCall->setTailCall(); in runFunction() 539 if (!TheCall->getType()->isVoidTy()) in runFunction() 541 ReturnInst::Create(F->getContext(), TheCall, StubBB); in runFunction()
|
/external/swiftshader/third_party/LLVM/lib/Transforms/IPO/ |
D | DeadArgumentElimination.cpp | 507 const Instruction *TheCall = CS.getInstruction(); in SurveyFunction() local 508 if (!TheCall) { // Not a direct call site? in SurveyFunction() 520 for (Value::const_use_iterator I = TheCall->use_begin(), in SurveyFunction() 521 E = TheCall->use_end(); I != E; ++I) { in SurveyFunction() 543 RetValLiveness[0] = SurveyUses(TheCall, MaybeLiveRetUses[0]); in SurveyFunction()
|
/external/swiftshader/third_party/LLVM/include/llvm/Transforms/Utils/ |
D | Cloning.h | 168 Instruction *TheCall = 0);
|
/external/llvm/include/llvm/Transforms/Utils/ |
D | Cloning.h | 172 Instruction *TheCall = nullptr);
|
/external/clang/include/clang/Sema/ |
D | Sema.h | 9344 bool CheckFunctionCall(FunctionDecl *FDecl, CallExpr *TheCall, 9348 bool CheckPointerCall(NamedDecl *NDecl, CallExpr *TheCall, 9350 bool CheckOtherCall(CallExpr *TheCall, const FunctionProtoType *Proto); 9364 unsigned BuiltinID, CallExpr *TheCall); 9366 bool CheckARMBuiltinExclusiveCall(unsigned BuiltinID, CallExpr *TheCall, 9368 bool CheckNeonBuiltinFunctionCall(unsigned BuiltinID, CallExpr *TheCall); 9369 bool CheckARMBuiltinFunctionCall(unsigned BuiltinID, CallExpr *TheCall); 9371 bool CheckAArch64BuiltinFunctionCall(unsigned BuiltinID, CallExpr *TheCall); 9372 bool CheckMipsBuiltinFunctionCall(unsigned BuiltinID, CallExpr *TheCall); 9373 bool CheckSystemZBuiltinFunctionCall(unsigned BuiltinID, CallExpr *TheCall); [all …]
|
/external/llvm/lib/Transforms/IPO/ |
D | DeadArgumentElimination.cpp | 522 const Instruction *TheCall = CS.getInstruction(); in SurveyFunction() local 523 if (!TheCall) { // Not a direct call site? in SurveyFunction() 536 for (const Use &U : TheCall->uses()) { in SurveyFunction()
|
/external/clang/lib/CodeGen/ |
D | CGObjC.cpp | 3231 CXXOperatorCallExpr TheCall(C, OO_Equal, CalleeExp->getCallee(), in GenerateObjCAtomicSetterCopyHelperFunction() local 3235 EmitStmt(&TheCall); in GenerateObjCAtomicSetterCopyHelperFunction()
|