Searched refs:RD (Results 151 - 175 of 210) sorted by relevance

123456789

/freebsd-13-stable/contrib/llvm-project/clang/lib/Analysis/
H A DBodyFarm.cpp108 ValueDecl *findMemberField(const RecordDecl *RD, StringRef Name);
224 ValueDecl *ASTMaker::findMemberField(const RecordDecl *RD, StringRef Name) { argument
233 DeclContextLookupResult Decls = RD->lookup(DeclName);
H A DCFG.cpp869 void appendDeleteDtor(CFGBlock *B, CXXRecordDecl *RD, CXXDeleteExpr *DE) { argument
870 B->appendDeleteDtor(RD, DE, cfg->getBumpVectorContext());
1881 const CXXRecordDecl *RD = DD->getParent(); local
1884 for (const auto &VI : RD->vbases()) {
1896 for (const auto &BI : RD->bases()) {
1907 for (auto *FI : RD->fields()) {
4581 CXXRecordDecl *RD = Context->getBaseElementType(DTy)->getAsCXXRecordDecl(); local
4582 if (RD) {
4583 if (RD->isCompleteDefinition() && !RD
5576 const CXXRecordDecl *RD = DE.getCXXRecordDecl(); local
[all...]
/freebsd-13-stable/contrib/llvm-project/clang/lib/Serialization/
H A DASTWriter.cpp5003 auto *RD = cast<CXXRecordDecl>(D);
5004 UpdatedDeclContexts.insert(RD->getPrimaryContext());
5005 Record.push_back(RD->isParamDestroyedInCallee());
5006 Record.push_back(RD->getArgPassingRestrictions());
5007 Record.AddCXXDefinitionData(RD);
5009 *Context, const_cast<CXXRecordDecl *>(RD)));
5014 if (auto *MSInfo = RD->getMemberSpecializationInfo()) {
5018 auto *Spec = cast<ClassTemplateSpecializationDecl>(RD);
5035 Record.push_back(RD->getTagKind());
5036 Record.AddSourceLocation(RD
[all...]
/freebsd-13-stable/contrib/llvm-project/clang/lib/Sema/
H A DSemaOpenMP.cpp620 void addRequiresDecl(OMPRequiresDecl *RD) {
621 RequiresDecls.push_back(RD);
1526 const CXXRecordDecl *RD = AcceptIfMutable && SemaRef.getLangOpts().CPlusPlus
1529 if (const auto *CTSD = dyn_cast_or_null<ClassTemplateSpecializationDecl>(RD))
1531 RD = CTD->getTemplatedDecl();
1533 *IsClassType = RD;
1534 return IsConstant && !(SemaRef.getLangOpts().CPlusPlus && RD &&
1535 RD->hasDefinition() && RD->hasMutableFields());
3440 if (const auto *RD
[all...]
H A DSemaTemplateInstantiateDecl.cpp753 CXXRecordDecl *RD = dyn_cast<CXXRecordDecl>(D->getDeclContext()); local
754 if (DT && RD && isa<ConditionalOperator>(DT->getUnderlyingExpr()) &&
756 RD->getEnclosingNamespaceContext() == SemaRef.getStdNamespace() &&
757 RD->getIdentifier() && RD->getIdentifier()->isStr("common_type") &&
2944 if (auto *RD = dyn_cast<CXXRecordDecl>(SemaRef.CurContext))
2946 SemaRef.Context.getCanonicalType(SemaRef.Context.getRecordType(RD))));
3725 FunctionDecl *Sema::SubstSpaceshipAsEqualEqual(CXXRecordDecl *RD, argument
3736 NoTemplateArgs.addOuterRetainedLevels(RD->getTemplateDepth());
3737 TemplateDeclInstantiator Instantiator(*this, RD, NoTemplateArg
[all...]
/freebsd-13-stable/contrib/llvm-project/clang/include/clang/AST/
H A DRecursiveASTVisitor.h1657 for (auto *RD : SD->redecls()) {
1659 if (cast<CXXRecordDecl>(RD)->isInjectedClassName())
1663 cast<ClassTemplateSpecializationDecl>(RD)->getSpecializationKind()) {
1667 TRY_TO(TraverseDecl(RD));
1688 for (auto *RD : SD->redecls()) {
1690 cast<VarTemplateSpecializationDecl>(RD)->getSpecializationKind()) {
1693 TRY_TO(TraverseDecl(RD));
1713 for (auto *RD : FD->redecls()) {
1714 switch (RD->getTemplateSpecializationKind()) {
1718 TRY_TO(TraverseDecl(RD));
[all...]
H A DASTContext.h2202 void DumpRecordLayout(const RecordDecl *RD, raw_ostream &OS,
2222 const CXXMethodDecl *getCurrentKeyFunction(const CXXRecordDecl *RD);
2243 CharUnits getOffsetOfBaseWithVBPtr(const CXXRecordDecl *RD) const;
2253 bool isNearlyEmpty(const CXXRecordDecl *RD) const;
2788 getCopyConstructorForExceptionObject(CXXRecordDecl *RD);
2790 void addCopyConstructorForExceptionObject(CXXRecordDecl *RD,
2948 void getObjCEncodingForStructureImpl(RecordDecl *RD, std::string &S,
H A DType.h1289 /// Check if \param RD is or contains a non-trivial C union.
1290 static bool hasNonTrivialToPrimitiveDefaultInitializeCUnion(const RecordDecl *RD);
1291 static bool hasNonTrivialToPrimitiveDestructCUnion(const RecordDecl *RD);
1292 static bool hasNonTrivialToPrimitiveCopyCUnion(const RecordDecl *RD);
6530 if (auto *RD = getTypePtr()->getBaseElementTypeUnsafe()->getAsRecordDecl())
6531 return hasNonTrivialToPrimitiveDefaultInitializeCUnion(RD);
6536 if (auto *RD = getTypePtr()->getBaseElementTypeUnsafe()->getAsRecordDecl())
6537 return hasNonTrivialToPrimitiveDestructCUnion(RD);
6542 if (auto *RD = getTypePtr()->getBaseElementTypeUnsafe()->getAsRecordDecl())
6543 return hasNonTrivialToPrimitiveCopyCUnion(RD);
[all...]
/freebsd-13-stable/contrib/llvm-project/clang/lib/CodeGen/
H A DCGObjCMac.cpp1000 const RecordDecl *RD,
2503 const RecordDecl *RD,
2507 bool IsUnion = (RD && RD->isUnion());
2520 // Note that 'i' here is actually the field index inside RD of Field,
2522 const ASTRecordLayout &RL = CGM.getContext().getASTRecordLayout(RD);
2627 const RecordDecl *RD = RT->getDecl(); local
2628 SmallVector<const FieldDecl*, 16> Fields(RD->fields());
2633 BuildRCRecordLayout(RecLayout, RD, Fields, BytePos, HasUnion, ByrefLayout);
5340 const RecordDecl *RD local
2502 BuildRCRecordLayout(const llvm::StructLayout *RecLayout, const RecordDecl *RD, ArrayRef<const FieldDecl*> RecFields, CharUnits BytePos, bool &HasUnion, bool ByrefLayout) argument
5825 RecordDecl *RD = RecordDecl::Create(Ctx, TTK_Struct, local
6178 RecordDecl *RD = RecordDecl::Create(Ctx, TTK_Struct, local
[all...]
H A DCGStmt.cpp2402 const RecordDecl *RD = S.getCapturedRecordDecl(); local
2403 QualType RecordTy = getContext().getRecordType(RD);
2409 RecordDecl::field_iterator CurField = RD->field_begin();
2454 const RecordDecl *RD = S.getCapturedRecordDecl(); local
2484 Ctx.getTagDeclType(RD));
2485 for (auto *FD : RD->fields()) {
H A DCodeGenFunction.h2173 void EmitVTablePtrCheckForCall(const CXXRecordDecl *RD, llvm::Value *VTable,
2177 /// RD using llvm.type.test.
2178 void EmitVTablePtrCheck(const CXXRecordDecl *RD, llvm::Value *VTable,
2182 /// that VTable is a member of RD's type identifier. Or, if vptr CFI is
2183 /// enabled, emit a check that VTable is a member of RD's type identifier.
2184 void EmitTypeMetadataCodeForVCall(const CXXRecordDecl *RD,
2188 /// virtual function for virtual calls to members of RD. This is generally
2190 bool ShouldEmitVTableTypeCheckedLoad(const CXXRecordDecl *RD);
2193 llvm::Value *EmitVTableTypeCheckedLoad(const CXXRecordDecl *RD, llvm::Value *VTable,
2533 const RecordDecl *RD local
[all...]
H A DCGExpr.cpp656 CXXRecordDecl *RD = Ty->getAsCXXRecordDecl(); local
657 return (RD && RD->hasDefinition() && RD->isDynamicClass()) &&
1432 if (const auto *RD = dyn_cast<CXXRecordDecl>(RT->getDecl()))
1433 if (RD->hasMutableFields() || !RD->isTrivial())
4173 const auto *RD = Type.getTypePtr()->getAsCXXRecordDecl(); local
4174 if (!RD)
4177 if (RD
[all...]
/freebsd-13-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DSimpleSValBuilder.cpp796 const RecordDecl *RD = LeftFD->getParent(); local
800 if (RD != RightFD->getParent())
815 for (const auto *I : RD->fields()) {
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DLoopInterchange.cpp674 RecurrenceDescriptor RD;
675 if (RecurrenceDescriptor::isReductionPHI(PHI, L, RD))
689 RecurrenceDescriptor RD;
/freebsd-13-stable/contrib/unbound/contrib/
H A Dunbound_munin_345 p_config "num.query.flags.RD" "RD (recursion desired) flag" "ABSOLUTE"
352 echo "graph_info This graphs plots the flags inside incoming queries. For example, if QR, AA, TC, RA, Z flags are set, the query can be rejected. RD, AD, CD and DO are legitimately set by some software."
497 for x in num.query.flags.QR num.query.flags.AA num.query.flags.TC num.query.flags.RD num.query.flags.RA num.query.flags.Z num.query.flags.AD num.query.flags.CD num.query.edns.present num.query.edns.DO; do
/freebsd-13-stable/contrib/llvm-project/clang/include/clang/Analysis/
H A DCFG.h416 CFGDeleteDtor(const CXXRecordDecl *RD, const CXXDeleteExpr *DE) argument
417 : CFGImplicitDtor(DeleteDtor, RD, DE) {}
1162 void appendDeleteDtor(CXXRecordDecl *RD, CXXDeleteExpr *DE, BumpVectorContext &C) {
1163 Elements.push_back(CFGDeleteDtor(RD, DE), C);
/freebsd-13-stable/tools/tools/netmap/
H A Dnmreplay.c891 RD(1, "inject failed len %d now %ld tx %ld h %ld t %ld next %ld",
1592 RD(5, "delay %llu", (unsigned long long)q->cur_delay);
1783 RD(50,"%4d: %le %ld", i, 1.0 - cur, (_P64)plr[i]);
1798 RD(5, "pkt len %d too large, trim to %d", l, MAX_PKT-1);
H A Dpkt-gen.c1745 RD(5, "pending tx tail %d head %d on ring %d",
1840 RD(1, "waiting for initial packets, poll returns %d %d",
2098 RD(5, "pending tx tail %d head %d on ring %d",
2174 RD(1, "waiting for initial packets, poll returns %d %d",
2229 RD(2, "LIMIT %d --> %d", o, limit);
2249 RD(1, "Received packets with %u frags, "
2270 RD(1, "%s: packet too small (len=%u)", __func__,
2286 RD(2, "Sequence GAP: exp %u found %u",
2289 RD(2, "Sequence OUT OF ORDER: "
/freebsd-13-stable/contrib/llvm-project/clang/include/clang/Sema/
H A DSema.h1587 RecordDecl *RD, CapturedRegionKind K,
4003 CXXRecordDecl *RD, SourceRange Range, bool BestCase,
6006 bool FindDeallocationFunction(SourceLocation StartLoc, CXXRecordDecl *RD,
6014 CXXRecordDecl *RD);
6425 FieldDecl *BuildCaptureField(RecordDecl *RD, const sema::Capture &Capture);
6789 const CXXRecordDecl *RD);
6793 void MarkVirtualMembersReferenced(SourceLocation Loc, const CXXRecordDecl *RD,
6838 void checkIllFormedTrivialABIStruct(CXXRecordDecl &RD);
6900 void DeclareImplicitEqualityComparison(CXXRecordDecl *RD,
7083 void DiagnoseAbstractType(const CXXRecordDecl *RD);
12474 RecordDecl *RD; member in struct:clang::final::CompleteTypeKind::MisalignedMember
12479 MisalignedMember(Expr *E, RecordDecl *RD, ValueDecl *MD, CharUnits Alignment) argument
[all...]
/freebsd-13-stable/contrib/llvm-project/clang/lib/AST/
H A DCommentSema.cpp936 if (const RecordDecl *RD =
938 return RD->isUnion();
H A DDeclObjC.cpp615 for (auto *RD : redecls()) {
616 if (RD != this)
617 RD->Data = Data;
1944 for (auto *RD : redecls())
1945 RD->Data = this->Data;
H A DExpr.cpp1869 auto RD = unionType->castAs<RecordType>()->getDecl(); local
1870 return getTargetFieldForToUnionCast(RD, opType);
1873 const FieldDecl *CastExpr::getTargetFieldForToUnionCast(const RecordDecl *RD, argument
1875 auto &Ctx = RD->getASTContext();
1877 for (Field = RD->field_begin(), FieldEnd = RD->field_end();
3235 RecordDecl *RD = ILE->getType()->castAs<RecordType>()->getDecl();
3236 for (const auto *Field : RD->fields()) {
3238 if (RD->isUnion() && ILE->getInitializedFieldInUnion() != Field)
/freebsd-13-stable/contrib/llvm-project/clang/lib/ASTMatchers/
H A DASTMatchFinder.cpp891 if (auto *RD = TypeNode->getAsCXXRecordDecl())
892 return RD;
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Analysis/
H A DIVDescriptors.cpp450 RecurrenceDescriptor RD(
453 RedDes = RD;
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DTargetTransformInfo.h837 bool hasSameData(ReductionData &RD) const {
838 return Kind == RD.Kind && Opcode == RD.Opcode;

Completed in 584 milliseconds

123456789