Home
last modified time | relevance | path

Searched refs:Scopes (Results 1 – 25 of 44) sorted by relevance

12

/openbsd-src/gnu/llvm/clang/lib/Sema/
H A DJumpDiagnostics.cpp70 SmallVector<GotoScope, 48> Scopes; member in __anonde60005a0111::JumpScopeChecker
109 Scopes.push_back(GotoScope(~0U, ~0U, ~0U, SourceLocation())); in JumpScopeChecker()
130 assert(Scopes[B].ParentScope < B); in GetDeepestCommonScope()
131 B = Scopes[B].ParentScope; in GetDeepestCommonScope()
133 assert(Scopes[A].ParentScope < A); in GetDeepestCommonScope()
134 A = Scopes[A].ParentScope; in GetDeepestCommonScope()
237 Scopes.push_back(GotoScope(ParentScope, Diags.first, Diags.second, in BuildScopeInformation()
239 ParentScope = Scopes.size()-1; in BuildScopeInformation()
284 Scopes.push_back(GotoScope(ParentScope, in BuildScopeInformation()
286 ParentScope = Scopes.size()-1; in BuildScopeInformation()
[all …]
/openbsd-src/gnu/llvm/clang/lib/ARCMigrate/
H A DTransAutoreleasePool.cpp95 scpI = info.Scopes.begin(), in ~AutoreleasePoolRewriter()
96 scpE = info.Scopes.end(); scpI != scpE; ++scpI) { in ~AutoreleasePoolRewriter()
119 scpI = info.Scopes.begin(), in ~AutoreleasePoolRewriter()
120 scpE = info.Scopes.end(); scpI != scpE; ++scpI) { in ~AutoreleasePoolRewriter()
150 scpI = info.Scopes.begin(), in ~AutoreleasePoolRewriter()
151 scpE = info.Scopes.end(); scpI != scpE; ++scpI) { in ~AutoreleasePoolRewriter()
164 SmallVector<PoolScope, 4> Scopes; in VisitCompoundStmt() local
179 Scopes.push_back(PoolScope()); in VisitCompoundStmt()
180 Scopes.back().PoolVar = VD; in VisitCompoundStmt()
181 Scopes.back().CompoundParent = S; in VisitCompoundStmt()
[all …]
/openbsd-src/gnu/llvm/clang/lib/CodeGen/
H A DVarBypassDetector.cpp24 Scopes = {{~0U, nullptr}}; in Init()
38 Scopes.push_back({ParentScope, VD}); in BuildScopeInformation()
39 ParentScope = Scopes.size() - 1; in BuildScopeInformation()
158 assert(Scopes[To].first < To); in Detect()
159 const auto &ScopeTo = Scopes[To]; in Detect()
163 assert(Scopes[From].first < From); in Detect()
164 From = Scopes[From].first; in Detect()
H A DMacroPPCallbacks.cpp78 return Scopes.back(); in getCurrentScope()
131 Scopes.push_back(Gen->getCGDebugInfo()->CreateTempMacroFile(getCurrentScope(), in FileEntered()
155 Scopes.pop_back(); in FileExited()
H A DVarBypassDetector.h42 llvm::SmallVector<std::pair<unsigned, const VarDecl *>, 48> Scopes; variable
H A DMacroPPCallbacks.h51 llvm::SmallVector<llvm::DIMacroFile *, 4> Scopes; variable
/openbsd-src/gnu/llvm/llvm/lib/DebugInfo/LogicalView/Core/
H A DLVScope.cpp51 delete Scopes; in ~LVScope()
178 if (!Scopes) in addElement()
179 Scopes = new LVAutoScopes(); in addElement()
182 Scopes->push_back(Scope); in addElement()
291 return RemoveElement(Scopes); in removeElement()
456 if (!Scopes) in resolveElements()
459 for (LVScope *Scope : *Scopes) { in resolveElements()
699 Traverse(Parent->Scopes, SortFunction); in sort()
703 if (Parent->Scopes) in sort()
704 for (LVScope *Scope : *Parent->Scopes) in sort()
[all …]
H A DLVReader.cpp54 if (const LVScopes *Scopes = Parent->getScopes()) { in checkIntegrityScopesTree() local
55 for (LVScope *Scope : *Scopes) { in checkIntegrityScopesTree()
224 patterns().addRequest(options().Select.Scopes); in doLoad()
/openbsd-src/gnu/llvm/clang/lib/AST/Interp/
H A DFunction.h107 return llvm::make_range(Scopes.begin(), Scopes.end()); in scopes()
118 Scope &getScope(unsigned Idx) { return Scopes[Idx]; } in getScope()
119 const Scope &getScope(unsigned Idx) const { return Scopes[Idx]; } in getScope()
156 Scopes = std::move(NewScopes); in setCode()
182 llvm::SmallVector<Scope, 2> Scopes; variable
H A DByteCodeEmitter.cpp90 llvm::SmallVector<Scope, 2> Scopes; in compileFunc() local
92 Scopes.emplace_back(std::move(DS)); in compileFunc()
97 std::move(Scopes)); in compileFunc()
/openbsd-src/gnu/llvm/clang/include/clang/Basic/
H A DSyncScope.h145 static const unsigned Scopes[] = { in getRuntimeValues() local
148 return llvm::ArrayRef(Scopes); in getRuntimeValues()
196 static const unsigned Scopes[] = { in getRuntimeValues() local
200 return llvm::ArrayRef(Scopes); in getRuntimeValues()
/openbsd-src/gnu/llvm/llvm/lib/Analysis/
H A DScopedNoAliasAA.cpp118 bool ScopedNoAliasAAResult::mayAliasInScopes(const MDNode *Scopes, in mayAliasInScopes() argument
120 if (!Scopes || !NoAlias) in mayAliasInScopes()
134 collectMDInDomain(Scopes, Domain, ScopeNodes); in mayAliasInScopes()
/openbsd-src/gnu/llvm/llvm/include/llvm/IR/
H A DDebugInfo.h152 return make_range(Scopes.begin(), Scopes.end()); in scopes()
159 unsigned scope_count() const { return Scopes.size(); } in scope_count()
166 SmallVector<DIScope *, 8> Scopes; variable
/openbsd-src/gnu/llvm/llvm/include/llvm/DebugInfo/LogicalView/Core/
H A DLVScope.h122 LVAutoScopes *Scopes = nullptr; variable
207 const LVScopes *getScopes() const { return Scopes; } in getScopes()
233 size_t scopeCount() const { return Scopes ? Scopes->size() : 0; } in scopeCount()
308 virtual LVScope *findEqualScope(const LVScopes *Scopes) const;
358 LVScope *findEqualScope(const LVScopes *Scopes) const override;
691 LVScope *findEqualScope(const LVScopes *Scopes) const override;
734 LVScope *findEqualScope(const LVScopes *Scopes) const override;
775 LVScope *findEqualScope(const LVScopes *Scopes) const override;
H A DLVReader.h69 LVScopes Scopes; variable
184 Scopes.push_back(Scope); in notifyAddedElement()
196 const LVScopes &getScopes() const { return Scopes; } in getScopes()
H A DLVOptions.h136 Scopes, // --compare=scopes enumerator
155 Scopes, // --print=scopes enumerator
245 LVScopeKindSet Scopes; // --select-scopes=<Kind> variable
368 COMPARE_OPTION(Scopes);
390 PRINT_OPTION(Scopes);
H A DLVObject.h113 unsigned Scopes = 0; member
118 Scopes = 0; in reset()
/openbsd-src/gnu/llvm/llvm/lib/Transforms/Instrumentation/
H A DControlHeightReduction.cpp296 for (CHRScope *Scope : Scopes) { in ~CHR()
314 SmallVectorImpl<CHRScope *> &Scopes);
327 void classifyBiasedScopes(SmallVectorImpl<CHRScope *> &Scopes);
394 DenseSet<CHRScope *> Scopes; member in __anon50f5060f0111::CHR
777 Scopes.insert(Result); in findScope()
837 Scopes.insert(Result); in findScope()
977 SmallVectorImpl<CHRScope *> &Scopes) { in findScopes() argument
989 CHRScope *SubCHRScope = findScopes(SubR.get(), NextSubR, R, Scopes); in findScopes()
1019 Scopes.push_back(Sub); in findScopes()
1196 Scopes.insert(Tail); in splitScope()
[all …]
/openbsd-src/gnu/llvm/clang/lib/Parse/
H A DParseCXXInlineMethods.cpp293 MultiParseScope Scopes; member
297 : P(P), Scopes(P), CurTemplateDepthTracker(P.TemplateParameterDepth) { in ReenterTemplateScopeRAII()
300 P.ReenterTemplateScopes(Scopes, MaybeTemplated)); in ReenterTemplateScopeRAII()
318 Scopes.Enter(Scope::ClassScope|Scope::DeclScope); in ReenterClassScopeRAII()
351 InFunctionTemplateScope.Scopes.Enter(Scope::FunctionPrototypeScope | in ParseLexedMethodDeclaration()
515 InFunctionTemplateScope.Scopes.Exit(); in ParseLexedMethodDeclaration()
745 InDeclScope.Scopes.Enter(Scope::FnScope | Scope::DeclScope | in ParseLexedAttribute()
/openbsd-src/gnu/llvm/llvm/include/llvm/Analysis/
H A DScopedNoAliasAA.h47 bool mayAliasInScopes(const MDNode *Scopes, const MDNode *NoAlias) const;
/openbsd-src/gnu/llvm/llvm/tools/llvm-debuginfo-analyzer/
H A DOptions.cpp149 clEnumValN(LVCompareKind::Scopes, "scopes", "Scopes."),
222 clEnumValN(LVPrintKind::Scopes, "scopes",
492 UpdateSet(SelectScopes, ReaderOptions.Select.Scopes); in propagateOptions()
/openbsd-src/gnu/llvm/llvm/lib/Transforms/Scalar/
H A DLoopVersioningLICM.cpp544 SmallVector<Metadata *, 4> Scopes{NewScope}, NoAliases{NewScope}; in setNoAliasToLoop() local
561 MDNode::get(Inst.getContext(), Scopes))); in setNoAliasToLoop()
/openbsd-src/gnu/llvm/llvm/lib/CodeGen/
H A DMachineCSE.cpp772 SmallVector<MachineDomTreeNode*, 32> Scopes; in PerformCSE() local
782 Scopes.push_back(Node); in PerformCSE()
789 for (MachineDomTreeNode *Node : Scopes) { in PerformCSE()
H A DMachineLICM.cpp720 SmallVector<MachineDomTreeNode*, 32> Scopes; in HoistOutOfLoop() local
742 Scopes.push_back(Node); in HoistOutOfLoop()
763 if (Scopes.size() == 0) in HoistOutOfLoop()
772 for (MachineDomTreeNode *Node : Scopes) { in HoistOutOfLoop()
/openbsd-src/gnu/llvm/llvm/lib/CodeGen/LiveDebugValues/
H A DInstrRefBasedImpl.h976 SmallDenseMap<DebugVariable, const DILocation *, 8> Scopes;
998 Scopes[Var] = MI.getDebugLoc().get();
1026 Scopes[Overlapped] = Loc;
1032 Scopes.clear();

12