| /freebsd-14.2/sys/contrib/dev/acpica/components/parser/ |
| H A D | psscope.c | 231 if (!Scope) in AcpiPsInitScope() 237 Scope->ParseScope.Op = RootOp; in AcpiPsInitScope() 242 ParserState->Scope = Scope; in AcpiPsInitScope() 278 if (!Scope) in AcpiPsPushScope() 284 Scope->ParseScope.Op = Op; in AcpiPsPushScope() 291 AcpiUtPushGenericState (&ParserState->Scope, Scope); in AcpiPsPushScope() 333 ACPI_GENERIC_STATE *Scope = ParserState->Scope; in AcpiPsPopScope() local 341 if (Scope->Common.Next) in AcpiPsPopScope() 343 Scope = AcpiUtPopGenericState (&ParserState->Scope); in AcpiPsPopScope() 401 while (ParserState->Scope) in AcpiPsCleanupScope() [all …]
|
| /freebsd-14.2/contrib/llvm-project/clang/include/clang/Sema/ |
| H A D | Scope.h | 41 class Scope { 158 Scope *AnyParent; 184 Scope *FnParent; 185 Scope *MSLastManglingParent; 195 Scope *BlockParent; 201 Scope *TemplateParamParent; 240 Scope(Scope *Parent, unsigned ScopeFlags, DiagnosticsEngine &Diag) in Scope() function 289 Scope *getBreakParent() { in getBreakParent() 463 else if (S->getFlags() & (Scope::FnScope | Scope::ClassScope | in isSwitchScope() 464 Scope::BlockScope | Scope::TemplateParamScope | in isSwitchScope() [all …]
|
| H A D | Sema.h | 1163 Scope *TUScope; 3648 static Scope *getScopeForDeclContext(Scope *S, DeclContext *DC); 4342 Scope *getNonFieldDeclScope(Scope *S); 4815 bool CheckCountedByAttr(Scope *Scope, const FieldDecl *FD); 5923 Scope *S; 5933 const Scope *S, 10599 Scope *S, 10714 Scope *S, 11423 ExprResult ActOnOpenMPCall(ExprResult Call, Scope *Scope, 13699 Scope, enumerator [all …]
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/ |
| H A D | LexicalScopes.cpp | 125 DILocalScope *Scope = DL->getScope(); in findLexicalScope() local 126 if (!Scope) in findLexicalScope() 131 Scope = Scope->getNonLexicalBlockFileScope(); in findLexicalScope() 137 return findLexicalScope(Scope); in findLexicalScope() 150 getOrCreateAbstractScope(Scope); in getOrCreateLexicalScope() 162 Scope = Scope->getNonLexicalBlockFileScope(); in getOrCreateRegularScope() 191 Scope = Scope->getNonLexicalBlockFileScope(); in getOrCreateInlinedScope() 214 Scope = Scope->getNonLexicalBlockFileScope(); in getOrCreateAbstractScope() 228 if (isa<DISubprogram>(Scope)) in getOrCreateAbstractScope() 286 if (!Scope) in getMachineBasicBlocks() [all …]
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/DebugInfo/LogicalView/Core/ |
| H A D | LVScope.cpp | 174 addToChildren(Scope); in addElement() 954 if (equals(Scope)) in findEqualScope() 955 return Scope; in findEqualScope() 1050 if (equals(Scope)) in findEqualScope() 1051 return Scope; in findEqualScope() 1191 if (this == Scope) in addSize() 1332 increment(Scope); in addedElement() 1538 Scope->print(OS); in printScopeSize() 1772 Scope->addMissingElements(Scope->getReference()); in resolveReferences() 1854 return Scope; in findEqualScope() [all …]
|
| H A D | LVRange.cpp | 30 LVScope *Scope = RangeEntry.scope(); in startSearch() 68 void LVRange::addEntry(LVScope *Scope) { in addEntry() argument 69 assert(Scope && "Scope must not be nullptr"); in addEntry() 78 addEntry(Scope, LowPC, HighPC); in addEntry() 89 LVScope *Scope = nullptr; in getEntry() local 95 Scope = Iter->value(); in getEntry() 96 Level = Scope->getLevel(); in getEntry() 99 Target = Scope; in getEntry() 148 LVScope *Scope = RangeEntry.scope(); in print() local 149 Scope->printAttributes(OS, Full); in print() [all …]
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/ |
| H A D | ControlHeightReduction.cpp | 244 return Scope; in split() 296 delete Scope; in ~CHR() 309 Output.push_back(Scope); in findScopes() 409 Scope.print(OS); in operator <<() 1131 CHRScope *Scope, in splitScope() argument 1200 Scope = Tail; in splitScope() 1217 Splits.push_back(Scope); in splitScope() 1263 classifyBiasedScopes(Scope, Scope); in classifyBiasedScopes() 1350 assert(Scope->HoistStopMap.empty() && Scope->CHRRegions.empty() && in setCHRRegions() 1352 setCHRRegions(Scope, Scope); in setCHRRegions() [all …]
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/DebugInfo/LogicalView/Readers/ |
| H A D | LVBinaryReader.cpp | 111 LVScope *Scope = SymbolName.Scope; in print() local 112 LVOffset Offset = Scope ? Scope->getOffset() : 0; in print() 371 if (Scope->getIsDiscarded()) in createInstructions() 541 Scope->setLinkageName(Scope->getName()); in createInstructions() 591 LVScope *Scope = Function; in processLines() local 594 if (!Scope) { in processLines() 718 LVScope *Scope; in processLines() local 723 if (!Scope) { in processLines() 725 Scope = CompileUnit; in processLines() 736 Scope->addElement(Line); in processLines() [all …]
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
| H A D | SIMemoryLegalizer.cpp | 112 Scope(Scope), OrderingAddrSpace(OrderingAddrSpace), in SIMemOpInfo() 143 this->Scope = std::min(Scope, SIAtomicScope::SINGLETHREAD); in SIMemOpInfo() 147 this->Scope = std::min(Scope, SIAtomicScope::WORKGROUP); in SIMemOpInfo() 151 this->Scope = std::min(Scope, SIAtomicScope::AGENT); in SIMemOpInfo() 159 return Scope; in getScope() 900 switch (Scope) { in enableLoadCacheBypass() 1019 switch (Scope) { in insertWait() 1036 switch (Scope) { in insertWait() 1059 switch (Scope) { in insertWait() 1114 switch (Scope) { in insertAcquire() [all …]
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/IR/ |
| H A D | LLVMContextImpl.h | 317 Metadata *Scope; 536 Metadata *Scope; 551 : Tag(Tag), Name(Name), File(File), Line(Line), Scope(Scope), 628 Metadata *Scope; 751 Metadata *Scope; 879 Metadata *Scope; 885 : Scope(Scope), File(File), Line(Line), Column(Column) {} 906 : Scope(Scope), File(File), Discriminator(Discriminator) {} 927 : Scope(Scope), Name(Name), ExportSymbols(ExportSymbols) {} 978 : File(File), Scope(Scope), Name(Name), [all …]
|
| H A D | DebugInfo.cpp | 157 MDNode *Scope = DeclareLoc.getScope(); in getDebugValueLoc() local 169 MDNode *Scope = DeclareLoc.getScope(); in getDebugValueLoc() local 284 if (!Scope) in processScope() 298 if (!addScope(Scope)) in processScope() 381 if (!Scope) in addScope() 385 if (Scope->getNumOperands() == 0) in addScope() 387 if (!NodesSeen.insert(Scope).second) in addScope() 389 Scopes.push_back(Scope); in addScope() 728 auto *Scope = map(MLD->getScope()); in getReplacementMDLocation() local 874 auto *Scope = DL.getScope(); in stripNonLineTableDebugInfo() local [all …]
|
| H A D | DIBuilder.cpp | 767 auto *Scope = cast<DILocalScope>(Context); in createLocalVariable() local 784 assert(Scope && isa<DILocalScope>(Scope) && in createAutoVariable() 787 VMContext, getSubprogramNodesTrackingVector(Scope), Scope, Name, in createAutoVariable() 792 DIScope *Scope, StringRef Name, unsigned ArgNo, DIFile *File, in createParameterVariable() argument 796 assert(Scope && isa<DILocalScope>(Scope) && in createParameterVariable() 799 VMContext, getSubprogramNodesTrackingVector(Scope), Scope, Name, ArgNo, in createParameterVariable() 805 auto *Scope = cast<DILocalScope>(Context); in createLabel() local 806 auto *Node = DILabel::get(VMContext, Scope, Name, File, LineNo); in createLabel() 812 getSubprogramNodesTrackingVector(Scope).emplace_back(Node); in createLabel() 886 DICommonBlock *DIBuilder::createCommonBlock(DIScope *Scope, in createCommonBlock() argument [all …]
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/CodeGen/ |
| H A D | CGCleanup.cpp | 195 EHCleanupScope *Scope = in pushCleanup() local 207 Scope->setLifetimeMarker(); in pushCleanup() 673 Scope.shouldTestFlagInNormalCleanup() ? Scope.getActiveFlag() in PopCleanupBlock() 676 Scope.shouldTestFlagInEHCleanup() ? Scope.getActiveFlag() in PopCleanupBlock() 779 if (Scope.isNormalCleanup()) in PopCleanupBlock() 781 if (Scope.isEHCleanup()) in PopCleanupBlock() 1142 EHCleanupScope &Scope = in EmitBranchThroughCleanup() local 1248 if (Scope.isEHCleanup() && in SetupCleanupBlockActivation() 1261 Scope.setActiveFlag(var); in SetupCleanupBlockActivation() 1290 Scope.setActive(true); in ActivateCleanupBlock() [all …]
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/Sema/ |
| H A D | Scope.cpp | 20 void Scope::setFlags(Scope *parent, unsigned flags) { in setFlags() 92 void Scope::Init(Scope *parent, unsigned flags) { in Init() 102 bool Scope::containedInPrototypeScope() const { in containedInPrototypeScope() 103 const Scope *S = this; in containedInPrototypeScope() 112 void Scope::AddFlags(unsigned FlagsToSet) { in AddFlags() 133 void Scope::updateNRVOCandidate(VarDecl *VD) { in updateNRVOCandidate() 134 auto UpdateReturnSlotsInScopeForVD = [VD](Scope *S) -> bool { in updateNRVOCandidate() 162 void Scope::applyNRVO() { in applyNRVO() 193 LLVM_DUMP_METHOD void Scope::dump() const { dumpImpl(llvm::errs()); } in dump() 195 void Scope::dumpImpl(raw_ostream &OS) const { in dumpImpl() [all …]
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/Basic/ |
| H A D | Attributes.cpp | 32 const IdentifierInfo *Scope, const IdentifierInfo *Attr, in hasAttribute() argument 40 StringRef ScopeName = Scope ? Scope->getName() : ""; in hasAttribute() 76 normalizeAttrScopeName(const IdentifierInfo *Scope, in normalizeAttrScopeName() argument 78 if (!Scope) in normalizeAttrScopeName() 83 StringRef ScopeName = Scope->getName(); in normalizeAttrScopeName() 124 const IdentifierInfo *Scope, in normalizeName() argument 126 StringRef ScopeName = normalizeAttrScopeName(Scope, SyntaxUsed); in normalizeName() 156 StringRef Scope = normalizeAttrScopeName(getScopeName(), Syntax); in calculateAttributeSpellingListIndex() local 157 StringRef Name = normalizeAttrName(getAttrName(), Scope, Syntax); in calculateAttributeSpellingListIndex()
|
| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm/DebugInfo/LogicalView/Core/ |
| H A D | LVScope.h | 214 void addElement(LVScope *Scope); 300 virtual bool equals(const LVScope *Scope) const; 338 void setReference(LVScope *Scope) override { in setReference() argument 339 Reference = Scope; in setReference() 576 void addMatched(LVScope *Scope) { MatchedScopes.push_back(Scope); } in addMatched() argument 593 void increment(LVScope *Scope); 601 void addedElement(LVScope *Scope); 659 void setReference(LVScope *Scope) override { in setReference() argument 660 Reference = Scope; in setReference() 763 void setReference(LVScope *Scope) override { in setReference() argument [all …]
|
| H A D | LVRange.h | 28 LVScope *Scope = nullptr; variable 34 LVRangeEntry(LVAddress LowerAddress, LVAddress UpperAddress, LVScope *Scope) in LVRangeEntry() argument 35 : Lower(LowerAddress), Upper(UpperAddress), Scope(Scope) {} in LVRangeEntry() 42 LVScope *scope() const { return Scope; } in scope() 66 void addEntry(LVScope *Scope, LVAddress LowerAddress, LVAddress UpperAddress); 67 void addEntry(LVScope *Scope);
|
| H A D | LVReader.h | 97 LV_OBJECT_ALLOCATOR(Scope) 203 LV_CREATE_OBJECT(Scope) in LV_CREATE_OBJECT() 247 void setCompileUnit(LVScope *Scope) { in setCompileUnit() argument 248 assert(Scope && Scope->isCompileUnit() && "Scope is not a compile unit"); in setCompileUnit() 249 CompileUnit = static_cast<LVScopeCompileUnit *>(Scope); in setCompileUnit() 271 virtual LVSectionIndex getSectionIndex(LVScope *Scope) { in getSectionIndex() argument 287 void notifyAddedElement(LVScope *Scope) { in notifyAddedElement() argument 289 Scopes.push_back(Scope); in notifyAddedElement() 312 bool doPrintScope(const LVScope *Scope) const { in doPrintScope() argument 313 return patterns().printElement(Scope); in doPrintScope()
|
| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm/DebugInfo/LogicalView/Readers/ |
| H A D | LVBinaryReader.h | 37 LVScope *Scope = nullptr; member 42 LVSymbolTableEntry(LVScope *Scope, LVAddress Address, in LVSymbolTableEntry() 44 : Scope(Scope), Address(Address), SectionIndex(SectionIndex), in LVSymbolTableEntry() 138 getSection(LVScope *Scope, LVAddress Address, LVSectionIndex SectionIndex); 140 void addSectionRange(LVSectionIndex SectionIndex, LVScope *Scope); 141 void addSectionRange(LVSectionIndex SectionIndex, LVScope *Scope, 165 void addInlineeLines(LVScope *Scope, LVLines &Lines) { in addInlineeLines() argument 166 CUInlineeLines.emplace(Scope, std::make_unique<LVLines>(std::move(Lines))); in addInlineeLines() 186 LVSectionIndex getSectionIndex(LVScope *Scope) override { in getSectionIndex() argument 187 return Scope ? getSymbolTableIndex(Scope->getLinkageName()) in getSectionIndex()
|
| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm/IR/ |
| H A D | DIBuilder.h | 323 DIDerivedType *createMemberType(DIScope *Scope, StringRef Name, 381 DIDerivedType *createStaticMemberType(DIScope *Scope, StringRef Name, 470 DICompositeType *createUnionType(DIScope *Scope, StringRef Name, 491 DICompositeType *createVariantPart(DIScope *Scope, StringRef Name, 505 DITemplateTypeParameter *createTemplateTypeParameter(DIScope *Scope, 536 DITemplateValueParameter *createTemplateParameterPack(DIScope *Scope, 707 createAutoVariable(DIScope *Scope, StringRef Name, DIFile *File, 808 createMethod(DIScope *Scope, StringRef Name, StringRef LinkageName, 832 DINamespace *createNameSpace(DIScope *Scope, StringRef Name, 852 DIModule *createModule(DIScope *Scope, StringRef Name, [all …]
|
| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm-c/ |
| H A D | DebugInfo.h | 363 LLVMDIBuilderRef Builder, LLVMMetadataRef Scope, const char *Name, 378 LLVMDIBuilderRef Builder, LLVMMetadataRef Scope, 390 LLVMMetadataRef Scope, 404 LLVMMetadataRef Scope, 421 LLVMDIBuilderRef Builder, LLVMMetadataRef Scope, 513 LLVMMetadataRef LLVMDIScopeGetFile(LLVMMetadataRef Scope); 629 LLVMDIBuilderRef Builder, LLVMMetadataRef Scope, const char *Name, 652 LLVMDIBuilderRef Builder, LLVMMetadataRef Scope, const char *Name, 749 LLVMDIBuilderRef Builder, LLVMMetadataRef Scope, const char *Name, 991 LLVMMetadataRef Scope, [all …]
|
| /freebsd-14.2/contrib/byacc/test/ |
| H A D | btyacc_demo.y | 20 typedef int Scope; typedef 26 Scope *scope; 37 Scope *scope; 204 extern Scope *global_scope; 206 extern Decl * lookup(Scope *scope, char *id); 207 extern Scope * new_scope(Scope *outer_scope); 208 extern Scope * start_fn_def(Scope *scope, Decl *fn_decl); 216 extern Decl * declare(Scope *scope, char *id, Type *type); 223 extern Expr * var_expr(Scope *scope, char *id);
|
| /freebsd-14.2/sys/contrib/dev/acpica/components/dispatcher/ |
| H A D | dswscope.c | 188 WalkState->ScopeInfo = ScopeInfo->Scope.Next; in AcpiDsScopeStackClear() 254 ScopeInfo->Scope.Node = Node; in AcpiDsScopeStackPush() 267 AcpiUtGetNodeName (OldScopeInfo->Scope.Node), in AcpiDsScopeStackPush() 277 AcpiUtGetNodeName (ScopeInfo->Scope.Node), in AcpiDsScopeStackPush() 324 AcpiUtGetNodeName (ScopeInfo->Scope.Node), in AcpiDsScopeStackPop() 331 AcpiUtGetNodeName (NewScopeInfo->Scope.Node), in AcpiDsScopeStackPop()
|
| /freebsd-14.2/contrib/llvm-project/llvm/utils/TableGen/ |
| H A D | DAGISelMatcherOpt.cpp | 33 if (ScopeMatcher *Scope = dyn_cast<ScopeMatcher>(N)) { in ContractNodes() local 37 Scope->resetChild(i, Child.release()); in ContractNodes() 208 ScopeMatcher *Scope = nullptr; in FactorNodes() local 210 while (!Scope) { in FactorNodes() 217 Scope = dyn_cast<ScopeMatcher>(N); in FactorNodes() 218 if (!Scope) in FactorNodes() 472 std::unique_ptr<Matcher> Scope(SM); in FactorNodes() local 473 FactorNodes(Scope); in FactorNodes() 474 M.second = Scope.release(); in FactorNodes() 490 Scope->setNumChildren(OptionsToMatch.size()); in FactorNodes() [all …]
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/AST/Interp/ |
| H A D | Function.h | 34 class Scope final { 46 Scope(LocalVectorTy &&Descriptors) : Descriptors(std::move(Descriptors)) {} in Scope() function 112 llvm::iterator_range<llvm::SmallVector<Scope, 2>::const_iterator> 125 Scope &getScope(unsigned Idx) { return Scopes[Idx]; } in getScope() 126 const Scope &getScope(unsigned Idx) const { return Scopes[Idx]; } in getScope() 200 SourceMap &&NewSrcMap, llvm::SmallVector<Scope, 2> &&NewScopes, in setCode() argument 232 llvm::SmallVector<Scope, 2> Scopes;
|