Home
last modified time | relevance | path

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

12345678910>>...17

/netbsd-src/external/apache2/llvm/dist/clang/include/clang/Sema/
H A DScope.h40 class Scope {
148 Scope *AnyParent;
174 Scope *FnParent;
175 Scope *MSLastManglingParent;
181 Scope *BreakParent, *ContinueParent;
185 Scope *BlockParent;
191 Scope *TemplateParamParent;
217 void setFlags(Scope *Parent, unsigned F);
220 Scope(Scope *Parent, unsigned ScopeFlags, DiagnosticsEngine &Diag) in Scope() function
234 const Scope *getParent() const { return AnyParent; } in getParent()
[all …]
/netbsd-src/sys/external/bsd/acpica/dist/parser/
H A Dpsscope.c69 return (ParserState->Scope->ParseScope.Op); in AcpiPsGetParentScope()
93 ((ParserState->Aml >= ParserState->Scope->ParseScope.ArgEnd || in AcpiPsHasCompletedScope()
94 !ParserState->Scope->ParseScope.ArgCount))); in AcpiPsHasCompletedScope()
116 ACPI_GENERIC_STATE *Scope; in AcpiPsInitScope() local
122 Scope = AcpiUtCreateGenericState (); in AcpiPsInitScope()
123 if (!Scope) in AcpiPsInitScope()
128 Scope->Common.DescriptorType = ACPI_DESC_TYPE_STATE_RPSCOPE; in AcpiPsInitScope()
129 Scope->ParseScope.Op = RootOp; in AcpiPsInitScope()
130 Scope->ParseScope.ArgCount = ACPI_VAR_ARGS; in AcpiPsInitScope()
131 Scope->ParseScope.ArgEnd = ParserState->AmlEnd; in AcpiPsInitScope()
[all …]
/netbsd-src/external/gpl3/gcc.old/dist/gcc/d/dmd/
H A Dattrib.h31 virtual Dsymbols *include(Scope *sc, ScopeDsymbol *sds);
33 static Scope *createNewScope(Scope *sc,
36 virtual Scope *newScope(Scope *sc);
37 void addMember(Scope *sc, ScopeDsymbol *sds);
38 void setScope(Scope *sc);
39 void importAll(Scope *sc);
40 void semantic(Scope *sc);
41 void semantic2(Scope *sc);
42 void semantic3(Scope *sc);
63 Scope *newScope(Scope *sc);
[all …]
H A Dtemplate.h30 struct Scope;
52 Scope *sc;
83 void semantic(Scope *sc);
91 …bool evaluateConstraint(TemplateInstance *ti, Scope *sc, Scope *paramscope, Objects *dedtypes, Fun…
93 …MATCH matchWithInstance(Scope *sc, TemplateInstance *ti, Objects *atypes, Expressions *fargs, int …
94 MATCH leastAsSpecialized(Scope *sc, TemplateDeclaration *td2, Expressions *fargs);
96 …MATCH deduceFunctionTemplateMatch(TemplateInstance *ti, Scope *sc, FuncDeclaration *&fd, Type *tth…
97 RootObject *declareParameter(Scope *sc, TemplateParameter *tp, RootObject *o);
98 …FuncDeclaration *doHeaderInstantiation(TemplateInstance *ti, Scope *sc, FuncDeclaration *fd, Type …
147 virtual bool declareParameter(Scope *sc) = 0;
[all …]
H A Ddscope.c29 Scope *Scope::freelist = NULL;
31 void allocFieldinit(Scope *sc, size_t dim) in allocFieldinit()
37 void freeFieldinit(Scope *sc) in freeFieldinit()
45 Scope *Scope::alloc() in alloc()
49 Scope *s = freelist; in alloc()
57 return new Scope(); in alloc()
60 Scope::Scope() in Scope() function
104 Scope *Scope::copy() in copy()
106 Scope *sc = Scope::alloc(); in copy()
116 Scope *Scope::createGlobal(Module *_module) in createGlobal()
[all …]
H A Daggregate.h62 FuncDeclaration *hasIdentityOpAssign(AggregateDeclaration *ad, Scope *sc);
63 FuncDeclaration *buildOpAssign(StructDeclaration *sd, Scope *sc);
65 FuncDeclaration *buildOpEquals(StructDeclaration *sd, Scope *sc);
66 FuncDeclaration *buildXopEquals(StructDeclaration *sd, Scope *sc);
67 FuncDeclaration *buildXopCmp(StructDeclaration *sd, Scope *sc);
68 FuncDeclaration *buildXtoHash(StructDeclaration *ad, Scope *sc);
69 FuncDeclaration *buildPostBlit(StructDeclaration *sd, Scope *sc);
70 FuncDeclaration *buildDtor(AggregateDeclaration *ad, Scope *sc);
71 FuncDeclaration *buildInv(AggregateDeclaration *ad, Scope *sc);
132 virtual Scope *newScope(Scope *sc);
[all …]
H A Dexpression.h25 struct Scope;
57 Expression *resolveProperties(Scope *sc, Expression *e);
58 Expression *resolvePropertiesOnly(Scope *sc, Expression *e1);
59 bool checkAccess(Loc loc, Scope *sc, Expression *e, Declaration *d);
60 bool checkAccess(Loc loc, Scope *sc, Package *p);
61 Expression *build_overload(Loc loc, Scope *sc, Expression *ethis, Expression *earg, Dsymbol *d);
66 FuncDeclaration *hasThis(Scope *sc);
68 bool arrayExpressionSemantic(Expressions *exps, Scope *sc, bool preserveErrors = false);
71 int modifyFieldVar(Loc loc, Scope *sc, VarDeclaration *var, Expression *e1);
72 Expression *resolveAliasThis(Scope *sc, Expression *e, bool gag = false);
[all …]
H A Dscope.h69 struct Scope struct
71 Scope *enclosing; // enclosing Scope argument
86 Scope *callsc; // used for __FUNCTION__, __PRETTY_FUNCTION__ and __MODULE__ argument
126 static Scope *freelist; argument
127 static Scope *alloc();
128 static Scope *createGlobal(Module *module);
130 Scope();
132 Scope *copy();
134 Scope *push();
135 Scope *push(ScopeDsymbol *ss);
[all …]
H A Dattrib.c32 Expression *semantic(Expression *e, Scope *sc);
33 StringExp *semanticString(Scope *sc, Expression *exp, const char *s);
34 Dsymbols *makeTupleForeachStaticDecl(Scope *sc, ForeachStatement *fs, Dsymbols *dbody, bool needExp…
44 Dsymbols *AttribDeclaration::include(Scope *, ScopeDsymbol *) in include() argument
77 Scope *AttribDeclaration::createNewScope(Scope *sc, in createNewScope()
81 Scope *sc2 = sc; in createNewScope()
107 Scope *AttribDeclaration::newScope(Scope *sc) in newScope()
112 void AttribDeclaration::addMember(Scope *sc, ScopeDsymbol *sds) in addMember()
118 Scope *sc2 = newScope(sc); in addMember()
132 void AttribDeclaration::setScope(Scope *sc) in setScope()
[all …]
H A Dmtype.h21 struct Scope;
43 void semanticTypeInfo(Scope *sc, Type *t);
44 MATCH deduceType(RootObject *o, Scope *sc, Type *tparam, TemplateParameters *parameters, Objects *d…
244 virtual Type *semantic(Loc loc, Scope *sc);
245 Type *trySemantic(Loc loc, Scope *sc);
266 virtual void checkDeprecated(Loc loc, Scope *sc);
308 virtual Dsymbol *toDsymbol(Scope *sc);
321 virtual Expression *dotExp(Scope *sc, Expression *e, Identifier *ident, int flag);
323 Expression *noMember(Scope *sc, Expression *e, Identifier *ident, int flag);
328 …virtual void resolve(Loc loc, Scope *sc, Expression **pe, Type **pt, Dsymbol **ps, bool intypeid =…
[all …]
/netbsd-src/external/gpl3/gcc/dist/gcc/d/dmd/
H A Dattrib.h27 virtual Dsymbols *include(Scope *sc);
28 virtual Scope *newScope(Scope *sc);
29 void addMember(Scope *sc, ScopeDsymbol *sds);
30 void setScope(Scope *sc);
31 void importAll(Scope *sc);
51 Scope *newScope(Scope *sc);
53 void addMember(Scope *sc, ScopeDsymbol *sds);
66 Scope *newScope(Scope *sc);
67 void setScope(Scope *sc);
78 Scope *newScope(Scope *sc);
[all …]
H A Ddscope.d79 struct Scope struct
81 Scope* enclosing; /// enclosing Scope argument
95 Scope* callsc; /// used for __FUNCTION__, __PRETTY_FUNCTION__ and __MODULE__ argument
147 extern (D) __gshared Scope* freelist; argument
149 extern (D) static Scope* alloc() in alloc() argument
153 Scope* s = freelist; in alloc()
160 return new Scope(); in alloc()
163 extern (D) static Scope* createGlobal(Module _module) in createGlobal() argument
165 Scope* sc = Scope.alloc(); in createGlobal()
166 *sc = Scope.init; in createGlobal()
[all …]
H A Dscope.h70 struct Scope struct
72 Scope *enclosing; // enclosing Scope argument
86 Scope *callsc; // used for __FUNCTION__, __PRETTY_FUNCTION__ and __MODULE__ argument
131 Scope(); argument
133 Scope *copy();
135 Scope *push();
136 Scope *push(ScopeDsymbol *ss);
137 Scope *pop();
139 Scope *startCTFE();
140 Scope *endCTFE();
H A Dexpression.h25 struct Scope;
107 virtual Expression *toLvalue(Scope *sc, Expression *e);
108 virtual Expression *modifiableLvalue(Scope *sc, Expression *e);
109 Expression *implicitCastTo(Scope *sc, Type *t);
111 Expression *castTo(Scope *sc, Type *t);
112 virtual Expression *resolveLoc(const Loc &loc, Scope *sc);
115 bool checkDeprecated(Scope *sc, Dsymbol *s);
116 virtual Expression *addDtorHook(Scope *sc);
257 Expression *toLvalue(Scope *sc, Expression *e);
268 Expression *toLvalue(Scope *sc, Expression *e);
[all …]
H A Dattrib.d70 Dsymbols* include(Scope* sc) in include()
84 extern (D) static Scope* createNewScope(Scope* sc, StorageClass stc, LINK linkage, in createNewScope()
88 Scope* sc2 = sc; in createNewScope()
114 Scope* newScope(Scope* sc) in newScope()
119 override void addMember(Scope* sc, ScopeDsymbol sds) in addMember()
124 Scope* sc2 = newScope(sc); in addMember()
131 override void setScope(Scope* sc) in setScope()
137 Scope* sc2 = newScope(sc); in setScope()
144 override void importAll(Scope* sc) in importAll()
150 Scope* sc2 = newScope(sc); in importAll()
[all …]
/netbsd-src/external/apache2/llvm/dist/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()
134 auto I = InlinedLexicalScopeMap.find(std::make_pair(Scope, IA)); in findLexicalScope()
137 return findLexicalScope(Scope); in findLexicalScope()
142 LexicalScope *LexicalScopes::getOrCreateLexicalScope(const DILocalScope *Scope, in getOrCreateLexicalScope() argument
146 if (Scope->getSubprogram()->getUnit()->getEmissionKind() == in getOrCreateLexicalScope()
150 getOrCreateAbstractScope(Scope); in getOrCreateLexicalScope()
152 return getOrCreateInlinedScope(Scope, IA); in getOrCreateLexicalScope()
155 return getOrCreateRegularScope(Scope); in getOrCreateLexicalScope()
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Instrumentation/
H A DControlHeightReduction.cpp273 auto *Scope = new CHRScope(TailRegInfos, TailSubs); in split() local
276 return Scope; in split()
327 for (CHRScope *Scope : Scopes) { in ~CHR()
328 delete Scope; in ~CHR()
340 if (CHRScope *Scope = findScopes(R, nullptr, nullptr, Output)) { in findScopes() local
341 Output.push_back(Scope); in findScopes()
347 void checkScopeHoistable(CHRScope *Scope);
351 SmallVector<CHRScope *, 8> splitScope(CHRScope *Scope,
359 void classifyBiasedScopes(CHRScope *Scope, CHRScope *OutermostScope);
366 void setCHRRegions(CHRScope *Scope, CHRScope *OutermostScope);
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/lib/IR/
H A DLLVMContextImpl.h259 Metadata *Scope;
263 MDNodeKeyImpl(unsigned Line, unsigned Column, Metadata *Scope,
265 : Line(Line), Column(Column), Scope(Scope), InlinedAt(InlinedAt),
268 : Line(L->getLine()), Column(L->getColumn()), Scope(L->getRawScope()),
273 Scope == RHS->getRawScope() && InlinedAt == RHS->getRawInlinedAt() &&
278 return hash_combine(Line, Column, Scope, InlinedAt, ImplicitCode);
466 Metadata *Scope;
476 Metadata *Scope, Metadata *BaseType, uint64_t SizeInBits,
480 : Tag(Tag), Name(Name), File(File), Line(Line), Scope(Scope),
486 Line(N->getLine()), Scope(N->getRawScope()),
[all …]
H A DDebugInfo.cpp129 DISubprogram *llvm::getDISubprogram(const MDNode *Scope) { in getDISubprogram() argument
130 if (auto *LocalScope = dyn_cast_or_null<DILocalScope>(Scope)) in getDISubprogram()
232 void DebugInfoFinder::processScope(DIScope *Scope) { in processScope() argument
233 if (!Scope) in processScope()
235 if (auto *Ty = dyn_cast<DIType>(Scope)) { in processScope()
239 if (auto *CU = dyn_cast<DICompileUnit>(Scope)) { in processScope()
243 if (auto *SP = dyn_cast<DISubprogram>(Scope)) { in processScope()
247 if (!addScope(Scope)) in processScope()
249 if (auto *LB = dyn_cast<DILexicalBlockBase>(Scope)) { in processScope()
251 } else if (auto *NS = dyn_cast<DINamespace>(Scope)) { in processScope()
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/AMDGPU/
H A DSIMemoryLegalizer.cpp94 SIAtomicScope Scope = SIAtomicScope::SYSTEM; member in __anon45e28bb20111::SIMemOpInfo
102 SIAtomicScope Scope = SIAtomicScope::SYSTEM, in SIMemOpInfo() argument
111 Scope(Scope), OrderingAddrSpace(OrderingAddrSpace), in SIMemOpInfo()
118 assert(Scope == SIAtomicScope::NONE && in SIMemOpInfo()
125 assert(Scope != SIAtomicScope::NONE && 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()
289 SIAtomicScope Scope,
[all …]
/netbsd-src/external/apache2/llvm/dist/clang/lib/CodeGen/
H A DCGCleanup.cpp183 EHCleanupScope *Scope = in pushCleanup() local
195 Scope->setLifetimeMarker(); in pushCleanup()
202 return Scope->getCleanupBuffer(); in pushCleanup()
427 EHCleanupScope &Scope = cast<EHCleanupScope>(*EHStack.begin()); in PopCleanupBlocks() local
428 HadBranches |= Scope.hasBranches(); in PopCleanupBlocks()
434 Old.strictlyEncloses(Scope.getEnclosingNormalCleanup()); in PopCleanupBlocks()
509 EHCleanupScope &Scope) { in CreateNormalEntry() argument
510 assert(Scope.isNormalCleanup()); in CreateNormalEntry()
511 llvm::BasicBlock *Entry = Scope.getNormalBlock(); in CreateNormalEntry()
514 Scope.setNormalBlock(Entry); in CreateNormalEntry()
[all …]
/netbsd-src/external/mpl/dhcp/dist/contrib/ms2isc/
H A Dms2isc.pl229 my ($outfile, $GlobalOptions, $Scope, $Subnet, $prefix, $failover) = @_;
242 my ($pound) = ( ${$Scope}{disable}? "#".$prefix : $prefix);
243 print $outfile $pound, "subnet $Subnet netmask ${$Scope}{mask} {\n";
244 print $outfile "$prefix# Name: ${$Scope}{name}\n";
245 print $outfile "$prefix# Comment: ${$Scope}{comment}\n";
246 if (exists ${$Scope}{routers}) {
247 print $outfile $pound, "\toption routers @{${$Scope}{routers}};\n";
254 if (exists ${$Scope}{dnses}) {
255 print $outfile $pound, "\toption domain-name-servers ", join(",", @{${$Scope}{dnses}}), ";\n";
260 if (exists ${$Scope}{domain}) {
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/IR/
H A DDIBuilder.h280 DIDerivedType *createMemberType(DIScope *Scope, StringRef Name,
300 DIDerivedType *createVariantMemberType(DIScope *Scope, StringRef Name,
319 DIScope *Scope, StringRef Name, DIFile *File, unsigned LineNo,
333 DIDerivedType *createStaticMemberType(DIScope *Scope, StringRef Name,
387 DIScope *Scope, StringRef Name, DIFile *File, unsigned LineNumber,
405 DIScope *Scope, StringRef Name, DIFile *File, unsigned LineNumber,
421 DICompositeType *createUnionType(DIScope *Scope, StringRef Name,
442 DICompositeType *createVariantPart(DIScope *Scope, StringRef Name,
456 DITemplateTypeParameter *createTemplateTypeParameter(DIScope *Scope,
469 createTemplateValueParameter(DIScope *Scope, StringRef Name, DIType *Ty,
[all …]
/netbsd-src/external/apache2/llvm/dist/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()
39 normalizeAttrScopeName(const IdentifierInfo *Scope, in normalizeAttrScopeName() argument
41 if (!Scope) in normalizeAttrScopeName()
46 StringRef ScopeName = Scope->getName(); in normalizeAttrScopeName()
83 const IdentifierInfo *Scope, in normalizeName() argument
85 StringRef ScopeName = normalizeAttrScopeName(Scope, SyntaxUsed); in normalizeName()
115 StringRef Scope = normalizeAttrScopeName(getScopeName(), Syntax); in calculateAttributeSpellingListIndex() local
116 StringRef Name = normalizeAttrName(getAttrName(), Scope, Syntax); in calculateAttributeSpellingListIndex()
/netbsd-src/external/apache2/llvm/dist/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()

12345678910>>...17