Home
last modified time | relevance | path

Searched refs:getRanges (Results 1 – 25 of 60) sorted by relevance

123

/llvm-project-15.0.7/mlir/lib/Reducer/
H A DReductionNode.cpp62 if (variants.empty() && getRanges().size() > 1) { in generateNewVariants()
63 for (const Range &range : getRanges()) { in generateNewVariants()
64 std::vector<Range> subRanges = getRanges(); in generateNewVariants()
88 std::vector<Range> subRanges = getRanges(); in generateNewVariants()
H A DReductionTreePass.cpp108 applyPatterns(curRegion, patterns, currentNode.getRanges(), in findOptimal()
/llvm-project-15.0.7/clang/lib/StaticAnalyzer/Core/
H A DTextDiagnostics.cpp100 PD->path.back()->getRanges(), PD->path.back()->getFixits()); in FlushDiagnosticsImpl()
108 Piece->getString(), Piece->getRanges(), in FlushDiagnosticsImpl()
122 Piece->getString(), Piece->getRanges(), in FlushDiagnosticsImpl()
H A DPlistDiagnostics.cpp319 ArrayRef<SourceRange> Ranges = P.getRanges(); in ReportEvent()
405 ArrayRef<SourceRange> Ranges = P->getRanges(); in ReportMacroExpansions()
438 ArrayRef<SourceRange> Ranges = P.getRanges(); in ReportNote()
469 ArrayRef<SourceRange> Ranges = P.getRanges(); in ReportPopUp()
625 ArrayRef<SourceRange> Ranges = Piece.getRanges(); in FlushDiagnosticsImpl()
/llvm-project-15.0.7/clang/lib/StaticAnalyzer/Checkers/RetainCountChecker/
H A DRetainCountDiagnostics.h63 ArrayRef<SourceRange> getRanges() const override { in getRanges() function
65 return PathSensitiveBugReport::getRanges(); in getRanges()
/llvm-project-15.0.7/llvm/unittests/CodeGen/
H A DLexicalScopesTest.cpp153 auto &Ranges = FuncScope->getRanges(); in TEST_F()
259 auto &Ranges = FuncScope->getRanges(); in TEST_F()
281 auto &Ranges = BlockScope->getRanges(); in TEST_F()
291 auto &FuncRanges = FuncScope->getRanges(); in TEST_F()
318 auto &FuncRanges = FuncScope->getRanges(); in TEST_F()
324 auto &BlockRanges = BlockScope->getRanges(); in TEST_F()
332 auto &OtherBlockRanges = OtherBlockScope->getRanges(); in TEST_F()
/llvm-project-15.0.7/clang/lib/ARCMigrate/
H A DPlistReporter.cpp105 if (!D.getRanges().empty()) { in writeARCDiagsToPlist()
108 for (auto &R : D.getRanges()) { in writeARCDiagsToPlist()
/llvm-project-15.0.7/clang-tools-extra/clangd/unittests/
H A DConfigTesting.h39 if (!D.getRanges().empty()) { in callback()
40 const auto &R = D.getRanges().front(); in callback()
/llvm-project-15.0.7/llvm/include/llvm/CodeGen/
H A DMachineMemOperand.h260 const MDNode *getRanges() const { return Ranges; } in getRanges() function
345 LHS.getRanges() == RHS.getRanges() &&
H A DLexicalScopes.h66 SmallVectorImpl<InsnRange> &getRanges() { return Ranges; } in getRanges() function
/llvm-project-15.0.7/clang/unittests/StaticAnalyzer/
H A DReusables.h98 EXPECT_EQ(Ranges.size(), Piece.getRanges().size()); in testEquality()
99 for (const auto &RangeItem : llvm::enumerate(Piece.getRanges())) in testEquality()
/llvm-project-15.0.7/clang/lib/Analysis/
H A DPathDiagnostic.cpp181 ArrayRef<SourceRange> Ranges = piece->getRanges(); in HandlePathDiagnostic()
280 if (X.getRanges().size() != Y.getRanges().size()) in comparePiece()
281 return X.getRanges().size() < Y.getRanges().size(); in comparePiece()
285 for (unsigned i = 0, n = X.getRanges().size(); i < n; ++i) { in comparePiece()
286 SourceRange XR = X.getRanges()[i]; in comparePiece()
287 SourceRange YR = Y.getRanges()[i]; in comparePiece()
1096 ArrayRef<SourceRange> Ranges = getRanges(); in Profile()
/llvm-project-15.0.7/llvm/unittests/TableGen/
H A DCodeExpanderTest.cpp47 EXPECT_EQ(Received[i].getRanges(), Expected[i].getRanges()); in ~RAIIDiagnosticChecker()
/llvm-project-15.0.7/clang-tools-extra/unittests/clang-tidy/
H A DClangTidyOptionsTest.cpp159 if (!D.getRanges().empty()) { in Diag()
163 Range->Begin = Offset + D.getRanges().front().first, in Diag()
164 Range->End = Offset + D.getRanges().front().second; in Diag()
/llvm-project-15.0.7/clang/lib/Frontend/
H A DTextDiagnosticPrinter.cpp153 DiagMessageStream.str(), Info.getRanges(), Info.getFixItHints()); in HandleDiagnostic()
/llvm-project-15.0.7/mlir/include/mlir/Reducer/
H A DReductionNode.h77 ArrayRef<Range> getRanges() const { return ranges; } in getRanges() function
/llvm-project-15.0.7/clang-tools-extra/clangd/
H A DDiagnostics.cpp102 for (const auto &CR : D.getRanges()) { in diagnosticRange()
450 if (D.getRanges().empty()) in toDiag()
454 Result.Range = {{D.getLineNo() - 1, (int)D.getRanges().front().first}, in toDiag()
455 {D.getLineNo() - 1, (int)D.getRanges().front().second}}; in toDiag()
/llvm-project-15.0.7/llvm/lib/MC/
H A DMCCodeView.cpp618 for (std::pair<const MCSymbol *, const MCSymbol *> Range : Frag.getRanges()) { in encodeDefRange()
627 for (size_t I = 0, E = Frag.getRanges().size(); I != E;) { in encodeDefRange()
630 const MCSymbol *RangeBegin = Frag.getRanges()[I].first; in encodeDefRange()
/llvm-project-15.0.7/clang/include/clang/StaticAnalyzer/Core/BugReporter/
H A DBugReporter.h229 virtual ArrayRef<SourceRange> getRanges() const { in getRanges() function
423 ArrayRef<SourceRange> getRanges() const override;
/llvm-project-15.0.7/llvm/include/llvm/Support/
H A DSourceMgr.h313 ArrayRef<std::pair<unsigned, unsigned>> getRanges() const { return Ranges; } in getRanges() function
/llvm-project-15.0.7/llvm/lib/CodeGen/AsmPrinter/
H A DDwarfCompileUnit.h350 const SmallVectorImpl<RangeSpan> &getRanges() const { return CURanges; } in getRanges() function
H A DDebugHandlerBase.cpp125 for (const InsnRange &R : S->getRanges()) { in identifyScopeMarkers()
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/
H A DClangTidy.cpp76 << PD->path.back()->getRanges(); in FlushDiagnosticsImpl()
82 << DiagPiece->getRanges(); in FlushDiagnosticsImpl()
H A DClangTidyDiagnosticConsumer.cpp423 Converter.emitDiagnostic(Loc, DiagLevel, Message, Info.getRanges(), in HandleDiagnostic()
464 for (auto Range : Info.getRanges()) in forwardDiagnostic()
/llvm-project-15.0.7/llvm/lib/CodeGen/
H A DLexicalScopes.cpp298 SmallVectorImpl<InsnRange> &InsnRanges = Scope->getRanges(); in getMachineBasicBlocks()

123