Home
last modified time | relevance | path

Searched full:scope (Results 1 – 25 of 2146) sorted by relevance

12345678910>>...86

/openbsd-src/gnu/llvm/clang/include/clang/Sema/
H A DScope.h1 //===- Scope.h - Scope interface --------------------------------*- C++ -*-===//
9 // This file defines the Scope interface.
38 /// Scope - A scope is a transient data structure that is used while parsing the
41 class Scope {
44 /// scope, which defines the sorts of things the scope contains.
46 /// This indicates that the scope corresponds to a function, which
58 /// This is a scope that can contain a declaration. Some scopes
62 /// The controlling scope in a if/switch/while/for statement.
65 /// The scope of a struct/union/class definition.
68 /// This is a scope that corresponds to a block/closure object.
[all …]
/openbsd-src/gnu/llvm/llvm/lib/CodeGen/
H A DLexicalScopes.cpp1 //===- LexicalScopes.cpp - Collecting lexical scope info ------------------===//
11 // This pass collects lexical scope information and maps machine instructions
50 /// initialize - Scan machine function and constuct lexical scope nest.
53 // Don't attempt any lexical scope creation for a NoDebug compile unit. in initialize()
90 // If scope has not changed then skip this instruction. in extractLexicalScopes()
98 // current instruction scope does not match scope of first instruction in extractLexicalScopes()
122 /// findLexicalScope - Find lexical scope, either regular or inlined, for the
125 DILocalScope *Scope = DL->getScope(); in findLexicalScope() local
126 if (!Scope) in findLexicalScope()
129 // The scope that we were created with could have an extra file - which in findLexicalScope()
[all …]
/openbsd-src/usr.bin/tmux/
H A Doptions-table.c187 .scope = OPTIONS_TABLE_SESSION, \
196 .scope = OPTIONS_TABLE_WINDOW|OPTIONS_TABLE_PANE, \
205 .scope = OPTIONS_TABLE_WINDOW, \
227 .scope = OPTIONS_TABLE_SERVER,
234 .scope = OPTIONS_TABLE_SERVER,
244 .scope = OPTIONS_TABLE_SERVER,
259 .scope = OPTIONS_TABLE_SERVER,
268 .scope = OPTIONS_TABLE_SERVER,
276 .scope = OPTIONS_TABLE_WINDOW|OPTIONS_TABLE_PANE,
283 .scope
[all...]
/openbsd-src/gnu/llvm/llvm/include/llvm/DebugInfo/LogicalView/Core/
H A DLVScope.h10 // information scope.
73 // Class to represent a DWARF Scope.
92 // Typed bitvector with kinds and properties for this scope.
106 // Decide if the scope will be printed, using some conditions given by:
110 // Find the current scope in the given 'Targets'.
113 // Traverse the scope parent tree, executing the given callback function
114 // on each scope.
119 // Types, Symbols, Scopes, Lines, Locations in this scope.
214 void addElement(LVScope *Scope);
222 // scope associated with any DW_AT_specification, DW_AT_abstract_origin.
[all …]
/openbsd-src/gnu/llvm/clang/lib/ARCMigrate/
H A DTransAutoreleasePool.cpp11 // Calls to NSAutoreleasePools will be rewritten as an @autorelease scope.
22 // - There is not a corresponding -release/-drain in the same scope
24 // - There is a variable that is declared inside the intended @autorelease scope
97 PoolScope &scope = *scpI; in ~AutoreleasePoolRewriter() local
98 clearRefsIn(*scope.Begin, info.Refs); in ~AutoreleasePoolRewriter()
99 clearRefsIn(*scope.End, info.Refs); in ~AutoreleasePoolRewriter()
100 clearRefsIn(scope.Releases.begin(), scope.Releases.end(), info.Refs); in ~AutoreleasePoolRewriter()
121 PoolScope &scope = *scpI; in ~AutoreleasePoolRewriter() local
122 clearUnavailableDiags(*scope.Begin); in ~AutoreleasePoolRewriter()
123 clearUnavailableDiags(*scope.End); in ~AutoreleasePoolRewriter()
[all …]
/openbsd-src/gnu/llvm/llvm/include/llvm/CodeGen/
H A DLexicalScopes.h1 //===- LexicalScopes.cpp - Collecting lexical scope info --------*- C++ -*-===//
11 // This pass collects lexical scope information and maps machine instructions
37 /// lexical scope.
42 /// LexicalScope - This class is used to track scope information.
68 /// addChild - Add a child scope.
71 /// openInsnRange - This scope covers instruction range starting from MI.
81 /// this scope.
90 /// until now. This is used when a new scope is encountered while walking
103 /// dominates - Return true if current scope dominates given lexical scope.
118 /// dump - print lexical scope.
[all …]
/openbsd-src/gnu/llvm/llvm/lib/Target/AMDGPU/
H A DAMDGPUMachineModuleInfo.h28 /// Agent synchronization scope ID (cross address space).
30 /// Workgroup synchronization scope ID (cross address space).
32 /// Wavefront synchronization scope ID (cross address space).
34 /// System synchronization scope ID (single address space).
36 /// Agent synchronization scope ID (single address space).
38 /// Workgroup synchronization scope ID (single address space).
40 /// Wavefront synchronization scope ID (single address space).
42 /// Single thread synchronization scope ID (single address space).
46 /// larger synchronization scope is inclusive of a smaller synchronization
47 /// scope.
[all …]
H A DSIMemoryLegalizer.cpp95 SIAtomicScope Scope = SIAtomicScope::SYSTEM; member in __anon623980fe0111::SIMemOpInfo
103 SIAtomicScope Scope = SIAtomicScope::SYSTEM, in SIMemOpInfo() argument
112 Scope(Scope), OrderingAddrSpace(OrderingAddrSpace), in SIMemOpInfo()
119 assert(Scope == SIAtomicScope::NONE && in SIMemOpInfo()
126 assert(Scope != SIAtomicScope::NONE && in SIMemOpInfo()
139 // Limit the scope to the maximum supported by the instruction's address 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()
156 /// \returns Atomic synchronization scope of the machine instruction used to
[all …]
/openbsd-src/gnu/llvm/llvm/lib/DebugInfo/LogicalView/Core/
H A DLVRange.cpp30 LVScope *Scope = RangeEntry.scope(); in startSearch()
31 dbgs() << "Scope: " << format_decimal(Scope->getLevel(), 5) << " " in startSearch()
37 RangeEntry.scope()); in startSearch()
52 void LVRange::addEntry(LVScope *Scope, LVAddress LowerAddress, in addEntry() argument
64 // Just add the scope and range pair, in no particular order. in addEntry()
65 RangeEntries.emplace_back(LowerAddress, UpperAddress, Scope); in addEntry()
68 void LVRange::addEntry(LVScope *Scope) { in addEntry() argument
69 assert(Scope && "Scope must not be nullptr"); in addEntry()
72 if (const LVLocations *Locations = Scope->getRanges()) in addEntry()
78 addEntry(Scope, LowPC, HighPC); in addEntry()
[all …]
H A DLVScope.cpp25 #define DEBUG_TYPE "Scope"
57 // Return a string representation for the scope kind.
135 // Adds the line info item to the ones stored in the scope.
174 // Adds the scope to the child scopes and sets the parent in the child.
175 void LVScope::addElement(LVScope *Scope) { in addElement() argument
176 assert(Scope && "Invalid scope."); in addElement()
177 assert(!Scope->getParent() && "Scope already inserted"); in addElement()
182 Scopes->push_back(Scope); in addElement()
183 addToChildren(Scope); in addElement()
184 Scope->setParent(this); in addElement()
[all …]
/openbsd-src/gnu/llvm/llvm/lib/Transforms/Instrumentation/
H A DControlHeightReduction.cpp128 // NumBranchesDelta weighted by the profile count at the scope entry.
171 // The next scope is appendable only if this scope is directly connected to in appendable()
172 // it (which implies it post-dominates this scope) and this scope dominates in appendable()
173 // it (no edge to the next scope outside this scope). in appendable()
181 // There's an edge going into the entry of the next scope from outside in appendable()
182 // of this scope. in appendable()
211 // Split this scope at the boundary region into two, which will belong to the
242 auto *Scope = new CHRScope(TailRegInfos, TailSubs); in split() local
245 return Scope; in split()
258 SmallVector<RegInfo, 8> RegInfos; // Regions that belong to this scope
[all …]
/openbsd-src/gnu/llvm/clang/lib/Sema/
H A DScope.cpp1 //===- Scope.cpp - Lexical scope information --------------------*- C++ -*-===//
9 // This file implements the Scope class, which is used for recording
10 // information about a lexical scope.
14 #include "clang/Sema/Scope.h"
20 void Scope::setFlags(Scope *parent, unsigned flags) { in setFlags()
59 // If this scope is a function or contains breaks/continues, remember it. in setFlags()
73 // If this is a prototype scope, record that. in setFlags()
90 void Scope::Init(Scope *parent, unsigned flags) { in Init()
100 bool Scope::containedInPrototypeScope() const { in containedInPrototypeScope()
101 const Scope *S = this; in containedInPrototypeScope()
[all …]
H A DJumpDiagnostics.cpp1 //===--- JumpDiagnostics.cpp - Protected scope jump analysis ------*- C++ -*-=//
10 // jumps that enter a protected scope in an invalid way.
41 /// are taken to handle incomplete scope information.
45 /// scopes that are introduced by VLAs and other things that scope jumps like
46 /// gotos. This scope tree has nothing to do with the source scope tree,
50 /// ParentScope - The index in ScopeMap of the parent scope. This is 0 for
51 /// the parent scope is the function body.
54 /// InDiag - The note to emit if there is a jump into this scope.
58 /// of this scope. Direct jumps always clean up their current scope
108 // Add a scope entry for function scope. in JumpScopeChecker()
[all …]
/openbsd-src/gnu/gcc/gcc/cp/
H A Dname-lookup.c36 /* The bindings for a particular name in a particular scope. */
110 a given scope. */
291 binding->scope = NULL; in cxx_binding_free()
297 bindings) in the class scope indicated by SCOPE. */
300 new_class_binding (tree name, tree value, tree type, cxx_scope *scope) in new_class_binding() argument
305 if (VEC_length (cp_class_binding, scope->class_shadowed)) in new_class_binding()
308 old_base = VEC_index (cp_class_binding, scope->class_shadowed, 0); in new_class_binding()
309 if (VEC_reserve (cp_class_binding, gc, scope->class_shadowed, 1)) in new_class_binding()
315 VEC_iterate (cp_class_binding, scope->class_shadowed, i, cb); in new_class_binding()
325 cb = VEC_quick_push (cp_class_binding, scope->class_shadowed, NULL); in new_class_binding()
[all …]
H A Dname-lookup.h28 a given scope. */
56 /* The datatype used to implement C++ scope. */
59 /* Nonzero if this binding is for a local scope, as opposed to a class
60 or namespace scope. */
75 /* The scope at which this binding was made. */
76 cxx_scope *scope; member
103 sk_block = 0, /* An ordinary block scope. This enumerator must
106 contents to zero, and the default scope kind
108 sk_cleanup, /* A scope for (pseudo-)scope for cleanup. It is
113 sk_for, /* The scope of the variable declared in a
[all …]
/openbsd-src/gnu/usr.bin/perl/cpan/autodie/lib/autodie/Scope/
H A DGuard.pm1 package autodie::Scope::Guard;
6 # ABSTRACT: Wrapper class for calling subs at end of scope
10 # scope. It's directly inspired by chocolateboy's excellent
11 # Scope::Guard module.
30 autodie::Scope::Guard - Wrapper class for calling subs at end of scope
34 use autodie::Scope::Guard;
35 $^H{'my-key'} = autodie::Scope::Guard->new(sub {
43 invoked at end of scope. This module is not a part of autodie's
47 Scope
[all...]
H A DGuardStack.pm1 package autodie::Scope::GuardStack;
6 use autodie::Scope::Guard;
15 # scope. It's directly inspired by chocolateboy's excellent
16 # Scope::Guard module.
28 $^H{$h_key} = autodie::Scope::Guard->new(sub {
81 autodie::Scope::GuardStack - Hook stack for managing scopes via %^H
85 use autodie::Scope::GuardStack;
86 my $stack = autodie::Scope::GuardStack->new
95 and will pop hooks as their "scope" is popped. This is useful for
97 out of scope
[all...]
/openbsd-src/gnu/llvm/clang/lib/CodeGen/
H A DCGCleanup.cpp13 // control transfers out of a particular scope. This can be
108 /// Push an entry of the given size onto this protected-scope stack.
189 // terminate is the current EH scope, we may skip adding any EH cleanup in pushCleanup()
195 EHCleanupScope *Scope = in pushCleanup() local
207 Scope->setLifetimeMarker(); in pushCleanup()
209 // With Windows -EHa, Invoke llvm.seh.scope.begin() for EHCleanup in pushCleanup()
214 return Scope->getCleanupBuffer(); in pushCleanup()
261 EHCatchScope *scope = in pushCatch() local
264 return scope; in pushCatch()
439 EHCleanupScope &Scope = cast<EHCleanupScope>(*EHStack.begin()); in PopCleanupBlocks() local
[all …]
/openbsd-src/gnu/llvm/llvm/lib/DebugInfo/LogicalView/Readers/
H A DLVBinaryReader.cpp32 // Update a recorded entry with its logical scope and section index. in add()
33 SymbolNames[SymbolName].Scope = Function; in add()
52 // Update a recorded symbol name with its logical scope. in add()
55 LVScope *Function = SymbolNames[SymbolName].Scope; in add()
71 // Update a recorded entry with its logical scope, only if the scope has in update()
75 SymbolNames[SymbolName].Scope = Function; in update()
111 LVScope *Scope = SymbolName.Scope; in print() local
112 LVOffset Offset = Scope ? Scope->getOffset() : 0; in print()
115 << " Scope: " << hexValue(Offset) in print()
255 LVBinaryReader::getSection(LVScope *Scope, LVAddress Address, in getSection() argument
[all …]
/openbsd-src/gnu/llvm/llvm/include/llvm/IR/
H A DDIBuilder.h310 /// \param Scope Member scope.
320 DIDerivedType *createMemberType(DIScope *Scope, StringRef Name,
329 /// \param Scope Member scope.
340 DIDerivedType *createVariantMemberType(DIScope *Scope, StringRef Name,
349 /// \param Scope Member scope.
359 DIDerivedType *createBitFieldMemberType(DIScope *Scope, StringRef Name,
369 /// \param Scope Member scope.
377 DIDerivedType *createStaticMemberType(DIScope *Scope, StringRef Name,
415 /// \param Scope Scope in which this class is defined.
431 DIScope *Scope, StringRef Name, DIFile *File, unsigned LineNumber,
[all …]
/openbsd-src/regress/usr.bin/mandoc/man/SH/
H A Dnoarg.out_lint1 mandoc: noarg.in:5:2: WARNING: line scope broken: SH breaks SH
2 mandoc: noarg.in:9:2: WARNING: line scope broken: SS breaks SH
3 mandoc: noarg.in:12:2: WARNING: line scope broken: TP breaks SH
4 mandoc: noarg.in:16:2: WARNING: line scope broken: IP breaks SH
5 mandoc: noarg.in:19:2: WARNING: line scope broken: HP breaks SH
6 mandoc: noarg.in:23:2: WARNING: line scope broken: PP breaks SH
7 mandoc: noarg.in:26:2: WARNING: line scope broken: RS breaks SH
8 mandoc: noarg.in:29:2: WARNING: line scope broken: RE breaks SH
10 mandoc: noarg.in:32:2: WARNING: line scope broken: UR breaks SH
11 mandoc: noarg.in:35:2: WARNING: line scope broken: UE breaks SH
[all …]
/openbsd-src/regress/usr.bin/mandoc/man/SS/
H A Dnoarg.out_lint1 mandoc: noarg.in:5:2: WARNING: line scope broken: SH breaks SS
2 mandoc: noarg.in:9:2: WARNING: line scope broken: SS breaks SS
3 mandoc: noarg.in:12:2: WARNING: line scope broken: TP breaks SS
4 mandoc: noarg.in:16:2: WARNING: line scope broken: IP breaks SS
5 mandoc: noarg.in:19:2: WARNING: line scope broken: HP breaks SS
6 mandoc: noarg.in:23:2: WARNING: line scope broken: PP breaks SS
7 mandoc: noarg.in:26:2: WARNING: line scope broken: RS breaks SS
8 mandoc: noarg.in:29:2: WARNING: line scope broken: RE breaks SS
10 mandoc: noarg.in:32:2: WARNING: line scope broken: UR breaks SS
11 mandoc: noarg.in:35:2: WARNING: line scope broken: UE breaks SS
[all …]
/openbsd-src/gnu/llvm/clang/include/clang/Basic/
H A DSyncScope.h24 /// Defines synch scope values used internally by clang.
27 /// enumerating all supported synch scope values and mapping them to LLVM
29 /// synch scope enums used in source languages.
31 /// In atomic builtin and expressions, language-specific synch scope enums are
32 /// used. Currently only OpenCL memory scope enums are supported and assumed
34 /// define their own set of synch scope enums. The language-specific synch scope
76 llvm_unreachable("Invalid synch scope"); in getAsString()
79 /// Defines the kind of atomic scope models.
82 /// Defines the interface for synch scope model.
86 /// Maps language specific synch scope values to internal
[all …]
/openbsd-src/sys/dev/acpi/
H A Ddsdt.c199 { AMLOP_SCOPE, "Scope", "pnT", },
768 aml_lockfield(struct aml_scope *scope, struct aml_value *field)
777 aml_unlockfield(struct aml_scope *scope, struct aml_value *field)
1287 uint8_t *aml_parseend(struct aml_scope *scope); in aml_parseopcode()
1293 aml_parseopcode(struct aml_scope *scope) in aml_parseopcode()
1295 int opcode = (scope->pos[0]); in aml_parseopcode()
1296 int twocode = (scope->pos[0]<<8) + scope->pos[1]; in aml_parseopcode()
1311 scope->pos += 2;
1314 scope in aml_parsename()
760 aml_lockfield(struct aml_scope * scope,struct aml_value * field) aml_lockfield() argument
769 aml_unlockfield(struct aml_scope * scope,struct aml_value * field) aml_unlockfield() argument
1285 aml_parseopcode(struct aml_scope * scope) aml_parseopcode() argument
1384 aml_parselength(struct aml_scope * scope) aml_parselength() argument
1405 aml_parseend(struct aml_scope * scope) aml_parseend() argument
1487 aml_callosi(struct aml_scope * scope,struct aml_value * val) aml_callosi() argument
1803 aml_findscope(struct aml_scope * scope,int type,int endscope) aml_findscope() argument
1829 aml_getstack(struct aml_scope * scope,int opcode) aml_getstack() argument
1855 aml_showstack(struct aml_scope * scope) aml_showstack() argument
1884 struct aml_scope *scope; aml_pushscope() local
1918 aml_popscope(struct aml_scope * scope) aml_popscope() argument
2922 acpi_mutex_acquire(struct aml_scope * scope,struct aml_value * mtx,int timeout) acpi_mutex_acquire() argument
2943 acpi_mutex_release(struct aml_scope * scope,struct aml_value * mtx) acpi_mutex_release() argument
2956 acpi_event_wait(struct aml_scope * scope,struct aml_value * evt,int timeout) acpi_event_wait() argument
2981 acpi_event_signal(struct aml_scope * scope,struct aml_value * evt) acpi_event_signal() argument
2989 acpi_event_reset(struct aml_scope * scope,struct aml_value * evt) acpi_event_reset() argument
2996 aml_store(struct aml_scope * scope,struct aml_value * lhs,int64_t ival,struct aml_value * rhs) aml_store() argument
3102 aml_disasm(struct aml_scope * scope,int lvl,void (* dbprintf)(void *,const char *,...),void * arg) aml_disasm() argument
3467 aml_eval(struct aml_scope * scope,struct aml_value * my_ret,int ret_type,int argc,struct aml_value * argv) aml_eval() argument
3645 aml_parsesimple(struct aml_scope * scope,char ch,struct aml_value * rv) aml_parsesimple() argument
3709 aml_seterror(struct aml_scope * scope,const char * fmt,...) aml_seterror() argument
3758 aml_load(struct acpi_softc * sc,struct aml_scope * scope,struct aml_value * rgn,struct aml_value * ddb) aml_load() argument
3795 aml_parse(struct aml_scope * scope,int ret_type,const char * stype) aml_parse() argument
4516 struct aml_scope *scope; acpi_parse_aml() local
[all...]
/openbsd-src/gnu/llvm/llvm/include/llvm-c/
H A DDebugInfo.h308 * Creates a new descriptor for a module with the specified parent scope.
310 * \param ParentScope The parent scope containing this module declaration.
329 * Creates a new descriptor for a namespace with the specified parent scope.
331 * \param ParentScope The parent scope containing this module declaration.
346 * \param Scope Function scope.
356 * \param ScopeLine Set to the beginning of the scope this starts
362 LLVMDIBuilderRef Builder, LLVMMetadataRef Scope, const char *Name,
371 * \param Scope Parent lexical block.
377 LLVMDIBuilderRef Builder, LLVMMetadataRef Scope,
383 * \param Scope Lexical block.
[all …]

12345678910>>...86