Home
last modified time | relevance | path

Searched refs:getCallee (Results 1 – 25 of 48) sorted by relevance

12

/external/clang/lib/CodeGen/
DCGCUDARuntime.cpp41 if (const ImplicitCastExpr *CE = dyn_cast<ImplicitCastExpr>(E->getCallee())) { in EmitCUDAKernelCallExpr()
47 llvm::Value *Callee = CGF.EmitScalarExpr(E->getCallee()); in EmitCUDAKernelCallExpr()
48 CGF.EmitCall(E->getCallee()->getType(), Callee, E, ReturnValue, TargetDecl); in EmitCUDAKernelCallExpr()
DCGExpr.cpp3522 if (E->getCallee()->getType()->isBlockPointerType()) in EmitCallExpr()
3542 dyn_cast<CXXPseudoDestructorExpr>(E->getCallee()->IgnoreParens())) { in EmitCallExpr()
3586 EmitScalarExpr(E->getCallee()); in EmitCallExpr()
3592 llvm::Value *Callee = EmitScalarExpr(E->getCallee()); in EmitCallExpr()
3593 return EmitCall(E->getCallee()->getType(), Callee, E, ReturnValue, in EmitCallExpr()
DCGExprCXX.cpp108 const Expr *callee = CE->getCallee()->IgnoreParens(); in EmitCXXMemberCallExpr()
287 cast<BinaryOperator>(E->getCallee()->IgnoreParens()); in EmitCXXMemberPointerCallExpr()
DCGBlocks.cpp955 E->getCallee()->getType()->getAs<BlockPointerType>(); in EmitBlockCallExpr()
957 llvm::Value *Callee = EmitScalarExpr(E->getCallee()); in EmitBlockCallExpr()
/external/clang/lib/StaticAnalyzer/Checkers/
DCheckSecuritySyntaxOnly.cpp334 CELoc, CE->getCallee()->getSourceRange()); in checkCall_gets()
374 CELoc, CE->getCallee()->getSourceRange()); in checkCall_getpw()
416 CELoc, CE->getCallee()->getSourceRange()); in checkCall_mktemp()
525 CELoc, CE->getCallee()->getSourceRange()); in checkCall_strcpy()
552 CELoc, CE->getCallee()->getSourceRange()); in checkCall_strcat()
624 CE->getCallee()->getSourceRange()); in checkCall_rand()
652 "instead", CELoc, CE->getCallee()->getSourceRange()); in checkCall_random()
675 CELoc, CE->getCallee()->getSourceRange()); in checkCall_vfork()
740 CE->getCallee()->getSourceRange()); in checkUncheckedReturnValue()
DVirtualCallChecker.cpp143 if (MemberExpr *CME = dyn_cast<MemberExpr>(CE->getCallee())) { in VisitCXXMemberCallExpr()
192 SourceRange R = CE->getCallee()->getSourceRange(); in ReportVirtualCall()
DMallocSizeofChecker.cpp232 Ranges.push_back(i->AllocCall->getCallee()->getSourceRange()); in checkASTCodeBody()
238 PathDiagnosticLocation::createBegin(i->AllocCall->getCallee(), in checkASTCodeBody()
DCallAndMessageChecker.cpp308 const Expr *Callee = CE->getCallee()->IgnoreParens(); in checkPreStmt()
/external/llvm/include/llvm/IR/
DCallSite.h95 return *getCallee(); in getCalledValue()
109 *getCallee() = V; in setCalledFunction()
119 bool isCallee(const Use *U) const { return getCallee() == U; } in isCallee()
462 IterTy getCallee() const { in getCallee() function
488 User::op_iterator getCallee() const;
/external/clang/examples/analyzer-plugin/
DMainCallChecker.cpp21 const Expr *Callee = CE->getCallee(); in checkPreStmt()
/external/clang/lib/ARCMigrate/
DTransGCCalls.cpp46 Expr *CEE = E->getCallee()->IgnoreParenImpCasts(); in VisitCallExpr()
/external/clang/lib/StaticAnalyzer/Core/
DCallEvent.cpp407 return getSVal(getOriginExpr()->getCallee()).getAsFunctionDecl(); in getDecl()
420 return getSVal(CE->getCallee()).getAsFunctionDecl(); in getDecl()
565 if (const MemberExpr *ME = dyn_cast<MemberExpr>(getOriginExpr()->getCallee())) in getRuntimeDefinition()
579 const Expr *Callee = getOriginExpr()->getCallee(); in getBlockRegion()
970 } else if (CE->getCallee()->getType()->isBlockPointerType()) { in getSimpleCall()
DCheckerContext.cpp24 const Expr *Callee = CE->getCallee(); in getCalleeDecl()
DPathDiagnostic.cpp171 const NamedDecl *ND = dyn_cast<NamedDecl>(CP->getCallee()); in resetDiagnosticLocationToMainFile()
/external/clang/unittests/Tooling/
DLookupTest.cpp37 const auto *Callee = cast<DeclRefExpr>(Expr->getCallee()->IgnoreImplicit()); in TEST()
/external/clang/lib/Sema/
DSemaChecking.cpp181 Expr *Builtin = BuiltinCall->getCallee()->IgnoreImpCasts(); in SemaBuiltinCallWithStaticChain()
192 if (CE->getCallee()->getType()->isBlockPointerType()) { in SemaBuiltinCallWithStaticChain()
206 if (isa<CXXPseudoDestructorExpr>(CE->getCallee()->IgnoreParens())) { in SemaBuiltinCallWithStaticChain()
252 auto *DRE = cast<DeclRefExpr>(TheCall->getCallee()->IgnoreParenCasts()); in SemaBuiltinSEHScopeCheck()
766 DeclRefExpr *DRE =cast<DeclRefExpr>(TheCall->getCallee()->IgnoreParenCasts()); in CheckARMBuiltinExclusiveCall()
1441 TheCall->getCallee()); in CheckFunctionCall()
1453 TheCall->getCallee()->getSourceRange(), CallType); in CheckFunctionCall()
1518 TheCall->getCallee()->getSourceRange(), CallType); in CheckPointerCall()
1527 TheCall->getCallee()); in CheckOtherCall()
1531 TheCall->getCallee()->getSourceRange(), CallType); in CheckOtherCall()
[all …]
DSemaExceptionSpec.cpp978 else if (isa<CXXPseudoDestructorExpr>(CE->getCallee()->IgnoreParens())) in canThrow()
/external/clang/lib/Analysis/
DCallGraph.cpp46 Expr *CEE = CE->getCallee()->IgnoreParenImpCasts(); in getDeclFromCall()
DThreadSafetyCommon.cpp112 Ctx.SelfArrow = isCalleeArrow(CE->getCallee()); in translateAttrExpr()
367 til::SExpr *E = translate(CE->getCallee(), Ctx); in translateCallExpr()
DCFG.cpp1840 QualType calleeType = C->getCallee()->getType(); in VisitCallExpr()
1842 QualType boundType = Expr::findBoundMemberType(C->getCallee()); in VisitCallExpr()
1873 if (!CanThrow(C->getCallee(), *Context)) in VisitCallExpr()
1881 return Visit(C->getCallee()); in VisitCallExpr()
/external/clang/lib/AST/
DExpr.cpp1198 Expr *CEE = getCallee()->IgnoreParenImpCasts(); in getCalleeDecl()
1260 const ImplicitCastExpr *ICE = dyn_cast<ImplicitCastExpr>(getCallee()); in getBuiltinCallee()
1285 const Expr *Callee = getCallee(); in getCallReturnType()
1307 SourceLocation begin = getCallee()->getLocStart(); in getLocStart()
2216 Loc = CE->getCallee()->getLocStart(); in isUnusedResultAWarning()
2217 R1 = CE->getCallee()->getSourceRange(); in isUnusedResultAWarning()
DStmtPrinter.cpp1405 PrintExpr(Call->getCallee()); in VisitCallExpr()
1729 PrintExpr(Node->getCallee()); in VisitCUDAKernelCallExpr()
1806 DeclRefExpr *DRE = cast<DeclRefExpr>(Node->getCallee()->IgnoreImpCasts()); in VisitUserDefinedLiteral()
DExprCXX.cpp531 const Expr *Callee = getCallee()->IgnoreParens(); in getImplicitObjectArgument()
544 dyn_cast<MemberExpr>(getCallee()->IgnoreParens())) in getMethodDecl()
/external/clang/include/clang/StaticAnalyzer/Core/BugReporter/
DPathDiagnostic.h581 const Decl *getCallee() const { return Callee; } in getCallee() function
/external/clang/tools/libclang/
DCXCursor.cpp1472 ME = dyn_cast_or_null<MemberExpr>(CE->getCallee()); in clang_Cursor_isDynamicCall()

12