/external/clang/include/clang/AST/ |
D | ASTLambda.h | 28 inline bool isLambdaCallOperator(const CXXMethodDecl *MD) { in isLambdaCallOperator() 35 if (!DC || !isa<CXXMethodDecl>(DC)) return false; in isLambdaCallOperator() 36 return isLambdaCallOperator(cast<CXXMethodDecl>(DC)); in isLambdaCallOperator() 39 inline bool isGenericLambdaCallOperatorSpecialization(const CXXMethodDecl *MD) { in isGenericLambdaCallOperatorSpecialization() 65 dyn_cast<CXXMethodDecl>(DC)); in isGenericLambdaCallOperatorSpecialization()
|
D | VTableBuilder.h | 72 static VTableComponent MakeFunction(const CXXMethodDecl *MD) { in MakeFunction() 90 static VTableComponent MakeUnusedFunction(const CXXMethodDecl *MD) { in MakeUnusedFunction() 129 const CXXMethodDecl *getFunctionDecl() const { in getFunctionDecl() 133 return reinterpret_cast<CXXMethodDecl *>(getPointer()); in getFunctionDecl() 141 const CXXMethodDecl *getUnusedFunctionDecl() const { in getUnusedFunctionDecl() 143 return reinterpret_cast<CXXMethodDecl *>(getPointer()); in getUnusedFunctionDecl() 304 typedef llvm::DenseMap<const CXXMethodDecl *, ThunkInfoVectorTy> ThunksMapTy; 317 const CXXMethodDecl *MD = cast<CXXMethodDecl>(GD.getDecl()->getCanonicalDecl()); in getThunkInfo()
|
D | DeclCXX.h | 37 class CXXMethodDecl; variable 751 typedef specific_decl_iterator<CXXMethodDecl> method_iterator; 752 typedef llvm::iterator_range<specific_decl_iterator<CXXMethodDecl>> 1035 CXXMethodDecl *getLambdaCallOperator() const; 1040 CXXMethodDecl *getLambdaStaticInvoker() const; 1597 void finishedDefaultedOrDeletedMember(CXXMethodDecl *MD); 1707 class CXXMethodDecl : public FunctionDecl { 1710 CXXMethodDecl(Kind DK, ASTContext &C, CXXRecordDecl *RD, in CXXMethodDecl() function 1722 static CXXMethodDecl *Create(ASTContext &C, CXXRecordDecl *RD, 1731 static CXXMethodDecl *CreateDeserialized(ASTContext &C, unsigned ID); [all …]
|
D | CXXInheritance.h | 32 class CXXMethodDecl; variable 234 UniqueVirtualMethod(CXXMethodDecl *Method, unsigned Subobject, in UniqueVirtualMethod() 240 CXXMethodDecl *Method; 357 : public llvm::MapVector<const CXXMethodDecl *, OverridingMethods> { };
|
D | MangleNumberingContext.h | 25 class CXXMethodDecl; variable 39 virtual unsigned getManglingNumber(const CXXMethodDecl *CallOperator) = 0;
|
D | ASTConsumer.h | 21 class CXXMethodDecl; variable 60 virtual void HandleInlineMethodDefinition(CXXMethodDecl *D) {} in HandleInlineMethodDefinition()
|
D | Mangle.h | 30 class CXXMethodDecl; variable 99 virtual void mangleThunk(const CXXMethodDecl *MD, 201 virtual void mangleVirtualMemPtrThunk(const CXXMethodDecl *MD,
|
/external/clang/lib/AST/ |
D | VTableBuilder.cpp | 67 const CXXMethodDecl *Method; 102 typedef std::pair<const CXXMethodDecl *, CharUnits> MethodBaseOffsetPairTy; 141 OverriderInfo getOverrider(const CXXMethodDecl *MD, in getOverrider() 181 const CXXMethodDecl *MD = Overrider.first; in FinalOverriders() 272 const CXXMethodDecl *DerivedMD, in ComputeReturnAdjustmentBaseOffset() 273 const CXXMethodDecl *BaseMD) { in ComputeReturnAdjustmentBaseOffset() 445 typedef std::pair<const CXXMethodDecl *, CharUnits> MethodAndOffsetPairTy; 453 static bool MethodsCanShareVCallOffset(const CXXMethodDecl *LHS, 454 const CXXMethodDecl *RHS); 460 bool AddVCallOffset(const CXXMethodDecl *MD, CharUnits OffsetOffset); [all …]
|
D | DeclCXX.cpp | 434 if (CXXMethodDecl *Method = dyn_cast<CXXMethodDecl>(D)) { in addedMember() 546 if (CXXMethodDecl *Method = dyn_cast<CXXMethodDecl>(D)) { in addedMember() 933 void CXXRecordDecl::finishedDefaultedOrDeletedMember(CXXMethodDecl *D) { in finishedDefaultedOrDeletedMember() 984 CXXMethodDecl* CXXRecordDecl::getLambdaCallOperator() const { in getLambdaCallOperator() 996 return cast<CXXMethodDecl>(CallOpTmpl->getTemplatedDecl()); in getLambdaCallOperator() 998 return cast<CXXMethodDecl>(CallOp); in getLambdaCallOperator() 1001 CXXMethodDecl* CXXRecordDecl::getLambdaStaticInvoker() const { in getLambdaStaticInvoker() 1011 return cast<CXXMethodDecl>(InvokerTemplate->getTemplatedDecl()); in getLambdaStaticInvoker() 1013 return cast<CXXMethodDecl>(InvokerFun); in getLambdaStaticInvoker() 1037 CXXMethodDecl *CallOp = getLambdaCallOperator(); in getGenericLambdaTemplateParameterList() [all …]
|
D | CXXInheritance.cpp | 525 const CXXMethodDecl *CanonOM in Collect() 526 = cast<CXXMethodDecl>(OM->first->getCanonicalDecl()); in Collect() 537 CXXMethodDecl *CanonM = cast<CXXMethodDecl>(M->getCanonicalDecl()); in Collect() 559 typedef llvm::iterator_range<CXXMethodDecl::method_iterator> in Collect() 565 for (const CXXMethodDecl *OM : Stack.pop_back_val()) { in Collect() 566 const CXXMethodDecl *CanonOM = OM->getCanonicalDecl(); in Collect()
|
D | MicrosoftMangle.cpp | 106 void mangleVirtualMemPtrThunk(const CXXMethodDecl *MD, 108 void mangleThunk(const CXXMethodDecl *MD, const ThunkInfo &Thunk, 261 const CXXMethodDecl *MD); 263 const CXXMethodDecl *MD, 539 const CXXMethodDecl *MD) { in mangleMemberFunctionPointer() 602 const CXXMethodDecl *MD, in mangleVirtualMemPtrThunk() 1207 const CXXMethodDecl *MD = dyn_cast<CXXMethodDecl>(FD); in mangleTemplateArg() 1751 if (const CXXMethodDecl *MD = dyn_cast_or_null<CXXMethodDecl>(D)) { in mangleFunctionType() 1893 if (const CXXMethodDecl *MD = dyn_cast<CXXMethodDecl>(FD)) { in mangleFunctionClass() 2386 static void mangleThunkThisAdjustment(const CXXMethodDecl *MD, in mangleThunkThisAdjustment() [all …]
|
/external/clang/lib/CodeGen/ |
D | CGVTables.cpp | 37 const CXXMethodDecl *MD = cast<CXXMethodDecl>(GD.getDecl()); in GetAddrOfThunk() 53 static void setThunkVisibility(CodeGenModule &CGM, const CXXMethodDecl *MD, in setThunkVisibility() 66 const CXXMethodDecl *MD = cast<CXXMethodDecl>(GD.getDecl()); in setThunkProperties() 147 const CXXMethodDecl *MD = cast<CXXMethodDecl>(GD.getDecl()); in GenerateVarArgsThunk() 217 const CXXMethodDecl *MD = cast<CXXMethodDecl>(GD.getDecl()); in StartThunk() 258 assert(isa<CXXMethodDecl>(CurGD.getDecl()) && in EmitCallAndReturnForThunk() 260 const CXXMethodDecl *MD = cast<CXXMethodDecl>(CurGD.getDecl()); in EmitCallAndReturnForThunk() 344 void CodeGenFunction::EmitMustTailThunk(const CXXMethodDecl *MD, in EmitMustTailThunk() 499 const CXXMethodDecl *MD = cast<CXXMethodDecl>(GD.getDecl()); in maybeEmitThunkForVTable() 509 const CXXMethodDecl *MD = in EmitThunks() [all …]
|
D | CodeGenTypes.h | 39 class CXXMethodDecl; variable 252 const CGFunctionInfo &arrangeCXXMethodDeclaration(const CXXMethodDecl *MD); 253 const CGFunctionInfo &arrangeCXXStructorDeclaration(const CXXMethodDecl *MD, 272 const CGFunctionInfo &arrangeMSMemberPointerThunk(const CXXMethodDecl *MD); 280 const CXXMethodDecl *MD);
|
D | CGCXX.cpp | 217 llvm::Function *CodeGenModule::codegenCXXStructor(const CXXMethodDecl *MD, in codegenCXXStructor() 243 const CXXMethodDecl *MD, StructorType Type, const CGFunctionInfo *FnInfo, in getAddrOfCXXStructor() 289 CodeGenFunction::BuildAppleKextVirtualCall(const CXXMethodDecl *MD, in BuildAppleKextVirtualCall() 314 const auto *MD = cast<CXXMethodDecl>(DD); in BuildAppleKextVirtualDestructorCall()
|
D | CGCXXABI.h | 32 class CXXMethodDecl; variable 182 virtual llvm::Constant *EmitMemberFunctionPointer(const CXXMethodDecl *MD); 286 virtual void buildStructorSignature(const CXXMethodDecl *MD, StructorType T, 303 getThisArgumentTypeForMethod(const CXXMethodDecl *MD) { in getThisArgumentTypeForMethod() 558 virtual void emitCXXStructor(const CXXMethodDecl *MD, StructorType Type) = 0;
|
D | CGClass.cpp | 110 assert(isa<CXXMethodDecl>(CurFuncDecl)); in LoadCXXThisAddress() 117 auto RD = cast<CXXMethodDecl>(CurFuncDecl)->getParent(); in LoadCXXThisAddress() 432 const CXXRecordDecl *RD = cast<CXXMethodDecl>(CurCodeDecl)->getParent(); in GetVTTParameter() 433 const CXXRecordDecl *Base = cast<CXXMethodDecl>(GD.getDecl())->getParent(); in GetVTTParameter() 483 cast<CXXMethodDecl>(CGF.CurCodeDecl)->getParent(); in Emit() 663 static bool isMemcpyEquivalentSpecialMember(const CXXMethodDecl *D) { in isMemcpyEquivalentSpecialMember() 1261 CXXMethodDecl *MD = dyn_cast<CXXMethodDecl>(MCE->getCalleeDecl()); in getMemcpyableField() 1310 AssignmentMemcpyizer(CodeGenFunction &CGF, const CXXMethodDecl *AD, in AssignmentMemcpyizer() 1602 const CXXMethodDecl *AssignOp = cast<CXXMethodDecl>(CurGD.getDecl()); in emitImplicitAssignmentOperatorBody() 2475 for (const CXXMethodDecl *MD : RD->methods()) { in LeastDerivedClassWithSameLayout() [all …]
|
D | CGCXXABI.cpp | 137 llvm::Constant *CGCXXABI::EmitMemberFunctionPointer(const CXXMethodDecl *MD) { in EmitMemberFunctionPointer() 157 const CXXMethodDecl *MD = cast<CXXMethodDecl>(CGF.CurGD.getDecl()); in buildThisParam()
|
/external/clang/lib/StaticAnalyzer/Core/ |
D | CallEvent.cpp | 429 if (const CXXMethodDecl *D = cast_or_null<CXXMethodDecl>(getDecl())) { in getExtraInvalidatedValues() 468 const CXXMethodDecl *MD = cast<CXXMethodDecl>(D); in getRuntimeDefinition() 491 const CXXMethodDecl *Result = MD->getCorrespondingMethodInClass(RD, true); in getRuntimeDefinition() 533 const CXXMethodDecl *MD = cast<CXXMethodDecl>(CalleeCtx->getDecl()); in getInitialStackFrameContents() 604 auto *LambdaOperatorDecl = cast<CXXMethodDecl>(CalleeCtx->getDecl()); in getInitialStackFrameContents() 643 const CXXMethodDecl *MD = cast<CXXMethodDecl>(CalleeCtx->getDecl()); in getInitialStackFrameContents() 966 if (const CXXMethodDecl *MD = dyn_cast<CXXMethodDecl>(DirectCallee)) in getSimpleCall() 997 const CXXMethodDecl *Ctor = cast<CXXMethodDecl>(CalleeCtx->getDecl()); in getCaller()
|
D | ExprEngineCXX.cpp | 49 assert(cast<CXXMethodDecl>(Call.getDecl())->isTrivial()); in performTrivialCopy() 50 assert(cast<CXXMethodDecl>(Call.getDecl())->getOverloadedOperator() == in performTrivialCopy() 129 const CXXMethodDecl *CurCtor = cast<CXXMethodDecl>(LCtx->getDecl()); in getRegionForConstructedObject() 271 const CXXMethodDecl *CurCtor = cast<CXXMethodDecl>(LCtx->getDecl()); in VisitCXXConstructExpr() 439 if (FD && !isa<CXXMethodDecl>(FD) && !FD->isVariadic()) { in VisitCXXNewExpr()
|
/external/clang/include/clang/Basic/ |
D | ABI.h | 175 class CXXMethodDecl; variable 191 const CXXMethodDecl *Method; 196 const CXXMethodDecl *Method = nullptr)
|
/external/clang/include/clang/CodeGen/ |
D | CodeGenABITypes.h | 39 class CXXMethodDecl; variable 70 const CXXMethodDecl *MD);
|
/external/clang/lib/Sema/ |
D | SemaDeclCXX.cpp | 152 const CXXMethodDecl *Method) { in CalledDecl() 514 CXXMethodDecl *MD = dyn_cast<CXXMethodDecl>(New); in MergeCXXFunctionDecl() 620 CXXSpecialMember NewSM = getSpecialMember(cast<CXXMethodDecl>(New)), in MergeCXXFunctionDecl() 621 OldSM = getSpecialMember(cast<CXXMethodDecl>(Old)); in MergeCXXFunctionDecl() 804 const CXXMethodDecl *MD = dyn_cast<CXXMethodDecl>(NewFD); in CheckConstexprFunctionDecl() 827 const CXXMethodDecl *Method = dyn_cast<CXXMethodDecl>(NewFD); in CheckConstexprFunctionDecl() 834 const CXXMethodDecl *WrittenVirtual = Method; in CheckConstexprFunctionDecl() 1878 CXXMethodDecl *MD = dyn_cast<CXXMethodDecl>(D); in CheckOverrideControl() 1889 SmallVector<CXXMethodDecl *, 8> OverloadedMethods; in CheckOverrideControl() 1942 CXXMethodDecl *MD = dyn_cast<CXXMethodDecl>(D); in DiagnoseAbsenceOfOverrideControl() [all …]
|
D | SemaLambda.cpp | 353 CXXMethodDecl *Sema::startLambdaDefinition(CXXRecordDecl *Class, in startLambdaDefinition() 386 CXXMethodDecl *Method in startLambdaDefinition() 387 = CXXMethodDecl::Create(Context, Class, EndLoc, in startLambdaDefinition() 436 CXXMethodDecl *CallOperator, in buildLambdaScope() 474 void Sema::addLambdaParameters(CXXMethodDecl *CallOperator, Scope *CurScope) { in addLambdaParameters() 884 CXXMethodDecl *Method = startLambdaDefinition(Class, Intro.Range, in ActOnStartOfLambdaDefinition() 1143 CXXMethodDecl *CallOperator) { in addFunctionPointerConversion() 1293 CXXMethodDecl *Invoke in addFunctionPointerConversion() 1294 = CXXMethodDecl::Create(S.Context, Class, Loc, in addFunctionPointerConversion() 1325 CXXMethodDecl *CallOperator) { in addBlockPointerConversion() [all …]
|
/external/clang/lib/StaticAnalyzer/Checkers/ |
D | VirtualCallChecker.cpp | 162 const CXXMethodDecl *MD = dyn_cast<CXXMethodDecl>(CE->getDirectCallee()); in VisitCXXMemberCallExpr()
|
/external/clang/include/clang/Sema/ |
D | Template.h | 430 Decl *VisitCXXMethodDecl(CXXMethodDecl *D, 491 bool InitMethodInstantiation(CXXMethodDecl *New, CXXMethodDecl *Tmpl);
|