Home
last modified time | relevance | path

Searched refs:CalleeDecl (Results 1 – 12 of 12) sorted by relevance

/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGCall.h45 GlobalDecl CalleeDecl; variable
50 : CalleeProtoTy(calleeProtoTy), CalleeDecl(calleeDecl) {} in CGCalleeInfo()
54 : CalleeProtoTy(nullptr), CalleeDecl(calleeDecl) {} in CGCalleeInfo()
59 const GlobalDecl getCalleeDecl() const { return CalleeDecl; } in getCalleeDecl()
H A DCGExprCXX.cpp329 const CXXMethodDecl *CalleeDecl = in EmitCXXMemberOrOperatorMemberCallExpr() local
332 if (const auto *Dtor = dyn_cast<CXXDestructorDecl>(CalleeDecl)) in EmitCXXMemberOrOperatorMemberCallExpr()
336 FInfo = &CGM.getTypes().arrangeCXXMethodDeclaration(CalleeDecl); in EmitCXXMemberOrOperatorMemberCallExpr()
361 C.getRecordType(CalleeDecl->getParent()), in EmitCXXMemberOrOperatorMemberCallExpr()
372 if (const CXXDestructorDecl *Dtor = dyn_cast<CXXDestructorDecl>(CalleeDecl)) { in EmitCXXMemberOrOperatorMemberCallExpr()
413 *this, This.getAddress(), CalleeDecl->getParent()); in EmitCXXMemberOrOperatorMemberCallExpr()
432 *this, CalleeDecl, This.getAddress(), UseVirtualCall); in EmitCXXMemberOrOperatorMemberCallExpr()
437 CalleeDecl, Callee, ReturnValue, This.getPointer(*this), in EmitCXXMemberOrOperatorMemberCallExpr()
1332 const FunctionDecl *CalleeDecl, in EmitNewDeleteCall() argument
1336 llvm::Constant *CalleePtr = CGF.CGM.GetAddrOfFunction(CalleeDecl); in EmitNewDeleteCall()
[all …]
H A DConstantInitBuilder.cpp304 GlobalDecl CalleeDecl, QualType CalleeType) { in addSignedPointer() argument
314 Pointer, Schema, StorageAddress, CalleeDecl, CalleeType); in addSignedPointer()
H A DCodeGenFunction.h549 const Decl *CalleeDecl;
552 AbstractCallee() : CalleeDecl(nullptr) {}
553 AbstractCallee(const FunctionDecl *FD) : CalleeDecl(FD) {}
554 AbstractCallee(const ObjCMethodDecl *OMD) : CalleeDecl(OMD) {}
556 return isa_and_nonnull<FunctionDecl>(CalleeDecl);
558 const Decl *getDecl() const { return CalleeDecl; }
560 if (const auto *FD = dyn_cast<FunctionDecl>(CalleeDecl))
562 return cast<ObjCMethodDecl>(CalleeDecl)->param_size();
565 if (const auto *FD = dyn_cast<FunctionDecl>(CalleeDecl))
567 return *(cast<ObjCMethodDecl>(CalleeDecl)->param_begin() + I);
H A DCGDebugInfo.h489 const FunctionDecl *CalleeDecl);
H A DCGDebugInfo.cpp4550 const FunctionDecl *CalleeDecl) { in EmitFuncDeclForCallSite() argument
4561 if (CalleeDecl->hasAttr<NoDebugAttr>() || in EmitFuncDeclForCallSite()
4568 if (!CalleeDecl->isStatic() && !CalleeDecl->isInlined()) in EmitFuncDeclForCallSite()
4569 EmitFunctionDecl(CalleeDecl, CalleeDecl->getLocation(), CalleeType, Func); in EmitFuncDeclForCallSite()
H A DCGExpr.cpp6038 if (auto *CalleeDecl = dyn_cast_or_null<FunctionDecl>(TargetDecl)) { in EmitCall() local
6040 QualType ResTy = BuildFunctionArgList(CalleeDecl, Args); in EmitCall()
6042 DI->getFunctionType(CalleeDecl, ResTy, Args), in EmitCall()
6043 CalleeDecl); in EmitCall()
/freebsd/contrib/llvm-project/clang/lib/Analysis/
H A DExprMutationAnalyzer.cpp137 const Decl *CalleeDecl = Node.getCalleeDecl(); in AST_MATCHER() local
138 const auto *VD = dyn_cast_or_null<ValueDecl>(CalleeDecl); in AST_MATCHER()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/
H A DDwarfDebug.cpp943 const Function *CalleeDecl = nullptr; in constructCallSiteEntryDIEs() local
949 CalleeDecl = dyn_cast<Function>(CalleeOp.getGlobal()); in constructCallSiteEntryDIEs()
950 if (!CalleeDecl || !CalleeDecl->getSubprogram()) in constructCallSiteEntryDIEs()
952 CalleeSP = CalleeDecl->getSubprogram(); in constructCallSiteEntryDIEs()
982 << (CalleeDecl ? CalleeDecl->getName() in constructCallSiteEntryDIEs()
/freebsd/contrib/llvm-project/clang/include/clang/CodeGen/
H A DConstantInitBuilder.h207 const PointerAuthSchema &Schema, GlobalDecl CalleeDecl,
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaStmt.cpp812 const auto *CalleeDecl = CE->getCalleeDecl(); in checkMustTailAttr() local
813 if (CalleeDecl && CalleeDecl->hasAttr<CXX11NoReturnAttr>()) { in checkMustTailAttr()
H A DSemaInit.cpp7222 CXXConstructorDecl *CalleeDecl = Constructor; in PerformConstructorInitialization() local
7225 CalleeDecl = S.findInheritingConstructor(Loc, Constructor, Shadow); in PerformConstructorInitialization()
7227 S.MarkFunctionReferenced(Loc, CalleeDecl); in PerformConstructorInitialization()
7231 S.Context, CalleeDecl, in PerformConstructorInitialization()
7236 CalleeDecl); in PerformConstructorInitialization()