| /freebsd-12-stable/sys/contrib/dev/acpica/components/parser/ |
| D | psscope.c | 177 return (ParserState->Scope->ParseScope.Op); in AcpiPsGetParentScope() 201 ((ParserState->Aml >= ParserState->Scope->ParseScope.ArgEnd || in AcpiPsHasCompletedScope() 202 !ParserState->Scope->ParseScope.ArgCount))); in AcpiPsHasCompletedScope() 224 ACPI_GENERIC_STATE *Scope; in AcpiPsInitScope() local 230 Scope = AcpiUtCreateGenericState (); in AcpiPsInitScope() 231 if (!Scope) in AcpiPsInitScope() 236 Scope->Common.DescriptorType = ACPI_DESC_TYPE_STATE_RPSCOPE; in AcpiPsInitScope() 237 Scope->ParseScope.Op = RootOp; in AcpiPsInitScope() 238 Scope->ParseScope.ArgCount = ACPI_VAR_ARGS; in AcpiPsInitScope() 239 Scope->ParseScope.ArgEnd = ParserState->AmlEnd; in AcpiPsInitScope() [all …]
|
| /freebsd-12-stable/contrib/llvm-project/clang/include/clang/Sema/ |
| D | Scope.h | 40 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 …]
|
| D | Sema.h | 440 SmallVector<Scope*, 2> CurrentSEHFinally; 1107 Scope *TUScope; 1848 Scope *getScopeForContext(DeclContext *Ctx); 1851 void PushBlockScope(Scope *BlockScope, BlockDecl *Block); 1859 void PushCapturedRegionScope(Scope *RegionScope, CapturedDecl *CD, 1870 void operator()(sema::FunctionScopeInfo *Scope) const; 2015 TypeSourceInfo *GetTypeForDeclarator(Declarator &D, Scope *S); 2059 TypeResult ActOnTypeName(Scope *S, Declarator &D); 2371 Scope *S, CXXScopeSpec *SS = nullptr, 2378 TypeSpecifierType isTagName(IdentifierInfo &II, Scope *S); [all …]
|
| /freebsd-12-stable/contrib/llvm-project/llvm/lib/CodeGen/ |
| D | LexicalScopes.cpp | 125 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 …]
|
| /freebsd-12-stable/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/ |
| D | ControlHeightReduction.cpp | 273 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 …]
|
| /freebsd-12-stable/contrib/llvm-project/llvm/lib/IR/ |
| D | LLVMContextImpl.h | 259 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 …]
|
| D | DebugInfo.cpp | 129 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 …]
|
| D | DebugInfoMetadata.cpp | 59 unsigned Column, Metadata *Scope, in getImpl() argument 67 DILocationInfo::KeyTy(Line, Column, Scope, in getImpl() 77 Ops.push_back(Scope); in getImpl() 582 unsigned Line, Metadata *Scope, Metadata *BaseType, uint64_t SizeInBits, in getImpl() argument 588 (Tag, Name, File, Line, Scope, BaseType, SizeInBits, in getImpl() 591 Metadata *Ops[] = {File, Scope, Name, BaseType, ExtraData}; in getImpl() 599 unsigned Line, Metadata *Scope, Metadata *BaseType, uint64_t SizeInBits, in getImpl() argument 610 (Tag, Name, File, Line, Scope, BaseType, SizeInBits, AlignInBits, in getImpl() 613 Metadata *Ops[] = {File, Scope, Name, BaseType, in getImpl() 624 Metadata *File, unsigned Line, Metadata *Scope, Metadata *BaseType, in buildODRType() argument [all …]
|
| D | DIBuilder.cpp | 348 DIDerivedType *DIBuilder::createMemberType(DIScope *Scope, StringRef Name, in createMemberType() argument 355 LineNumber, getNonCompileUnitScope(Scope), Ty, in createMemberType() 366 DIScope *Scope, StringRef Name, DIFile *File, unsigned LineNumber, in createVariantMemberType() argument 370 LineNumber, getNonCompileUnitScope(Scope), Ty, in createVariantMemberType() 376 DIScope *Scope, StringRef Name, DIFile *File, unsigned LineNumber, in createBitFieldMemberType() argument 382 getNonCompileUnitScope(Scope), Ty, SizeInBits, /* AlignInBits */ 0, in createBitFieldMemberType() 389 DIBuilder::createStaticMemberType(DIScope *Scope, StringRef Name, DIFile *File, in createStaticMemberType() argument 395 LineNumber, getNonCompileUnitScope(Scope), Ty, 0, in createStaticMemberType() 490 DIScope *Scope, StringRef Name, DIFile *File, unsigned LineNumber, in createUnionType() argument 495 getNonCompileUnitScope(Scope), nullptr, SizeInBits, AlignInBits, 0, Flags, in createUnionType() [all …]
|
| /freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
| D | SIMemoryLegalizer.cpp | 94 SIAtomicScope Scope = SIAtomicScope::SYSTEM; member in __anon00e9b7df0111::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 …]
|
| /freebsd-12-stable/contrib/llvm-project/clang/lib/CodeGen/ |
| D | CGCleanup.cpp | 183 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 …]
|
| /freebsd-12-stable/contrib/llvm-project/clang/lib/Basic/ |
| D | Attributes.cpp | 8 int clang::hasAttribute(AttrSyntax Syntax, const IdentifierInfo *Scope, in hasAttribute() argument 17 StringRef ScopeName = Scope ? Scope->getName() : ""; in hasAttribute() 47 normalizeAttrScopeName(const IdentifierInfo *Scope, in normalizeAttrScopeName() argument 49 if (!Scope) in normalizeAttrScopeName() 54 StringRef ScopeName = Scope->getName(); in normalizeAttrScopeName() 91 const IdentifierInfo *Scope, in normalizeName() argument 93 StringRef ScopeName = normalizeAttrScopeName(Scope, SyntaxUsed); in normalizeName() 123 StringRef Scope = normalizeAttrScopeName(getScopeName(), Syntax); in calculateAttributeSpellingListIndex() local 124 StringRef Name = normalizeAttrName(getAttrName(), Scope, Syntax); in calculateAttributeSpellingListIndex()
|
| /freebsd-12-stable/contrib/llvm-project/llvm/include/llvm/IR/ |
| D | DIBuilder.h | 282 DIDerivedType *createMemberType(DIScope *Scope, StringRef Name, 302 DIDerivedType *createVariantMemberType(DIScope *Scope, StringRef Name, 321 DIScope *Scope, StringRef Name, DIFile *File, unsigned LineNo, 335 DIDerivedType *createStaticMemberType(DIScope *Scope, StringRef Name, 389 DIScope *Scope, StringRef Name, DIFile *File, unsigned LineNumber, 407 DIScope *Scope, StringRef Name, DIFile *File, unsigned LineNumber, 423 DICompositeType *createUnionType(DIScope *Scope, StringRef Name, 444 DICompositeType *createVariantPart(DIScope *Scope, StringRef Name, 458 DITemplateTypeParameter *createTemplateTypeParameter(DIScope *Scope, 471 createTemplateValueParameter(DIScope *Scope, StringRef Name, DIType *Ty, [all …]
|
| D | DebugInfoMetadata.h | 936 unsigned Line, DIScope *Scope, DIType *BaseType, uint64_t SizeInBits, 941 Line, Scope, BaseType, SizeInBits, AlignInBits, OffsetInBits, 946 Metadata *Scope, Metadata *BaseType, 963 unsigned Line, Metadata *Scope, Metadata *BaseType, 968 (Tag, Name, File, Line, Scope, BaseType, SizeInBits, 973 DIScope *Scope, DIType *BaseType, uint64_t SizeInBits, 977 (Tag, Name, File, Line, Scope, BaseType, SizeInBits, 1078 unsigned Line, DIScope *Scope, DIType *BaseType, uint64_t SizeInBits, 1086 Context, Tag, getCanonicalMDString(Context, Name), File, Line, Scope, 1094 unsigned Line, Metadata *Scope, Metadata *BaseType, [all …]
|
| /freebsd-12-stable/contrib/llvm-project/clang/lib/Sema/ |
| D | Scope.cpp | 20 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()
|
| /freebsd-12-stable/contrib/llvm-project/llvm/include/llvm-c/ |
| D | DebugInfo.h | 338 LLVMDIBuilderRef Builder, LLVMMetadataRef Scope, const char *Name, 353 LLVMDIBuilderRef Builder, LLVMMetadataRef Scope, 365 LLVMMetadataRef Scope, 379 LLVMMetadataRef Scope, 395 LLVMMetadataRef Scope, 410 LLVMMetadataRef Scope, 429 LLVMMetadataRef Scope, 447 unsigned Column, LLVMMetadataRef Scope, 488 LLVMMetadataRef LLVMDIScopeGetFile(LLVMMetadataRef Scope); 604 LLVMDIBuilderRef Builder, LLVMMetadataRef Scope, const char *Name, [all …]
|
| /freebsd-12-stable/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/ |
| D | DwarfCompileUnit.h | 173 DIScope *Scope = IE->getScope(); in addImportedEntity() local 174 assert(Scope && "Invalid Scope encoding!"); in addImportedEntity() 175 if (!isa<DILocalScope>(Scope)) in addImportedEntity() 179 auto *LocalScope = cast<DILocalScope>(Scope)->getNonLexicalBlockFileScope(); in addImportedEntity() 194 void constructScopeDIE(LexicalScope *Scope, 208 DIE *constructInlinedScopeDIE(LexicalScope *Scope); 212 DIE *constructLexicalScopeDIE(LexicalScope *Scope); 217 DIE *constructVariableDIE(DbgVariable &DV, const LexicalScope &Scope, 221 DIE *constructLabelDIE(DbgLabel &DL, const LexicalScope &Scope); 224 DIE *createScopeChildrenDIE(LexicalScope *Scope, [all …]
|
| D | DwarfCompileUnit.cpp | 506 LexicalScope *Scope, SmallVectorImpl<DIE *> &FinalChildren) { in constructScopeDIE() argument 507 if (!Scope || !Scope->getScopeNode()) in constructScopeDIE() 510 auto *DS = Scope->getScopeNode(); in constructScopeDIE() 512 assert((Scope->getInlinedAt() || !isa<DISubprogram>(DS)) && in constructScopeDIE() 523 if (Scope->getParent() && isa<DISubprogram>(DS)) { in constructScopeDIE() 524 ScopeDIE = constructInlinedScopeDIE(Scope); in constructScopeDIE() 528 createScopeChildrenDIE(Scope, Children); in constructScopeDIE() 531 if (DD->isLexicalScopeDIENull(Scope)) in constructScopeDIE() 538 createScopeChildrenDIE(Scope, Children, &HasNonScopeChildren); in constructScopeDIE() 548 ScopeDIE = constructLexicalScopeDIE(Scope); in constructScopeDIE() [all …]
|
| /freebsd-12-stable/contrib/llvm-project/llvm/utils/TableGen/ |
| D | DAGISelMatcherOpt.cpp | 31 if (ScopeMatcher *Scope = dyn_cast<ScopeMatcher>(N)) { in ContractNodes() local 32 for (unsigned i = 0, e = Scope->getNumChildren(); i != e; ++i) { in ContractNodes() 33 std::unique_ptr<Matcher> Child(Scope->takeChild(i)); in ContractNodes() 35 Scope->resetChild(i, Child.release()); in ContractNodes() 189 ScopeMatcher *Scope = nullptr; in FactorNodes() local 191 while (!Scope) { in FactorNodes() 197 Scope = dyn_cast<ScopeMatcher>(N); in FactorNodes() 198 if (!Scope) in FactorNodes() 207 for (unsigned i = 0, e = Scope->getNumChildren(); i != e; ++i) { in FactorNodes() 209 std::unique_ptr<Matcher> Child(Scope->takeChild(i)); in FactorNodes() [all …]
|
| /freebsd-12-stable/contrib/byacc/test/ |
| D | 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);
|
| /freebsd-12-stable/sys/contrib/dev/acpica/components/dispatcher/ |
| D | dswscope.c | 188 WalkState->ScopeInfo = ScopeInfo->Scope.Next; in AcpiDsScopeStackClear() 254 ScopeInfo->Scope.Node = Node; in AcpiDsScopeStackPush() 267 AcpiUtGetNodeName (OldScopeInfo->Scope.Node), in AcpiDsScopeStackPush() 277 AcpiUtGetNodeName (ScopeInfo->Scope.Node), in AcpiDsScopeStackPush() 324 AcpiUtGetNodeName (ScopeInfo->Scope.Node), in AcpiDsScopeStackPop() 331 AcpiUtGetNodeName (NewScopeInfo->Scope.Node), in AcpiDsScopeStackPop()
|
| /freebsd-12-stable/contrib/llvm-project/lld/lib/ReaderWriter/MachO/ |
| D | Atoms.h | 29 MachODefinedAtom(const File &f, const StringRef name, Scope scope, in MachODefinedAtom() 37 MachODefinedAtom(const File &f, const StringRef name, Scope scope, in MachODefinedAtom() 55 Scope scope() const override { return _scope; } in scope() 81 const Scope _scope; 90 Scope scope, ContentType type, Merge merge, in MachODefinedCustomSectionAtom() 113 MachOTentativeDefAtom(const File &f, const StringRef name, Scope scope, in MachOTentativeDefAtom() 130 Scope scope() const override { return _scope; } in scope() 136 const Scope _scope;
|
| /freebsd-12-stable/contrib/llvm-project/clang/lib/AST/Interp/ |
| D | Function.h | 32 class Scope { 44 Scope(LocalVectorTy &&Descriptors) : Descriptors(std::move(Descriptors)) {} in Scope() function 86 llvm::iterator_range<llvm::SmallVector<Scope, 2>::iterator> scopes() { in scopes() 97 Scope &getScope(unsigned Idx) { return Scopes[Idx]; } in getScope() 119 llvm::SmallVector<Scope, 2> &&NewScopes) { in setCode() argument 146 llvm::SmallVector<Scope, 2> Scopes;
|
| /freebsd-12-stable/contrib/llvm-project/llvm/tools/llvm-pdbutil/ |
| D | LinePrinter.h | 106 inline Optional<PrintScope> withLabelWidth(const Optional<PrintScope> &Scope, in withLabelWidth() argument 108 if (!Scope) in withLabelWidth() 110 return PrintScope{*Scope, W}; in withLabelWidth() 118 explicit AutoIndent(const Optional<PrintScope> &Scope) { in AutoIndent() 119 if (Scope.hasValue()) { in AutoIndent() 120 L = &Scope->P; in AutoIndent() 121 Amount = Scope->IndentLevel; in AutoIndent()
|
| /freebsd-12-stable/contrib/llvm-project/clang/lib/Parse/ |
| D | ParseStmt.cpp | 506 Scope::DeclScope | Scope::CompoundStmtScope | Scope::SEHTryScope)); in ParseSEHTryBlock() 544 ParseScope ExpectScope(this, Scope::DeclScope | Scope::ControlScope | in ParseSEHExceptBlock() 545 Scope::SEHExceptScope); in ParseSEHExceptBlock() 556 Scope::SEHFilterScope); in ParseSEHExceptBlock() 883 Scope::DeclScope | Scope::CompoundStmtScope); in ParseCompoundStatement() 1374 ParseScope IfScope(this, Scope::DeclScope | Scope::ControlScope, C99orCXX); in ParseIfStatement() 1411 ParseScope InnerScope(this, Scope::DeclScope, C99orCXX, IsBracedThen); in ParseIfStatement() 1455 ParseScope InnerScope(this, Scope::DeclScope, C99orCXX, in ParseIfStatement() 1529 unsigned ScopeFlags = Scope::SwitchScope; in ParseSwitchStatement() 1531 ScopeFlags |= Scope::DeclScope | Scope::ControlScope; in ParseSwitchStatement() [all …]
|