| /freebsd/contrib/llvm-project/clang/include/clang/Sema/ |
| H A D | Scope.h | 41 class Scope { 175 Scope *AnyParent; 201 Scope *FnParent; 202 Scope *MSLastManglingParent; 208 Scope *BreakParent, *ContinueParent; 212 Scope *BlockParent; 218 Scope *TemplateParamParent; 222 Scope *DeclParent; 258 void setFlags(Scope *Parent, unsigned F); 261 Scope(Scope *Parent, unsigned ScopeFlags, DiagnosticsEngine &Diag) in Scope() function [all …]
|
| H A D | SemaCodeCompletion.h | 35 class Scope; variable 98 void CodeCompleteOrdinaryName(Scope *S, 100 void CodeCompleteDeclSpec(Scope *S, DeclSpec &DS, bool AllowNonIdentifiers, 104 void CodeCompleteExpression(Scope *S, const CodeCompleteExpressionData &Data); 105 void CodeCompleteExpression(Scope *S, QualType PreferredType, 107 void CodeCompleteMemberReferenceExpr(Scope *S, Expr *Base, Expr *OtherOpBase, 111 void CodeCompletePostfixExpression(Scope *S, ExprResult LHS, 113 void CodeCompleteTag(Scope *S, unsigned TagSpec); 117 void CodeCompleteBracketDeclarator(Scope *S); 118 void CodeCompleteCase(Scope *S); [all …]
|
| H A D | SemaObjC.h | 49 class Scope; variable 75 Scope *CurScope); 91 Scope *S, SourceLocation Loc, ParsedType BaseType, 237 DeclResult actOnObjCTypeParam(Scope *S, ObjCTypeParamVariance variance, 243 ObjCTypeParamList *actOnObjCTypeParamList(Scope *S, SourceLocation lAngleLoc, 246 void popObjCTypeParamList(Scope *S, ObjCTypeParamList *typeParamList); 249 Scope *S, SourceLocation AtInterfaceLoc, IdentifierInfo *ClassName, 258 Scope *S, SourceLocation AtInterfaceLoc, ObjCInterfaceDecl *IDecl, 327 Scope *S, ParsedType baseType, SourceLocation lAngleLoc, 338 Decl *ActOnAtEnd(Scope *S, SourceRange AtEnd, [all …]
|
| /freebsd/sys/contrib/dev/acpica/components/parser/ |
| H A 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/contrib/llvm-project/llvm/lib/CodeGen/ |
| H A 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/contrib/llvm-project/llvm/lib/DebugInfo/LogicalView/Core/ |
| H A D | LVScope.cpp | 170 void LVScope::addElement(LVScope *Scope) { in addElement() argument 171 assert(Scope && "Invalid scope."); in addElement() 172 assert(!Scope->getParent() && "Scope already inserted"); in addElement() 177 Scopes->push_back(Scope); in addElement() 178 addToChildren(Scope); in addElement() 179 Scope->setParent(this); in addElement() 182 getReaderCompileUnit()->addedElement(Scope); in addElement() 187 if (Scope->getIsGlobalReference()) in addElement() 449 for (LVScope *Scope : *Scopes) { in resolveElements() 450 LVScopeCompileUnit *CompileUnit = static_cast<LVScopeCompileUnit *>(Scope); in resolveElements() [all …]
|
| H A D | LVRange.cpp | 30 LVScope *Scope = RangeEntry.scope(); in startSearch() 31 dbgs() << "Scope: " << format_decimal(Scope->getLevel(), 5) << " " in startSearch() 52 void LVRange::addEntry(LVScope *Scope, LVAddress LowerAddress, in addEntry() argument 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() 89 LVScope *Scope = nullptr; in getEntry() local 95 Scope = Iter->value(); in getEntry() [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/ |
| H A D | ControlHeightReduction.cpp | 241 auto *Scope = new CHRScope(TailRegInfos, TailSubs); in split() local 244 return Scope; in split() 294 for (CHRScope *Scope : Scopes) { in ~CHR() 295 delete Scope; in ~CHR() 307 if (CHRScope *Scope = findScopes(R, nullptr, nullptr, Output)) { in findScopes() local 308 Output.push_back(Scope); in findScopes() 314 void checkScopeHoistable(CHRScope *Scope); 318 SmallVector<CHRScope *, 8> splitScope(CHRScope *Scope, 326 void classifyBiasedScopes(CHRScope *Scope, CHRScope *OutermostScope); 333 void setCHRRegions(CHRScope *Scope, CHRScope *OutermostScope); [all …]
|
| /freebsd/contrib/llvm-project/clang/lib/CodeGen/ |
| H A D | CGCleanup.cpp | 171 EHCleanupScope *Scope = in pushCleanup() local 183 Scope->setLifetimeMarker(); in pushCleanup() 185 Scope->setFakeUse(); in pushCleanup() 197 return Scope->getCleanupBuffer(); in pushCleanup() 431 EHCleanupScope &Scope = cast<EHCleanupScope>(*EHStack.begin()); in PopCleanupBlocks() local 432 HadBranches |= Scope.hasBranches(); in PopCleanupBlocks() 438 Old.strictlyEncloses(Scope.getEnclosingNormalCleanup()); in PopCleanupBlocks() 513 EHCleanupScope &Scope) { in CreateNormalEntry() argument 514 assert(Scope.isNormalCleanup()); in CreateNormalEntry() 515 llvm::BasicBlock *Entry = Scope.getNormalBlock(); in CreateNormalEntry() [all …]
|
| /freebsd/contrib/llvm-project/clang/lib/Basic/ |
| H A D | Attributes.cpp | 83 const IdentifierInfo *Scope, const IdentifierInfo *Attr, in hasAttribute() argument 86 return hasAttribute(Syntax, Scope ? Scope->getName() : "", Attr->getName(), in hasAttribute() 91 const IdentifierInfo *Scope, const IdentifierInfo *Attr, in hasAttribute() argument 93 return hasAttribute(Syntax, Scope, Attr, Target, LangOpts, in hasAttribute() 180 const IdentifierInfo *Scope, in normalizeName() argument 182 StringRef ScopeName = normalizeAttrScopeName(Scope, SyntaxUsed); in normalizeName() 223 static AttributeCommonInfo::Scope 225 return llvm::StringSwitch<AttributeCommonInfo::Scope>(ScopeName) in getScopeFromNormalizedScopeName() 226 .Case("", AttributeCommonInfo::Scope::NONE) in getScopeFromNormalizedScopeName() 227 .Case("clang", AttributeCommonInfo::Scope::CLANG) in getScopeFromNormalizedScopeName() [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
| H A D | SIMemoryLegalizer.cpp | 99 SIAtomicScope Scope = SIAtomicScope::SYSTEM; member in __anone9343ac70111::SIMemOpInfo 109 SIAtomicScope Scope = SIAtomicScope::SYSTEM, in SIMemOpInfo() argument 116 : Ordering(Ordering), FailureOrdering(FailureOrdering), Scope(Scope), in SIMemOpInfo() 123 assert(Scope == SIAtomicScope::NONE && in SIMemOpInfo() 130 assert(Scope != SIAtomicScope::NONE && in SIMemOpInfo() 147 this->Scope = std::min(Scope, SIAtomicScope::SINGLETHREAD); in SIMemOpInfo() 151 this->Scope = std::min(Scope, SIAtomicScope::WORKGROUP); in SIMemOpInfo() 155 this->Scope = std::min(Scope, SIAtomicScope::AGENT); in SIMemOpInfo() 163 return Scope; in getScope() 298 SIAtomicScope Scope, [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/DebugInfo/LogicalView/Readers/ |
| H A D | LVBinaryReader.cpp | 31 It->second.Scope = Function; in add() 51 LVScope *Function = It->second.Scope; in add() 75 It->second.Scope = Function; in update() 111 LVScope *Scope = SymbolName.Scope; in print() local 112 LVOffset Offset = Scope ? Scope->getOffset() : 0; in print() 339 LVBinaryReader::getSection(LVScope *Scope, LVAddress Address, in getSection() argument 349 Scope->getName().str().c_str()); in getSection() 361 Scope->getName().str().c_str()); in getSection() 370 Error LVBinaryReader::createInstructions(LVScope *Scope, in createInstructions() argument 373 assert(Scope && "Scope is null."); in createInstructions() [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/IR/ |
| H A D | LLVMContextImpl.h | 313 Metadata *Scope; 323 MDNodeKeyImpl(unsigned Line, uint16_t Column, Metadata *Scope, 326 : Scope(Scope), InlinedAt(InlinedAt), 334 : Scope(L->getRawScope()), InlinedAt(L->getRawInlinedAt()), 344 Scope == RHS->getRawScope() && InlinedAt == RHS->getRawInlinedAt() && 364 return hash_combine(Line, Column, Scope, InlinedAt, ImplicitCode, 367 return hash_combine(Line, Column, Scope, InlinedAt, ImplicitCode); 612 Metadata *Scope; 624 Metadata *Scope, Metadata *BaseType, Metadata *SizeInBits, 629 : Tag(Tag), Name(Name), File(File), Line(Line), Scope(Scope), [all …]
|
| H A D | DroppedVariableStats.cpp | 71 DILocation *DbgLoc, const DIScope *Scope, const DIScope *DbgValScope, in updateDroppedCount() argument 77 if (isScopeChildOfOrEqualTo(Scope, DbgValScope)) in updateDroppedCount() 117 bool DroppedVariableStats::isScopeChildOfOrEqualTo(const DIScope *Scope, in isScopeChildOfOrEqualTo() argument 119 while (Scope != nullptr) { in isScopeChildOfOrEqualTo() 120 if (VisitedScope.insert(Scope).second) { in isScopeChildOfOrEqualTo() 121 if (Scope == DbgValScope) { in isScopeChildOfOrEqualTo() 125 Scope = Scope->getScope(); in isScopeChildOfOrEqualTo()
|
| H A D | DIBuilder.cpp | 422 DIScope *Scope, StringRef Name, DIFile *File, unsigned LineNumber, in createMemberType() argument 426 LineNumber, getNonCompileUnitScope(Scope), Ty, in createMemberType() 432 DIScope *Scope, StringRef Name, DIFile *File, unsigned LineNumber, in createMemberType() argument 436 LineNumber, getNonCompileUnitScope(Scope), Ty, in createMemberType() 448 DIScope *Scope, StringRef Name, DIFile *File, unsigned LineNumber, in createVariantMemberType() argument 456 getNonCompileUnitScope(Scope), Ty, SizeInBits, AlignInBits, OffsetInBits, in createVariantMemberType() 460 DIDerivedType *DIBuilder::createVariantMemberType(DIScope *Scope, in createVariantMemberType() argument 465 0, getNonCompileUnitScope(Scope), {}, in createVariantMemberType() 470 return createVariantMemberType(Scope, {}, nullptr, 0, 0, 0, 0, Discriminant, in createVariantMemberType() 475 DIScope *Scope, StringRef Name, DIFile *File, unsigned LineNumber, in createBitFieldMemberType() argument [all …]
|
| H A D | DebugInfo.cpp | 170 DISubprogram *llvm::getDISubprogram(const MDNode *Scope) { in getDISubprogram() argument 171 if (auto *LocalScope = dyn_cast_or_null<DILocalScope>(Scope)) in getDISubprogram() 179 MDNode *Scope = DeclareLoc.getScope(); in getDebugValueLoc() local 185 return DILocation::get(DII->getContext(), 0, 0, Scope, InlinedAt); in getDebugValueLoc() 191 MDNode *Scope = DeclareLoc.getScope(); in getDebugValueLoc() local 197 return DILocation::get(DVR->getContext(), 0, 0, Scope, InlinedAt); in getDebugValueLoc() 309 void DebugInfoFinder::processScope(DIScope *Scope) { in processScope() argument 310 if (!Scope) in processScope() 312 if (auto *Ty = dyn_cast<DIType>(Scope)) { in processScope() 316 if (auto *CU = dyn_cast<DICompileUnit>(Scope)) { in processScope() [all …]
|
| /freebsd/contrib/llvm-project/clang/lib/Sema/ |
| H A D | Scope.cpp | 20 void Scope::setFlags(Scope *parent, unsigned flags) { in setFlags() 95 void Scope::Init(Scope *parent, unsigned flags) { in Init() 105 bool Scope::containedInPrototypeScope() const { in containedInPrototypeScope() 106 const Scope *S = this; in containedInPrototypeScope() 115 void Scope::AddFlags(unsigned FlagsToSet) { in AddFlags() 136 void Scope::updateNRVOCandidate(VarDecl *VD) { in updateNRVOCandidate() 137 auto UpdateReturnSlotsInScopeForVD = [VD](Scope *S) -> bool { in updateNRVOCandidate() 165 void Scope::applyNRVO() { in applyNRVO() 196 LLVM_DUMP_METHOD void Scope::dump() const { dumpImpl(llvm::errs()); } in dump() 198 void Scope::dumpImpl(raw_ostream &OS) const { in dumpImpl() [all …]
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/DebugInfo/LogicalView/Core/ |
| H A D | LVScope.h | 220 void addElement(LVScope *Scope); 306 virtual bool equalNumberOfChildren(const LVScope *Scope) const; 309 virtual bool equals(const LVScope *Scope) const; 343 void setReference(LVScope *Scope) override { in setReference() argument 344 Reference = Scope; in setReference() 359 bool equals(const LVScope *Scope) const override; 380 bool equals(const LVScope *Scope) const override; 396 bool equals(const LVScope *Scope) const override; 484 LVLine *lineLowerBound(LVAddress Address, LVScope *Scope) const; 485 LVLine *lineUpperBound(LVAddress Address, LVScope *Scope) const; [all …]
|
| H A D | LVRange.h | 29 LVScope *Scope = nullptr; variable 35 LVRangeEntry(LVAddress LowerAddress, LVAddress UpperAddress, LVScope *Scope) in LVRangeEntry() argument 36 : Lower(LowerAddress), Upper(UpperAddress), Scope(Scope) {} in LVRangeEntry() 43 LVScope *scope() const { return Scope; } in scope() 67 void addEntry(LVScope *Scope, LVAddress LowerAddress, LVAddress UpperAddress); 68 void addEntry(LVScope *Scope);
|
| H A D | LVReader.h | 98 LV_OBJECT_ALLOCATOR(Scope) 154 void addSectionRange(LVSectionIndex SectionIndex, LVScope *Scope); 155 void addSectionRange(LVSectionIndex SectionIndex, LVScope *Scope, 229 LV_CREATE_OBJECT(Scope) in LV_CREATE_OBJECT() 274 void setCompileUnit(LVScope *Scope) { in setCompileUnit() argument 275 assert(Scope && Scope->isCompileUnit() && "Scope is not a compile unit"); in setCompileUnit() 276 CompileUnit = static_cast<LVScopeCompileUnit *>(Scope); in setCompileUnit() 298 virtual LVSectionIndex getSectionIndex(LVScope *Scope) { in getSectionIndex() argument 314 void notifyAddedElement(LVScope *Scope) { in notifyAddedElement() argument 316 Scopes.push_back(Scope); in notifyAddedElement() [all …]
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/IR/ |
| H A D | DIBuilder.h | 382 DIScope *Scope, StringRef Name, DIFile *File, unsigned LineNo, 398 createMemberType(DIScope *Scope, StringRef Name, DIFile *File, 419 DIScope *Scope, StringRef Name, DIFile *File, unsigned LineNo, 433 LLVM_ABI DIDerivedType *createVariantMemberType(DIScope *Scope, 450 DIScope *Scope, StringRef Name, DIFile *File, unsigned LineNo, 467 DIScope *Scope, StringRef Name, DIFile *File, unsigned LineNo, 483 LLVM_ABI DIDerivedType *createStaticMemberType(DIScope *Scope, 540 DIScope *Scope, StringRef Name, DIFile *File, unsigned LineNumber, 563 DIScope *Scope, StringRef Name, DIFile *File, unsigned LineNumber, 586 DIScope *Scope, StringRef Name, DIFile *File, unsigned LineNumber, [all …]
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/DebugInfo/LogicalView/Readers/ |
| H A D | LVBinaryReader.h | 37 LVScope *Scope = nullptr; member 42 LVSymbolTableEntry(LVScope *Scope, LVAddress Address, in LVSymbolTableEntry() 44 : Scope(Scope), Address(Address), SectionIndex(SectionIndex), in LVSymbolTableEntry() 174 getSection(LVScope *Scope, LVAddress Address, LVSectionIndex SectionIndex); 196 void addInlineeLines(LVScope *Scope, LVLines &Lines) { in addInlineeLines() argument 197 CUInlineeLines.emplace(Scope, std::make_unique<LVLines>(std::move(Lines))); in addInlineeLines() 217 LVSectionIndex getSectionIndex(LVScope *Scope) override { in getSectionIndex() argument 218 return Scope ? getSymbolTableIndex(Scope->getLinkageName()) in getSectionIndex()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm-c/ |
| H A D | DebugInfo.h | 381 LLVMDIBuilderRef Builder, LLVMMetadataRef Scope, const char *Name, 396 LLVMDIBuilderRef Builder, LLVMMetadataRef Scope, LLVMMetadataRef File, 407 LLVMDIBuilderRef Builder, LLVMMetadataRef Scope, LLVMMetadataRef File, 419 LLVMDIBuilderRef Builder, LLVMMetadataRef Scope, LLVMMetadataRef NS, 434 LLVMDIBuilderRef Builder, LLVMMetadataRef Scope, 449 LLVMDIBuilderRef Builder, LLVMMetadataRef Scope, LLVMMetadataRef M, 469 LLVMDIBuilderRef Builder, LLVMMetadataRef Scope, LLVMMetadataRef Decl, 484 LLVMContextRef Ctx, unsigned Line, unsigned Column, LLVMMetadataRef Scope, 525 LLVM_C_ABI LLVMMetadataRef LLVMDIScopeGetFile(LLVMMetadataRef Scope); 649 LLVMDIBuilderRef Builder, LLVMMetadataRef Scope, const char *Name, [all …]
|
| /freebsd/contrib/byacc/test/ |
| H A 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/sys/contrib/dev/acpica/components/dispatcher/ |
| H A 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()
|