Searched refs:RD (Results 126 - 150 of 206) sorted by relevance

123456789

/freebsd-11-stable/contrib/llvm-project/clang/lib/ARCMigrate/
H A DTransGCAttrs.cpp133 if (CXXRecordDecl *RD = dyn_cast<CXXRecordDecl>(D)) {
134 for (const auto *MI : RD->methods()) {
/freebsd-11-stable/contrib/llvm-project/clang/lib/Tooling/Refactoring/Rename/
H A DUSRLocFinder.cpp454 if (const auto *RD = Loc.getType()->getAsCXXRecordDecl())
455 return RD;
/freebsd-11-stable/contrib/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/
H A DASTResultSynthesizer.cpp496 void ASTResultSynthesizer::HandleVTable(CXXRecordDecl *RD) { argument
498 m_passthrough->HandleVTable(RD);
/freebsd-11-stable/contrib/llvm-project/clang/lib/CodeGen/
H A DObjectFilePCHContainerOperations.cpp227 if (const RecordDecl *RD = dyn_cast<RecordDecl>(D))
228 Builder->getModuleDebugInfo()->completeRequiredType(RD); variable
H A DCGExprCXX.cpp46 const CXXRecordDecl *RD = local
48 Args.add(RValue::get(This), CGF.getTypes().DeriveThisType(RD, MD));
399 const CXXRecordDecl *RD; local
400 std::tie(VTable, RD) = CGM.getCXXABI().LoadVTablePtr(
402 EmitVTablePtrCheckForCall(RD, VTable, CFITCK_NVCall, CE->getBeginLoc());
439 const auto *RD = local
464 getContext().getPointerType(getContext().getTagDeclType(RD));
1890 CXXRecordDecl *RD = cast<CXXRecordDecl>(RT->getDecl()); local
1891 if (RD->hasDefinition() && !RD
[all...]
H A DCGCall.cpp71 /// qualification. Either or both of RD and MD may be null. A null RD indicates
74 CanQualType CodeGenTypes::DeriveThisType(const CXXRecordDecl *RD, argument
77 if (RD)
78 RecTy = Context.getTagDeclType(RD)->getCanonicalTypeInternal();
246 /// (A null RD means we don't have any meaningful "this" argument type,
251 CodeGenTypes::arrangeCXXMethodType(const CXXRecordDecl *RD, argument
257 argTypes.push_back(DeriveThisType(RD, MD));
546 const CXXRecordDecl *RD = CD->getParent(); local
547 ArgTys.push_back(DeriveThisType(RD, C
913 const RecordDecl *RD = RT->getDecl(); local
[all...]
H A DCodeGenAction.cpp366 void AssignInheritanceModel(CXXRecordDecl *RD) override {
367 Gen->AssignInheritanceModel(RD);
370 void HandleVTable(CXXRecordDecl *RD) override {
371 Gen->HandleVTable(RD);
H A DCodeGenModule.cpp667 void CodeGenModule::RefreshTypeCacheForClass(const CXXRecordDecl *RD) { argument
669 Types.RefreshTypeCacheForClass(RD);
739 llvm::Instruction *I, const CXXRecordDecl *RD) {
1482 CodeGenModule::getMostBaseClasses(const CXXRecordDecl *RD) { argument
1486 CollectMostBases = [&](const CXXRecordDecl *RD) {
1487 if (RD->getNumBases() == 0)
1488 MostBases.insert(RD);
1489 for (const CXXBaseSpecifier &B : RD->bases())
1492 CollectMostBases(RD);
2181 for (const CXXRecordDecl *RD
738 DecorateInstructionWithInvariantGroup( llvm::Instruction *I, const CXXRecordDecl *RD) argument
4202 const RecordDecl *RD = RT->getDecl(); local
5894 AddVTableTypeMetadata(llvm::GlobalVariable *VTable, CharUnits Offset, const CXXRecordDecl *RD) argument
[all...]
H A DCGObjCMac.cpp1000 const RecordDecl *RD,
2508 const RecordDecl *RD,
2512 bool IsUnion = (RD && RD->isUnion());
2525 // Note that 'i' here is actually the field index inside RD of Field,
2527 const ASTRecordLayout &RL = CGM.getContext().getASTRecordLayout(RD);
2633 const RecordDecl *RD = RT->getDecl(); local
2634 SmallVector<const FieldDecl*, 16> Fields(RD->fields());
2639 BuildRCRecordLayout(RecLayout, RD, Fields, BytePos, HasUnion, ByrefLayout);
5312 const RecordDecl *RD local
2507 BuildRCRecordLayout(const llvm::StructLayout *RecLayout, const RecordDecl *RD, ArrayRef<const FieldDecl*> RecFields, CharUnits BytePos, bool &HasUnion, bool ByrefLayout) argument
5797 RecordDecl *RD = RecordDecl::Create(Ctx, TTK_Struct, local
6150 RecordDecl *RD = RecordDecl::Create(Ctx, TTK_Struct, local
[all...]
/freebsd-11-stable/contrib/llvm-project/clang/lib/Sema/
H A DSemaInit.cpp1267 RecordDecl *RD = DeclType->castAs<RecordType>()->getDecl(); local
1271 if (auto *CXXRD = dyn_cast<CXXRecordDecl>(RD))
1273 CheckStructUnionTypes(Entity, IList, DeclType, Bases, RD->field_begin(),
2010 RecordDecl *RD = DeclType->castAs<RecordType>()->getDecl();
2013 for (FieldDecl *FD : RD->fields()) {
2022 if (isa<CXXRecordDecl>(RD) &&
2023 cast<CXXRecordDecl>(RD)->hasInClassInitializer()) {
2026 for (RecordDecl::field_iterator FieldEnd = RD->field_end();
2038 for (RecordDecl::field_iterator FieldEnd = RD->field_end();
2085 RecordDecl *RD
[all...]
H A DSemaDeclAttr.cpp175 const RecordDecl *RD = RT->getDecl(); local
176 if (RD->getTagKind() != TTK_Struct)
179 return RD->getIdentifier() == &Ctx.Idents.get("__CFString");
537 static bool checkRecordDeclForAttr(const RecordDecl *RD) { argument
539 if (RD->hasAttr<AttrType>())
543 if (const auto *CRD = dyn_cast<CXXRecordDecl>(RD)) {
640 const CXXRecordDecl *RD = MD->getParent(); local
642 if (!checkRecordDeclForAttr<CapabilityAttr>(RD) &&
643 !checkRecordDeclForAttr<ScopedLockableAttr>(RD))
1178 if (const CXXRecordDecl *RD
3571 RecordDecl *RD = nullptr; local
3886 checkMSInheritanceAttrOnDefinition( CXXRecordDecl *RD, SourceRange Range, bool BestCase, MSInheritanceModel ExplicitModel) argument
5340 auto *RD = dyn_cast<RecordDecl>(D); local
5757 handleBPFPreserveAIRecord(Sema &S, RecordDecl *RD) argument
6165 auto *RD = cast<CXXRecordDecl>(D); local
[all...]
H A DSemaOpenMP.cpp549 void addRequiresDecl(OMPRequiresDecl *RD) {
550 RequiresDecls.push_back(RD);
1319 const CXXRecordDecl *RD = AcceptIfMutable && SemaRef.getLangOpts().CPlusPlus
1322 if (const auto *CTSD = dyn_cast_or_null<ClassTemplateSpecializationDecl>(RD))
1324 RD = CTD->getTemplatedDecl();
1326 *IsClassType = RD;
1327 return IsConstant && !(SemaRef.getLangOpts().CPlusPlus && RD &&
1328 RD->hasDefinition() && RD->hasMutableFields());
3056 if (const auto *RD
[all...]
/freebsd-11-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DBugReporterVisitors.cpp388 findRegionOfInterestInRecord(const RecordDecl *RD, ProgramStateRef State,
471 RuntimeDefinition RD = Call->getRuntimeDefinition(); local
472 if (const auto *FD = dyn_cast_or_null<FunctionDecl>(RD.getDecl()))
474 if (const auto *MD = dyn_cast_or_null<ObjCMethodDecl>(RD.getDecl()))
494 const RecordDecl *RD, ProgramStateRef State, const MemRegion *R,
501 if (const auto *RDX = dyn_cast<CXXRecordDecl>(RD))
507 if (const auto *RDX = dyn_cast<CXXRecordDecl>(RD))
514 for (const FieldDecl *I : RD->fields()) {
603 if (const RecordDecl *RD = PT->getAsRecordDecl())
605 findRegionOfInterestInRecord(RD, Stat
493 findRegionOfInterestInRecord( const RecordDecl *RD, ProgramStateRef State, const MemRegion *R, const NoStoreFuncVisitor::RegionVector &Vec , int depth ) argument
[all...]
/freebsd-11-stable/contrib/llvm-project/clang/lib/AST/
H A DStmt.cpp1222 RecordDecl *RD)
1224 CapDeclAndKind(CD, Kind), TheRecordDecl(RD) {
1227 assert(RD && "null record declaration for captured statement");
1253 RecordDecl *RD) {
1273 return new (Mem) CapturedStmt(S, Kind, Captures, CaptureInits, CD, RD);
1218 CapturedStmt(Stmt *S, CapturedRegionKind Kind, ArrayRef<Capture> Captures, ArrayRef<Expr *> CaptureInits, CapturedDecl *CD, RecordDecl *RD) argument
1248 Create(const ASTContext &Context, Stmt *S, CapturedRegionKind Kind, ArrayRef<Capture> Captures, ArrayRef<Expr *> CaptureInits, CapturedDecl *CD, RecordDecl *RD) argument
/freebsd-11-stable/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DMemRegion.h1158 CXXBaseObjectRegion(const CXXRecordDecl *RD, bool IsVirtual, argument
1160 : TypedValueRegion(SReg, CXXBaseObjectRegionKind), Data(RD, IsVirtual) {
1161 assert(RD);
1164 static void ProfileRegion(llvm::FoldingSetNodeID &ID, const CXXRecordDecl *RD,
1206 static void ProfileRegion(llvm::FoldingSetNodeID &ID, const CXXRecordDecl *RD,
/freebsd-11-stable/contrib/llvm-project/llvm/utils/TableGen/
H A DSubtargetEmitter.cpp711 for (const CodeGenRegisterFile &RD : ProcModel.RegisterFiles) {
713 OS << '"' << RD.Name << '"' << ", " << RD.NumPhysRegs << ", ";
714 unsigned NumCostEntries = RD.Costs.size();
716 << RD.MaxMovesEliminatedPerCycle << ", "
717 << RD.AllowZeroMoveEliminationOnly << "},\n";
/freebsd-11-stable/contrib/llvm-project/clang/lib/Analysis/
H A DThreadSafety.cpp1231 if (const auto *RD = RT->getDecl())
1232 if (const auto *CA = RD->getAttr<CapabilityAttr>())
2105 findConstructorForByValueReturn(const CXXRecordDecl *RD) {
2111 for (auto *Ctor : RD->ctors()) {
2162 auto *RD = E->getType()->getAsCXXRecordDecl();
2163 if (!RD || !RD->hasAttr<ScopedLockableAttr>())
2165 CXXConstructorDecl *CtorD = findConstructorForByValueReturn(RD);
H A DBodyFarm.cpp108 ValueDecl *findMemberField(const RecordDecl *RD, StringRef Name);
226 ValueDecl *ASTMaker::findMemberField(const RecordDecl *RD, StringRef Name) { argument
235 DeclContextLookupResult Decls = RD->lookup(DeclName);
H A DCFG.cpp871 void appendDeleteDtor(CFGBlock *B, CXXRecordDecl *RD, CXXDeleteExpr *DE) { argument
872 B->appendDeleteDtor(RD, DE, cfg->getBumpVectorContext());
1883 const CXXRecordDecl *RD = DD->getParent(); local
1886 for (const auto &VI : RD->vbases()) {
1898 for (const auto &BI : RD->bases()) {
1909 for (auto *FI : RD->fields()) {
4557 CXXRecordDecl *RD = Context->getBaseElementType(DTy)->getAsCXXRecordDecl(); local
4558 if (RD) {
4559 if (RD->isCompleteDefinition() && !RD
5552 const CXXRecordDecl *RD = DE.getCXXRecordDecl(); local
[all...]
/freebsd-11-stable/contrib/llvm-project/clang/include/clang/Sema/
H A DScopeInfo.h763 RecordDecl *RD, ImplicitParamDecl *Context,
767 TheCapturedDecl(CD), TheRecordDecl(RD), TheScope(S),
762 CapturedRegionScopeInfo(DiagnosticsEngine &Diag, Scope *S, CapturedDecl *CD, RecordDecl *RD, ImplicitParamDecl *Context, CapturedRegionKind K, unsigned OpenMPLevel, unsigned OpenMPCaptureLevel) argument
/freebsd-11-stable/contrib/llvm-project/clang/lib/AST/Interp/
H A DByteCodeExprGen.cpp514 Record *ByteCodeExprGen<Emitter>::getRecord(const RecordDecl *RD) {
515 return P.getOrCreateRecord(RD);
H A DByteCodeExprGen.h87 Record *getRecord(const RecordDecl *RD);
/freebsd-11-stable/contrib/llvm-project/clang/lib/Serialization/
H A DASTWriter.cpp4913 auto *RD = cast<CXXRecordDecl>(D);
4914 UpdatedDeclContexts.insert(RD->getPrimaryContext());
4915 Record.push_back(RD->isParamDestroyedInCallee());
4916 Record.push_back(RD->getArgPassingRestrictions());
4917 Record.AddCXXDefinitionData(RD);
4919 *Context, const_cast<CXXRecordDecl *>(RD)));
4924 if (auto *MSInfo = RD->getMemberSpecializationInfo()) {
4928 auto *Spec = cast<ClassTemplateSpecializationDecl>(RD);
4945 Record.push_back(RD->getTagKind());
4946 Record.AddSourceLocation(RD
[all...]
/freebsd-11-stable/contrib/llvm-project/clang/include/clang/AST/
H A DRecursiveASTVisitor.h1684 for (auto *RD : SD->redecls()) {
1686 if (cast<CXXRecordDecl>(RD)->isInjectedClassName())
1690 cast<ClassTemplateSpecializationDecl>(RD)->getSpecializationKind()) {
1694 TRY_TO(TraverseDecl(RD));
1715 for (auto *RD : SD->redecls()) {
1717 cast<VarTemplateSpecializationDecl>(RD)->getSpecializationKind()) {
1720 TRY_TO(TraverseDecl(RD));
1740 for (auto *RD : FD->redecls()) {
1741 switch (RD->getTemplateSpecializationKind()) {
1745 TRY_TO(TraverseDecl(RD));
[all...]
H A DASTContext.h2224 void DumpRecordLayout(const RecordDecl *RD, raw_ostream &OS,
2244 const CXXMethodDecl *getCurrentKeyFunction(const CXXRecordDecl *RD);
2265 CharUnits getOffsetOfBaseWithVBPtr(const CXXRecordDecl *RD) const;
2275 bool isNearlyEmpty(const CXXRecordDecl *RD) const;
2810 getCopyConstructorForExceptionObject(CXXRecordDecl *RD);
2812 void addCopyConstructorForExceptionObject(CXXRecordDecl *RD,
2966 void getObjCEncodingForStructureImpl(RecordDecl *RD, std::string &S,

Completed in 518 milliseconds

123456789