Home
last modified time | relevance | path

Searched refs:Parent (Results 1 – 25 of 457) sorted by relevance

12345678910>>...19

/freebsd/contrib/llvm-project/clang/lib/Index/
H A DIndexTypeSourceInfo.cpp23 const NamedDecl *Parent; member in __anon553ad9a00111::TypeIndexer
35 assert(Parent); in TypeIndexer()
39 assert(Parent); in TypeIndexer()
64 return IndexCtx.handleReference(Underlying, Loc, Parent, in VisitTypedefTypeLoc()
238 IndexCtx.indexBody(S, Parent, ParentDC); in TraverseStmt()
265 DC = Parent->getLexicalDeclContext(); in indexTypeLoc()
276 indexNestedNameSpecifierLoc(Prefix, Parent, DC); in indexNestedNameSpecifierLoc()
279 DC = Parent->getLexicalDeclContext(); in indexNestedNameSpecifierLoc()
290 Loc, Parent, DC, SymbolRoleSet()); in indexNestedNameSpecifierLoc()
294 Loc, Parent, DC, SymbolRoleSet()); in indexNestedNameSpecifierLoc()
[all …]
H A DIndexBody.cpp24 const NamedDecl *Parent; member in __anon6187278f0111::BodyIndexer
35 const NamedDecl *Parent, const DeclContext *DC) in BodyIndexer() argument
36 : IndexCtx(indexCtx), Parent(Parent), ParentDC(DC) { } in BodyIndexer()
52 IndexCtx.indexTypeLoc(TL, Parent, ParentDC); in TraverseTypeLoc()
77 const Stmt *Parent = *It; in getRolesForRef() local
79 if (auto BO = dyn_cast<BinaryOperator>(Parent)) { in getRolesForRef()
89 } else if (auto UO = dyn_cast<UnaryOperator>(Parent)) { in getRolesForRef()
97 } else if (auto CE = dyn_cast<CallExpr>(Parent)) { in getRolesForRef()
499 Parent, ParentDC); in VisitConceptSpecializationExpr()
505 Parent, ParentDC); in TraverseTypeConstraint()
[all …]
H A DIndexingContext.cpp275 if (!Parent) in adjustParent()
277 for (;; Parent = cast<Decl>(Parent->getDeclContext())) { in adjustParent()
278 if (isa<TranslationUnitDecl>(Parent)) in adjustParent()
280 if (isa<LinkageSpecDecl>(Parent) || isa<BlockDecl>(Parent)) in adjustParent()
292 return Parent; in adjustParent()
410 Parent = adjustParent(Parent); in handleDeclOccurrence()
411 if (Parent) in handleDeclOccurrence()
412 Parent = getCanonicalDecl(Parent); in handleDeclOccurrence()
429 if (Parent) { in handleDeclOccurrence()
433 Parent in handleDeclOccurrence()
[all …]
H A DIndexDecl.cpp51 const NamedDecl *Parent, in handleTemplateArgumentLoc() argument
56 IndexCtx.indexBody(LocInfo.getAsExpr(), Parent, DC); in handleTemplateArgumentLoc()
64 Parent, DC); in handleTemplateArgumentLoc()
91 if (!Parent) Parent = D; in handleDeclarator()
136 IndexCtx.indexBody(C, Parent); in handleDeclarator()
610 const NamedDecl *Parent = dyn_cast<NamedDecl>(DC); in VisitUsingDecl() local
723 IndexCtx.indexBody(R, Parent); in indexTemplateParameters()
727 const NamedDecl *Parent = D->getTemplatedDecl(); in VisitTemplateDecl() local
728 if (!Parent) in VisitTemplateDecl()
734 indexTemplateParameters(Params, Parent); in VisitTemplateDecl()
[all …]
/freebsd/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DSValVisitor.h34 #define BASIC_SVAL(Id, Parent) \ in Visit() argument
50 RetTy Visit##Id(Id V) { return derived().Visit##Parent(V.castAs<Id>()); }
51 #define ABSTRACT_SVAL(Id, Parent) BASIC_SVAL(Id, Parent) argument
75 #define SYMBOL(Id, Parent) \ in Visit() argument
84 #define SYMBOL(Id, Parent) RetTy Visit ## Id(const Id *S) { DISPATCH(Parent); } argument
85 #define ABSTRACT_SYMBOL(Id, Parent) SYMBOL(Id, Parent) argument
105 #define REGION(Id, Parent) case MemRegion::Id ## Kind: DISPATCH(Id); in Visit() argument
113 #define REGION(Id, Parent) \ argument
114 RetTy Visit ## Id(const Id *R) { DISPATCH(Parent); }
115 #define ABSTRACT_REGION(Id, Parent) \ argument
[all …]
/freebsd/contrib/llvm-project/clang/lib/AST/Interp/
H A DInterpState.h49 Frame *getSplitFrame() { return Parent.getCurrentFrame(); } in getSplitFrame()
55 return Parent.getBottomFrame(); in getBottomFrame()
60 return Parent.getEvalStatus(); in getEvalStatus()
62 ASTContext &getCtx() const override { return Parent.getCtx(); } in getCtx()
66 return Parent.checkingForUndefinedBehavior(); in checkingForUndefinedBehavior()
69 return Parent.keepEvaluatingAfterFailure(); in keepEvaluatingAfterFailure()
72 return Parent.checkingPotentialConstantExpression(); in checkingPotentialConstantExpression()
75 return Parent.noteUndefinedBehavior(); in noteUndefinedBehavior()
80 Parent.setActiveDiagnostic(Flag); in setActiveDiagnostic()
83 Parent.setFoldFailureDiagnostic(Flag); in setFoldFailureDiagnostic()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Object/
H A DArchive.cpp157 auto Kind = Parent->kind(); in getRawName()
233 Parent->getData().data(); in getRawName()
464 : Parent(Parent), Data(Data), StartOfFile(StartOfFile) { in Child()
469 : Parent(Parent) { in Child()
478 Parent ? Parent->getData().size() - (Start - Parent->getData().data()) in Child()
544 if (Parent->IsThin) in getSize()
1024 if (Parent->kind() == K_GNU64 || Parent->kind() == K_DARWIN64 || in getMember()
1030 if (Parent->kind() == K_GNU) { in getMember()
1032 } else if (Parent->kind() == K_GNU64 || Parent->kind() == K_AIXBIG) { in getMember()
1085 Child C(Parent, Loc, &Err); in getMember()
[all …]
H A DMachOUniversal.cpp44 : Parent(Parent), Index(Index) { in ObjectForArch()
46 if (!Parent || Index >= Parent->getNumberOfObjects()) { in ObjectForArch()
50 StringRef ParentData = Parent->getData(); in ObjectForArch()
65 if (!Parent) in getAsObjectFile()
69 StringRef ParentData = Parent->getData(); in getAsObjectFile()
72 if (Parent->getMagic() == MachO::FAT_MAGIC) { in getAsObjectFile()
86 if (!Parent) in getAsIRObject()
90 StringRef ParentData = Parent->getData(); in getAsIRObject()
105 if (!Parent) in getAsArchive()
109 StringRef ParentData = Parent->getData(); in getAsArchive()
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/Object/
H A DTapiUniversal.h31 const TapiUniversal *Parent; variable
35 ObjectForArch(const TapiUniversal *Parent, int Index) in ObjectForArch() argument
36 : Parent(Parent), Index(Index) {} in ObjectForArch()
38 ObjectForArch getNext() const { return ObjectForArch(Parent, Index + 1); } in getNext()
41 return (Parent == Other.Parent) && (Index == Other.Index);
46 MachO::getCPUTypeFromArchitecture(Parent->Libraries[Index].Arch); in getCPUType()
52 MachO::getCPUTypeFromArchitecture(Parent->Libraries[Index].Arch); in getCPUSubType()
57 return MachO::getArchitectureName(Parent->Libraries[Index].Arch); in getArchFlagName()
61 return std::string(Parent->Libraries[Index].InstallName); in getInstallName()
65 return Parent->ParsedFile->getInstallName() == getInstallName(); in isTopLevelLib()
H A DArchive.h41 AbstractArchiveMemberHeader(const Archive *Parent) : Parent(Parent){}; in AbstractArchiveMemberHeader() argument
73 const Archive *Parent; variable
164 const Archive *Parent; variable
178 : Parent(C.Parent), Data(C.Data), StartOfFile(C.StartOfFile) { in Child()
184 Parent = std::move(C.Parent); in Child()
194 Parent = std::move(C.Parent);
206 Parent = C.Parent;
216 assert(!Parent || !other.Parent || Parent == other.Parent);
220 const Archive *getParent() const { return Parent; } in getParent()
290 const Archive *Parent; variable
[all …]
H A DMachOUniversal.h39 const MachOUniversalBinary *Parent; variable
47 ObjectForArch(const MachOUniversalBinary *Parent, uint32_t Index);
50 Parent = nullptr; in clear()
55 return (Parent == Other.Parent) && (Index == Other.Index);
58 ObjectForArch getNext() const { return ObjectForArch(Parent, Index + 1); } in getNext()
60 if (Parent->getMagic() == MachO::FAT_MAGIC) in getCPUType()
66 if (Parent->getMagic() == MachO::FAT_MAGIC) in getCPUSubType()
72 if (Parent->getMagic() == MachO::FAT_MAGIC) in getOffset()
78 if (Parent->getMagic() == MachO::FAT_MAGIC) in getSize()
84 if (Parent->getMagic() == MachO::FAT_MAGIC) in getAlign()
[all …]
/freebsd/sys/contrib/dev/acpica/components/parser/
H A Dpstree.c307 Arg->Common.Parent = Op; in AcpiPsAppendArg()
337 ACPI_PARSE_OBJECT *Parent; in AcpiPsGetDepthNext() local
369 Parent = Op->Common.Parent; in AcpiPsGetDepthNext()
371 while (Parent) in AcpiPsGetDepthNext()
373 Arg = AcpiPsGetArg (Parent, 0); in AcpiPsGetDepthNext()
388 if (Parent->Common.Next) in AcpiPsGetDepthNext()
392 ASL_CV_LABEL_FILENODE (Parent->Common.Next); in AcpiPsGetDepthNext()
393 return (Parent->Common.Next); in AcpiPsGetDepthNext()
396 Op = Parent; in AcpiPsGetDepthNext()
397 Parent = Parent->Common.Parent; in AcpiPsGetDepthNext()
H A Dpsparse.c285 if (Op->Common.Parent) in AcpiPsCompleteThisOp()
287 Prev = Op->Common.Parent->Common.Value.Arg; in AcpiPsCompleteThisOp()
299 ParentInfo = AcpiPsGetOpcodeInfo (Op->Common.Parent->Common.AmlOpcode); in AcpiPsCompleteThisOp()
325 if ((Op->Common.Parent->Common.AmlOpcode == AML_REGION_OP) || in AcpiPsCompleteThisOp()
326 (Op->Common.Parent->Common.AmlOpcode == AML_DATA_REGION_OP) || in AcpiPsCompleteThisOp()
327 (Op->Common.Parent->Common.AmlOpcode == AML_BUFFER_OP) || in AcpiPsCompleteThisOp()
339 else if ((Op->Common.Parent->Common.AmlOpcode == AML_NAME_OP) && in AcpiPsCompleteThisOp()
379 ReplacementOp->Common.Parent = Op->Common.Parent; in AcpiPsCompleteThisOp()
382 Op->Common.Parent->Common.Value.Arg = ReplacementOp; in AcpiPsCompleteThisOp()
387 Op->Common.Parent->Common.Value.Arg = Op->Common.Next; in AcpiPsCompleteThisOp()
[all …]
/freebsd/contrib/llvm-project/clang/include/clang/ExtractAPI/
H A DAPI.h244 SymbolReference Parent; member
290 SymbolReference Parent, PresumedLoc Location,
295 : USR(USR), Name(Name), Parent(std::move(Parent)), Location(Location), in USR()
414 : APIRecord(RK_GlobalFunction, USR, Name, Parent, Loc, in GlobalFunctionRecord()
492 : APIRecord(RK_GlobalVariable, USR, Name, Parent, Loc, in GlobalVariableRecord()
594 : APIRecord(RK_EnumConstant, USR, Name, Parent, Loc, in EnumConstantRecord()
609 SymbolReference Parent, PresumedLoc Loc,
679 SymbolReference Parent, PresumedLoc Loc,
787 SymbolReference Parent, PresumedLoc Loc, in CXXFieldRecord()
834 SymbolReference Parent, PresumedLoc Loc, in CXXMethodRecord()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/LogicalView/Core/
H A DLVElement.cpp239 if (Parent && !Parent->getIsCompileUnit()) in resolveParents()
240 Parent->resolve(); in resolveParents()
268 setLevel(Parent->getLevel() + 1); in updateLevel()
421 while (Parent && !(Parent->*GetFunction)()) in traverseParents()
422 Parent = Parent->getParentScope(); in traverseParents()
423 return Parent; in traverseParents()
444 if (Parent && !Parent->getIsRoot()) { in resolveQualifiedName()
445 while (Parent && !Parent->getIsCompileUnit()) { in resolveQualifiedName()
447 if (Parent->isNamed()) in resolveQualifiedName()
451 Parent->generateName(Temp); in resolveQualifiedName()
[all …]
H A DLVObject.cpp90 Parent.Scope = Scope; in setParent()
94 Parent.Symbol = Symbol; in setParent()
102 LVObject *Parent = this; in markBranchAsMissing() local
103 Parent->setIsMissing(); in markBranchAsMissing()
104 while (Parent) { in markBranchAsMissing()
105 Parent->setIsMissingLink(); in markBranchAsMissing()
106 Parent = Parent->getParent(); in markBranchAsMissing()
117 LVObject *Parent, StringRef Value, in printAttributes() argument
120 LVObject Object(*Parent); in printAttributes()
121 Object.setLevel(Parent->getLevel() + 1); in printAttributes()
/freebsd/sys/contrib/dev/acpica/compiler/
H A Daslxref.c670 if ((Op->Asl.Parent) && in XfNamespaceLocateBegin()
838 if ((Op->Asl.Parent) && in XfNamespaceLocateBegin()
889 switch (Op->Asl.Parent->Asl.AmlOpcode) in XfNamespaceLocateBegin()
988 (Op->Asl.Parent) && in XfNamespaceLocateBegin()
1000 if ((Op->Asl.Parent) && in XfNamespaceLocateBegin()
1103 else if ((Op->Asl.Parent) && in XfNamespaceLocateBegin()
1116 if (Op == Op->Asl.Parent->Asl.Child) in XfNamespaceLocateBegin()
1124 Op->Asl.Parent->Asl.ExtraValue = in XfNamespaceLocateBegin()
1310 ACPI_PARSE_OBJECT *Parent = Op->Asl.Parent; in XfRefIsGuardedByIfCondRefOf() local
1313 while (Parent) in XfRefIsGuardedByIfCondRefOf()
[all …]
H A Daslanalyze.c501 ACPI_PARSE_OBJECT *Parent; in AnIsResultUsed() local
520 Parent = Op->Asl.Parent; in AnIsResultUsed()
521 switch (Parent->Asl.ParseOpcode) in AnIsResultUsed()
530 if (Parent->Asl.Child == Op) in AnIsResultUsed()
672 ACPI_PARSE_OBJECT *Parent; in ApCheckRegMethod() local
684 Parent = Op->Asl.Parent; in ApCheckRegMethod()
685 Next = Parent->Asl.Child; in ApCheckRegMethod()
827 ACPI_PARSE_OBJECT *Parent; in ApFindNameInScope() local
832 Parent = Op->Asl.Parent; in ApFindNameInScope()
833 Next = Parent->Asl.Child; in ApFindNameInScope()
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DLexicalScopes.h48 : Parent(P), Desc(D), InlinedAtLocation(I), AbstractScope(A) { in LexicalScope()
55 if (Parent) in LexicalScope()
56 Parent->addChild(this); in LexicalScope()
60 LexicalScope *getParent() const { return Parent; } in getParent()
76 if (Parent) in openInsnRange()
77 Parent->openInsnRange(MI); in openInsnRange()
85 if (Parent) in extendInsnRange()
86 Parent->extendInsnRange(MI); in extendInsnRange()
99 if (Parent && (!NewScope || !Parent->dominates(NewScope)))
100 Parent->closeInsnRange(NewScope);
[all …]
/freebsd/sys/contrib/dev/acpica/components/dispatcher/
H A Ddsutils.c331 if ((!Op->Common.Parent) || in AcpiDsIsResultUsed()
332 (Op->Common.Parent->Common.AmlOpcode == AML_SCOPE_OP)) in AcpiDsIsResultUsed()
344 ParentInfo = AcpiPsGetOpcodeInfo (Op->Common.Parent->Common.AmlOpcode); in AcpiDsIsResultUsed()
362 switch (Op->Common.Parent->Common.AmlOpcode) in AcpiDsIsResultUsed()
410 (Op->Common.Parent->Common.AmlOpcode == AML_BANK_FIELD_OP)) in AcpiDsIsResultUsed()
434 AcpiPsGetOpcodeName (Op->Common.Parent->Common.AmlOpcode), Op)); in AcpiDsIsResultUsed()
443 AcpiPsGetOpcodeName (Op->Common.Parent->Common.AmlOpcode), Op)); in AcpiDsIsResultUsed()
669 ParentOp = Arg->Common.Parent; in AcpiDsCreateOperand()
966 if (!Op->Common.Parent) in AcpiDsEvaluateNamePath()
973 if ((Op->Common.Parent->Common.AmlOpcode == AML_PACKAGE_OP) || in AcpiDsEvaluateNamePath()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/PDB/
H A DUDTLayout.cpp50 LayoutItemBase::LayoutItemBase(const UDTLayoutBase *Parent, in LayoutItemBase() argument
54 : Symbol(Symbol), Parent(Parent), Name(Name), in LayoutItemBase()
71 const UDTLayoutBase &Parent, std::unique_ptr<PDBSymbolData> Member) in DataMemberLayoutItem() argument
72 : LayoutItemBase(&Parent, Member.get(), Member->getName(), in DataMemberLayoutItem()
82 VBPtrLayoutItem::VBPtrLayoutItem(const UDTLayoutBase &Parent, in VBPtrLayoutItem() argument
85 : LayoutItemBase(&Parent, Sym.get(), "<vbptr>", Offset, Size, false), in VBPtrLayoutItem()
99 VTableLayoutItem::VTableLayoutItem(const UDTLayoutBase &Parent, in VTableLayoutItem() argument
110 : LayoutItemBase(Parent, &Sym, Name, OffsetInParent, Size, IsElided) { in UDTLayoutBase()
154 BaseClassLayout::BaseClassLayout(const UDTLayoutBase &Parent, in BaseClassLayout() argument
254 bool Elide = (Parent != nullptr); in initializeChildren()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/Orc/
H A DEPCGenericJITLinkMemoryManager.cpp41 InFlightAlloc(EPCGenericJITLinkMemoryManager &Parent, LinkGraph &G, in InFlightAlloc() argument
43 : Parent(Parent), G(G), AllocAddr(AllocAddr), Segs(std::move(Segs)) {} in InFlightAlloc()
53 Parent.EPC.getPageSize()), in finalize()
60 Parent.EPC.callSPSWrapperAsync< in finalize()
62 Parent.SAs.Finalize, in finalize()
74 Parent.SAs.Allocator, std::move(FR)); in finalize()
79 Parent.EPC.callSPSWrapperAsync< in abandon()
81 Parent.SAs.Deallocate, in abandon()
90 Parent.SAs.Allocator, ArrayRef<ExecutorAddr>(AllocAddr)); in abandon()
94 EPCGenericJITLinkMemoryManager &Parent; member in llvm::orc::EPCGenericJITLinkMemoryManager::InFlightAlloc
/freebsd/contrib/llvm-project/clang/lib/Basic/
H A DModule.cpp39 : Name(Name), DefinitionLoc(DefinitionLoc), Parent(Parent), in Module()
48 if (Parent) { in Module()
49 IsAvailable = Parent->isAvailable(); in Module()
51 IsSystem = Parent->IsSystem; in Module()
52 IsExternC = Parent->IsExternC; in Module()
56 Parent->SubModuleIndex[Name] = Parent->SubModules.size(); in Module()
57 Parent->SubModules.push_back(this); in Module()
199 for (auto *Parent = this; Parent; Parent = Parent->Parent) { in isSubModuleOf() local
200 if (Parent == Other) in isSubModuleOf()
208 while (Result->Parent) in getTopLevelModule()
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/DebugInfo/LogicalView/Core/
H A DLVObject.h149 } Parent = {nullptr}; variable
165 Parent = Object.Parent; in LVObject()
249 assert((!Parent.Element || static_cast<LVElement *>(Parent.Element)) && in getParent()
251 return Parent.Element; in getParent()
254 assert((!Parent.Scope || static_cast<LVScope *>(Parent.Scope)) && in getParentScope()
256 return Parent.Scope; in getParentScope()
259 assert((!Parent.Symbol || static_cast<LVSymbol *>(Parent.Symbol)) && in getParentSymbol()
261 return Parent.Symbol; in getParentSymbol()
265 void resetParent() { Parent = {nullptr}; } in resetParent()
302 LVObject *Parent, StringRef Value,
/freebsd/contrib/llvm-project/clang/lib/Analysis/
H A DThreadSafetyTIL.cpp195 if (DominatorNode.Parent) in topologicalFinalSort()
223 Candidate = Candidate->DominatorNode.Parent; in computeDominator()
225 Alternate = Alternate->DominatorNode.Parent; in computeDominator()
228 DominatorNode.Parent = Candidate; in computeDominator()
250 Candidate = Candidate->PostDominatorNode.Parent; in computePostDominator()
252 Alternate = Alternate->PostDominatorNode.Parent; in computePostDominator()
255 PostDominatorNode.Parent = Candidate; in computePostDominator()
269 if (N->Parent) { in computeNodeSize()
270 BasicBlock::TopologyNode *P = &(N->Parent->*TN); in computeNodeSize()
280 if (N->Parent) { in computeNodeID()
[all …]

12345678910>>...19