/llvm-project/flang/lib/Semantics/ |
H A D | check-return.cpp | 19 const Scope &scope{GetProgramUnitContaining(start)}; in FindContainingSubprogram() local 32 const auto &scope{context_.FindScope(context_.location().value())}; in Leave() local
|
H A D | runtime-type-info.cpp | 199 SaveDerivedPointerTarget(Scope & scope,SourceName name,std::vector<evaluate::StructureConstructor> && x,evaluate::ConstantSubscripts && shape) SaveDerivedPointerTarget() argument 235 DescribeTypes(Scope & scope,bool inSchemata) DescribeTypes() argument 262 GetContainingNonDerivedScope(Scope & scope) GetContainingNonDerivedScope() argument 272 const Scope &scope{ GetSchemaField() local 324 SaveNumericPointerTarget(Scope & scope,SourceName name,std::vector<typename T::Scalar> && x) SaveNumericPointerTarget() argument 352 SaveObjectInit(Scope & scope,SourceName name,const ObjectEntityDetails & object) SaveObjectInit() argument 452 Scope &scope{ DescribeType() local 701 CreateObject(const std::string & name,const DeclTypeSpec & type,Scope & scope) CreateObject() argument 717 SaveNameAsPointerTarget(Scope & scope,const std::string & name) SaveNameAsPointerTarget() argument 742 DescribeComponent(const Symbol & symbol,const ObjectEntityDetails & object,Scope & scope,Scope & dtScope,const std::string & distinctName,const SymbolVector * parameters) DescribeComponent() argument 883 DescribeComponent(const Symbol & symbol,const ProcEntityDetails & proc,Scope & scope) DescribeComponent() argument 917 InitializeDataPointer(evaluate::StructureConstructorValues & values,const Symbol & symbol,const ObjectEntityDetails & object,Scope & scope,Scope & dtScope,const std::string & distinctName) InitializeDataPointer() argument 1017 DescribeBindings(const Scope & dtScope,Scope & scope) DescribeBindings() argument 1221 IncorporateDefinedIoGenericInterfaces(std::map<int,evaluate::StructureConstructor> & specials,common::DefinedIo definedIo,const Scope * scope,const DerivedTypeSpec * derivedTypeSpec) IncorporateDefinedIoGenericInterfaces() argument 1284 FindGenericDefinedIo(const Scope & scope,common::DefinedIo which) FindGenericDefinedIo() argument 1298 CollectNonTbpDefinedIoGenericInterfaces(const Scope & scope,bool useRuntimeTypeInfoEntries) CollectNonTbpDefinedIoGenericInterfaces() argument 1371 FindSpecificDefinedIo(const Scope & scope,const evaluate::DynamicType & derived,common::DefinedIo which) FindSpecificDefinedIo() argument 1389 ShouldIgnoreRuntimeTypeInfoNonTbpGenericInterfaces(const Scope & scope,const DerivedTypeSpec * derived) ShouldIgnoreRuntimeTypeInfoNonTbpGenericInterfaces() argument 1415 ShouldIgnoreRuntimeTypeInfoNonTbpGenericInterfaces(const Scope & scope,const DeclTypeSpec * type) ShouldIgnoreRuntimeTypeInfoNonTbpGenericInterfaces() argument 1422 ShouldIgnoreRuntimeTypeInfoNonTbpGenericInterfaces(const Scope & scope,const Symbol * symbol) ShouldIgnoreRuntimeTypeInfoNonTbpGenericInterfaces() argument [all...] |
H A D | definable.cpp | 33 const char *WhyBaseObjectIsSuspicious(const Symbol &x, const Scope &scope) { in WhyBaseObjectIsSuspicious() argument 99 const Scope &scope, DefinabilityFlags flags, const Symbol &original, in WhyNotDefinableBase() argument 179 WhyNotDefinableLast(parser::CharBlock at,const Scope & scope,DefinabilityFlags flags,const Symbol & original) WhyNotDefinableLast() argument 233 WhyNotDefinable(parser::CharBlock at,const Scope & scope,DefinabilityFlags flags,const evaluate::DataRef & dataRef) WhyNotDefinable() argument 246 WhyNotDefinable(parser::CharBlock at,const Scope & scope,DefinabilityFlags flags,const Symbol & original) WhyNotDefinable() argument 297 WhyNotDefinable(parser::CharBlock at,const Scope & scope,DefinabilityFlags flags,const evaluate::Expr<evaluate::SomeType> & expr) WhyNotDefinable() argument [all...] |
H A D | tools.cpp | 30 for (const Scope *scope{&start};; scope = &scope->parent()) { in FindScopeContaining() local 43 start, [](const Scope &scope) { return scope in GetTopLevelUnitContaining() argument 52 __anoncd7d90970202(const Scope &scope) FindModuleContaining() argument 57 __anoncd7d90970302(const Scope &scope) FindModuleFileContaining() argument 62 __anoncd7d90970402(const Scope &scope) GetProgramUnitContaining() argument 81 __anoncd7d90970502(const Scope &scope) GetProgramUnitOrBlockConstructContaining() argument 106 const Scope &scope{GetProgramUnitContaining(start)}; FindPureProcedureContaining() local 111 FindOpenACCConstructContaining(const Scope * scope) FindOpenACCConstructContaining() argument 231 IsUseAssociated(const Symbol & symbol,const Scope & scope) IsUseAssociated() argument 241 __anoncd7d90970702(const Scope &scope) DoesScopeContain() argument 258 IsHostAssociated(const Symbol & symbol,const Scope & scope) IsHostAssociated() argument 265 IsHostAssociatedIntoSubprogram(const Symbol & symbol,const Scope & scope) IsHostAssociatedIntoSubprogram() argument 302 IsBindCProcedure(const Scope & scope) IsBindCProcedure() argument 311 FindPointerComponent(const Scope & scope,std::set<const Scope * > & visited) FindPointerComponent() argument 344 FindPointerComponent(const Scope & scope) FindPointerComponent() argument 350 if (const Scope * scope{derived.scope()}) { FindPointerComponent() local 375 FindExternallyVisibleObject(const Symbol & object,const Scope & scope,bool isPointerDefinition) FindExternallyVisibleObject() argument 601 FindParentTypeSpec(const Scope & scope) FindParentTypeSpec() argument 611 if (const Scope * scope{symbol.scope()}) { FindParentTypeSpec() local 898 GetStorageAssociations(const Scope & scope) GetStorageAssociations() argument 1107 FindCUDADeviceContext(const Scope * scope) FindCUDADeviceContext() argument 1120 CheckAccessibleSymbol(const Scope & scope,const Symbol & symbol) CheckAccessibleSymbol() argument 1159 FindOrInstantiateDerivedType(Scope & scope,DerivedTypeSpec && spec,DeclTypeSpec::Category category) FindOrInstantiateDerivedType() argument 1334 const Scope &scope{deepest.GetScope()}; Increment() local 1442 if (const Scope * scope{type.scope()}) { FindImmediateComponent() local 1617 HasDefinedIo(common::DefinedIo which,const DerivedTypeSpec & derived,const Scope * scope) HasDefinedIo() argument [all...] |
H A D | pointer-assignment.cpp | 44 PointerAssignmentChecker(SemanticsContext &context, const Scope &scope, in PointerAssignmentChecker() argument 49 SemanticsContext &context, const Scope &scope, const Symbol &lhs) in PointerAssignmentChecker() argument 506 CheckPointerAssignment(SemanticsContext & context,const evaluate::Assignment & assignment,const Scope & scope) CheckPointerAssignment() argument 513 CheckPointerAssignment(SemanticsContext & context,const SomeExpr & lhs,const SomeExpr & rhs,const Scope & scope,bool isBoundsRemapping,bool isAssumedRank) CheckPointerAssignment() argument 528 CheckStructConstructorPointerComponent(SemanticsContext & context,const Symbol & lhs,const SomeExpr & rhs,const Scope & scope) CheckStructConstructorPointerComponent() argument 536 CheckPointerAssignment(SemanticsContext & context,parser::CharBlock source,const std::string & description,const DummyDataObject & lhs,const SomeExpr & rhs,const Scope & scope,bool isAssumedRank) CheckPointerAssignment() argument 546 CheckInitialDataPointerTarget(SemanticsContext & context,const SomeExpr & pointer,const SomeExpr & init,const Scope & scope) CheckInitialDataPointerTarget() argument [all...] |
H A D | assignment.cpp | 68 const Scope &scope{context_.FindScope(lhsLoc)}; in Analyze() local 112 CheckCopyabilityInPureScope(parser::ContextualMessages & messages,const SomeExpr & expr,const Scope & scope) CheckCopyabilityInPureScope() argument 130 const Scope &scope{context_.FindScope(rhsSource)}; CheckForPureContext() local
|
H A D | mod-file.cpp | 73 SubprogramSymbolCollector(const Symbol &symbol, const Scope &scope) in SubprogramSymbolCollector() argument 110 void ModFileWriter::WriteAll(const Scope &scope) { in WriteAll() argument 116 void ModFileWriter::WriteOne(const Scope &scope) { in WriteOne() argument 209 HarvestSymbolsNeededFromOtherModules(SourceOrderedSymbolSet & set,const Symbol & symbol,const Scope & scope) HarvestSymbolsNeededFromOtherModules() argument 268 HarvestSymbolsNeededFromOtherModules(SourceOrderedSymbolSet & set,const Scope & scope) HarvestSymbolsNeededFromOtherModules() argument 274 PrepareRenamings(const Scope & scope) PrepareRenamings() argument 341 PutSymbols(const Scope & scope) PutSymbols() argument 386 const auto &scope{DEREF(typeSymbol.scope())}; PutComponents() local 519 PutDerivedType(const Symbol & typeSymbol,const Scope * scope) PutDerivedType() argument 557 PutDECStructure(const Symbol & typeSymbol,const Scope * scope) PutDECStructure() argument 735 const Scope &scope{ PutSubprogram() local 830 CollectSymbols(const Scope & scope,SymbolVector & sorted,SymbolVector & uses,UnorderedSymbolSet & modules) CollectSymbols() argument 1339 if (auto *scope{ancestor->FindSubmodule(name)}) { Read() local 1350 Scope *scope{it->second->scope()}; Read() local 1651 const auto &scope{symbol.owner()}; DoSymbol() local [all...] |
H A D | check-nullify.cpp | 21 const Scope &scope{context_.FindScope(*context_.location())}; in Leave() local
|
/llvm-project/clang-tools-extra/test/clang-tidy/checkers/misc/ |
H A D | const-correctness-unaligned.cpp | 12 void scope() { in scope() function
|
/llvm-project/mlir/lib/Dialect/SPIRV/IR/ |
H A D | GroupOps.cpp | 89 spirv::Scope scope = verifyGroupNonUniformArithmeticOp() local 128 spirv::Scope scope = getExecutionScope(); verify() local 146 spirv::Scope scope = getExecutionScope(); verify() local 158 spirv::Scope scope = getExecutionScope(); verify() local 184 spirv::Scope scope = op.getExecutionScope(); verifyGroupNonUniformShuffleOp() local 212 spirv::Scope scope = getExecutionScope(); verify() local 513 spirv::Scope scope = op.getExecutionScope(); verifyGroupOp() local [all...] |
/llvm-project/llvm/lib/Support/ |
H A D | ELFAttributeParser.cpp | 43 DictScope scope(*sw, "Attribute"); in integerAttribute() local 59 DictScope scope(*sw, "Attribute"); in stringAttribute() local 180 DictScope scope(*sw, scopeName); in parseSubsection() local
|
/llvm-project/flang/lib/Optimizer/Transforms/ |
H A D | DebugTypeGenerator.cpp | 86 convertBoxedSequenceType(fir::SequenceType seqTy,mlir::LLVM::DIFileAttr fileAttr,mlir::LLVM::DIScopeAttr scope,mlir::Location loc,bool genAllocated,bool genAssociated) convertBoxedSequenceType() argument 158 convertSequenceType(fir::SequenceType seqTy,mlir::LLVM::DIFileAttr fileAttr,mlir::LLVM::DIScopeAttr scope,mlir::Location loc) convertSequenceType() argument 197 convertCharacterType(fir::CharacterType charTy,mlir::LLVM::DIFileAttr fileAttr,mlir::LLVM::DIScopeAttr scope,mlir::Location loc,bool hasDescriptor) convertCharacterType() argument 244 convertPointerLikeType(mlir::Type elTy,mlir::LLVM::DIFileAttr fileAttr,mlir::LLVM::DIScopeAttr scope,mlir::Location loc,bool genAllocated,bool genAssociated) convertPointerLikeType() argument 269 convertType(mlir::Type Ty,mlir::LLVM::DIFileAttr fileAttr,mlir::LLVM::DIScopeAttr scope,mlir::Location loc) convertType() argument [all...] |
/llvm-project/clang/lib/ARCMigrate/ |
H A D | TransAutoreleasePool.cpp | 97 PoolScope &scope = *scpI; in ~AutoreleasePoolRewriter() local 121 PoolScope &scope = *scpI; in ~AutoreleasePoolRewriter() local 152 PoolScope &scope = *scpI; in ~AutoreleasePoolRewriter() local 207 PoolScope &scope = Scopes.back(); in VisitCompoundStmt() local 254 NameReferenceChecker(ASTContext &ctx, PoolScope &scope, in NameReferenceChecker() 296 void handlePoolScope(PoolScope &scope, CompoundStmt *compoundS) { in handlePoolScope()
|
/llvm-project/clang/test/Parser/ |
H A D | gh30908-scope-balance-on-invalid-var-direct-init-2.cpp | 10 E(S* scope) {} in E()
|
/llvm-project/mlir/lib/Tools/PDLL/Parser/ |
H A D | CodeComplete.cpp | 28 const ast::DeclScope *scope) {} in codeCompleteConstraintName()
|
/llvm-project/mlir/lib/Bindings/Python/ |
H A D | TransformInterpreter.cpp | 89 mlir::python::CollectDiagnosticsToStringScope scope( in populateTransformInterpreterSubmodule() local 64 mlir::python::CollectDiagnosticsToStringScope scope( populateTransformInterpreterSubmodule() local
|
H A D | DialectLLVM.cpp | 34 CollectDiagnosticsToStringScope scope(mlirLocationGetContext(loc)); populateDialectLLVMSubmodule() local 122 CollectDiagnosticsToStringScope scope(context); populateDialectLLVMSubmodule() local
|
/llvm-project/mlir/unittests/Support/ |
H A D | IndentedOstreamTest.cpp | 56 raw_indented_ostream::DelimitedScope scope(ros); TEST() local 60 raw_indented_ostream::DelimitedScope scope(ros, "{\n", "\n}\n"); TEST() local
|
/llvm-project/mlir/lib/Target/LLVMIR/ |
H A D | DebugImporter.cpp | 131 if (node->getScope() && !scope) in translateImpl() local 141 if (node->getScope() && !scope) in translateImpl() local 151 DIScopeAttr scope = translate(node->getScope()); translateImpl() local 177 DIScopeAttr scope = translate(node->getScope()); translateImpl() local 216 DIScopeAttr scope = translate(node->getScope()); translateImpl() local [all...] |
/llvm-project/mlir/tools/mlir-tblgen/ |
H A D | AttrOrTypeDefGen.cpp | 382 auto scope = body.scope("return Base::get(context", ");"); emitDefaultBuilder() local 394 auto scope = body.scope("return Base::getChecked(emitError, context", ");"); emitCheckedBuilder() local 531 auto scope = body.scope("return (", ");"); emitEquals() local 545 auto scope = body.scope("return ::llvm::hash_combine(", ");"); emitHashKey() local 573 auto scope = emitConstruct() local 673 IfDefScope scope("GET_" + defType.upper() + "DEF_CLASSES", os); emitDecls() local 709 IfDefScope scope("GET_" + defType.upper() + "DEF_LIST", os); emitTypeDefList() local 900 IfDefScope scope("GET_" + defType.upper() + "DEF_CLASSES", os); emitDefs() local [all...] |
/llvm-project/mlir/utils/vscode/ |
H A D | package.json | 154 "scope": "resource", string 159 "scope": "resource", string 164 "scope": "resource", string 169 "scope": "resource", string 174 "scope": "resource", string
|
/llvm-project/clang/test/SemaCXX/ |
H A D | warn-thread-safety-analysis.cpp | 2740 RelockableExclusiveMutexLock scope(&mu); relock() local 2751 RelockableExclusiveMutexLock scope(&mu, DeferTraits{}); deferLock() local 2758 RelockableMutexLock scope(&mu, SharedTraits{}); relockExclusive() local 2775 RelockableMutexLock scope(&mu, ExclusiveTraits{}); relockShared() local 2792 RelockableMutexLock scope(&mu, DeferTraits{}); deferLockShared() local 2800 RelockableExclusiveMutexLock scope(&mu); doubleUnlock() local 2806 RelockableExclusiveMutexLock scope(&mu); // expected-note{{mutex acquired here}} doubleLock1() local 2811 RelockableExclusiveMutexLock scope(&mu); doubleLock2() local 2818 RelockableMutexLock scope(&mu, DeferTraits{}); lockJoin() local 2826 RelockableMutexLock scope(&mu, DeferTraits{}); unlockJoin() local 2835 RelockableMutexLock scope(&mu, DeferTraits{}); loopAcquire() local 2841 RelockableMutexLock scope(&mu, ExclusiveTraits{}); // expected-note {{mutex acquired here}} loopRelease() local 2851 RelockableMutexLock scope(&mu, SharedTraits{}); loopPromote() local 2860 RelockableMutexLock scope(&mu, ExclusiveTraits{}); // expected-note {{the other acquisition of mutex 'mu' is here}} loopDemote() local 2870 RelockableMutexLock scope(&mu, DeferTraits{}); loopAcquireContinue() local 2881 RelockableMutexLock scope(&mu, ExclusiveTraits{}); // expected-note {{mutex acquired here}} loopReleaseContinue() local 2893 RelockableMutexLock scope(&mu, SharedTraits{}); loopPromoteContinue() local 2904 RelockableMutexLock scope(&mu, ExclusiveTraits{}); // expected-note {{the other acquisition of mutex 'mu' is here}} loopDemoteContinue() local 2916 RelockableMutexLock scope(&mu, DeferTraits{}); exclusiveSharedJoin() local 2927 RelockableMutexLock scope(&mu, DeferTraits{}); sharedExclusiveJoin() local 2938 RelockableMutexLock scope(&mu, DeferTraits{}); assertJoin() local 2947 RelockableMutexLock scope(&mu, DeferTraits{}); assertSharedJoin() local 2957 RelockableMutexLock scope(&mu, DeferTraits{}); assertStrongerJoin() local 2967 RelockableMutexLock scope(&mu, DeferTraits{}); assertWeakerJoin() local 2977 RelockableExclusiveMutexLock scope(&mu); directUnlock() local 2986 RelockableExclusiveMutexLock scope(&mu); directRelock() local 2995 RelockableExclusiveMutexLock scope(&mu); destructLock() local 3027 WeirdScope scope(&mu); relockWeird() local 3069 MutexUnlock scope(&mu); simple() local 3075 ReaderMutexUnlock scope(&mu); simpleShared() local 3098 MutexUnlock scope(&mu); manual() local 3106 MutexUnlock scope(&mu); join() local 3114 MutexUnlock scope(&mu); doubleLock() local 3120 MutexUnlock scope(&mu); // expected-note{{mutex released here}} doubleUnlock() local 3137 MutexLockUnlock scope(&mu, &other); lockUnlock() local 6073 MutexLock scope = lock(); testInside() local 6084 MutexLock scope = obj.lock(); testLock() local 6090 ReaderMutexLock scope = obj.lockShared(); testSharedLock() local 6097 MutexLock scope = obj.adopt(); testAdopt() local 6103 ReaderMutexLock scope = obj.adoptShared(); testAdoptShared() local [all...] |
/llvm-project/flang/lib/Evaluate/ |
H A D | type.cpp | 257 const semantics::Scope *scope{derived.scope()}; FindParentComponent() local 348 GetParentComponent(const semantics::DerivedTypeDetails & details,const semantics::Scope & scope) GetParentComponent() argument 361 GetParentComponent(const semantics::Symbol * symbol,const semantics::Scope & scope) GetParentComponent() argument 372 GetParentTypeSpec(const semantics::Symbol * symbol,const semantics::Scope & scope) GetParentTypeSpec() argument 383 GetDerivedTypeParent(const semantics::Scope * scope) GetDerivedTypeParent() argument 394 FindComponent(const semantics::Scope * scope,parser::CharBlock name) FindComponent() argument [all...] |
/llvm-project/mlir/include/mlir/Transforms/ |
H A D | GreedyPatternRewriteDriver.h | 78 Region *scope = nullptr; variable [all...] |
/llvm-project/mlir/lib/CAPI/Dialect/ |
H A D | LLVM.cpp | 270 MlirAttribute scope, in mlirLLVMDILocalVariableAttrGet() argument 164 mlirLLVMDICompositeTypeAttrGet(MlirContext ctx,unsigned int tag,MlirAttribute recId,MlirAttribute name,MlirAttribute file,uint32_t line,MlirAttribute scope,MlirAttribute baseType,int64_t flags,uint64_t sizeInBits,uint64_t alignInBits,intptr_t nElements,MlirAttribute const * elements,MlirAttribute dataLocation,MlirAttribute rank,MlirAttribute allocated,MlirAttribute associated) mlirLLVMDICompositeTypeAttrGet() argument 251 mlirLLVMDILexicalBlockAttrGet(MlirContext ctx,MlirAttribute scope,MlirAttribute file,unsigned int line,unsigned int column) mlirLLVMDILexicalBlockAttrGet() argument 261 mlirLLVMDILexicalBlockFileAttrGet(MlirContext ctx,MlirAttribute scope,MlirAttribute file,unsigned int discriminator) mlirLLVMDILexicalBlockFileAttrGet() argument 295 mlirLLVMDISubprogramAttrGet(MlirContext ctx,MlirAttribute id,MlirAttribute compileUnit,MlirAttribute scope,MlirAttribute name,MlirAttribute linkageName,MlirAttribute file,unsigned int line,unsigned int scopeLine,uint64_t subprogramFlags,MlirAttribute type) mlirLLVMDISubprogramAttrGet() argument 333 mlirLLVMDIModuleAttrGet(MlirContext ctx,MlirAttribute file,MlirAttribute scope,MlirAttribute name,MlirAttribute configMacros,MlirAttribute includePath,MlirAttribute apinotes,unsigned int line,bool isDecl) mlirLLVMDIModuleAttrGet() argument [all...] |