| /llvm-project-15.0.7/llvm/tools/llvm-mca/ |
| H A D | CodeRegion.cpp | 36 if (Regions.size() == 1 && !Regions[0]->startLoc().isValid() && in beginRegion() 49 SM.PrintMessage(R.startLoc(), SourceMgr::DK_Note, in beginRegion() 57 SM.PrintMessage(R.startLoc(), SourceMgr::DK_Note, in beginRegion() 83 !Regions[0]->startLoc().isValid() && !Regions[0]->endLoc().isValid()) { in endRegion()
|
| H A D | CodeRegion.h | 72 llvm::SMLoc startLoc() const { return RangeStart; } in startLoc() function
|
| H A D | PipelinePrinter.cpp | 121 if (Region.startLoc().isValid() || Region.endLoc().isValid()) in printReport()
|
| /llvm-project-15.0.7/llvm/lib/ProfileData/Coverage/ |
| H A D | CoverageMappingWriter.cpp | 157 return CMR.startLoc() <= CMR.endLoc(); in write() 167 if (LHS.startLoc() != RHS.startLoc()) in write() 168 return LHS.startLoc() < RHS.startLoc(); in write()
|
| H A D | CoverageMapping.cpp | 408 auto &Functions = InstantiatedFunctions[I->startLoc()]; in insert() 516 auto CurStartLoc = CR.value().startLoc(); in buildSegmentsImpl() 548 CurStartLoc != Regions[CR.index() + 1].startLoc()) { in buildSegmentsImpl() 566 if (LHS.startLoc() != RHS.startLoc()) in sortNestedRegions() 567 return LHS.startLoc() < RHS.startLoc(); in sortNestedRegions() 593 if (Active->startLoc() != I->startLoc() || in combineRegions()
|
| H A D | CoverageMappingReader.cpp | 343 if (CMR.startLoc() > CMR.endLoc()) in readMappingRegionsSubArray()
|
| /llvm-project-15.0.7/clang/lib/Frontend/Rewrite/ |
| H A D | RewriteObjC.cpp | 773 InsertText(startLoc, "// "); in RewritePropertyImplDecl() 1762 ReplaceText(startLoc, 6, buf); in RewriteTryReturnStmts() 1786 ReplaceText(startLoc, 6, buf); in RewriteSyncReturnStmts() 1807 ReplaceText(startLoc, 4, buf); in RewriteObjCTryStmt() 1816 startLoc = startLoc.getLocWithOffset(1); in RewriteObjCTryStmt() 1824 InsertText(startLoc, buf); in RewriteObjCTryStmt() 1925 startLoc = startLoc.getLocWithOffset(1); in RewriteObjCTryStmt() 2211 SourceLocation startLoc; in RewriteTypeOfDecl() local 2216 startLoc = SM->getExpansionLoc(startLoc); in RewriteTypeOfDecl() 4268 SourceLocation startLoc; in RewriteByRefVar() local [all …]
|
| H A D | RewriteModernObjC.cpp | 927 InsertText(startLoc, "// "); in RewritePropertyImplDecl() 1956 ReplaceText(startLoc, 1, buf); in RewriteObjCTryStmt() 1959 ReplaceText(startLoc, 1, ""); in RewriteObjCTryStmt() 1964 startLoc = Catch->getBeginLoc(); in RewriteObjCTryStmt() 2003 ReplaceText(startLoc, 1, ""); in RewriteObjCTryStmt() 2298 SourceLocation startLoc; in RewriteTypeOfDecl() local 2302 startLoc = E->getBeginLoc(); in RewriteTypeOfDecl() 2303 startLoc = SM->getExpansionLoc(startLoc); in RewriteTypeOfDecl() 5137 SourceLocation startLoc; in RewriteByRefVar() local 5142 startLoc = E->getBeginLoc(); in RewriteByRefVar() [all …]
|
| /llvm-project-15.0.7/mlir/lib/Tools/tblgen-lsp-server/ |
| H A D | TableGenServer.cpp | 168 const char *startLoc = refLoc.Start.getPointer(); in initialize() local 173 if (startLoc == endLoc) { in initialize() 174 refLoc = lsp::convertTokenLocToRange(SMLoc::getFromPointer(startLoc)); in initialize() 175 startLoc = refLoc.Start.getPointer(); in initialize() 180 if (startLoc == endLoc) in initialize() 188 if (!intervalMap.overlaps(startLoc, endLoc)) in initialize() 189 intervalMap.insert(startLoc, endLoc, sym); in initialize()
|
| /llvm-project-15.0.7/llvm/tools/llvm-cov/ |
| H A D | SourceCoverageView.h | 50 return LHS.Region.startLoc() < RHS.Region.startLoc();
|
| /llvm-project-15.0.7/mlir/lib/Tools/lsp-server-support/ |
| H A D | Protocol.h | 335 SMLoc startLoc = start.getAsSMLoc(mgr); in getAsSMRange() local 338 if (!startLoc.isValid() || !endLoc.isValid() || in getAsSMRange() 339 startLoc.getPointer() > endLoc.getPointer()) in getAsSMRange() 341 return SMRange(startLoc, endLoc); in getAsSMRange()
|
| /llvm-project-15.0.7/llvm/lib/MC/MCParser/ |
| H A D | COFFAsmParser.cpp | 704 SMLoc startLoc = getLexer().getLoc(); in ParseAtUnwindOrAtExcept() local 707 return Error(startLoc, "expected @unwind or @except"); in ParseAtUnwindOrAtExcept() 713 return Error(startLoc, "expected @unwind or @except"); in ParseAtUnwindOrAtExcept()
|
| /llvm-project-15.0.7/clang/tools/libclang/ |
| H A D | CXLoadedDiagnostic.cpp | 302 CXSourceLocation startLoc = makeLocation(Start); in readRange() local 304 SR = clang_getRange(startLoc, endLoc); in readRange()
|
| /llvm-project-15.0.7/mlir/lib/Tools/mlir-pdll-lsp-server/ |
| H A D | PDLLServer.cpp | 132 SMLoc startLoc = decl->getLoc().Start; in getDocumentationFor() local 133 if (!startLoc.isValid()) in getDocumentationFor() 135 int bufferId = sourceMgr.FindBufferContainingLoc(startLoc); in getDocumentationFor() 140 StringRef buffer(bufferStart, startLoc.getPointer() - bufferStart); in getDocumentationFor() 244 const char *startLoc = refLoc.Start.getPointer(); in initialize() local 246 if (!intervalMap.overlaps(startLoc, endLoc)) { in initialize() 247 intervalMap.insert(startLoc, endLoc, sym); in initialize()
|
| /llvm-project-15.0.7/clang/lib/AST/ |
| H A D | DeclObjC.cpp | 1463 SourceLocation startLoc = VarianceLoc; in getSourceRange() local 1464 if (startLoc.isInvalid()) in getSourceRange() 1465 startLoc = getLocation(); in getSourceRange() 1468 return SourceRange(startLoc, in getSourceRange() 1472 return SourceRange(startLoc); in getSourceRange()
|
| /llvm-project-15.0.7/mlir/lib/AsmParser/ |
| H A D | Parser.cpp | 567 ParseResult parseRegionBody(Region ®ion, SMLoc startLoc, 1537 auto startLoc = parser.getToken().getLoc(); in parseOperandList() local 1544 return emitError(startLoc, "expected ") in parseOperandList() 1986 ParseResult OperationParser::parseRegionBody(Region ®ion, SMLoc startLoc, in parseRegionBody() argument 2002 state.asmState->addDefinition(block, startLoc); in parseRegionBody()
|
| /llvm-project-15.0.7/llvm/unittests/ProfileData/ |
| H A D | CoverageMappingTest.cpp | 287 ASSERT_EQ(Input.Regions[I].startLoc(), Output.Regions[I].startLoc()); in TEST_P()
|
| /llvm-project-15.0.7/llvm/lib/Target/X86/AsmParser/ |
| H A D | X86AsmParser.cpp | 4840 SMLoc startLoc = getLexer().getLoc(); in parseSEHRegisterNumber() local 4846 if (ParseRegister(RegNo, startLoc, endLoc)) in parseSEHRegisterNumber() 4850 return Error(startLoc, in parseSEHRegisterNumber() 4870 return Error(startLoc, in parseSEHRegisterNumber() 4955 SMLoc startLoc = getLexer().getLoc(); in parseDirectiveSEHPushFrame() local 4959 return Error(startLoc, "expected @code"); in parseDirectiveSEHPushFrame()
|
| /llvm-project-15.0.7/llvm/lib/Target/SystemZ/AsmParser/ |
| H A D | SystemZAsmParser.cpp | 156 SystemZOperand(OperandKind kind, SMLoc startLoc, SMLoc endLoc) in SystemZOperand() argument 157 : Kind(kind), StartLoc(startLoc), EndLoc(endLoc) {} in SystemZOperand()
|
| /llvm-project-15.0.7/clang/tools/c-index-test/ |
| H A D | c-index-test.c | 4156 CXSourceLocation startLoc, endLoc; in perform_token_annotation() local 4220 startLoc = clang_getLocation(TU, file, line, column); in perform_token_annotation() 4221 if (clang_equalLocations(clang_getNullLocation(), startLoc)) { in perform_token_annotation() 4236 range = clang_getRange(startLoc, endLoc); in perform_token_annotation()
|
| /llvm-project-15.0.7/llvm/include/llvm/ProfileData/Coverage/ |
| H A D | CoverageMapping.h | 295 inline LineColPair startLoc() const { in startLoc() function
|
| /llvm-project-15.0.7/clang/include/clang/AST/ |
| H A D | Stmt.h | 1304 DeclStmt(DeclGroupRef dg, SourceLocation startLoc, SourceLocation endLoc) in DeclStmt() argument 1305 : Stmt(DeclStmtClass), DG(dg), StartLoc(startLoc), EndLoc(endLoc) {} in DeclStmt()
|
| /llvm-project-15.0.7/clang/lib/Sema/ |
| H A D | SemaObjCProperty.cpp | 2247 SourceLocation startLoc = in AtomicPropertySetterGetterRules() local 2251 << FixItHint::CreateInsertion(startLoc, "(nonatomic) "); in AtomicPropertySetterGetterRules()
|
| /llvm-project-15.0.7/mlir/lib/Tools/PDLL/Parser/ |
| H A D | Parser.cpp | 2245 SMLoc startLoc = curToken.getStartLoc(); in parseCompoundStmt() local 2260 SMRange location(startLoc, curToken.getEndLoc()); in parseCompoundStmt()
|