Home
last modified time | relevance | path

Searched refs:Scope (Results 1 – 25 of 182) sorted by relevance

12345678

/freebsd-12.1/sys/contrib/dev/acpica/components/parser/
H A Dpsscope.c231 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-12.1/contrib/llvm/tools/clang/include/clang/Sema/
H A DScope.h41 class Scope {
140 Scope *AnyParent;
166 Scope *FnParent;
167 Scope *MSLastManglingParent;
177 Scope *BlockParent;
183 Scope *TemplateParamParent;
212 Scope(Scope *Parent, unsigned ScopeFlags, DiagnosticsEngine &Diag) in Scope() function
250 Scope *getBreakParent() { in getBreakParent()
396 else if (S->getFlags() & (Scope::FnScope | Scope::ClassScope | in isSwitchScope()
397 Scope::BlockScope | Scope::TemplateParamScope | in isSwitchScope()
[all …]
H A DSema.h828 Scope *TUScope;
2435 static Scope *getScopeForDeclContext(Scope *S, DeclContext *DC);
3020 Scope *getNonFieldDeclScope(Scope *S);
4328 Scope *S;
4338 const Scope *S,
7845 LocalInstantiationScope *Scope; member
8060 Scope *S,
8084 Scope *S,
8179 Scope *S,
10354 void CodeCompleteCase(Scope *S);
[all …]
/freebsd-12.1/contrib/llvm/lib/CodeGen/
H A DLexicalScopes.cpp125 if (!Scope) in findLexicalScope()
130 Scope = Scope->getNonLexicalBlockFileScope(); in findLexicalScope()
136 return findLexicalScope(Scope); in findLexicalScope()
149 getOrCreateAbstractScope(Scope); in getOrCreateLexicalScope()
161 Scope = Scope->getNonLexicalBlockFileScope(); in getOrCreateRegularScope()
190 Scope = Scope->getNonLexicalBlockFileScope(); in getOrCreateInlinedScope()
213 Scope = Scope->getNonLexicalBlockFileScope(); in getOrCreateAbstractScope()
227 if (isa<DISubprogram>(Scope)) in getOrCreateAbstractScope()
236 WorkStack.push_back(Scope); in constructScopeNest()
285 if (!Scope) in getMachineBasicBlocks()
[all …]
/freebsd-12.1/contrib/llvm/lib/Transforms/Instrumentation/
H A DControlHeightReduction.cpp330 delete Scope; in ~CHR()
343 if (Scope) { in findScopes()
438 Scope.print(OS); in operator <<()
1126 CHRScope *Scope, in splitScope() argument
1195 Scope = Tail; in splitScope()
1212 Splits.push_back(Scope); in splitScope()
1258 classifyBiasedScopes(Scope, Scope); in classifyBiasedScopes()
1338 Output.push_back(Scope); in filterScopes()
1345 assert(Scope->HoistStopMap.empty() && Scope->CHRRegions.empty() && in setCHRRegions()
1347 setCHRRegions(Scope, Scope); in setCHRRegions()
[all …]
/freebsd-12.1/contrib/llvm/lib/IR/
H A DLLVMContextImpl.h281 Metadata *Scope;
410 Metadata *Scope;
424 : Tag(Tag), Name(Name), File(File), Line(Line), Scope(Scope),
500 Metadata *Scope;
519 : Tag(Tag), Name(Name), File(File), Line(Line), Scope(Scope),
609 Metadata *Scope;
729 Metadata *Scope;
735 : Scope(Scope), File(File), Line(Line), Column(Column) {}
756 : Scope(Scope), File(File), Discriminator(Discriminator) {}
777 : Scope(Scope), Name(Name), ExportSymbols(ExportSymbols) {}
[all …]
H A DDebugInfo.cpp150 if (!Scope) in processScope()
152 if (auto *Ty = dyn_cast<DIType>(Scope)) { in processScope()
164 if (!addScope(Scope)) in processScope()
270 if (!Scope) in addScope()
274 if (Scope->getNumOperands() == 0) in addScope()
276 if (!NodesSeen.insert(Scope).second) in addScope()
278 Scopes.push_back(Scope); in addScope()
496 auto *Scope = map(MLD->getScope()); in getReplacementMDLocation() local
641 auto *Scope = DL.getScope(); in stripNonLineTableDebugInfo() local
643 Scope = remap(Scope); in stripNonLineTableDebugInfo()
[all …]
H A DDebugInfoMetadata.cpp68 Ops.push_back(Scope); in getImpl()
671 assert(Scope && "Expected scope"); in getImpl()
673 Metadata *Ops[] = {File, Scope}; in getImpl()
682 assert(Scope && "Expected scope"); in getImpl()
684 Metadata *Ops[] = {File, Scope}; in getImpl()
694 Metadata *Ops[] = {nullptr, Scope, Name}; in getImpl()
742 Metadata *Ops[] = {Scope, in getImpl()
764 assert(Scope && "Expected scope"); in getImpl()
769 Metadata *Ops[] = {Scope, Name, File, Type}; in getImpl()
800 assert(Scope && "Expected scope"); in getImpl()
[all …]
H A DDebugLoc.cpp52 const MDNode *Scope = getInlinedAtScope(); in getFnDebugLoc() local
53 if (auto *SP = getDISubprogram(Scope)) in getFnDebugLoc()
72 DebugLoc DebugLoc::get(unsigned Line, unsigned Col, const MDNode *Scope, in get() argument
75 if (!Scope) in get()
78 return DILocation::get(Scope->getContext(), Line, Col, in get()
79 const_cast<MDNode *>(Scope), in get()
124 auto *Scope = cast<DIScope>(getScope()); in print() local
125 OS << Scope->getFilename(); in print()
H A DDIBuilder.cpp352 DIScope *Scope, StringRef Name, DIFile *File, unsigned LineNumber, in createVariantMemberType() argument
362 DIScope *Scope, StringRef Name, DIFile *File, unsigned LineNumber, in createBitFieldMemberType() argument
673 DIScope *Scope, StringRef Name, unsigned ArgNo, DIFile *File, in createLocalVariable() argument
680 DIScope *Context = getNonCompileUnitScope(Scope); in createLocalVariable()
689 DISubprogram *Fn = getDISubprogram(Scope); in createLocalVariable()
707 DIScope *Scope, StringRef Name, unsigned ArgNo, DIFile *File, in createParameterVariable() argument
716 DIScope *Scope, StringRef Name, DIFile *File, in createLabel() argument
718 DIScope *Context = getNonCompileUnitScope(Scope); in createLabel()
728 DISubprogram *Fn = getDISubprogram(Scope); in createLabel()
821 DIModule *DIBuilder::createModule(DIScope *Scope, StringRef Name, in createModule() argument
[all …]
/freebsd-12.1/contrib/llvm/tools/clang/lib/CodeGen/
H A DCGCleanup.cpp191 EHCleanupScope *Scope = in pushCleanup() local
204 Scope->setLifetimeMarker(); in pushCleanup()
660 Scope.shouldTestFlagInNormalCleanup() ? Scope.getActiveFlag() in PopCleanupBlock()
663 Scope.shouldTestFlagInEHCleanup() ? Scope.getActiveFlag() in PopCleanupBlock()
765 if (Scope.isNormalCleanup()) in PopCleanupBlock()
767 if (Scope.isEHCleanup()) in PopCleanupBlock()
1094 EHCleanupScope &Scope = in EmitBranchThroughCleanup() local
1200 if (Scope.isEHCleanup() && in SetupCleanupBlockActivation()
1213 Scope.setActiveFlag(var); in SetupCleanupBlockActivation()
1242 Scope.setActive(true); in ActivateCleanupBlock()
[all …]
/freebsd-12.1/contrib/llvm/tools/clang/lib/Sema/
H A DScope.cpp21 void Scope::setFlags(Scope *parent, unsigned flags) { in setFlags()
88 void Scope::Init(Scope *parent, unsigned flags) { in Init()
98 bool Scope::containedInPrototypeScope() const { in containedInPrototypeScope()
99 const Scope *S = this; in containedInPrototypeScope()
108 void Scope::AddFlags(unsigned FlagsToSet) { in AddFlags()
122 void Scope::mergeNRVOIntoParent() { in mergeNRVOIntoParent()
137 LLVM_DUMP_METHOD void Scope::dump() const { dumpImpl(llvm::errs()); } in dump()
139 void Scope::dumpImpl(raw_ostream &OS) const { in dumpImpl()
186 if (const Scope *Parent = getParent()) in dumpImpl()
/freebsd-12.1/contrib/llvm/lib/CodeGen/AsmPrinter/
H A DDwarfCompileUnit.cpp365 if (!Scope || !Scope->getScopeNode()) in constructScopeDIE()
368 auto *DS = Scope->getScopeNode(); in constructScopeDIE()
476 assert(Scope->getScopeNode()); in constructInlinedScopeDIE()
477 auto *DS = Scope->getScopeNode(); in constructInlinedScopeDIE()
512 if (Scope->isAbstractScope()) in constructLexicalScopeDIE()
533 if (Scope.isAbstractScope()) in constructLabelDIE()
745 if (Scope) { in constructSubprogramScopeDIE()
746 assert(!Scope->getInlinedAt()); in constructSubprogramScopeDIE()
747 assert(!Scope->isAbstractScope()); in constructSubprogramScopeDIE()
783 LexicalScope *Scope) { in constructAbstractSubprogramScopeDIE() argument
[all …]
H A DDwarfCompileUnit.h148 DIScope *Scope = IE->getScope(); in addImportedEntity() local
149 assert(Scope && "Invalid Scope encoding!"); in addImportedEntity()
150 if (!isa<DILocalScope>(Scope)) in addImportedEntity()
169 void constructScopeDIE(LexicalScope *Scope,
183 DIE *constructInlinedScopeDIE(LexicalScope *Scope);
187 DIE *constructLexicalScopeDIE(LexicalScope *Scope);
196 DIE *constructLabelDIE(DbgLabel &DL, const LexicalScope &Scope);
199 DIE *createScopeChildrenDIE(LexicalScope *Scope,
205 LexicalScope *Scope);
207 DIE *createAndAddScopeChildren(LexicalScope *Scope, DIE &ScopeDIE);
[all …]
H A DDwarfDebug.cpp454 if (Scope->isAbstractScope()) in isLexicalScopeDIENull()
483 assert(Scope && Scope->getScopeNode()); in constructAbstractSubprogramScopeDIE()
485 assert(!Scope->getInlinedAt()); in constructAbstractSubprogramScopeDIE()
1026 if (LexicalScope *Scope = in ensureAbstractEntityIsCreatedIfScoped() local
1046 if (!Scope) in collectVariableInfoFromMFTable()
1338 if (!Scope) in collectEntityInfo()
1392 if (!Scope) in collectEntityInfo()
1414 if (Scope) in collectEntityInfo()
1612 Scope = DV->getScope(); in endFunctionImpl()
1614 Scope = DL->getScope(); in endFunctionImpl()
[all …]
/freebsd-12.1/contrib/llvm/include/llvm/IR/
H A DDIBuilder.h269 DIDerivedType *createMemberType(DIScope *Scope, StringRef Name,
289 DIDerivedType *createVariantMemberType(DIScope *Scope, StringRef Name,
308 DIScope *Scope, StringRef Name, DIFile *File, unsigned LineNo,
322 DIDerivedType *createStaticMemberType(DIScope *Scope, StringRef Name,
410 DICompositeType *createUnionType(DIScope *Scope, StringRef Name,
431 DICompositeType *createVariantPart(DIScope *Scope, StringRef Name,
605 createAutoVariable(DIScope *Scope, StringRef Name, DIFile *File,
701 createMethod(DIScope *Scope, StringRef Name, StringRef LinkageName,
715 DINamespace *createNameSpace(DIScope *Scope, StringRef Name,
727 DIModule *createModule(DIScope *Scope, StringRef Name,
[all …]
H A DDebugInfoMetadata.h1940 (Scope, File, Line, Column))
1943 (Scope, File, Line, Column))
1989 (Scope, File, Discriminator))
1992 (Scope, File, Discriminator))
2015 DIScope *Scope = getScope();
2022 LBF = dyn_cast<DILexicalBlockFile>(Scope))
2023 Scope = LBF->getScope();
2093 (Scope, Name, ExportSymbols))
2096 (Scope, Name, ExportSymbols))
2781 (Scope, Name, File, Line))
[all …]
/freebsd-12.1/contrib/llvm/include/llvm-c/
H A DDebugInfo.h319 LLVMDIBuilderRef Builder, LLVMMetadataRef Scope, const char *Name,
334 LLVMDIBuilderRef Builder, LLVMMetadataRef Scope,
346 LLVMMetadataRef Scope,
360 LLVMMetadataRef Scope,
376 LLVMMetadataRef Scope,
391 LLVMMetadataRef Scope,
410 LLVMMetadataRef Scope,
497 LLVMDIBuilderRef Builder, LLVMMetadataRef Scope, const char *Name,
778 LLVMMetadataRef Scope);
859 LLVMMetadataRef Scope,
[all …]
/freebsd-12.1/contrib/llvm/lib/Target/AMDGPU/
H A DSIMemoryLegalizer.cpp125 SIAtomicScope Scope = SIAtomicScope::SYSTEM; member in __anoncef23e4c0111::SIMemOpInfo
140 Scope(Scope), OrderingAddrSpace(OrderingAddrSpace), in SIMemOpInfo()
156 return Scope; in getScope()
337 SIAtomicScope Scope,
621 SIAtomicScope Scope, in enableLoadCacheBypass() argument
630 switch (Scope) { in enableLoadCacheBypass()
680 switch (Scope) { in insertCacheInvalidate()
728 switch (Scope) { in insertWait()
745 switch (Scope) { in insertWait()
768 switch (Scope) { in insertWait()
[all …]
/freebsd-12.1/contrib/llvm/utils/TableGen/
H A DDAGISelMatcherOpt.cpp32 if (ScopeMatcher *Scope = dyn_cast<ScopeMatcher>(N)) { in ContractNodes() local
36 Scope->resetChild(i, Child.release()); in ContractNodes()
186 ScopeMatcher *Scope = nullptr; in FactorNodes() local
188 while (!Scope) { in FactorNodes()
194 Scope = dyn_cast<ScopeMatcher>(N); in FactorNodes()
195 if (!Scope) in FactorNodes()
438 std::unique_ptr<Matcher> Scope(SM); in FactorNodes() local
439 FactorNodes(Scope); in FactorNodes()
440 M.second = Scope.release(); in FactorNodes()
457 Scope->setNumChildren(NewOptionsToMatch.size()); in FactorNodes()
[all …]
/freebsd-12.1/contrib/byacc/test/
H A Dbtyacc_demo.y20 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-12.1/sys/contrib/dev/acpica/components/dispatcher/
H A Ddswscope.c188 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-12.1/contrib/llvm/tools/lld/lib/ReaderWriter/MachO/
H A DAtoms.h30 MachODefinedAtom(const File &f, const StringRef name, Scope scope, in MachODefinedAtom()
38 MachODefinedAtom(const File &f, const StringRef name, Scope scope, in MachODefinedAtom()
56 Scope scope() const override { return _scope; } in scope()
82 const Scope _scope;
91 Scope scope, ContentType type, Merge merge, in MachODefinedCustomSectionAtom()
114 MachOTentativeDefAtom(const File &f, const StringRef name, Scope scope, in MachOTentativeDefAtom()
131 Scope scope() const override { return _scope; } in scope()
137 const Scope _scope;
/freebsd-12.1/contrib/llvm/tools/llvm-pdbutil/
H A DLinePrinter.h107 inline Optional<PrintScope> withLabelWidth(const Optional<PrintScope> &Scope, in withLabelWidth() argument
109 if (!Scope) in withLabelWidth()
111 return PrintScope{*Scope, W}; in withLabelWidth()
119 explicit AutoIndent(const Optional<PrintScope> &Scope) { in AutoIndent()
120 if (Scope.hasValue()) { in AutoIndent()
121 L = &Scope->P; in AutoIndent()
122 Amount = Scope->IndentLevel; in AutoIndent()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Parse/
H A DParseStmt.cpp463 Scope::DeclScope | Scope::CompoundStmtScope | Scope::SEHTryScope)); in ParseSEHTryBlock()
501 ParseScope ExpectScope(this, Scope::DeclScope | Scope::ControlScope | in ParseSEHExceptBlock()
1324 ScopeFlags |= Scope::DeclScope | Scope::ControlScope; in ParseSwitchStatement()
1410 ScopeFlags = Scope::BreakScope | Scope::ContinueScope | in ParseWhileStatement()
1411 Scope::DeclScope | Scope::ControlScope; in ParseWhileStatement()
1413 ScopeFlags = Scope::BreakScope | Scope::ContinueScope; in ParseWhileStatement()
1460 ScopeFlags = Scope::BreakScope | Scope::ContinueScope | Scope::DeclScope; in ParseDoStatement()
1462 ScopeFlags = Scope::BreakScope | Scope::ContinueScope; in ParseDoStatement()
1595 ScopeFlags = Scope::DeclScope | Scope::ControlScope; in ParseForStatement()
1736 getCurScope()->AddFlags(Scope::BreakScope | Scope::ContinueScope); in ParseForStatement()
[all …]

12345678