/external/llvm-project/clang/lib/CodeGen/ |
D | CGCall.h | 49 GlobalDecl CalleeDecl; variable 52 explicit CGCalleeInfo() : CalleeProtoTy(nullptr), CalleeDecl() {} in CGCalleeInfo() 54 : CalleeProtoTy(calleeProtoTy), CalleeDecl(calleeDecl) {} in CGCalleeInfo() 56 : CalleeProtoTy(calleeProtoTy), CalleeDecl() {} in CGCalleeInfo() 58 : CalleeProtoTy(nullptr), CalleeDecl(calleeDecl) {} in CGCalleeInfo() 63 const GlobalDecl getCalleeDecl() const { return CalleeDecl; } in getCalleeDecl()
|
D | CGExprCXX.cpp | 319 const CXXMethodDecl *CalleeDecl = in EmitCXXMemberOrOperatorMemberCallExpr() local 322 if (const auto *Dtor = dyn_cast<CXXDestructorDecl>(CalleeDecl)) in EmitCXXMemberOrOperatorMemberCallExpr() 326 FInfo = &CGM.getTypes().arrangeCXXMethodDeclaration(CalleeDecl); in EmitCXXMemberOrOperatorMemberCallExpr() 349 C.getRecordType(CalleeDecl->getParent()), in EmitCXXMemberOrOperatorMemberCallExpr() 360 if (const CXXDestructorDecl *Dtor = dyn_cast<CXXDestructorDecl>(CalleeDecl)) { in EmitCXXMemberOrOperatorMemberCallExpr() 401 *this, This.getAddress(*this), CalleeDecl->getParent()); in EmitCXXMemberOrOperatorMemberCallExpr() 420 *this, CalleeDecl, This.getAddress(*this), UseVirtualCall); in EmitCXXMemberOrOperatorMemberCallExpr() 425 CalleeDecl, Callee, ReturnValue, This.getPointer(*this), in EmitCXXMemberOrOperatorMemberCallExpr() 1302 const FunctionDecl *CalleeDecl, in EmitNewDeleteCall() argument 1306 llvm::Constant *CalleePtr = CGF.CGM.GetAddrOfFunction(CalleeDecl); in EmitNewDeleteCall() [all …]
|
D | CodeGenFunction.h | 445 const Decl *CalleeDecl; 448 AbstractCallee() : CalleeDecl(nullptr) {} 449 AbstractCallee(const FunctionDecl *FD) : CalleeDecl(FD) {} 450 AbstractCallee(const ObjCMethodDecl *OMD) : CalleeDecl(OMD) {} 452 return dyn_cast_or_null<FunctionDecl>(CalleeDecl); 454 const Decl *getDecl() const { return CalleeDecl; } 456 if (const auto *FD = dyn_cast<FunctionDecl>(CalleeDecl)) 458 return cast<ObjCMethodDecl>(CalleeDecl)->param_size(); 461 if (const auto *FD = dyn_cast<FunctionDecl>(CalleeDecl)) 463 return *(cast<ObjCMethodDecl>(CalleeDecl)->param_begin() + I);
|
D | CGDebugInfo.cpp | 3961 const FunctionDecl *CalleeDecl) { in EmitFuncDeclForCallSite() argument 3975 if (CalleeDecl->getBuiltinID() != 0 || CalleeDecl->hasAttr<NoDebugAttr>() || in EmitFuncDeclForCallSite() 3978 if (const auto *Id = CalleeDecl->getIdentifier()) in EmitFuncDeclForCallSite() 3985 if (!CalleeDecl->isStatic() && !CalleeDecl->isInlined()) in EmitFuncDeclForCallSite() 3986 EmitFunctionDecl(CalleeDecl, CalleeDecl->getLocation(), CalleeType, Func); in EmitFuncDeclForCallSite()
|
D | CGDebugInfo.h | 435 const FunctionDecl *CalleeDecl);
|
D | CGExpr.cpp | 5280 if (auto *CalleeDecl = dyn_cast_or_null<FunctionDecl>(TargetDecl)) in EmitCall() local 5282 CalleeDecl); in EmitCall()
|
/external/clang/include/clang/CodeGen/ |
D | CGFunctionInfo.h | 673 const Decl *CalleeDecl; variable 676 explicit CGCalleeInfo() : CalleeProtoTy(nullptr), CalleeDecl(nullptr) {} in CGCalleeInfo() 678 : CalleeProtoTy(calleeProtoTy), CalleeDecl(calleeDecl) {} in CGCalleeInfo() 680 : CalleeProtoTy(calleeProtoTy), CalleeDecl(nullptr) {} in CGCalleeInfo() 682 : CalleeProtoTy(nullptr), CalleeDecl(calleeDecl) {} in CGCalleeInfo() 687 const Decl *getCalleeDecl() { return CalleeDecl; } in getCalleeDecl()
|
/external/clang/lib/Analysis/ |
D | CallGraph.cpp | 42 if (FunctionDecl *CalleeDecl = CE->getDirectCallee()) in getDeclFromCall() local 43 return CalleeDecl; in getDeclFromCall()
|
/external/llvm-project/clang/lib/Analysis/ |
D | CallGraph.cpp | 56 if (FunctionDecl *CalleeDecl = CE->getDirectCallee()) in getDeclFromCall() local 57 return CalleeDecl; in getDeclFromCall()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/AsmPrinter/ |
D | DwarfDebug.cpp | 743 const Function *CalleeDecl = nullptr; in constructCallSiteEntryDIEs() local 749 CalleeDecl = dyn_cast<Function>(CalleeOp.getGlobal()); in constructCallSiteEntryDIEs() 750 if (!CalleeDecl || !CalleeDecl->getSubprogram()) in constructCallSiteEntryDIEs() 752 CalleeSP = CalleeDecl->getSubprogram(); in constructCallSiteEntryDIEs() 786 << (CalleeDecl ? CalleeDecl->getName() in constructCallSiteEntryDIEs()
|
/external/clang/lib/CodeGen/ |
D | CGExprCXX.cpp | 206 const CXXMethodDecl *CalleeDecl = in EmitCXXMemberOrOperatorMemberCallExpr() local 209 if (const auto *Dtor = dyn_cast<CXXDestructorDecl>(CalleeDecl)) in EmitCXXMemberOrOperatorMemberCallExpr() 212 else if (const auto *Ctor = dyn_cast<CXXConstructorDecl>(CalleeDecl)) in EmitCXXMemberOrOperatorMemberCallExpr() 216 FInfo = &CGM.getTypes().arrangeCXXMethodDeclaration(CalleeDecl); in EmitCXXMemberOrOperatorMemberCallExpr() 277 *this, CalleeDecl, This, UseVirtualCall); in EmitCXXMemberOrOperatorMemberCallExpr()
|
D | CGCall.cpp | 3176 const FunctionDecl *CalleeDecl, unsigned ParamsToSkip) { in EmitCallArgs() argument 3180 if (CalleeDecl == nullptr || I >= CalleeDecl->getNumParams()) in EmitCallArgs() 3182 auto *PS = CalleeDecl->getParamDecl(I)->getAttr<PassObjectSizeAttr>(); in EmitCallArgs() 3213 CalleeDecl, ParamsToSkip + I); in EmitCallArgs() 3227 CalleeDecl, ParamsToSkip + I); in EmitCallArgs()
|
D | CodeGenFunction.h | 3315 const FunctionDecl *CalleeDecl = nullptr, 3356 EmitCallArgs(Args, ArgTypes, ArgRange, CalleeDecl, ParamsToSkip); 3361 const FunctionDecl *CalleeDecl = nullptr,
|
/external/llvm-project/llvm/lib/CodeGen/AsmPrinter/ |
D | DwarfDebug.cpp | 910 const Function *CalleeDecl = nullptr; in constructCallSiteEntryDIEs() local 916 CalleeDecl = dyn_cast<Function>(CalleeOp.getGlobal()); in constructCallSiteEntryDIEs() 917 if (!CalleeDecl || !CalleeDecl->getSubprogram()) in constructCallSiteEntryDIEs() 919 const DISubprogram *CalleeSP = CalleeDecl->getSubprogram(); in constructCallSiteEntryDIEs() 961 << (CalleeDecl ? CalleeDecl->getName() in constructCallSiteEntryDIEs()
|