Home
last modified time | relevance | path

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

12345678910>>...62

/freebsd/contrib/llvm-project/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.
49 /// This indicates that the scope corresponds to a function, which
61 /// This is a scope that can contain a declaration. Some scopes
65 /// The controlling scope in a if/switch/while/for statement.
68 /// The scope of a struct/union/class definition.
71 /// This is a scope that corresponds to a block/closure object.
[all …]
H A DSemaCodeCompletion.h30 #include "clang/Sema/Scope.h"
96 void CodeCompleteOrdinaryName(Scope *S,
98 void CodeCompleteDeclSpec(Scope *S, DeclSpec &DS, bool AllowNonIdentifiers,
102 void CodeCompleteExpression(Scope *S, const CodeCompleteExpressionData &Data);
103 void CodeCompleteExpression(Scope *S, QualType PreferredType,
105 void CodeCompleteMemberReferenceExpr(Scope *S, Expr *Base, Expr *OtherOpBase,
109 void CodeCompletePostfixExpression(Scope *S, ExprResult LHS,
111 void CodeCompleteTag(Scope *S, unsigned TagSpec);
115 void CodeCompleteBracketDeclarator(Scope *S);
116 void CodeCompleteCase(Scope *S);
[all …]
/freebsd/contrib/llvm-project/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 …]
/freebsd/lib/libpmc/pmu-events/arch/powerpc/power8/
H A Dmemory.json5 …"BriefDescription": "Initial and Final Pump Scope was chip pump (prediction=correct) for all data …
6 …"PublicDescription": "Initial and Final Pump Scope and data sourced across this scope was chip pum…
11 …"BriefDescription": "Initial and Final Pump Scope was chip pump (prediction=correct) for a demand …
12 …"PublicDescription": "Initial and Final Pump Scope and data sourced across this scope was chip pum…
47 …"BriefDescription": "Initial and Final Pump Scope was group pump (prediction=correct) for a demand…
48 …"PublicDescription": "Initial and Final Pump Scope and data sourced across this scope was group pu…
53 …"BriefDescription": "Final Pump Scope (Group) ended up either larger or smaller than Initial Pump
54 …mp Scope(Group) to get data sourced, ended up larger than Initial Pump Scope OR Final Pump Scope(G…
59 …"BriefDescription": "Final Pump Scope (Group) ended up larger than Initial Pump Scope (Chip) for a…
60 …"PublicDescription": "Final Pump Scope(Group) to get data sourced, ended up larger than Initial Pu…
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/DebugInfo/LogicalView/Core/
H A DLVScope.h10 // information scope.
72 // Class to represent a DWARF Scope.
91 // 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 …]
/freebsd/contrib/llvm-project/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 …]
/freebsd/contrib/byacc/test/
H A Dbtyacc_demo.y20 typedef int Scope; typedef
26 Scope *scope; member
37 Scope *scope; member
56 %type <expr> expr(<scope>)
57 %type decl(<scope>) declarator_list(<scope>, <type>)
58 decl_list(<scope>)
59 %type <code> statement(<scope>) statement_list(<scope>)
60 block_statement(<scope>)
61 %type <decl> declarator(<scope>, <type>) formal_arg(<scope>)
62 %type <type> decl_specs(<scope>) decl_spec(<scope>) typename(<scope>)
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUMachineModuleInfo.h29 /// Agent synchronization scope ID (cross address space).
31 /// Workgroup synchronization scope ID (cross address space).
33 /// Wavefront synchronization scope ID (cross address space).
35 /// System synchronization scope ID (single address space).
37 /// Agent synchronization scope ID (single address space).
39 /// Workgroup synchronization scope ID (single address space).
41 /// Wavefront synchronization scope ID (single address space).
43 /// Single thread synchronization scope ID (single address space).
47 /// larger synchronization scope is inclusive of a smaller synchronization
48 /// scope.
[all …]
H A DSIMemoryLegalizer.cpp97 SIAtomicScope Scope = SIAtomicScope::SYSTEM; member in __anone9343ac70111::SIMemOpInfo
107 SIAtomicScope Scope = SIAtomicScope::SYSTEM, in SIMemOpInfo() argument
114 : Ordering(Ordering), FailureOrdering(FailureOrdering), Scope(Scope), in SIMemOpInfo()
121 assert(Scope == SIAtomicScope::NONE && in SIMemOpInfo()
128 assert(Scope != SIAtomicScope::NONE && in SIMemOpInfo()
141 // Limit the scope to the maximum supported by the instruction's address in SIMemOpInfo()
145 this->Scope = std::min(Scope, SIAtomicScope::SINGLETHREAD); in SIMemOpInfo()
149 this->Scope = std::min(Scope, SIAtomicScope::WORKGROUP); in SIMemOpInfo()
153 this->Scope = std::min(Scope, SIAtomicScope::AGENT); in SIMemOpInfo()
158 /// \returns Atomic synchronization scope of the machine instruction used to
[all …]
/freebsd/contrib/llvm-project/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 …]
/freebsd/sys/contrib/dev/acpica/components/parser/
H A Dpsscope.c3 * Module Name: psscope - Parser scope stack management routines
177 return (ParserState->Scope->ParseScope.Op); in AcpiPsGetParentScope()
187 * RETURN: Boolean, TRUE = scope completed.
190 * 1) AML pointer is at or beyond the end of the scope
191 * 2) The scope argument count has reached zero.
201 ((ParserState->Aml >= ParserState->Scope->ParseScope.ArgEnd || in AcpiPsHasCompletedScope()
202 !ParserState->Scope->ParseScope.ArgCount))); in AcpiPsHasCompletedScope()
211 * Root - the Root Node of this new scope
215 * DESCRIPTION: Allocate and init a new scope object
224 ACPI_GENERIC_STATE *Scope; in AcpiPsInitScope() local
[all …]
/freebsd/contrib/llvm-project/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"
48 // Return a string representation for the scope kind.
126 // Adds the line info item to the ones stored in the scope.
165 // Adds the scope to the child scopes and sets the parent in the child.
166 void LVScope::addElement(LVScope *Scope) { in addElement() argument
167 assert(Scope && "Invalid scope."); in addElement()
168 assert(!Scope->getParent() && "Scope already inserted"); in addElement()
173 Scopes->push_back(Scope); in addElement()
735 __anonc6b9c58b0802(LVScope *Scope) traverseParentsAndChildren() argument
1186 addSize(LVScope * Scope,LVOffset Lower,LVOffset Upper) addSize() argument
1319 increment(LVScope * Scope) increment() argument
1339 addedElement(LVScope * Scope) addedElement() argument
1384 LVScope *Scope = Line->getParentScope(); addLineZero() local
1536 printScopeSize(const LVScope * Scope,raw_ostream & OS) printScopeSize() argument
1562 __anonc6b9c58b1102(const LVScope *Scope) printSizes() argument
1565 for (const LVScope *Scope : MatchedScopes) printSizes() local
1655 for (const LVScope *Scope : MatchedScopes) { printMatchedElements() local
[all...]
/freebsd/contrib/bmake/unit-tests/
H A Dvar-scope-local.mk1 # $NetBSD: var-scope-local.mk,v 1.11 2024/03/05 23:07:58 rillig Exp $
79 # Conditions from .if directives are evaluated in the scope of the command
81 # scope and from the environment are resolved, in this precedence order (but
164 # expect: : Making var-scope-local.c out of nothing.
165 var-scope-local.c:
170 # expect: : Making var-scope-local.o from var-scope-local.c.
171 # expect: : Making basename "var-scope-local.o" in "." from "var-scope-local.c" in ".".
180 all: var-scope
[all...]
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGCleanup.cpp13 // control transfers out of a particular scope. This can be
79 /// Push an entry of the given size onto this protected-scope stack.
160 // terminate is the current EH scope, we may skip adding any EH cleanup in pushCleanup()
166 EHCleanupScope *Scope = in pushCleanup() local
178 Scope->setLifetimeMarker(); in pushCleanup()
180 // With Windows -EHa, Invoke llvm.seh.scope.begin() for EHCleanup in pushCleanup()
185 // Check getInvokeDest() to generate llvm.seh.scope.begin() as needed. in pushCleanup()
190 return Scope->getCleanupBuffer(); in pushCleanup()
237 EHCatchScope *scope = in pushCatch() local
240 return scope; in pushCatch()
[all …]
H A DCGCleanup.h44 /// A protected scope for zero-cost EH handling.
99 /// Always a multiple of the scope-stack alignment.
153 /// A scope which attempts to handle some, possibly all, types of
156 /// Objective C \@finally blocks are represented using a cleanup scope
157 /// after the catch scope.
237 static bool classof(const EHScope *Scope) {
238 return Scope->getKind() == Catch;
242 /// A cleanup scope which generates the cleanup blocks lazily.
244 /// The nearest normal cleanup scope enclosing this one.
247 /// The nearest EH scope enclosing this one.
[all …]
/freebsd/contrib/llvm-project/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()
61 // If this scope is a function or contains breaks/continues, remember it. in setFlags()
75 // If this is a prototype scope, record that. Lambdas have an extra prototype in setFlags()
76 // scope that doesn't add any depth. in setFlags()
95 void Scope::Init(Scope *parent, unsigned flags) { in Init()
105 bool Scope::containedInPrototypeScope() const { 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.
42 /// are taken to handle incomplete scope information.
46 /// scopes that are introduced by VLAs and other things that scope jumps like
47 /// gotos. This scope tree has nothing to do with the source scope tree,
51 /// ParentScope - The index in ScopeMap of the parent scope. This is 0 for
52 /// the parent scope is the function body.
55 /// InDiag - The note to emit if there is a jump into this scope.
59 /// of this scope. Direct jumps always clean up their current scope
108 // Add a scope entry for function scope. in JumpScopeChecker()
[all …]
/freebsd/sys/netinet6/
H A Dscope6.c230 * Get a scope of the address. Node-local, link-local, site-local or global.
314 * Validate the specified scope zone ID in the sin6_scope_id field. If the ID
317 * This routine then generates the kernel-internal form: if the address scope
336 * link-local scope IDs, and use interface indices as the in sa6_embedscope()
383 "%s: embedded scope mismatch: %s%%%d. " in sa6_recoverscope()
397 * Determine the appropriate scope zone ID for in6 and ifp. If ret_id is
406 int scope; in in6_setscope() local
418 scope = in6_addrscope(in6); in in6_setscope()
419 if (scope == IPV6_ADDR_SCOPE_INTFACELOCAL || in in6_setscope()
420 scope == IPV6_ADDR_SCOPE_LINKLOCAL) { in in6_setscope()
[all …]
/freebsd/contrib/llvm-project/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()
339 LVBinaryReader::getSection(LVScope *Scope, LVAddress Address, in getSection() argument
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DDIBuilder.h347 /// \param Scope Member scope.
357 DIDerivedType *createMemberType(DIScope *Scope, StringRef Name,
366 /// \param Scope Member scope.
377 DIDerivedType *createVariantMemberType(DIScope *Scope, StringRef Name,
386 /// \param Scope Member scope.
396 DIDerivedType *createBitFieldMemberType(DIScope *Scope, StringRef Name,
406 /// \param Scope Member scope.
415 DIDerivedType *createStaticMemberType(DIScope *Scope, StringRef Name,
453 /// \param Scope Scope in which this class is defined.
470 DIScope *Scope, StringRef Name, DIFile *File, unsigned LineNumber,
[all …]
/freebsd/contrib/llvm-project/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
91 llvm_unreachable("Invalid synch scope"); in getAsString()
94 /// Defines the kind of atomic scope models.
97 /// Defines the interface for synch scope model.
101 /// Maps language specific synch scope values to internal
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm-c/
H A DDebugInfo.h322 * Creates a new descriptor for a module with the specified parent scope.
324 * \param ParentScope The parent scope containing this module declaration.
343 * Creates a new descriptor for a namespace with the specified parent scope.
345 * \param ParentScope The parent scope containing this module declaration.
360 * \param Scope Function scope.
370 * \param ScopeLine Set to the beginning of the scope this starts
376 LLVMDIBuilderRef Builder, LLVMMetadataRef Scope, const char *Name,
385 * \param Scope Parent lexical block.
391 LLVMDIBuilderRef Builder, LLVMMetadataRef Scope,
397 * \param Scope Lexical block.
[all …]
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DLLVMContextImpl.h319 Metadata *Scope;
323 MDNodeKeyImpl(unsigned Line, unsigned Column, Metadata *Scope,
325 : Line(Line), Column(Column), Scope(Scope), InlinedAt(InlinedAt),
328 : Line(L->getLine()), Column(L->getColumn()), Scope(L->getRawScope()),
333 Scope == RHS->getRawScope() && InlinedAt == RHS->getRawInlinedAt() &&
338 return hash_combine(Line, Column, Scope, InlinedAt, ImplicitCode);
538 Metadata *Scope;
550 Metadata *Scope, Metadata *BaseType, uint64_t SizeInBits,
555 : Tag(Tag), Name(Name), File(File), Line(Line), Scope(Scope),
562 Line(N->getLine()), Scope(N->getRawScope()),
[all …]
/freebsd/contrib/bmake/
H A Dvar.c114 * Var_Dump Print out all variables defined in the given scope.
153 * There are 3 kinds of variables: scope variables, environment variables,
156 * Scope variables are stored in GNode.vars. The only way to undefine
157 * a scope variable is using the .undef directive. In particular, it must
160 * unintended way to undefine a scope variable, see varmod-loop-delete.mk.)
171 * For scope variables, it aliases the corresponding HashEntry name.
191 * Appending to its value depends on the scope, see var-op-append.mk.
328 * A scope collects variable names and their values.
330 * The main scope is SCOPE_GLOBAL, which contains the variables that are set
339 * There is no scope for environment variables, these are generated on-the-fly
[all …]

12345678910>>...62