Home
last modified time | relevance | path

Searched refs:getCallee (Results 1 – 25 of 43) 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->getLocStart(), in EmitCUDAKernelCallExpr()
DCGExpr.cpp2955 if (E->getCallee()->getType()->isBlockPointerType()) in EmitCallExpr()
2975 dyn_cast<CXXPseudoDestructorExpr>(E->getCallee()->IgnoreParens())) { in EmitCallExpr()
3022 EmitScalarExpr(E->getCallee()); in EmitCallExpr()
3028 llvm::Value *Callee = EmitScalarExpr(E->getCallee()); in EmitCallExpr()
3029 return EmitCall(E->getCallee()->getType(), Callee, E->getLocStart(), in EmitCallExpr()
DCGExprCXX.cpp78 const Expr *callee = CE->getCallee()->IgnoreParens(); in EmitCXXMemberCallExpr()
237 cast<BinaryOperator>(E->getCallee()->IgnoreParens()); in EmitCXXMemberPointerCallExpr()
DCGBlocks.cpp934 E->getCallee()->getType()->getAs<BlockPointerType>(); in EmitBlockCallExpr()
936 llvm::Value *Callee = EmitScalarExpr(E->getCallee()); in EmitBlockCallExpr()
/external/llvm/include/llvm/IR/
DCallSite.h87 return *getCallee(); in getCalledValue()
101 *getCallee() = V; in setCalledFunction()
111 bool isCallee(const Use *U) const { return getCallee() == U; } in isCallee()
323 IterTy getCallee() const { in getCallee() function
350 User::op_iterator getCallee() const;
/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()
185 SourceRange R = CE->getCallee()->getSourceRange(); in ReportVirtualCall()
DMallocSizeofChecker.cpp229 Ranges.push_back(i->AllocCall->getCallee()->getSourceRange()); in checkASTCodeBody()
235 PathDiagnosticLocation::createBegin(i->AllocCall->getCallee(), in checkASTCodeBody()
DCallAndMessageChecker.cpp301 const Expr *Callee = CE->getCallee()->IgnoreParens(); in checkPreStmt()
/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/
DCheckerContext.cpp24 const Expr *Callee = CE->getCallee(); in getCalleeDecl()
DCallEvent.cpp389 return getSVal(getOriginExpr()->getCallee()).getAsFunctionDecl(); in getDecl()
402 return getSVal(CE->getCallee()).getAsFunctionDecl(); in getDecl()
525 if (const MemberExpr *ME = dyn_cast<MemberExpr>(getOriginExpr()->getCallee())) in getRuntimeDefinition()
539 const Expr *Callee = getOriginExpr()->getCallee(); in getBlockRegion()
912 } else if (CE->getCallee()->getType()->isBlockPointerType()) { in getSimpleCall()
DPathDiagnostic.cpp173 const NamedDecl *ND = dyn_cast<NamedDecl>(CP->getCallee()); in resetDiagnosticLocationToMainFile()
/external/clang/lib/Analysis/
DCallGraph.cpp46 Expr *CEE = CE->getCallee()->IgnoreParenImpCasts(); in getDeclFromCall()
DThreadSafety.cpp328 LRCallCtx.SelfArrow = isCalleeArrow(CMCE->getCallee()); in buildSExpr()
338 if (NDeref && isCalleeArrow(CMCE->getCallee())) in buildSExpr()
374 unsigned Sz = buildSExpr(CE->getCallee(), CallCtx); in buildSExpr()
496 CallCtx.SelfArrow = isCalleeArrow(CE->getCallee()); in buildSExprFromExpr()
2153 MemberExpr *ME = dyn_cast<MemberExpr>(CE->getCallee()); in VisitCallExpr()
DCFG.cpp1715 QualType calleeType = C->getCallee()->getType(); in VisitCallExpr()
1717 QualType boundType = Expr::findBoundMemberType(C->getCallee()); in VisitCallExpr()
1748 if (!CanThrow(C->getCallee(), *Context)) in VisitCallExpr()
1756 return Visit(C->getCallee()); in VisitCallExpr()
DThreadSafetyCommon.cpp211 til::SExpr *E = translate(CE->getCallee(), Ctx); in translateCallExpr()
/external/clang/lib/Sema/
DSemaChecking.cpp502 DeclRefExpr *DRE =cast<DeclRefExpr>(TheCall->getCallee()->IgnoreParenCasts()); in CheckARMBuiltinExclusiveCall()
818 TheCall->getCallee()); in CheckFunctionCall()
831 TheCall->getCallee()->getSourceRange(), CallType); in CheckFunctionCall()
891 TheCall->getCallee()->getSourceRange(), CallType); in CheckPointerCall()
900 TheCall->getCallee()); in CheckOtherCall()
907 TheCall->getCallee()->getSourceRange(), CallType); in CheckOtherCall()
942 DeclRefExpr *DRE =cast<DeclRefExpr>(TheCall->getCallee()->IgnoreParenCasts()); in SemaAtomicOpsOverloaded()
1046 << TheCall->getCallee()->getSourceRange(); in SemaAtomicOpsOverloaded()
1052 << TheCall->getCallee()->getSourceRange(); in SemaAtomicOpsOverloaded()
1237 AtomicExpr *AE = new (Context) AtomicExpr(TheCall->getCallee()->getLocStart(), in SemaAtomicOpsOverloaded()
[all …]
DSemaExceptionSpec.cpp910 else if (isa<CXXPseudoDestructorExpr>(CE->getCallee()->IgnoreParens())) in canThrow()
/external/clang/lib/AST/
DExpr.cpp1150 Expr *CEE = getCallee()->IgnoreParenImpCasts(); in getCalleeDecl()
1212 const ImplicitCastExpr *ICE = dyn_cast<ImplicitCastExpr>(getCallee()); in getBuiltinCallee()
1237 QualType CalleeType = getCallee()->getType(); in getCallReturnType()
1244 CalleeType = Expr::findBoundMemberType(getCallee()); in getCallReturnType()
1254 SourceLocation begin = getCallee()->getLocStart(); in getLocStart()
2122 Loc = CE->getCallee()->getLocStart(); in isUnusedResultAWarning()
2123 R1 = CE->getCallee()->getSourceRange(); in isUnusedResultAWarning()
DStmtPrinter.cpp1162 PrintExpr(Call->getCallee()); in VisitCallExpr()
1464 PrintExpr(Node->getCallee()); in VisitCUDAKernelCallExpr()
1534 DeclRefExpr *DRE = cast<DeclRefExpr>(Node->getCallee()->IgnoreImpCasts()); in VisitUserDefinedLiteral()
DExprCXX.cpp538 const Expr *Callee = getCallee()->IgnoreParens(); in getImplicitObjectArgument()
551 dyn_cast<MemberExpr>(getCallee()->IgnoreParens())) in getMethodDecl()
/external/clang/include/clang/StaticAnalyzer/Core/BugReporter/
DPathDiagnostic.h578 const Decl *getCallee() const { return Callee; } in getCallee() function
/external/clang/tools/libclang/
DCXCursor.cpp1251 ME = dyn_cast_or_null<MemberExpr>(CE->getCallee()); in clang_Cursor_isDynamicCall()

12