Home
last modified time | relevance | path

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

12

/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DJumpDiagnostics.cpp71 SmallVector<GotoScope, 48> Scopes; member in __anon116d3ae30111::JumpScopeChecker
109 Scopes.push_back(GotoScope(~0U, ~0U, ~0U, SourceLocation())); in JumpScopeChecker()
129 assert(Scopes[B].ParentScope < B); in GetDeepestCommonScope()
130 B = Scopes[B].ParentScope; in GetDeepestCommonScope()
132 assert(Scopes[A].ParentScope < A); in GetDeepestCommonScope()
133 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 …]
/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/LogicalView/Core/
H A DLVScope.cpp169 if (!Scopes) in addElement()
170 Scopes = std::make_unique<LVScopes>(); in addElement()
173 Scopes->push_back(Scope); in addElement()
282 return RemoveElement(Scopes); in removeElement()
439 if (!Scopes) in resolveReferences()
442 for (LVScope *Scope : *Scopes) { in resolveReferences()
686 Traverse(Parent->Scopes, SortFunction); in sort()
690 if (Parent->Scopes) in sort()
691 for (LVScope *Scope : *Parent->Scopes) in sort()
740 if (const LVScopes *Scopes in traverseParentsAndChildren()
748 if (const LVScopes *Scopes = Scope->getScopes()) traverseParentsAndChildren() local
1571 if (const LVScopes *Scopes = Scope->getScopes()) printSizes() local
2036 if (const LVScopes *Scopes = Parent->getScopes()) transformScopedName() local
[all...]
H A DLVReader.cpp54 if (const LVScopes *Scopes = Parent->getScopes()) { in checkIntegrityScopesTree() local
55 for (LVScope *Scope : *Scopes) { in checkIntegrityScopesTree()
227 patterns().addRequest(options().Select.Scopes); in doLoad()
/freebsd/contrib/llvm-project/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
/freebsd/contrib/llvm-project/clang/lib/AST/Interp/
H A DFunction.h117 return llvm::make_range(Scopes.begin(), Scopes.end()); in scopes()
128 Scope &getScope(unsigned Idx) { return Scopes[Idx]; } in getScope()
129 const Scope &getScope(unsigned Idx) const { return Scopes[Idx]; } in getScope()
224 Scopes = std::move(NewScopes); in setCode()
251 llvm::SmallVector<Scope, 2> Scopes; variable
H A DByteCodeEmitter.cpp185 llvm::SmallVector<Scope, 2> Scopes; in compileFunc() local
187 Scopes.emplace_back(std::move(DS)); in compileFunc()
192 std::move(Scopes), FuncDecl->hasBody()); in compileFunc()
/freebsd/contrib/llvm-project/clang/include/clang/Basic/
H A DSyncScope.h160 static const unsigned Scopes[] = { in getRuntimeValues() local
163 return llvm::ArrayRef(Scopes); in getRuntimeValues()
211 static const unsigned Scopes[] = { in getRuntimeValues() local
215 return llvm::ArrayRef(Scopes); in getRuntimeValues()
260 static const unsigned Scopes[] = { in getRuntimeValues() local
264 return llvm::ArrayRef(Scopes); in getRuntimeValues()
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DScopedNoAliasAA.cpp117 bool ScopedNoAliasAAResult::mayAliasInScopes(const MDNode *Scopes,
119 if (!Scopes || !NoAlias) in mayAliasInScopes()
133 collectMDInDomain(Scopes, Domain, ScopeNodes); in mayAliasInScopes()
118 mayAliasInScopes(const MDNode * Scopes,const MDNode * NoAlias) const mayAliasInScopes() argument
/freebsd/contrib/llvm-project/llvm/include/llvm/DebugInfo/LogicalView/Core/
H A DLVScope.h122 std::unique_ptr<LVScopes> Scopes; variable
207 const LVScopes *getScopes() const { return Scopes.get(); } 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;
692 LVScope *findEqualScope(const LVScopes *Scopes) const override;
735 LVScope *findEqualScope(const LVScopes *Scopes) const override;
776 LVScope *findEqualScope(const LVScopes *Scopes) const override;
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 DLVReader.h72 LVScopes Scopes; variable
289 Scopes.push_back(Scope); in notifyAddedElement()
301 const LVScopes &getScopes() const { return Scopes; } in getScopes()
H A DLVObject.h97 unsigned Scopes = 0; member
102 Scopes = 0; in reset()
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DDebugInfo.h160 return make_range(Scopes.begin(), Scopes.end()); in scopes()
167 unsigned scope_count() const { return Scopes.size(); } in scope_count()
174 SmallVector<DIScope *, 8> Scopes; variable
/freebsd/contrib/llvm-project/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 __anone1ce48180111::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 …]
/freebsd/contrib/llvm-project/clang/lib/Parse/
H A DParseCXXInlineMethods.cpp339 MultiParseScope Scopes; member
343 : P(P), Scopes(P), CurTemplateDepthTracker(P.TemplateParameterDepth) { in ReenterTemplateScopeRAII()
346 P.ReenterTemplateScopes(Scopes, MaybeTemplated)); in ReenterTemplateScopeRAII()
364 Scopes.Enter(Scope::ClassScope|Scope::DeclScope); in ReenterClassScopeRAII()
397 InFunctionTemplateScope.Scopes.Enter(Scope::FunctionPrototypeScope | in ParseLexedMethodDeclaration()
579 InFunctionTemplateScope.Scopes.Exit(); in ParseLexedMethodDeclaration()
811 InDeclScope.Scopes.Enter(Scope::FnScope | Scope::DeclScope | in ParseLexedAttribute()
/freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DScopedNoAliasAA.h47 bool mayAliasInScopes(const MDNode *Scopes, const MDNode *NoAlias) const;
/freebsd/contrib/llvm-project/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()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DLoopVersioningLICM.cpp519 SmallVector<Metadata *, 4> Scopes{NewScope}, NoAliases{NewScope}; in setNoAliasToLoop() local
536 MDNode::get(Inst.getContext(), Scopes))); in setNoAliasToLoop()
/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/LogicalView/Readers/
H A DLVBinaryReader.cpp715 if (const LVScopes *Scopes = CompileUnit->getScopes()) in processLines() local
716 for (LVScope *Scope : *Scopes) { in processLines()
898 if (const LVScopes *Scopes = Parent->getScopes()) in includeInlineeLines() local
899 for (LVScope *Scope : *Scopes) { in includeInlineeLines()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DMachineCSE.cpp774 SmallVector<MachineDomTreeNode*, 32> Scopes; in PerformCSE() local
784 Scopes.push_back(Node); in PerformCSE()
791 for (MachineDomTreeNode *Node : Scopes) { in PerformCSE()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/LiveDebugValues/
H A DInstrRefBasedImpl.h1056 SmallDenseMap<DebugVariableID, const DILocation *, 8> Scopes;
1082 Scopes[VarID] = MI.getDebugLoc().get();
1112 Scopes[OverlappedID] = Loc;
1118 Scopes.clear();
/freebsd/contrib/llvm-project/clang/lib/Format/
H A DTokenAnnotator.h272 SmallVector<ScopeType> Scopes; variable

12