/freebsd/contrib/llvm-project/clang/lib/Index/ |
H A D | IndexTypeSourceInfo.cpp | 23 const NamedDecl *Parent; member in __anon05ca7ad80111::TypeIndexer 33 : IndexCtx(indexCtx), Parent(parent), ParentDC(DC), IsBase(isBase) { in TypeIndexer() 35 assert(Parent); in TypeIndexer() 36 Relations.emplace_back((unsigned)SymbolRole::RelationBaseOf, Parent); in TypeIndexer() 39 assert(Parent); in TypeIndexer() 40 Relations.emplace_back((unsigned)SymbolRole::RelationIBTypeOf, Parent); in TypeIndexer() 55 return IndexCtx.handleReference(TTPD, Loc, Parent, ParentDC, in VisitTemplateTypeParmTypeLoc() 64 return IndexCtx.handleReference(Underlying, Loc, Parent, in VisitTypedefTypeLoc() 69 Parent, ParentDC, SymbolRoleSet())); in VisitTypedefTypeLoc() 71 TRY_TO(IndexCtx.handleReference(CD, Loc, Parent, ParentDC, in VisitTypedefTypeLoc() [all …]
|
H A D | IndexBody.cpp | 24 const NamedDecl *Parent; member in __anon1d8962c70111::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() 57 IndexCtx.indexNestedNameSpecifierLoc(NNS, Parent, ParentDC); in TraverseNestedNameSpecifierLoc() 77 const Stmt *Parent = *It; in getRolesForRef() local 79 if (auto BO = dyn_cast<BinaryOperator>(Parent)) { in getRolesForRef() 83 } else if (auto CA = dyn_cast<CompoundAssignOperator>(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() [all …]
|
H A D | IndexDecl.cpp | 51 const NamedDecl *Parent, in handleTemplateArgumentLoc() argument 56 IndexCtx.indexBody(LocInfo.getAsExpr(), Parent, DC); in handleTemplateArgumentLoc() 59 IndexCtx.indexTypeSourceInfo(LocInfo.getAsTypeSourceInfo(), Parent, DC); in handleTemplateArgumentLoc() 64 Parent, DC); in handleTemplateArgumentLoc() 69 IndexCtx.handleReference(TTD, TALoc.getTemplateNameLoc(), Parent, DC); in handleTemplateArgumentLoc() 89 const NamedDecl *Parent = nullptr, in handleDeclarator() argument 91 if (!Parent) Parent = D; in handleDeclarator() 93 IndexCtx.indexTypeSourceInfo(D->getTypeSourceInfo(), Parent, in handleDeclarator() 94 Parent->getLexicalDeclContext(), in handleDeclarator() 96 IndexCtx.indexNestedNameSpecifierLoc(D->getQualifierLoc(), Parent); in handleDeclarator() [all …]
|
/freebsd/contrib/llvm-project/clang/lib/AST/Interp/ |
H A D | InterpState.h | 38 InterpState(State &Parent, Program &P, InterpStack &Stk, Context &Ctx, 49 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() 77 bool inConstantContext() const { return Parent.InConstantContext; } in inConstantContext() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Object/ |
H A D | Archive.cpp | 61 uint64_t Offset = RawHeaderPtr - ArMemHeader->Parent->getData().data(); in createMemberHeaderParseError() 89 return reinterpret_cast<const char *>(ArMemHdr) - Parent->getData().data(); in getOffset() 95 ArchiveMemberHeader::ArchiveMemberHeader(const Archive *Parent, in ArchiveMemberHeader() argument 99 Parent, reinterpret_cast<const UnixArMemHdrType *>(RawHeaderPtr)) { in ArchiveMemberHeader() 121 uint64_t Offset = RawHeaderPtr - Parent->getData().data(); in ArchiveMemberHeader() 130 BigArchiveMemberHeader::BigArchiveMemberHeader(const Archive *Parent, in BigArchiveMemberHeader() argument 134 Parent, reinterpret_cast<const BigArMemHdrType *>(RawHeaderPtr)) { in BigArchiveMemberHeader() 139 if (RawHeaderPtr + getSizeOf() >= Parent->getData().end()) { in BigArchiveMemberHeader() 157 auto Kind = Parent->kind(); in getRawName() 161 reinterpret_cast<const char *>(ArMemHdr) - Parent->getData().data(); in getRawName() [all …]
|
H A D | MachOUniversal.cpp | 43 const MachOUniversalBinary *Parent, uint32_t Index) in ObjectForArch() argument 44 : Parent(Parent), Index(Index) { in ObjectForArch() 46 if (!Parent || Index >= Parent->getNumberOfObjects()) { in ObjectForArch() 50 StringRef ParentData = Parent->getData(); in ObjectForArch() 51 if (Parent->getMagic() == MachO::FAT_MAGIC) { in ObjectForArch() 65 if (!Parent) in getAsObjectFile() 69 StringRef ParentData = Parent->getData(); in getAsObjectFile() 72 if (Parent->getMagic() == MachO::FAT_MAGIC) { in getAsObjectFile() 79 StringRef ObjectName = Parent->getFileName(); in getAsObjectFile() 86 if (!Parent) in getAsIRObject() [all …]
|
/freebsd/contrib/llvm-project/llvm/include/llvm/Object/ |
H A D | TapiUniversal.h | 31 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 D | Archive.h | 41 AbstractArchiveMemberHeader(const Archive *Parent) : Parent(Parent){}; in AbstractArchiveMemberHeader() argument 73 const Archive *Parent; variable 79 CommonArchiveMemberHeader(const Archive *Parent, const T *RawHeaderPtr) in CommonArchiveMemberHeader() argument 80 : AbstractArchiveMemberHeader(Parent), ArMemHdr(RawHeaderPtr){}; in CommonArchiveMemberHeader() 104 ArchiveMemberHeader(const Archive *Parent, const char *RawHeaderPtr, 140 BigArchiveMemberHeader(Archive const *Parent, const char *RawHeaderPtr, 164 const Archive *Parent; variable 174 Child(const Archive *Parent, const char *Start, Error *Err); 175 Child(const Archive *Parent, StringRef Data, uint16_t StartOfFile); 178 : Parent(C.Parent), Data(C.Data), StartOfFile(C.StartOfFile) { in Child() [all …]
|
H A D | MachOUniversal.h | 39 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/contrib/llvm-project/clang/include/clang/ExtractAPI/ |
H A D | API.h | 244 SymbolReference Parent; member 290 SymbolReference Parent, PresumedLoc Location, 295 : USR(USR), Name(Name), Parent(std::move(Parent)), Location(Location), in USR() 388 NamespaceRecord(StringRef USR, StringRef Name, SymbolReference Parent, in NamespaceRecord() 393 : APIRecord(RK_Namespace, USR, Name, Parent, Loc, std::move(Availability), in NamespaceRecord() 408 GlobalFunctionRecord(StringRef USR, StringRef Name, SymbolReference Parent, in GlobalFunctionRecord() 414 : APIRecord(RK_GlobalFunction, USR, Name, Parent, Loc, in GlobalFunctionRecord() 420 SymbolReference Parent, PresumedLoc Loc, in GlobalFunctionRecord() 426 : APIRecord(Kind, USR, Name, Parent, Loc, std::move(Availability), in GlobalFunctionRecord() 444 SymbolReference Parent, PresumedLoc Loc, in GlobalFunctionTemplateRecord() [all …]
|
/freebsd/sys/contrib/dev/acpica/components/parser/ |
H A D | pstree.c | 307 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 D | psparse.c | 285 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() 328 (Op->Common.Parent->Common.AmlOpcode == AML_PACKAGE_OP) || in AcpiPsCompleteThisOp() 329 (Op->Common.Parent->Common.AmlOpcode == AML_BANK_FIELD_OP) || in AcpiPsCompleteThisOp() 330 (Op->Common.Parent->Common.AmlOpcode == AML_VARIABLE_PACKAGE_OP)) in AcpiPsCompleteThisOp() 339 else if ((Op->Common.Parent->Common.AmlOpcode == AML_NAME_OP) && in AcpiPsCompleteThisOp() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/LogicalView/Core/ |
H A D | LVElement.cpp | 238 LVScope *Parent = getParentScope(); in resolveParents() local 239 if (Parent && !Parent->getIsCompileUnit()) in resolveParents() 240 Parent->resolve(); in resolveParents() 267 void LVElement::updateLevel(LVScope *Parent, bool Moved) { 268 setLevel(Parent->getLevel() + 1); in updateLevel() argument 420 LVScope *Parent = getParentScope(); in traverseParents() 421 while (Parent && !(Parent->*GetFunction)()) in traverseParents() local 422 Parent in traverseParents() 444 LVScope *Parent = getParentScope(); resolveQualifiedName() local 557 printLinkageName(raw_ostream & OS,bool Full,LVElement * Parent,LVScope * Scope) const printLinkageName() argument [all...] |
H A D | LVObject.cpp | 90 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 D | aslxref.c | 670 if ((Op->Asl.Parent) && in XfNamespaceLocateBegin() 671 (Op->Asl.Parent->Asl.ParseOpcode == PARSEOP_CONDREFOF)) in XfNamespaceLocateBegin() 838 if ((Op->Asl.Parent) && in XfNamespaceLocateBegin() 839 (Op->Asl.Parent->Asl.ParseOpcode != PARSEOP_CONDREFOF)) in XfNamespaceLocateBegin() 889 switch (Op->Asl.Parent->Asl.AmlOpcode) in XfNamespaceLocateBegin() 958 switch (Op->Asl.Parent->Asl.AmlOpcode) in XfNamespaceLocateBegin() 988 (Op->Asl.Parent) && in XfNamespaceLocateBegin() 989 (Op->Asl.Parent->Asl.ParseOpcode != PARSEOP_METHOD)) || in XfNamespaceLocateBegin() 1000 if ((Op->Asl.Parent) && in XfNamespaceLocateBegin() 1001 ((Op->Asl.Parent->Asl.ParseOpcode == PARSEOP_REFOF) || in XfNamespaceLocateBegin() [all …]
|
H A D | aslanalyze.c | 501 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()
|
H A D | cvparser.c | 275 AcpiGbl_FileTreeRoot->Parent = NULL; in CvInitFileTree() 547 if (Node->Parent) in CvLabelFileNode() 549 Op->Common.CvParentFilename = Node->Parent->Filename; in CvLabelFileNode() 612 Node = Node->Parent; in CvAddToFileTree() 620 Node = Node->Parent; in CvAddToFileTree() 630 AcpiGbl_FileTreeRoot->Parent = NULL; in CvAddToFileTree() 674 ACPI_FILE_NODE *Parent; in CvSetFileParent() local 678 Parent = CvFilenameExists (ParentFile, AcpiGbl_FileTreeRoot); in CvSetFileParent() 680 if (Child && Parent) in CvSetFileParent() 682 Child->Parent = Parent; in CvSetFileParent() [all …]
|
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/ |
H A D | LexicalScopes.h | 48 : 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 D | dsutils.c | 331 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() 404 if ((Op->Common.Parent->Common.AmlOpcode == AML_REGION_OP) || in AcpiDsIsResultUsed() 405 (Op->Common.Parent->Common.AmlOpcode == AML_DATA_REGION_OP) || in AcpiDsIsResultUsed() 406 (Op->Common.Parent->Common.AmlOpcode == AML_PACKAGE_OP) || in AcpiDsIsResultUsed() 407 (Op->Common.Parent->Common.AmlOpcode == AML_BUFFER_OP) || in AcpiDsIsResultUsed() 408 (Op->Common.Parent->Common.AmlOpcode == AML_VARIABLE_PACKAGE_OP) || in AcpiDsIsResultUsed() 409 (Op->Common.Parent->Common.AmlOpcode == AML_INT_EVAL_SUBTREE_OP) || in AcpiDsIsResultUsed() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/PDB/ |
H A D | UDTLayout.cpp | 50 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 101 : LayoutItemBase(&Parent, VT.get(), "<vtbl>", 0, getTypeLength(*VT), false), in VTableLayoutItem() 107 UDTLayoutBase::UDTLayoutBase(const UDTLayoutBase *Parent, const PDBSymbol &Sym, in UDTLayoutBase() argument 110 : LayoutItemBase(Parent, &Sym, Name, OffsetInParent, Size, IsElided) { in UDTLayoutBase() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/Orc/ |
H A D | EPCGenericJITLinkMemoryManager.cpp | 41 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 D | Module.cpp | 37 Module::Module(StringRef Name, SourceLocation DefinitionLoc, Module *Parent, in Module() argument 39 : Name(Name), DefinitionLoc(DefinitionLoc), Parent(Parent), in Module() 48 if (Parent) { in Module() 49 IsAvailable = Parent->isAvailable(); in Module() 50 IsUnimportable = Parent->isUnimportable(); in Module() 51 IsSystem = Parent->IsSystem; in Module() 52 IsExternC = Parent->IsExternC; in Module() 53 NoUndeclaredIncludes = Parent->NoUndeclaredIncludes; in Module() 54 ModuleMapIsPrivate = Parent->ModuleMapIsPrivate; in Module() 56 Parent->SubModuleIndex[Name] = Parent->SubModules.size(); in Module() [all …]
|
/freebsd/contrib/llvm-project/llvm/include/llvm/DebugInfo/LogicalView/Core/ |
H A D | LVObject.h | 149 } 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 D | ThreadSafetyTIL.cpp | 195 if (DominatorNode.Parent) in topologicalFinalSort() 196 ID = DominatorNode.Parent->topologicalFinalSort(Blocks, ID); 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() [all …]
|
/freebsd/contrib/llvm-project/llvm/include/llvm/ADT/ |
H A D | ilist_node_base.h | 50 ParentTy *Parent = nullptr; variable 53 void setNodeBaseParent(ParentTy *Parent) { this->Parent = Parent; } in setNodeBaseParent() argument 54 inline const ParentTy *getNodeBaseParent() const { return Parent; } in getNodeBaseParent() 55 inline ParentTy *getNodeBaseParent() { return Parent; } in getNodeBaseParent()
|