/freebsd-11-stable/contrib/llvm-project/clang/lib/Sema/ |
H A D | SemaStmt.cpp | 349 if (const CXXRecordDecl *RD = CE->getType()->getAsCXXRecordDecl()) 350 if (!RD->getAttr<WarnUnusedAttr>()) 2785 if (CXXRecordDecl *RD = VariableType->getAsCXXRecordDecl()) 2786 return RD->hasAttr<TrivialABIAttr>(); 4132 if (auto *RD = Underlying->getAsCXXRecordDecl()) { 4133 if (!RD->hasDefinition()) 4141 Paths.setOrigin(RD); 4143 if (RD->lookupInBases(CTPB, Paths)) { 4278 RecordDecl *RD = nullptr; local 4280 RD 4342 RecordDecl *RD = CreateCapturedStmtRecordDecl(CD, Loc, NumParams); local 4372 RecordDecl *RD = CreateCapturedStmtRecordDecl(CD, Loc, Params.size()); local 4456 RecordDecl *RD = RSI->TheRecordDecl; local [all...] |
H A D | SemaCoroutine.cpp | 31 static LookupResult lookupMember(Sema &S, const char *Name, CXXRecordDecl *RD, argument 38 Res = S.LookupQualifiedName(LR, RD); 42 static bool lookupMember(Sema &S, const char *Name, CXXRecordDecl *RD, argument 45 lookupMember(S, Name, RD, Loc, Res); 106 auto *RD = CoroTrait->getAsCXXRecordDecl(); 107 assert(RD && "specialization of class template is not a class?"); 112 S.LookupQualifiedName(R, RD); 117 << RD; 733 auto *RD = Promise->getType()->getAsCXXRecordDecl(); local 734 if (lookupMember(*this, "await_transform", RD, Lo [all...] |
H A D | SemaLambda.cpp | 1579 if (const CXXRecordDecl *RD = BaseT->getAsCXXRecordDecl()) 1580 return !RD->isCompleteDefinition() || !RD->hasTrivialCopyConstructor() || 1581 !RD->hasTrivialDestructor(); 1606 FieldDecl *Sema::BuildCaptureField(RecordDecl *RD, argument 1625 FieldDecl::Create(Context, RD, Loc, Loc, nullptr, FieldType, TSI, nullptr, 1631 RD->setInvalidDecl(); 1637 RD->setInvalidDecl(); 1644 RD->addDecl(Field);
|
H A D | SemaDecl.cpp | 96 auto *RD = dyn_cast<CXXRecordDecl>(ND); variable 97 if (!RD || !RD->isInjectedClassName()) 99 RD = cast<CXXRecordDecl>(RD->getDeclContext()); 100 return RD->getDescribedClassTemplate() || 101 isa<ClassTemplateSpecializationDecl>(RD); 181 const CXXRecordDecl *RD) { 182 if (!RD->hasDefinition()) 187 for (const auto &Base : RD 179 lookupUnqualifiedTypeNameInBase(Sema &S, const IdentifierInfo &II, SourceLocation NameLoc, const CXXRecordDecl *RD) argument 238 const CXXRecordDecl *RD = nullptr; local 582 << RD; local 649 CXXRecordDecl *RD = cast<CXXRecordDecl>(CurContext); local 8568 const RecordDecl *RD; local 11495 const RecordDecl *RD = QT->castAs<RecordType>()->getDecl(); local 11560 const RecordDecl *RD = QT->castAs<RecordType>()->getDecl(); local 11626 const RecordDecl *RD = QT->castAs<RecordType>()->getDecl(); local 12688 CXXRecordDecl *RD = baseType->getAsCXXRecordDecl(); local [all...] |
/freebsd-11-stable/contrib/llvm-project/clang/lib/Frontend/Rewrite/ |
H A D | RewriteModernObjC.cpp | 309 void RewriteRecordBody(RecordDecl *RD); 855 RecordDecl *RD = IvarT->castAs<RecordType>()->getDecl(); local 856 RD = RD->getDefinition(); 857 if (RD && !RD->getDeclName().getAsIdentifierInfo()) { 865 RecordDecl *RD = local 868 QualType PtrStructIMPL = Context->getPointerType(Context->getTagDeclType(RD)); 3609 if (RecordDecl *RD = dyn_cast<RecordDecl>(Tag)) { 3610 RD 3643 RecordDecl *RD = Type->castAs<RecordType>()->getDecl(); local 3787 RecordDecl *RD = RecordDecl::Create(*Context, TTK_Struct, local 4595 RecordDecl *RD = RecordDecl::Create(*Context, TTK_Struct, TUDecl, local 5350 RecordDecl *RD = RecordDecl::Create(*Context, TTK_Struct, TUDecl, local 5670 RewriteRecordBody(RecordDecl *RD) argument 5759 RecordDecl *RD = VD->getType()->castAs<RecordType>()->getDecl(); local 5796 RecordDecl *RD = cast<RecordDecl>(D); local 7500 RecordDecl *RD = IvarT->castAs<RecordType>()->getDecl(); local 7511 RecordDecl *RD = RecordDecl::Create( local [all...] |
H A D | RewriteObjC.cpp | 260 void RewriteRecordBody(RecordDecl *RD); 2357 RecordDecl *RD = RecordDecl::Create(*Context, TTK_Struct, TUDecl, local 2360 QualType argT = Context->getPointerType(Context->getTagDeclType(RD)); 2400 RecordDecl *RD = RecordDecl::Create(*Context, TTK_Struct, TUDecl, local 2403 QualType argT = Context->getPointerType(Context->getTagDeclType(RD)); 3765 RecordDecl *RD = RecordDecl::Create(*Context, TTK_Struct, TUDecl, local 3768 QualType PtrBlock = Context->getPointerType(Context->getTagDeclType(RD)); 4489 RecordDecl *RD = RecordDecl::Create(*Context, TTK_Struct, TUDecl, local 4492 assert(RD && "SynthBlockInitExpr(): Can't find RecordDecl"); 4493 QualType castT = Context->getPointerType(Context->getTagDeclType(RD)); 4770 RewriteRecordBody(RecordDecl *RD) argument 4859 RecordDecl *RD = VD->getType()->castAs<RecordType>()->getDecl(); local 4894 RecordDecl *RD = cast<RecordDecl>(D); local 5825 RecordDecl *RD = RecordDecl::Create(*Context, TTK_Struct, TUDecl, local 5865 RecordDecl *RD = RecordDecl::Create(*Context, TTK_Struct, TUDecl, local [all...] |
/freebsd-11-stable/contrib/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/ |
H A D | ASTUtils.h | 190 void AssignInheritanceModel(clang::CXXRecordDecl *RD) override { 191 m_c->AssignInheritanceModel(RD); 198 void HandleVTable(clang::CXXRecordDecl *RD) override { 199 m_c->HandleVTable(RD);
|
/freebsd-11-stable/contrib/llvm-project/clang/lib/AST/Interp/ |
H A D | Program.h | 98 Record *getOrCreateRecord(const RecordDecl *RD);
|
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
H A D | SymbolRewriter.cpp | 125 static bool classof(const RewriteDescriptor *RD) { argument 126 return RD->getType() == DT; 166 static bool classof(const RewriteDescriptor *RD) { argument 167 return RD->getType() == DT;
|
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/Hexagon/ |
H A D | HexagonBitTracker.cpp | 1191 RegisterRef RD = MD; 1193 uint16_t W = getRegBitWidth(RD); 1198 Res[i] = BT::BitValue::self(BT::BitRef(RD.Reg, i)); 1209 putCell(RD, Res, Outputs); 1220 RegisterRef RD = MI.getOperand(0); 1222 assert(RD.Sub == 0); 1225 RegExtMap::const_iterator F = VRX.find(RD.Reg); 1230 // Store RD's cell into the map. This will associate the cell with a virtual 1234 putCell(RD, getCell(RS, Inputs), Outputs); 1237 // Read RD' [all...] |
H A D | HexagonGenPredicate.cpp | 216 RegisterSubReg RD = MI->getOperand(0); local 217 if (Register::isVirtualRegister(RD.R)) 218 PredGPRs.insert(RD);
|
/freebsd-11-stable/tools/tools/netmap/ |
H A D | bridge.c | 79 RD(5, "wrong index rx[%d] = %d -> tx[%d] = %d", 85 RD(5, "wrong len %d rx[%d] -> tx[%d]", rs->len, j, k);
|
/freebsd-11-stable/contrib/llvm-project/clang/lib/Serialization/ |
H A D | ASTCommon.cpp | 432 if (auto *RD = dyn_cast<CXXRecordDecl>(D)) 433 return !RD->getDescribedClassTemplate();
|
/freebsd-11-stable/contrib/llvm-project/clang/lib/AST/ |
H A D | APValue.cpp | 606 if (const CXXRecordDecl *RD = dyn_cast<CXXRecordDecl>(BaseOrMember)) { 607 CastToBase = RD; 608 ElemTy = Ctx.getRecordType(RD); 655 const RecordDecl *RD = Ty->castAs<RecordType>()->getDecl(); local 658 const CXXRecordDecl *CD = cast<CXXRecordDecl>(RD); 668 for (const auto *FI : RD->fields()) {
|
H A D | ItaniumMangle.cpp | 49 if (const CXXRecordDecl *RD = dyn_cast<CXXRecordDecl>(D)) { 50 if (RD->isLambda()) 52 = dyn_cast_or_null<ParmVarDecl>(RD->getLambdaContextDecl())) 146 void mangleCXXVTable(const CXXRecordDecl *RD, raw_ostream &) override; 147 void mangleCXXVTT(const CXXRecordDecl *RD, raw_ostream &) override; 148 void mangleCXXCtorVTable(const CXXRecordDecl *RD, int64_t Offset, 1328 const RecordDecl *RD = VD->getType()->castAs<RecordType>()->getDecl(); local 1339 assert(RD->isAnonymousStructOrUnion() 1341 const FieldDecl *FD = RD->findFirstNamedDataMember(); 1555 const RecordDecl *RD local [all...] |
H A D | Decl.cpp | 994 } else if (const auto *RD = dyn_cast<CXXRecordDecl>(D)) { 995 if (const auto *spec = dyn_cast<ClassTemplateSpecializationDecl>(RD)) { 1005 } else if (isExplicitMemberSpecialization(RD)) { 1006 explicitSpecSuppressor = RD; 1114 if (const auto *RD = dyn_cast<CXXRecordDecl>(ND)) { 1115 CXXRecordDecl *InstantiatedFrom = RD->getInstantiatedFromMemberClass(); 1627 } else if (const auto *RD = dyn_cast<RecordDecl>(DC)) { 1628 if (!RD->getIdentifier()) 1629 OS << "(anonymous " << RD->getKindName() << ')'; 1631 OS << *RD; local 4055 const RecordDecl *RD = RT->getDecl()->getDefinition(); local 4082 const RecordDecl *RD = getParent()->getDefinition(); local [all...] |
H A D | ASTContext.cpp | 616 else if (const auto *RD = dyn_cast<CXXRecordDecl>(D)) { 617 if (!(RD = RD->getDefinition())) 620 for (const auto &I : RD->bases()) { 635 for (const auto &I : RD->vbases()) { 2245 const RecordDecl *RD = RT->getDecl(); local 2246 const ASTRecordLayout &Layout = getASTRecordLayout(RD); 2249 AlignIsRequired = RD->hasAttr<AlignedAttr>(); 2342 const RecordDecl *RD = RT->getDecl(); local 2343 const ASTRecordLayout &Layout = getASTRecordLayout(RD); 2524 unionHasUniqueObjectRepresentations(const ASTContext &Context, const RecordDecl *RD) argument 2540 const RecordDecl *RD = Ty->castAs<RecordType>()->getDecl(); local 2552 structHasUniqueObjectRepresentations(const ASTContext &Context, const RecordDecl *RD) argument 4094 const auto *RD = cast<CXXRecordDecl>(D); local 6946 const RecordDecl *RD = FD->getParent(); local 10201 const CXXRecordDecl *RD = MD->getParent(); local 10448 getCopyConstructorForExceptionObject(CXXRecordDecl *RD) argument 10453 addCopyConstructorForExceptionObject(CXXRecordDecl *RD, CXXConstructorDecl *CD) argument [all...] |
H A D | Type.cpp | 515 RecordDecl *RD = RT->getDecl(); local 516 return RD->isStruct() || RD->isClass() || RD->isInterface(); 2158 const CXXRecordDecl *RD = ClassTy->getAsCXXRecordDecl(); local 2159 ASTContext &Context = RD->getASTContext(); 2165 RD = RD->getMostRecentNonInjectedDecl(); 2167 if (RD->hasAttr<MSInheritanceAttr>()) 2332 bool QualType::hasNonTrivialToPrimitiveDefaultInitializeCUnion(const RecordDecl *RD) { argument 2336 hasNonTrivialToPrimitiveDestructCUnion(const RecordDecl *RD) argument 2340 hasNonTrivialToPrimitiveCopyCUnion(const RecordDecl *RD) argument 4136 const RecordDecl *RD = RT->getDecl(); local [all...] |
/freebsd-11-stable/contrib/llvm-project/clang/lib/CodeGen/ |
H A D | CGOpenMPRuntime.cpp | 1248 RecordDecl *RD = C.buildImplicitRecord("ident_t"); local 1250 RD->startDefinition(); 1252 addFieldToRecordDecl(C, RD, KmpInt32Ty); 1254 addFieldToRecordDecl(C, RD, KmpInt32Ty); 1256 addFieldToRecordDecl(C, RD, KmpInt32Ty); 1258 addFieldToRecordDecl(C, RD, KmpInt32Ty); 1260 addFieldToRecordDecl(C, RD, C.VoidPtrTy); 1261 RD->completeDefinition(); 1262 IdentQTy = C.getRecordType(RD); 1263 IdentTy = CGM.getTypes().ConvertRecordDeclType(RD); 1575 buildStructValue(ConstantStructBuilder &Fields, CodeGenModule &CGM, const RecordDecl *RD, const CGRecordLayout &RL, ArrayRef<llvm::Constant *> Data) argument 1598 const auto *RD = cast<RecordDecl>(Ty->getAsTagDecl()); local 1613 const auto *RD = cast<RecordDecl>(Ty->getAsTagDecl()); local 4343 RecordDecl *RD = C.buildImplicitRecord("__tgt_offload_entry"); local 4379 RecordDecl *RD = C.buildImplicitRecord(".kmp_privates.t"); local 4422 RecordDecl *RD = C.buildImplicitRecord("kmp_task_t"); local 4452 RecordDecl *RD = C.buildImplicitRecord("kmp_task_t_with_privates"); local 6185 RecordDecl *RD = C.buildImplicitRecord("kmp_task_red_input_t"); local 7786 getPlainLayout(const CXXRecordDecl *RD, llvm::SmallVectorImpl<const FieldDecl *> &Layout, bool AsBase) const argument 8156 const auto *RD = VD->getType() local 8341 const auto *RD = VD->getType().getCanonicalType()->getAsRecordDecl(); local 10809 RecordDecl *RD; local [all...] |
/freebsd-11-stable/contrib/llvm-project/llvm/lib/CodeGen/ |
H A D | RDFGraph.cpp | 447 Ref.RD = DA.Id; 454 Ref.RD = DA.Id; 1548 if (NodeId RD = RA.Addr->getReachingDef()) { 1549 auto RDA = addr<DefNode*>(RD); 1724 NodeId RD = UA.Addr->getReachingDef(); local 1727 if (RD == 0) { 1732 auto RDA = addr<DefNode*>(RD); 1752 // RD 1769 NodeId RD = DA.Addr->getReachingDef(); local 1772 // Also, defs reached by DA are now "promoted" to being reached by RD, [all...] |
H A D | RDFLiveness.cpp | 126 if (NodeId RD = SNA.Addr->getReachingDef()) 127 DefQ.insert(RD); 130 if (NodeId RD = NodeAddr<RefNode*>(S).Addr->getReachingDef()) 131 DefQ.insert(RD); 152 if (NodeId RD = NodeAddr<RefNode*>(S).Addr->getReachingDef()) 153 DefQ.insert(RD);
|
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/CodeGen/ |
H A D | RDFGraph.h | 489 NodeId RD, Sib; // Ids of the reaching def and the sibling. member in struct:NodeBase::Ref_struct 529 return Ref.RD; 531 void setReachingDef(NodeId RD) { argument 532 Ref.RD = RD;
|
/freebsd-11-stable/contrib/llvm-project/clang/include/clang/ASTMatchers/ |
H A D | ASTMatchers.h | 2753 if (const auto *RD = dyn_cast<CXXRecordDecl>(&Node)) 2754 return Finder->classIsDerivedFrom(RD, Base, Builder, /*Directly=*/false); 2772 if (const auto *RD = dyn_cast<CXXRecordDecl>(&Node)) 2773 return Matcher<CXXRecordDecl>(M).matches(*RD, Finder, Builder); 2787 if (const auto *RD = dyn_cast<CXXRecordDecl>(&Node)) 2788 return Matcher<CXXRecordDecl>(M).matches(*RD, Finder, Builder); 2805 if (const auto *RD = dyn_cast<CXXRecordDecl>(&Node)) 2806 return Matcher<CXXRecordDecl>(M).matches(*RD, Finder, Builder); 2838 if (const auto *RD = dyn_cast<CXXRecordDecl>(&Node)) 2839 return Finder->classIsDerivedFrom(RD, Bas [all...] |
/freebsd-11-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
H A D | CallAndMessageChecker.cpp | 209 const RecordDecl *RD = RT->getDecl()->getDefinition(); local 210 assert(RD && "Referred record has no definition"); 211 for (const auto *I : RD->fields()) {
|
/freebsd-11-stable/contrib/llvm-project/clang/lib/Analysis/ |
H A D | RetainSummaryManager.cpp | 210 if (CXXRecordDecl *RD = PT->getAsCXXRecordDecl()) 211 if (isOSObjectSubclass(RD)) 221 const auto *RD = QT->getAsCXXRecordDecl(); local 222 if (!RD) 224 const IdentifierInfo *II = RD->getIdentifier(); 226 if (const auto *ND = dyn_cast<NamespaceDecl>(RD->getDeclContext()))
|