Searched refs:Scope (Results 1 - 25 of 118) sorted by relevance

12345

/freebsd-10.1-release/sys/contrib/dev/acpica/components/parser/
H A Dpsscope.c70 return (ParserState->Scope->ParseScope.Op);
94 ((ParserState->Aml >= ParserState->Scope->ParseScope.ArgEnd ||
95 !ParserState->Scope->ParseScope.ArgCount)));
117 ACPI_GENERIC_STATE *Scope; local
123 Scope = AcpiUtCreateGenericState ();
124 if (!Scope)
129 Scope->Common.DescriptorType = ACPI_DESC_TYPE_STATE_RPSCOPE;
130 Scope->ParseScope.Op = RootOp;
131 Scope->ParseScope.ArgCount = ACPI_VAR_ARGS;
132 Scope
164 ACPI_GENERIC_STATE *Scope; local
226 ACPI_GENERIC_STATE *Scope = ParserState->Scope; local
281 ACPI_GENERIC_STATE *Scope; local
[all...]
/freebsd-10.1-release/contrib/llvm/tools/clang/include/clang/Sema/
H A DScope.h1 //===--- Scope.h - Scope interface ------------------------------*- C++ -*-===//
10 // This file defines the Scope interface.
26 /// Scope - A scope is a transient data structure that is used while parsing the
30 class Scope { class in namespace:clang
102 Scope *AnyParent;
122 Scope *FnParent;
128 Scope *BreakParent, *ContinueParent;
132 Scope *BlockParent;
138 Scope *TemplateParamParen
161 Scope(Scope *Parent, unsigned ScopeFlags, DiagnosticsEngine &Diag) function in class:clang::Scope
[all...]
H A DExternalSemaSource.h30 class Scope;
83 /// \param S the Scope of the identifier occurrence.
86 virtual bool LookupUnqualified(LookupResult &R, Scope *S) { return false; }
200 int LookupKind, Scope *S, CXXScopeSpec *SS,
H A DSema.h549 /// Translation Unit Scope - useful to Objective-C actions that need
552 Scope *TUScope;
965 Scope *getScopeForContext(DeclContext *Ctx);
968 void PushBlockScope(Scope *BlockScope, BlockDecl *Block);
976 void PushCapturedRegionScope(Scope *RegionScope, CapturedDecl *CD,
1076 TypeSourceInfo *GetTypeForDeclarator(Declarator &D, Scope *S);
1111 TypeResult ActOnTypeName(Scope *S, Declarator &D);
1315 Scope *S, CXXScopeSpec *SS = 0,
1322 TypeSpecifierType isTagName(IdentifierInfo &II, Scope *S);
1323 bool isMicrosoftMissingTypename(const CXXScopeSpec *SS, Scope *
6527 LocalInstantiationScope *Scope; member in struct:clang::Sema::LateInstantiatedAttribute
[all...]
H A DMultiplexExternalSemaSource.h29 class Scope;
228 /// \param S the Scope of the identifier occurrence.
231 virtual bool LookupUnqualified(LookupResult &R, Scope *S);
337 int LookupKind, Scope *S, CXXScopeSpec *SS,
H A DTemplate.h307 static void deleteScopes(LocalInstantiationScope *Scope,
309 while (Scope && Scope != Outermost) {
310 LocalInstantiationScope *Out = Scope->Outer;
311 delete Scope;
312 Scope = Out;
H A DIdentifierResolver.h1 //===- IdentifierResolver.h - Lexical Scope Name lookup ---------*- C++ -*-===//
30 class Scope;
150 /// if 'D' is in Scope 'S', otherwise 'S' is ignored and isDeclInScope returns
156 bool isDeclInScope(Decl *D, DeclContext *Ctx, Scope *S = 0,
/freebsd-10.1-release/contrib/llvm/lib/ExecutionEngine/
H A DEventListenerCommon.h28 // Holds the filename of each Scope, so that we can pass a null-terminated
35 const char *getFilename(MDNode *Scope) { argument
36 std::string &Filename = Filenames[Scope];
38 DIScope DIScope(Scope);
44 const char *getFullPath(MDNode *Scope) { argument
45 std::string &P = Paths[Scope];
47 DIScope DIScope(Scope);
/freebsd-10.1-release/contrib/llvm/tools/clang/lib/Sema/
H A DTargetAttributesSema.h14 class Scope;
22 virtual bool ProcessDeclAttribute(Scope *scope, Decl *D,
H A DScope.cpp1 //===- Scope.cpp - Lexical scope information --------------------*- C++ -*-===//
10 // This file implements the Scope class, which is used for recording
15 #include "clang/Sema/Scope.h"
19 void Scope::Init(Scope *parent, unsigned flags) {
63 bool Scope::containedInPrototypeScope() const {
64 const Scope *S = this;
/freebsd-10.1-release/contrib/llvm/lib/CodeGen/
H A DLexicalScopes.cpp117 MDNode *Scope = NULL; local
119 DL.getScopeAndInlinedAt(Scope, IA, MF->getFunction()->getContext());
120 if (!Scope) return NULL;
124 DIDescriptor D = DIDescriptor(Scope);
126 Scope = DILexicalBlockFile(Scope).getScope();
130 return LexicalScopeMap.lookup(Scope);
136 MDNode *Scope = NULL; local
138 DL.getScopeAndInlinedAt(Scope, InlinedAt, MF->getFunction()->getContext());
142 getOrCreateAbstractScope(Scope);
151 getOrCreateRegularScope(MDNode *Scope) argument
175 getOrCreateInlinedScope(MDNode *Scope, MDNode *InlinedAt) argument
214 constructScopeNest(LexicalScope *Scope) argument
271 LexicalScope *Scope = getOrCreateLexicalScope(DL); local
293 LexicalScope *Scope = getOrCreateLexicalScope(DL); local
[all...]
/freebsd-10.1-release/contrib/llvm/lib/IR/
H A DDebugLoc.cpp48 /// Return both the Scope and the InlinedAt values.
49 void DebugLoc::getScopeAndInlinedAt(MDNode *&Scope, MDNode *&IA, argument
52 Scope = IA = 0;
61 Scope = Ctx.pImpl->ScopeRecords[ScopeIdx-1].get();
69 Scope = Ctx.pImpl->ScopeInlinedAtRecords[-ScopeIdx-1].first.get();
75 MDNode *Scope, MDNode *InlinedAt) {
79 if (Scope == 0) return Result;
86 LLVMContext &Ctx = Scope->getContext();
90 Result.ScopeIdx = Ctx.pImpl->getOrAddScopeRecordIdxEntry(Scope, 0);
92 Result.ScopeIdx = Ctx.pImpl->getOrAddScopeInlinedAtIdxEntry(Scope,
74 get(unsigned Line, unsigned Col, MDNode *Scope, MDNode *InlinedAt) argument
119 MDNode *Scope = Loc.getScope(); local
128 MDNode *Scope = LexBlock.getContext(); local
161 getOrAddScopeRecordIdxEntry(MDNode *Scope, int ExistingIdx) argument
184 getOrAddScopeInlinedAtIdxEntry(MDNode *Scope, MDNode *IA, int ExistingIdx) argument
[all...]
H A DDebugInfo.cpp885 DISubprogram llvm::getDISubprogram(const MDNode *Scope) { argument
886 DIDescriptor D(Scope);
888 return DISubprogram(Scope);
891 return getDISubprogram(DILexicalBlockFile(Scope).getContext());
894 return getDISubprogram(DILexicalBlock(Scope).getContext());
1035 void DebugInfoFinder::processScope(DIScope Scope) { argument
1036 if (Scope.isType()) {
1037 DIType Ty(Scope);
1041 if (Scope.isCompileUnit()) {
1042 addCompileUnit(DICompileUnit(Scope));
1177 addScope(DIScope Scope) argument
[all...]
/freebsd-10.1-release/contrib/llvm/tools/clang/lib/CodeGen/
H A DCGCleanup.cpp161 EHCleanupScope *Scope = local
174 return Scope->getCleanupBuffer();
378 EHCleanupScope &Scope = cast<EHCleanupScope>(*EHStack.begin()); local
384 Old.strictlyEncloses(Scope.getEnclosingNormalCleanup());
418 EHCleanupScope &Scope) {
419 assert(Scope.isNormalCleanup());
420 llvm::BasicBlock *Entry = Scope.getNormalBlock();
423 Scope.setNormalBlock(Entry);
565 EHCleanupScope &Scope = cast<EHCleanupScope>(*EHStack.begin()); local
566 assert(Scope
417 CreateNormalEntry(CodeGenFunction &CGF, EHCleanupScope &Scope) argument
958 EHCleanupScope &Scope = local
968 EHCleanupScope &Scope = cast<EHCleanupScope>(*EHStack.find(I)); local
1044 EHCleanupScope &Scope = cast<EHCleanupScope>(*CGF.EHStack.find(C)); local
1100 EHCleanupScope &Scope = cast<EHCleanupScope>(*EHStack.find(C)); local
1112 EHCleanupScope &Scope = cast<EHCleanupScope>(*EHStack.find(C)); local
[all...]
/freebsd-10.1-release/sys/contrib/dev/acpica/components/dispatcher/
H A Ddswscope.c3 * Module Name: dswscope - Scope stack manipulation
82 WalkState->ScopeInfo = ScopeInfo->Scope.Next;
147 ScopeInfo->Scope.Node = Node;
160 AcpiUtGetNodeName (OldScopeInfo->Scope.Node),
171 AcpiUtGetNodeName (ScopeInfo->Scope.Node),
218 AcpiUtGetNodeName (ScopeInfo->Scope.Node),
226 AcpiUtGetNodeName (NewScopeInfo->Scope.Node),
/freebsd-10.1-release/contrib/byacc/test/btyacc/
H A Dbtyacc_demo.tab.h24 Scope *scope;
/freebsd-10.1-release/contrib/llvm/include/llvm/
H A DDIBuilder.h78 createTemplateValueParameter(unsigned Tag, DIDescriptor Scope,
184 /// @param Scope Member scope.
194 createMemberType(DIDescriptor Scope, StringRef Name, DIFile File,
200 /// @param Scope Member scope.
208 createStaticMemberType(DIDescriptor Scope, StringRef Name,
272 /// @param Scope Scope in which this class is defined.
287 DICompositeType createClassType(DIDescriptor Scope, StringRef Name,
297 /// @param Scope Scope i
[all...]
/freebsd-10.1-release/contrib/byacc/test/
H A Dbtyacc_demo.y20 typedef int Scope;
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 *scop
[all...]
/freebsd-10.1-release/contrib/llvm/include/llvm/Support/
H A DDebugLoc.h52 /// ScopeIdx - This is an opaque ID# for Scope/InlinedAt information,
61 MDNode *Scope, MDNode *InlinedAt = 0);
88 /// getScopeAndInlinedAt - Return both the Scope and the InlinedAt values.
89 void getScopeAndInlinedAt(MDNode *&Scope, MDNode *&IA,
/freebsd-10.1-release/contrib/llvm/utils/TableGen/
H A DDAGISelMatcherOpt.cpp32 if (ScopeMatcher *Scope = dyn_cast<ScopeMatcher>(N)) {
33 for (unsigned i = 0, e = Scope->getNumChildren(); i != e; ++i) {
34 OwningPtr<Matcher> Child(Scope->takeChild(i));
36 Scope->resetChild(i, Child.take());
194 if (ScopeMatcher *Scope = dyn_cast<ScopeMatcher>(N)) {
195 for (unsigned i = 0, e = Scope->getNumChildren(); i != e; ++i) {
196 OwningPtr<Matcher> Child(Scope->takeChild(i));
198 Scope->resetChild(i, Child.take());
241 /// Scope
248 /// Scope
[all...]
/freebsd-10.1-release/contrib/llvm/include/llvm/CodeGen/
H A DLexicalScopes.h113 LexicalScope *getOrCreateRegularScope(MDNode *Scope);
116 LexicalScope *getOrCreateInlinedScope(MDNode *Scope, MDNode *InlinedAt);
125 void constructScopeNest(LexicalScope *Scope);
235 bool AbstractScope; // Abstract Scope
/freebsd-10.1-release/contrib/llvm/tools/clang/lib/Parse/
H A DParseCXXInlineMethods.cpp19 #include "clang/Sema/Scope.h"
278 ParseScope ClassTemplateScope(this, Scope::TemplateParamScope, HasTemplateScope);
288 ParseScope ClassScope(this, Scope::ClassScope|Scope::DeclScope,
303 ParseScope TemplateScope(this, Scope::TemplateParamScope, LM.TemplateScope);
314 ParseScope PrototypeScope(this, Scope::FunctionPrototypeScope |
315 Scope::FunctionDeclarationScope | Scope::DeclScope);
390 ParseScope ClassTemplateScope(this, Scope::TemplateParamScope, HasTemplateScope);
397 ParseScope ClassScope(this, Scope
[all...]
/freebsd-10.1-release/contrib/llvm/tools/clang/include/clang/Frontend/
H A DChainedIncludesSource.h70 virtual bool LookupUnqualified(LookupResult &R, Scope *S);
/freebsd-10.1-release/lib/clang/libclangsema/
H A DMakefile16 Scope.cpp \
/freebsd-10.1-release/contrib/llvm/lib/CodeGen/AsmPrinter/
H A DDwarfDebug.h493 DIE *constructLexicalScopeDIE(CompileUnit *TheCU, LexicalScope *Scope);
494 /// A helper function to check whether the DIE for a given Scope is going
496 bool isLexicalScopeDIENull(LexicalScope *Scope);
500 DIE *constructInlinedScopeDIE(CompileUnit *TheCU, LexicalScope *Scope);
503 DIE *constructScopeDIE(CompileUnit *TheCU, LexicalScope *Scope);
504 /// A helper function to create children of a Scope DIE.
505 DIE *createScopeChildrenDIE(CompileUnit *TheCU, LexicalScope *Scope,
627 void recordSourceLine(unsigned Line, unsigned Col, const MDNode *Scope,
637 DbgVariable *Var, LexicalScope *Scope);

Completed in 185 milliseconds

12345