Home
last modified time | relevance | path

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

12

/freebsd-14.2/contrib/llvm-project/clang/lib/Sema/
H A DJumpDiagnostics.cpp70 SmallVector<GotoScope, 48> Scopes; member in __anon08d5e7590111::JumpScopeChecker
129 B = Scopes[B].ParentScope; in GetDeepestCommonScope()
132 A = Scopes[A].ParentScope; in GetDeepestCommonScope()
237 ParentScope = Scopes.size()-1; in BuildScopeInformation()
875 S.Diag(Scopes[ToScopes[I]].Loc, Scopes[ToScopes[I]].InDiag); in NoteJumpIntoScopes()
890 if (Scopes[I].OutDiag) { in DiagnoseIndirectOrAsmJump()
892 S.Diag(Scopes[I].Loc, Scopes[I].OutDiag); in DiagnoseIndirectOrAsmJump()
903 S.Diag(Scopes[I].Loc, Scopes[I].InDiag); in DiagnoseIndirectOrAsmJump()
966 else if (Scopes[I].InDiag) in CheckJump()
1004 if (Scopes[I].OutDiag) { in VerifyMustTailStmts()
[all …]
/freebsd-14.2/contrib/llvm-project/clang/lib/ARCMigrate/
H A DTransAutoreleasePool.cpp95 scpI = info.Scopes.begin(), in ~AutoreleasePoolRewriter()
119 scpI = info.Scopes.begin(), in ~AutoreleasePoolRewriter()
150 scpI = info.Scopes.begin(), in ~AutoreleasePoolRewriter()
164 SmallVector<PoolScope, 4> Scopes; in VisitCompoundStmt() local
182 Scopes.back().Begin = I; in VisitCompoundStmt()
195 Scopes.back().PoolVar = VD; in VisitCompoundStmt()
197 Scopes.back().Begin = I; in VisitCompoundStmt()
203 if (Scopes.empty()) in VisitCompoundStmt()
207 PoolScope &scope = Scopes.back(); in VisitCompoundStmt()
210 Scopes.pop_back(); in VisitCompoundStmt()
[all …]
/freebsd-14.2/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-14.2/contrib/llvm-project/llvm/lib/DebugInfo/LogicalView/Core/
H A DLVScope.cpp169 if (!Scopes) in addElement()
439 if (!Scopes) in resolveElements()
759 if (Scopes) in getLocations()
787 if (Scopes) in getRanges()
800 if (Scopes) in getRanges()
1297 options().getSelectExecute() ? ++Found.Scopes : ++Printed.Scopes; in incrementPrintedScopes()
1313 ++Allocated.Scopes; in increment()
1615 PrintDataRow("Scopes", Allocated.Scopes, Counter.Scopes); in printSummary()
1769 if (Scopes) in resolveReferences()
2011 if (Scopes) in processRangeInformation()
[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-14.2/contrib/llvm-project/clang/lib/AST/Interp/
H A DFunction.h114 return llvm::make_range(Scopes.begin(), Scopes.end()); in scopes()
125 Scope &getScope(unsigned Idx) { return Scopes[Idx]; } in getScope()
126 const Scope &getScope(unsigned Idx) const { return Scopes[Idx]; } in getScope()
205 Scopes = std::move(NewScopes); in setCode()
232 llvm::SmallVector<Scope, 2> Scopes; variable
H A DByteCodeEmitter.cpp127 llvm::SmallVector<Scope, 2> Scopes; in compileFunc() local
129 Scopes.emplace_back(std::move(DS)); in compileFunc()
134 std::move(Scopes), FuncDecl->hasBody()); in compileFunc()
/freebsd-14.2/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()
261 static const unsigned Scopes[] = { in getRuntimeValues() local
265 return llvm::ArrayRef(Scopes); in getRuntimeValues()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Analysis/
H A DScopedNoAliasAA.cpp117 bool ScopedNoAliasAAResult::mayAliasInScopes(const MDNode *Scopes, in mayAliasInScopes() argument
119 if (!Scopes || !NoAlias) in mayAliasInScopes()
133 collectMDInDomain(Scopes, Domain, ScopeNodes); in mayAliasInScopes()
/freebsd-14.2/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-14.2/contrib/llvm-project/llvm/include/llvm/IR/
H A DDebugInfo.h157 return make_range(Scopes.begin(), Scopes.end()); in scopes()
164 unsigned scope_count() const { return Scopes.size(); } in scope_count()
171 SmallVector<DIScope *, 8> Scopes; variable
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/
H A DControlHeightReduction.cpp295 for (CHRScope *Scope : Scopes) { in ~CHR()
313 SmallVectorImpl<CHRScope *> &Scopes);
326 void classifyBiasedScopes(SmallVectorImpl<CHRScope *> &Scopes);
393 DenseSet<CHRScope *> Scopes; member in __anon784f818e0111::CHR
776 Scopes.insert(Result); in findScope()
836 Scopes.insert(Result); in findScope()
1018 Scopes.push_back(Sub); in findScopes()
1195 Scopes.insert(Tail); in splitScope()
1261 for (CHRScope *Scope : Scopes) { in classifyBiasedScopes()
1991 dbgs() << Label << " " << Scopes.size() << "\n"; in dumpScopes()
[all …]
/freebsd-14.2/contrib/llvm-project/clang/lib/Parse/
H A DParseCXXInlineMethods.cpp295 MultiParseScope Scopes; member
299 : P(P), Scopes(P), CurTemplateDepthTracker(P.TemplateParameterDepth) { in ReenterTemplateScopeRAII()
302 P.ReenterTemplateScopes(Scopes, MaybeTemplated)); in ReenterTemplateScopeRAII()
320 Scopes.Enter(Scope::ClassScope|Scope::DeclScope); in ReenterClassScopeRAII()
353 InFunctionTemplateScope.Scopes.Enter(Scope::FunctionPrototypeScope | in ParseLexedMethodDeclaration()
518 InFunctionTemplateScope.Scopes.Exit(); in ParseLexedMethodDeclaration()
748 InDeclScope.Scopes.Enter(Scope::FnScope | Scope::DeclScope | in ParseLexedAttribute()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DScopedNoAliasAA.h47 bool mayAliasInScopes(const MDNode *Scopes, const MDNode *NoAlias) const;
/freebsd-14.2/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-14.2/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-14.2/contrib/llvm-project/llvm/lib/DebugInfo/LogicalView/Readers/
H A DLVBinaryReader.cpp686 if (const LVScopes *Scopes = CompileUnit->getScopes()) in processLines() local
687 for (LVScope *Scope : *Scopes) { in processLines()
869 if (const LVScopes *Scopes = Parent->getScopes()) in includeInlineeLines() local
870 for (LVScope *Scope : *Scopes) { in includeInlineeLines()
/freebsd-14.2/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-14.2/contrib/llvm-project/llvm/lib/CodeGen/LiveDebugValues/
H A DInstrRefBasedImpl.h1015 SmallDenseMap<DebugVariable, const DILocation *, 8> Scopes;
1037 Scopes[Var] = MI.getDebugLoc().get();
1065 Scopes[Overlapped] = Loc;
1071 Scopes.clear();

12