| /NextBSD/sys/contrib/dev/acpica/components/parser/ |
| HD | psscope.c | 69 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 …]
|
| /NextBSD/contrib/llvm/tools/clang/include/clang/Sema/ |
| HD | Scope.h | 38 class Scope { 130 Scope *AnyParent; 156 Scope *FnParent; 157 Scope *MSLastManglingParent; 163 Scope *BreakParent, *ContinueParent; 167 Scope *BlockParent; 173 Scope *TemplateParamParent; 200 Scope(Scope *Parent, unsigned ScopeFlags, DiagnosticsEngine &Diag) in Scope() function 215 const Scope *getParent() const { return AnyParent; } in getParent() 216 Scope *getParent() { return AnyParent; } in getParent() [all …]
|
| HD | Sema.h | 356 SmallVector<Scope*, 2> CurrentSEHFinally; 680 Scope *TUScope; 1118 Scope *getScopeForContext(DeclContext *Ctx); 1121 void PushBlockScope(Scope *BlockScope, BlockDecl *Block); 1129 void PushCapturedRegionScope(Scope *RegionScope, CapturedDecl *CD, 1253 TypeSourceInfo *GetTypeForDeclarator(Declarator &D, Scope *S); 1291 TypeResult ActOnTypeName(Scope *S, Declarator &D); 1448 Scope *S, CXXScopeSpec *SS = nullptr, 1455 TypeSpecifierType isTagName(IdentifierInfo &II, Scope *S); 1456 bool isMicrosoftMissingTypename(const CXXScopeSpec *SS, Scope *S); [all …]
|
| HD | Template.h | 314 static void deleteScopes(LocalInstantiationScope *Scope, in deleteScopes() argument 316 while (Scope && Scope != Outermost) { in deleteScopes() 317 LocalInstantiationScope *Out = Scope->Outer; in deleteScopes() 318 delete Scope; in deleteScopes() local 319 Scope = Out; in deleteScopes()
|
| HD | ExternalSemaSource.h | 35 class Scope; variable 94 virtual bool LookupUnqualified(LookupResult &R, Scope *S) { return false; } in LookupUnqualified() 199 int LookupKind, Scope *S, CXXScopeSpec *SS, in CorrectTypo()
|
| /NextBSD/contrib/llvm/lib/CodeGen/ |
| HD | LexicalScopes.cpp | 110 DILocalScope *Scope = DL->getScope(); in findLexicalScope() local 111 if (!Scope) in findLexicalScope() 116 if (auto *File = dyn_cast<DILexicalBlockFile>(Scope)) in findLexicalScope() 117 Scope = File->getScope(); in findLexicalScope() 120 auto I = InlinedLexicalScopeMap.find(std::make_pair(Scope, IA)); in findLexicalScope() 123 return findLexicalScope(Scope); in findLexicalScope() 128 LexicalScope *LexicalScopes::getOrCreateLexicalScope(const DILocalScope *Scope, in getOrCreateLexicalScope() argument 132 getOrCreateAbstractScope(Scope); in getOrCreateLexicalScope() 134 return getOrCreateInlinedScope(Scope, IA); in getOrCreateLexicalScope() 137 return getOrCreateRegularScope(Scope); in getOrCreateLexicalScope() [all …]
|
| /NextBSD/contrib/llvm/tools/clang/lib/CodeGen/ |
| HD | CGCleanup.cpp | 174 EHCleanupScope *Scope = in pushCleanup() local 187 return Scope->getCleanupBuffer(); in pushCleanup() 392 EHCleanupScope &Scope = cast<EHCleanupScope>(*EHStack.begin()); in PopCleanupBlocks() local 398 Old.strictlyEncloses(Scope.getEnclosingNormalCleanup()); in PopCleanupBlocks() 432 EHCleanupScope &Scope) { in CreateNormalEntry() argument 433 assert(Scope.isNormalCleanup()); in CreateNormalEntry() 434 llvm::BasicBlock *Entry = Scope.getNormalBlock(); in CreateNormalEntry() 437 Scope.setNormalBlock(Entry); in CreateNormalEntry() 586 EHCleanupScope &Scope = cast<EHCleanupScope>(*EHStack.begin()); in PopCleanupBlock() local 587 assert(Scope.getFixupDepth() <= EHStack.getNumBranchFixups()); in PopCleanupBlock() [all …]
|
| /NextBSD/contrib/llvm/lib/IR/ |
| HD | LLVMContextImpl.h | 235 Metadata *Scope; 238 MDNodeKeyImpl(unsigned Line, unsigned Column, Metadata *Scope, 240 : Line(Line), Column(Column), Scope(Scope), InlinedAt(InlinedAt) {} 243 : Line(L->getLine()), Column(L->getColumn()), Scope(L->getRawScope()), 248 Scope == RHS->getRawScope() && InlinedAt == RHS->getRawInlinedAt(); 251 return hash_combine(Line, Column, Scope, InlinedAt); 336 Metadata *Scope; 345 Metadata *Scope, Metadata *BaseType, uint64_t SizeInBits, 348 : Tag(Tag), Name(Name), File(File), Line(Line), Scope(Scope), 353 Line(N->getLine()), Scope(N->getRawScope()), [all …]
|
| HD | DebugInfoMetadata.cpp | 42 unsigned Column, Metadata *Scope, in getImpl() argument 48 assert(Scope && "Expected scope"); in getImpl() 52 DILocationInfo::KeyTy(Line, Column, Scope, InlinedAt))) in getImpl() 61 Ops.push_back(Scope); in getImpl() 260 unsigned Line, Metadata *Scope, Metadata *BaseType, uint64_t SizeInBits, in getImpl() argument 264 DEFINE_GETIMPL_LOOKUP(DIDerivedType, (Tag, getString(Name), File, Line, Scope, in getImpl() 267 Metadata *Ops[] = {File, Scope, Name, BaseType, ExtraData}; in getImpl() 275 unsigned Line, Metadata *Scope, Metadata *BaseType, uint64_t SizeInBits, in getImpl() argument 282 (Tag, getString(Name), File, Line, Scope, BaseType, in getImpl() 286 Metadata *Ops[] = {File, Scope, Name, BaseType, in getImpl() [all …]
|
| HD | DebugLoc.cpp | 52 const MDNode *Scope = getInlinedAtScope(); in getFnDebugLoc() local 53 if (auto *SP = getDISubprogram(Scope)) in getFnDebugLoc() 59 DebugLoc DebugLoc::get(unsigned Line, unsigned Col, const MDNode *Scope, in get() argument 62 if (!Scope) in get() 65 return DILocation::get(Scope->getContext(), Line, Col, in get() 66 const_cast<MDNode *>(Scope), in get() 91 auto *Scope = cast<DIScope>(getScope()); in print() local 92 OS << Scope->getFilename(); in print()
|
| HD | DebugInfo.cpp | 36 DISubprogram *llvm::getDISubprogram(const MDNode *Scope) { in getDISubprogram() argument 37 if (auto *LocalScope = dyn_cast_or_null<DILocalScope>(Scope)) in getDISubprogram() 51 const MDNode *Scope = DLoc.getInlinedAtScope(); in getDISubprogram() local 52 auto *Subprogram = getDISubprogram(Scope); in getDISubprogram() 185 void DebugInfoFinder::processScope(DIScope *Scope) { in processScope() argument 186 if (!Scope) in processScope() 188 if (auto *Ty = dyn_cast<DIType>(Scope)) { in processScope() 192 if (auto *CU = dyn_cast<DICompileUnit>(Scope)) { in processScope() 196 if (auto *SP = dyn_cast<DISubprogram>(Scope)) { in processScope() 200 if (!addScope(Scope)) in processScope() [all …]
|
| HD | DIBuilder.cpp | 290 DIDerivedType *DIBuilder::createMemberType(DIScope *Scope, StringRef Name, in createMemberType() argument 298 DIScopeRef::get(getNonCompileUnitScope(Scope)), DITypeRef::get(Ty), in createMemberType() 308 DIDerivedType *DIBuilder::createStaticMemberType(DIScope *Scope, StringRef Name, in createStaticMemberType() argument 316 DIScopeRef::get(getNonCompileUnitScope(Scope)), DITypeRef::get(Ty), 0, 0, in createStaticMemberType() 418 DIScope *Scope, StringRef Name, DIFile *File, unsigned LineNumber, in createUnionType() argument 423 DIScopeRef::get(getNonCompileUnitScope(Scope)), nullptr, SizeInBits, in createUnionType() 439 DIScope *Scope, StringRef Name, DIFile *File, unsigned LineNumber, in createEnumerationType() argument 444 DIScopeRef::get(getNonCompileUnitScope(Scope)), in createEnumerationType() 505 DIBuilder::createForwardDecl(unsigned Tag, StringRef Name, DIScope *Scope, in createForwardDecl() argument 513 DIScopeRef::get(getNonCompileUnitScope(Scope)), nullptr, SizeInBits, in createForwardDecl() [all …]
|
| /NextBSD/contrib/llvm/lib/CodeGen/AsmPrinter/ |
| HD | DwarfCompileUnit.cpp | 304 LexicalScope *Scope, SmallVectorImpl<DIE *> &FinalChildren) { in constructScopeDIE() argument 305 if (!Scope || !Scope->getScopeNode()) in constructScopeDIE() 308 auto *DS = Scope->getScopeNode(); in constructScopeDIE() 310 assert((Scope->getInlinedAt() || !isa<DISubprogram>(DS)) && in constructScopeDIE() 321 if (Scope->getParent() && isa<DISubprogram>(DS)) { in constructScopeDIE() 322 ScopeDIE = constructInlinedScopeDIE(Scope); in constructScopeDIE() 326 createScopeChildrenDIE(Scope, Children); in constructScopeDIE() 329 if (DD->isLexicalScopeDIENull(Scope)) in constructScopeDIE() 336 createScopeChildrenDIE(Scope, Children, &ChildScopeCount); in constructScopeDIE() 354 ScopeDIE = constructLexicalScopeDIE(Scope); in constructScopeDIE() [all …]
|
| HD | DwarfCompileUnit.h | 118 void constructScopeDIE(LexicalScope *Scope, 131 DIE *constructInlinedScopeDIE(LexicalScope *Scope); 135 DIE *constructLexicalScopeDIE(LexicalScope *Scope); 140 DIE *constructVariableDIE(DbgVariable &DV, const LexicalScope &Scope, 144 DIE *createScopeChildrenDIE(LexicalScope *Scope, 149 void constructSubprogramScopeDIE(LexicalScope *Scope); 151 DIE *createAndAddScopeChildren(LexicalScope *Scope, DIE &ScopeDIE); 153 void constructAbstractSubprogramScopeDIE(LexicalScope *Scope);
|
| HD | DwarfDebug.cpp | 317 bool DwarfDebug::isLexicalScopeDIENull(LexicalScope *Scope) { in isLexicalScopeDIENull() argument 318 if (Scope->isAbstractScope()) in isLexicalScopeDIENull() 322 const SmallVectorImpl<InsnRange> &Ranges = Scope->getRanges(); in isLexicalScopeDIENull() 340 void DwarfDebug::constructAbstractSubprogramScopeDIE(LexicalScope *Scope) { in constructAbstractSubprogramScopeDIE() argument 341 assert(Scope && Scope->getScopeNode()); in constructAbstractSubprogramScopeDIE() 342 assert(Scope->isAbstractScope()); in constructAbstractSubprogramScopeDIE() 343 assert(!Scope->getInlinedAt()); in constructAbstractSubprogramScopeDIE() 345 const MDNode *SP = Scope->getScopeNode(); in constructAbstractSubprogramScopeDIE() 353 CU.constructAbstractSubprogramScopeDIE(Scope); in constructAbstractSubprogramScopeDIE() 680 LexicalScope *Scope) { in createAbstractVariable() argument [all …]
|
| HD | DwarfDebug.h | 364 void createAbstractVariable(const DILocalVariable *DV, LexicalScope *Scope); 366 const MDNode *Scope); 368 const MDNode *Scope); 370 DbgVariable *createConcreteVariable(LexicalScope &Scope, InlinedVariable IV); 373 void constructAbstractSubprogramScopeDIE(LexicalScope *Scope); 490 void recordSourceLine(unsigned Line, unsigned Col, const MDNode *Scope, 626 findImportedEntitiesForScope(const MDNode *Scope) const { in findImportedEntitiesForScope() argument 629 std::pair<const MDNode *, const MDNode *>(Scope, nullptr), in findImportedEntitiesForScope() 635 bool isLexicalScopeDIENull(LexicalScope *Scope);
|
| /NextBSD/contrib/llvm/include/llvm/IR/ |
| HD | DIBuilder.h | 195 DIDerivedType *createMemberType(DIScope *Scope, StringRef Name, 210 DIDerivedType *createStaticMemberType(DIScope *Scope, StringRef Name, 262 DICompositeType *createClassType(DIScope *Scope, StringRef Name, 283 DIScope *Scope, StringRef Name, DIFile *File, unsigned LineNumber, 299 DICompositeType *createUnionType(DIScope *Scope, StringRef Name, 312 createTemplateTypeParameter(DIScope *Scope, StringRef Name, DIType *Ty); 320 DITemplateValueParameter *createTemplateValueParameter(DIScope *Scope, 330 DITemplateValueParameter *createTemplateTemplateParameter(DIScope *Scope, 340 DITemplateValueParameter *createTemplateParameterPack(DIScope *Scope, 373 DIScope *Scope, StringRef Name, DIFile *File, unsigned LineNumber, [all …]
|
| HD | DebugInfoMetadata.h | 692 DIScopeRef Scope, DITypeRef BaseType, 698 Line, Scope, BaseType, SizeInBits, AlignInBits, OffsetInBits, 703 Metadata *Scope, Metadata *BaseType, 719 unsigned Line, Metadata *Scope, Metadata *BaseType, 723 (Tag, Name, File, Line, Scope, BaseType, SizeInBits, 727 DIScopeRef Scope, DITypeRef BaseType, uint64_t SizeInBits, 730 (Tag, Name, File, Line, Scope, BaseType, SizeInBits, 853 unsigned Line, DIScopeRef Scope, DITypeRef BaseType, 859 Context, Tag, getCanonicalMDString(Context, Name), File, Line, Scope, 866 unsigned Line, Metadata *Scope, Metadata *BaseType, [all …]
|
| /NextBSD/contrib/llvm/tools/clang/lib/Sema/ |
| HD | Scope.cpp | 21 void Scope::Init(Scope *parent, unsigned flags) { in Init() 94 bool Scope::containedInPrototypeScope() const { in containedInPrototypeScope() 95 const Scope *S = this; in containedInPrototypeScope() 104 void Scope::AddFlags(unsigned FlagsToSet) { in AddFlags() 118 void Scope::mergeNRVOIntoParent() { in mergeNRVOIntoParent() 133 void Scope::dump() const { dumpImpl(llvm::errs()); } in dump() 135 void Scope::dumpImpl(raw_ostream &OS) const { in dumpImpl() 211 if (const Scope *Parent = getParent()) in dumpImpl()
|
| /NextBSD/contrib/byacc/test/ |
| HD | btyacc_demo.y | 20 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);
|
| /NextBSD/sys/contrib/dev/acpica/components/dispatcher/ |
| HD | dswscope.c | 80 WalkState->ScopeInfo = ScopeInfo->Scope.Next; in AcpiDsScopeStackClear() 145 ScopeInfo->Scope.Node = Node; in AcpiDsScopeStackPush() 158 AcpiUtGetNodeName (OldScopeInfo->Scope.Node), in AcpiDsScopeStackPush() 169 AcpiUtGetNodeName (ScopeInfo->Scope.Node), in AcpiDsScopeStackPush() 216 AcpiUtGetNodeName (ScopeInfo->Scope.Node), in AcpiDsScopeStackPop() 224 AcpiUtGetNodeName (NewScopeInfo->Scope.Node), in AcpiDsScopeStackPop()
|
| /NextBSD/contrib/llvm/utils/TableGen/ |
| HD | DAGISelMatcherOpt.cpp | 33 if (ScopeMatcher *Scope = dyn_cast<ScopeMatcher>(N)) { in ContractNodes() local 34 for (unsigned i = 0, e = Scope->getNumChildren(); i != e; ++i) { in ContractNodes() 35 std::unique_ptr<Matcher> Child(Scope->takeChild(i)); in ContractNodes() 37 Scope->resetChild(i, Child.release()); in ContractNodes() 198 if (ScopeMatcher *Scope = dyn_cast<ScopeMatcher>(N)) { in SinkPatternPredicates() local 199 for (unsigned i = 0, e = Scope->getNumChildren(); i != e; ++i) { in SinkPatternPredicates() 200 std::unique_ptr<Matcher> Child(Scope->takeChild(i)); in SinkPatternPredicates() 202 Scope->resetChild(i, Child.release()); in SinkPatternPredicates() 262 ScopeMatcher *Scope = dyn_cast<ScopeMatcher>(N); in FactorNodes() local 263 if (!Scope) in FactorNodes() [all …]
|
| /NextBSD/contrib/llvm/tools/clang/lib/Parse/ |
| HD | ParseStmt.cpp | 425 Scope::DeclScope | Scope::SEHTryScope)); in ParseSEHTryBlock() 463 ParseScope ExpectScope(this, Scope::DeclScope | Scope::ControlScope | in ParseSEHExceptBlock() 464 Scope::SEHExceptScope); in ParseSEHExceptBlock() 475 Scope::SEHFilterScope); in ParseSEHExceptBlock() 807 return ParseCompoundStatement(isStmtExpr, Scope::DeclScope); in ParseCompoundStatement() 1100 ParseScope IfScope(this, Scope::DeclScope | Scope::ControlScope, C99orCXX); in ParseIfStatement() 1128 ParseScope InnerScope(this, Scope::DeclScope, C99orCXX, Tok.is(tok::l_brace)); in ParseIfStatement() 1160 ParseScope InnerScope(this, Scope::DeclScope, C99orCXX, Tok.is(tok::l_brace)); in ParseIfStatement() 1224 unsigned ScopeFlags = Scope::SwitchScope; in ParseSwitchStatement() 1226 ScopeFlags |= Scope::DeclScope | Scope::ControlScope; in ParseSwitchStatement() [all …]
|
| HD | ParseCXXInlineMethods.cpp | 267 ParseScope ClassTemplateScope(this, Scope::TemplateParamScope, in ParseLexedMethodDeclarations() 278 ParseScope ClassScope(this, Scope::ClassScope|Scope::DeclScope, in ParseLexedMethodDeclarations() 295 ParseScope TemplateScope(this, Scope::TemplateParamScope, LM.TemplateScope); in ParseLexedMethodDeclaration() 306 ParseScope PrototypeScope(this, Scope::FunctionPrototypeScope | in ParseLexedMethodDeclaration() 307 Scope::FunctionDeclarationScope | Scope::DeclScope); in ParseLexedMethodDeclaration() 470 ParseScope ClassTemplateScope(this, Scope::TemplateParamScope, HasTemplateScope); in ParseLexedMethodDefs() 477 ParseScope ClassScope(this, Scope::ClassScope|Scope::DeclScope, in ParseLexedMethodDefs() 487 ParseScope TemplateScope(this, Scope::TemplateParamScope, LM.TemplateScope); in ParseLexedMethodDef() 514 ParseScope FnScope(this, Scope::FnScope|Scope::DeclScope); in ParseLexedMethodDef() 573 ParseScope ClassTemplateScope(this, Scope::TemplateParamScope, in ParseLexedMemberInitializers() [all …]
|
| /NextBSD/contrib/llvm/include/llvm/CodeGen/ |
| HD | LexicalScopes.h | 200 LexicalScope *getOrCreateAbstractScope(const DILocalScope *Scope); 205 LexicalScope *getOrCreateLexicalScope(const DILocalScope *Scope, 213 LexicalScope *getOrCreateRegularScope(const DILocalScope *Scope); 216 LexicalScope *getOrCreateInlinedScope(const DILocalScope *Scope, 223 void constructScopeNest(LexicalScope *Scope);
|