Home
last modified time | relevance | path

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

123456789

/freebsd-13.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-13.1/contrib/llvm-project/clang/include/clang/Sema/
H A DScope.h40 class Scope {
148 Scope *AnyParent;
174 Scope *FnParent;
175 Scope *MSLastManglingParent;
185 Scope *BlockParent;
191 Scope *TemplateParamParent;
220 Scope(Scope *Parent, unsigned ScopeFlags, DiagnosticsEngine &Diag) in Scope() function
269 Scope *getBreakParent() { in getBreakParent()
434 else if (S->getFlags() & (Scope::FnScope | Scope::ClassScope | in isSwitchScope()
435 Scope::BlockScope | Scope::TemplateParamScope | in isSwitchScope()
[all …]
H A DSema.h1107 Scope *TUScope;
3274 static Scope *getScopeForDeclContext(Scope *S, DeclContext *DC);
3912 Scope *getNonFieldDeclScope(Scope *S);
5345 Scope *S;
5355 const Scope *S,
9628 Scope *S,
9652 Scope *S,
9747 Scope *S,
10343 ExprResult ActOnOpenMPCall(ExprResult Call, Scope *Scope,
12376 void CodeCompleteCase(Scope *S);
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/
H A DLexicalScopes.cpp125 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-13.1/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/
H A DControlHeightReduction.cpp276 return Scope; in split()
328 delete Scope; in ~CHR()
341 Output.push_back(Scope); in findScopes()
435 Scope.print(OS); in operator <<()
1151 CHRScope *Scope, in splitScope() argument
1220 Scope = Tail; in splitScope()
1237 Splits.push_back(Scope); in splitScope()
1283 classifyBiasedScopes(Scope, Scope); in classifyBiasedScopes()
1370 assert(Scope->HoistStopMap.empty() && Scope->CHRRegions.empty() && in setCHRRegions()
1372 setCHRRegions(Scope, Scope); in setCHRRegions()
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/lib/IR/
H A DLLVMContextImpl.h259 Metadata *Scope;
466 Metadata *Scope;
480 : Tag(Tag), Name(Name), File(File), Line(Line), Scope(Scope),
556 Metadata *Scope;
581 : Tag(Tag), Name(Name), File(File), Line(Line), Scope(Scope),
678 Metadata *Scope;
804 : Scope(Scope), File(File), Line(Line), Column(Column) {}
825 : Scope(Scope), File(File), Discriminator(Discriminator) {}
846 : Scope(Scope), Name(Name), ExportSymbols(ExportSymbols) {}
899 : File(File), Scope(Scope), Name(Name),
[all …]
H A DDebugInfo.cpp233 if (!Scope) in processScope()
235 if (auto *Ty = dyn_cast<DIType>(Scope)) { in processScope()
247 if (!addScope(Scope)) in processScope()
338 if (!Scope) in addScope()
342 if (Scope->getNumOperands() == 0) in addScope()
344 if (!NodesSeen.insert(Scope).second) in addScope()
346 Scopes.push_back(Scope); in addScope()
618 auto *Scope = map(MLD->getScope()); in getReplacementMDLocation() local
765 auto *Scope = DL.getScope(); in stripNonLineTableDebugInfo() local
767 Scope = remap(Scope); in stripNonLineTableDebugInfo()
[all …]
H A DDebugInfoMetadata.cpp77 Ops.push_back(Scope); in getImpl()
902 assert(Scope && "Expected scope"); in getImpl()
904 Metadata *Ops[] = {File, Scope}; in getImpl()
913 assert(Scope && "Expected scope"); in getImpl()
915 Metadata *Ops[] = {File, Scope}; in getImpl()
925 Metadata *Ops[] = {nullptr, Scope, Name}; in getImpl()
936 Metadata *Ops[] = {Scope, Decl, Name, File}; in getImpl()
987 Metadata *Ops[] = {Scope, in getImpl()
1009 assert(Scope && "Expected scope"); in getImpl()
1045 assert(Scope && "Expected scope"); in getImpl()
[all …]
H A DDIBuilder.cpp366 DIScope *Scope, StringRef Name, DIFile *File, unsigned LineNumber, in createVariantMemberType() argument
376 DIScope *Scope, StringRef Name, DIFile *File, unsigned LineNumber, in createBitFieldMemberType() argument
736 DIScope *Scope, StringRef Name, unsigned ArgNo, DIFile *File, in createLocalVariable() argument
743 DIScope *Context = getNonCompileUnitScope(Scope); in createLocalVariable()
752 DISubprogram *Fn = getDISubprogram(Scope); in createLocalVariable()
770 DIScope *Scope, StringRef Name, unsigned ArgNo, DIFile *File, in createParameterVariable() argument
779 DIScope *Scope, StringRef Name, DIFile *File, in createLabel() argument
781 DIScope *Context = getNonCompileUnitScope(Scope); in createLabel()
791 DISubprogram *Fn = getDISubprogram(Scope); in createLabel()
876 VMContext, Scope, Decl, Name, File, LineNo); in createCommonBlock()
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DSIMemoryLegalizer.cpp111 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()
799 switch (Scope) { in enableLoadCacheBypass()
910 switch (Scope) { in insertWait()
927 switch (Scope) { in insertWait()
950 switch (Scope) { in insertWait()
1004 switch (Scope) { in insertAcquire()
[all …]
/freebsd-13.1/contrib/llvm-project/clang/lib/CodeGen/
H A DCGCleanup.cpp183 EHCleanupScope *Scope = in pushCleanup() local
195 Scope->setLifetimeMarker(); in pushCleanup()
656 Scope.shouldTestFlagInNormalCleanup() ? Scope.getActiveFlag() in PopCleanupBlock()
659 Scope.shouldTestFlagInEHCleanup() ? Scope.getActiveFlag() in PopCleanupBlock()
762 if (Scope.isNormalCleanup()) in PopCleanupBlock()
764 if (Scope.isEHCleanup()) in PopCleanupBlock()
1119 EHCleanupScope &Scope = in EmitBranchThroughCleanup() local
1225 if (Scope.isEHCleanup() && in SetupCleanupBlockActivation()
1238 Scope.setActiveFlag(var); in SetupCleanupBlockActivation()
1267 Scope.setActive(true); in ActivateCleanupBlock()
[all …]
/freebsd-13.1/contrib/llvm-project/clang/lib/Basic/
H A DAttributes.cpp8 int clang::hasAttribute(AttrSyntax Syntax, const IdentifierInfo *Scope, in hasAttribute() argument
17 StringRef ScopeName = Scope ? Scope->getName() : ""; in hasAttribute()
47 normalizeAttrScopeName(const IdentifierInfo *Scope, in normalizeAttrScopeName() argument
49 if (!Scope) in normalizeAttrScopeName()
54 StringRef ScopeName = Scope->getName(); in normalizeAttrScopeName()
91 const IdentifierInfo *Scope, in normalizeName() argument
93 StringRef ScopeName = normalizeAttrScopeName(Scope, SyntaxUsed); in normalizeName()
123 StringRef Scope = normalizeAttrScopeName(getScopeName(), Syntax); in calculateAttributeSpellingListIndex() local
124 StringRef Name = normalizeAttrName(getAttrName(), Scope, Syntax); in calculateAttributeSpellingListIndex()
/freebsd-13.1/contrib/llvm-project/clang/lib/Sema/
H A DScope.cpp20 void Scope::setFlags(Scope *parent, unsigned flags) { in setFlags()
87 void Scope::Init(Scope *parent, unsigned flags) { in Init()
97 bool Scope::containedInPrototypeScope() const { in containedInPrototypeScope()
98 const Scope *S = this; in containedInPrototypeScope()
107 void Scope::AddFlags(unsigned FlagsToSet) { in AddFlags()
121 void Scope::mergeNRVOIntoParent() { in mergeNRVOIntoParent()
136 LLVM_DUMP_METHOD void Scope::dump() const { dumpImpl(llvm::errs()); } in dump()
138 void Scope::dumpImpl(raw_ostream &OS) const { in dumpImpl()
187 if (const Scope *Parent = getParent()) in dumpImpl()
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/IR/
H A DDIBuilder.h282 DIDerivedType *createMemberType(DIScope *Scope, StringRef Name,
321 DIScope *Scope, StringRef Name, DIFile *File, unsigned LineNo,
335 DIDerivedType *createStaticMemberType(DIScope *Scope, StringRef Name,
423 DICompositeType *createUnionType(DIScope *Scope, StringRef Name,
444 DICompositeType *createVariantPart(DIScope *Scope, StringRef Name,
458 DITemplateTypeParameter *createTemplateTypeParameter(DIScope *Scope,
657 createAutoVariable(DIScope *Scope, StringRef Name, DIFile *File,
753 createMethod(DIScope *Scope, StringRef Name, StringRef LinkageName,
777 DINamespace *createNameSpace(DIScope *Scope, StringRef Name,
797 DIModule *createModule(DIScope *Scope, StringRef Name,
[all …]
H A DDebugInfoMetadata.h2117 (Scope, File, Line, Column))
2120 (Scope, File, Line, Column))
2166 (Scope, File, Discriminator))
2169 (Scope, File, Discriminator))
2187 DIScope *Scope = getScope(); in cloneWithDiscriminator() local
2194 LBF = dyn_cast<DILexicalBlockFile>(Scope)) in cloneWithDiscriminator()
2195 Scope = LBF->getScope(); in cloneWithDiscriminator()
2278 (Scope, Name, ExportSymbols))
2281 (Scope, Name, ExportSymbols))
3165 (Scope, Name, File, Line))
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/
H A DDwarfCompileUnit.h173 DIScope *Scope = IE->getScope(); in addImportedEntity() local
174 assert(Scope && "Invalid Scope encoding!"); in addImportedEntity()
175 if (!isa<DILocalScope>(Scope)) in addImportedEntity()
194 void constructScopeDIE(LexicalScope *Scope,
208 DIE *constructInlinedScopeDIE(LexicalScope *Scope);
212 DIE *constructLexicalScopeDIE(LexicalScope *Scope);
221 DIE *constructLabelDIE(DbgLabel &DL, const LexicalScope &Scope);
224 DIE *createScopeChildrenDIE(LexicalScope *Scope,
232 LexicalScope *Scope);
234 DIE *createAndAddScopeChildren(LexicalScope *Scope, DIE &ScopeDIE);
[all …]
H A DDwarfCompileUnit.cpp507 if (!Scope || !Scope->getScopeNode()) in constructScopeDIE()
510 auto *DS = Scope->getScopeNode(); in constructScopeDIE()
644 assert(Scope->getScopeNode()); in constructInlinedScopeDIE()
645 auto *DS = Scope->getScopeNode(); in constructInlinedScopeDIE()
682 if (Scope->isAbstractScope()) in constructLexicalScopeDIE()
703 if (Scope.isAbstractScope()) in constructLabelDIE()
1046 if (Scope) { in constructSubprogramScopeDIE()
1047 assert(!Scope->getInlinedAt()); in constructSubprogramScopeDIE()
1048 assert(!Scope->isAbstractScope()); in constructSubprogramScopeDIE()
1084 LexicalScope *Scope) { in constructAbstractSubprogramScopeDIE() argument
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm-c/
H A DDebugInfo.h338 LLVMDIBuilderRef Builder, LLVMMetadataRef Scope, const char *Name,
353 LLVMDIBuilderRef Builder, LLVMMetadataRef Scope,
365 LLVMMetadataRef Scope,
379 LLVMMetadataRef Scope,
395 LLVMMetadataRef Scope,
410 LLVMMetadataRef Scope,
429 LLVMMetadataRef Scope,
488 LLVMMetadataRef LLVMDIScopeGetFile(LLVMMetadataRef Scope);
604 LLVMDIBuilderRef Builder, LLVMMetadataRef Scope, const char *Name,
966 LLVMMetadataRef Scope,
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/utils/TableGen/
H A DDAGISelMatcherOpt.cpp31 if (ScopeMatcher *Scope = dyn_cast<ScopeMatcher>(N)) { in ContractNodes() local
35 Scope->resetChild(i, Child.release()); in ContractNodes()
189 ScopeMatcher *Scope = nullptr; in FactorNodes() local
191 while (!Scope) { in FactorNodes()
197 Scope = dyn_cast<ScopeMatcher>(N); in FactorNodes()
198 if (!Scope) in FactorNodes()
442 std::unique_ptr<Matcher> Scope(SM); in FactorNodes() local
443 FactorNodes(Scope); in FactorNodes()
444 M.second = Scope.release(); in FactorNodes()
461 Scope->setNumChildren(NewOptionsToMatch.size()); in FactorNodes()
[all …]
/freebsd-13.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-13.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-13.1/contrib/llvm-project/lld/lib/ReaderWriter/MachO/
H A DAtoms.h29 MachODefinedAtom(const File &f, const StringRef name, Scope scope, in MachODefinedAtom()
37 MachODefinedAtom(const File &f, const StringRef name, Scope scope, in MachODefinedAtom()
55 Scope scope() const override { return _scope; } in scope()
81 const Scope _scope;
90 Scope scope, ContentType type, Merge merge, in MachODefinedCustomSectionAtom()
113 MachOTentativeDefAtom(const File &f, const StringRef name, Scope scope, in MachOTentativeDefAtom()
130 Scope scope() const override { return _scope; } in scope()
136 const Scope _scope;
/freebsd-13.1/contrib/llvm-project/clang/lib/AST/Interp/
H A DFunction.h32 class Scope {
44 Scope(LocalVectorTy &&Descriptors) : Descriptors(std::move(Descriptors)) {} in Scope() function
86 llvm::iterator_range<llvm::SmallVector<Scope, 2>::iterator> scopes() { in scopes()
97 Scope &getScope(unsigned Idx) { return Scopes[Idx]; } in getScope()
119 llvm::SmallVector<Scope, 2> &&NewScopes) { in setCode() argument
146 llvm::SmallVector<Scope, 2> Scopes;
/freebsd-13.1/contrib/llvm-project/llvm/tools/llvm-pdbutil/
H A DLinePrinter.h106 inline Optional<PrintScope> withLabelWidth(const Optional<PrintScope> &Scope, in withLabelWidth() argument
108 if (!Scope) in withLabelWidth()
110 return PrintScope{*Scope, W}; in withLabelWidth()
118 explicit AutoIndent(const Optional<PrintScope> &Scope) { in AutoIndent()
119 if (Scope.hasValue()) { in AutoIndent()
120 L = &Scope->P; in AutoIndent()
121 Amount = Scope->IndentLevel; in AutoIndent()
/freebsd-13.1/contrib/llvm-project/clang/lib/Parse/
H A DParseStmt.cpp506 Scope::DeclScope | Scope::CompoundStmtScope | Scope::SEHTryScope)); in ParseSEHTryBlock()
544 ParseScope ExpectScope(this, Scope::DeclScope | Scope::ControlScope | in ParseSEHExceptBlock()
1531 ScopeFlags |= Scope::DeclScope | Scope::ControlScope; in ParseSwitchStatement()
1619 ScopeFlags = Scope::BreakScope | Scope::ContinueScope | in ParseWhileStatement()
1620 Scope::DeclScope | Scope::ControlScope; in ParseWhileStatement()
1622 ScopeFlags = Scope::BreakScope | Scope::ContinueScope; in ParseWhileStatement()
1675 ScopeFlags = Scope::BreakScope | Scope::ContinueScope | Scope::DeclScope; in ParseDoStatement()
1677 ScopeFlags = Scope::BreakScope | Scope::ContinueScope; in ParseDoStatement()
1810 ScopeFlags = Scope::DeclScope | Scope::ControlScope; in ParseForStatement()
2009 getCurScope()->AddFlags(Scope::BreakScope | Scope::ContinueScope); in ParseForStatement()
[all …]

123456789