Home
last modified time | relevance | path

Searched defs:scope (Results 1 – 25 of 105) sorted by relevance

12345

/llvm-project-15.0.7/flang/lib/Semantics/
H A Dcheck-return.cpp19 const Scope &scope{GetProgramUnitContaining(start)}; in FindContainingSubprogram() local
32 const auto &scope{context_.FindScope(context_.location().value())}; in Leave() local
H A Dtools.cpp106 const Scope &scope{GetProgramUnitContaining(start)}; in FindPureProcedureContaining() local
287 bool IsBindCProcedure(const Scope &scope) { in IsBindCProcedure()
335 if (const Scope * scope{derived.scope()}) { in FindPointerComponent() local
360 const Symbol &object, const Scope &scope) { in FindExternallyVisibleObject()
521 if (const Scope * scope{symbol.scope()}) { in FindParentTypeSpec() local
755 const Symbol &symbol, const Scope &scope) { in IsExternalInPureContext()
856 const Symbol &original, const Scope &scope) { in WhyNotModifiable()
1049 const Scope &scope, const Symbol &symbol) { in CheckAccessibleComponent()
1250 const Scope &scope{deepest.GetScope()}; in Increment() local
1366 if (const Scope * scope{type.scope()}) { in FindImmediateComponent() local
[all …]
H A Druntime-type-info.cpp167 void RuntimeTableBuilder::DescribeTypes(Scope &scope, bool inSchemata) { in DescribeTypes()
194 static Scope &GetContainingNonDerivedScope(Scope &scope) { in GetContainingNonDerivedScope()
204 const Scope &scope{ in GetSchemaField() local
264 Scope &scope, SourceName name, std::vector<typename T::Scalar> &&x) { in SaveNumericPointerTarget()
293 static SomeExpr SaveDerivedPointerTarget(Scope &scope, SourceName name, in SaveDerivedPointerTarget()
329 Scope &scope, SourceName name, const ObjectEntityDetails &object) { in SaveObjectInit()
424 Scope &scope{ in DescribeType() local
666 const std::string &name, const DeclTypeSpec &type, Scope &scope) { in CreateObject()
682 Scope &scope, const std::string &name) { in SaveNameAsPointerTarget()
880 const ObjectEntityDetails &object, Scope &scope, Scope &dtScope, in InitializeDataPointer()
[all …]
H A Dassignment.cpp70 const Scope &scope{context_.FindScope(lhsLoc)}; in Analyze() local
103 const Symbol &x, const Scope &scope) { in WhyBaseObjectIsSuspicious()
150 const SomeExpr &expr, const Scope &scope) { in CheckCopyabilityInPureScope()
167 const Scope &scope{context_.FindScope(source)}; in CheckForPureContext() local
H A Dscope.cpp111 for (const Scope *scope{&that};; scope = &scope->parent()) { in Contains() local
313 if (auto *scope{child.FindScope(source)}) { in FindScope() local
321 for (auto *scope{this}; !scope->IsGlobal(); scope = &scope->parent()) { in AddSourceRange() local
326 llvm::raw_ostream &operator<<(llvm::raw_ostream &os, const Scope &scope) { in operator <<()
377 static bool IsParameterizedDerivedTypeHelper(const Scope &scope) { in IsParameterizedDerivedTypeHelper()
H A Dcheck-nullify.cpp21 const Scope &scope{context_.FindScope(*context_.location())}; in Leave() local
H A Dmod-file.cpp72 SubprogramSymbolCollector(const Symbol &symbol, const Scope &scope) in SubprogramSymbolCollector()
109 void ModFileWriter::WriteAll(const Scope &scope) { in WriteAll()
115 void ModFileWriter::WriteOne(const Scope &scope) { in WriteOne()
179 void ModFileWriter::PutSymbols(const Scope &scope) { in PutSymbols()
210 const auto &scope{DEREF(typeSymbol.scope())}; in PutComponents() local
339 const Symbol &typeSymbol, const Scope *scope) { in PutDerivedType()
377 const Symbol &typeSymbol, const Scope *scope) { in PutDECStructure()
476 const Scope &scope{ in PutSubprogram() local
926 if (auto *scope{ancestor->FindSubmodule(name)}) { in Read() local
934 Scope *scope{it->second->scope()}; in Read() local
[all …]
H A Dsemantics.cpp52 static void GetSymbolNames(const Scope &scope, NameToSymbolMap &symbols) { in GetSymbolNames()
350 if (auto *scope{globalScope_.FindScope(source)}) { in FindScope() local
360 for (const Scope *scope{&FindScope(source)}; !scope->IsGlobal(); in IsInModuleFile() local
441 SourceName SemanticsContext::GetTempName(const Scope &scope) { in GetTempName()
523 void DoDumpSymbols(llvm::raw_ostream &os, const Scope &scope, int indent) { in DoDumpSymbols()
H A Dprogram-tree.h82 Scope *scope() const { return scope_; } in scope() function
H A Dcheck-call.cpp168 evaluate::FoldingContext &context, const Scope *scope, in CheckExplicitDataArg()
699 const Scope *scope, const evaluate::SpecificIntrinsic *intrinsic, in CheckExplicitInterfaceArg()
891 const evaluate::FoldingContext &context, const Scope *scope, in CheckExplicitInterface()
928 const Scope &scope, const evaluate::SpecificIntrinsic *intrinsic) { in CheckExplicitInterface()
943 const Scope &scope, bool treatingExternalAsImplicit, in CheckArguments()
H A Dtype.cpp30 void DerivedTypeSpec::set_scope(const Scope &scope) { in set_scope()
34 void DerivedTypeSpec::ReplaceScope(const Scope &scope) { in ReplaceScope()
230 InstantiateHelper(Scope &scope) : scope_{scope} {} in InstantiateHelper()
251 static int PlumbPDTInstantiationDepth(const Scope *scope) { in PlumbPDTInstantiationDepth()
390 explicit ComponentInitResetHelper(Scope &scope) : scope_{scope} {} in ComponentInitResetHelper()
/llvm-project-15.0.7/clang-tools-extra/test/clang-tidy/checkers/misc/
H A Dconst-correctness-unaligned.cpp12 void scope() { in scope() function
/llvm-project-15.0.7/llvm/lib/Support/
H A DELFAttributeParser.cpp43 DictScope scope(*sw, "Attribute"); in integerAttribute() local
59 DictScope scope(*sw, "Attribute"); in stringAttribute() local
176 DictScope scope(*sw, scopeName); in parseSubsection() local
/llvm-project-15.0.7/flang/lib/Lower/
H A DMangler.cpp24 static void moduleNames(const Fortran::semantics::Scope &scope, in moduleNames()
36 const Fortran::semantics::Scope &scope = symbol.owner(); in moduleNames() local
44 const Fortran::semantics::Scope &scope = symbol.owner(); in hostName() local
60 const Fortran::semantics::Scope &scope = symbol.owner(); in findInterfaceIfSeperateMP() local
/llvm-project-15.0.7/clang/lib/ARCMigrate/
H A DTransAutoreleasePool.cpp97 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-15.0.7/mlir/unittests/Support/
H A DIndentedOstreamTest.cpp56 raw_indented_ostream::DelimitedScope scope(ros); in TEST() local
60 raw_indented_ostream::DelimitedScope scope(ros, "{\n", "\n}\n"); in TEST() local
/llvm-project-15.0.7/mlir/tools/mlir-tblgen/
H A DAttrOrTypeDefGen.cpp298 auto scope = m->body().indent().scope("return getImpl()->", ";"); in emitAccessors() local
330 auto scope = body.scope("return Base::get(context", ");"); in emitDefaultBuilder() local
342 auto scope = body.scope("return Base::getChecked(emitError, context", ");"); in emitCheckedBuilder() local
499 auto scope = body.scope("return (", ");"); in emitEquals() local
515 auto scope = body.scope("return ::llvm::hash_combine(", ");"); in emitHashKey() local
543 auto scope = in emitConstruct() local
638 IfDefScope scope("GET_" + defType.upper() + "DEF_CLASSES", os); in emitDecls() local
674 IfDefScope scope("GET_" + defType.upper() + "DEF_LIST", os); in emitTypeDefList() local
865 IfDefScope scope("GET_" + defType.upper() + "DEF_CLASSES", os); in emitDefs() local
/llvm-project-15.0.7/mlir/lib/Tools/PDLL/Parser/
H A DCodeComplete.cpp28 bool allowInlineTypeConstraints, const ast::DeclScope *scope) {} in codeCompleteConstraintName()
/llvm-project-15.0.7/mlir/utils/vscode/
H A Dpackage.json138 "scope": "resource", string
143 "scope": "resource", string
148 "scope": "resource", string
153 "scope": "resource", string
158 "scope": "resource", string
/llvm-project-15.0.7/mlir/lib/Target/LLVMIR/
H A DDebugTranslation.cpp124 DebugTranslation::translateLoc(Location loc, llvm::DILocalScope *scope) { in translateLoc()
132 DebugTranslation::translateLoc(Location loc, llvm::DILocalScope *scope, in translateLoc()
/llvm-project-15.0.7/clang/test/SemaCXX/
H A Dwarn-thread-safety-analysis.cpp2686 RelockableExclusiveMutexLock scope(&mu); in relock() local
2746 RelockableExclusiveMutexLock scope(&mu); in doubleUnlock() local
2757 RelockableExclusiveMutexLock scope(&mu); in doubleLock2() local
2923 RelockableExclusiveMutexLock scope(&mu); in directUnlock() local
2973 WeirdScope scope(&mu); in relockWeird() local
3015 MutexUnlock scope(&mu); in simple() local
3021 ReaderMutexUnlock scope(&mu); in simpleShared() local
3044 MutexUnlock scope(&mu); in manual() local
3052 MutexUnlock scope(&mu); in join() local
3060 MutexUnlock scope(&mu); in doubleLock() local
[all …]
/llvm-project-15.0.7/lldb/unittests/Symbol/
H A DTestType.cpp22 llvm::StringRef scope, name; in TestGetTypeScopeAndBasenameHelper() local
/llvm-project-15.0.7/mlir/include/mlir/Interfaces/
H A DDataLayoutInterfaces.h176 Operation *scope; variable
/llvm-project-15.0.7/clang/test/CodeGenCXX/
H A Dblocks.cpp52 struct scope { int x; ~scope(); }; struct
/llvm-project-15.0.7/mlir/lib/Transforms/
H A DCSE.cpp78 ScopedMapTy::ScopeTy scope; member
280 ScopedMapTy::ScopeTy scope(knownValues); in simplifyRegion() local

12345