| /llvm-project-15.0.7/llvm/lib/ProfileData/Coverage/ |
| H A D | CoverageMapping.cpp | 468 return L->endLoc() < R->endLoc(); in completeRegionsUntil() 475 assert((!Loc || CompletedRegion->endLoc() <= *Loc) && in completeRegionsUntil() 479 auto CompletedSegmentLoc = PrevCompletedRegion->endLoc(); in completeRegionsUntil() 487 if (CompletedSegmentLoc == CompletedRegion->endLoc()) in completeRegionsUntil() 492 if (CompletedRegion->endLoc() == ActiveRegions[J]->endLoc()) in completeRegionsUntil() 499 if (FirstCompletedRegion && Last->endLoc() != *Loc) { in completeRegionsUntil() 507 startSegment(*Last, Last->endLoc(), false, true); in completeRegionsUntil() 533 if (CurStartLoc == CR.value().endLoc()) { in buildSegmentsImpl() 568 if (LHS.endLoc() != RHS.endLoc()) in sortNestedRegions() 570 return RHS.endLoc() < LHS.endLoc(); in sortNestedRegions() [all …]
|
| H A D | CoverageMappingWriter.cpp | 157 return CMR.startLoc() <= CMR.endLoc(); in write()
|
| H A D | CoverageMappingReader.cpp | 343 if (CMR.startLoc() > CMR.endLoc()) in readMappingRegionsSubArray()
|
| /llvm-project-15.0.7/mlir/include/mlir/AsmParser/ |
| H A D | AsmParserState.h | 59 OperationDefinition(Operation *op, SMRange loc, SMLoc endLoc) in OperationDefinition() 60 : op(op), loc(loc), scopeLoc(loc.Start, endLoc) {} in OperationDefinition() 145 Operation *op, SMRange nameLoc, SMLoc endLoc,
|
| /llvm-project-15.0.7/clang-tools-extra/clangd/refactor/ |
| H A D | InsertionPoint.cpp | 79 SourceLocation endLoc(const DeclContext &DC) { in endLoc() function 103 return *D ? beginLoc(**D) : endLoc(DC); in insertionPoint() 116 Loc = endLoc(DC); in insertDecl()
|
| /llvm-project-15.0.7/llvm/tools/llvm-mca/ |
| H A D | CodeRegion.cpp | 37 !Regions[0]->endLoc().isValid()) { in beginRegion() 83 !Regions[0]->startLoc().isValid() && !Regions[0]->endLoc().isValid()) { in endRegion()
|
| H A D | CodeRegion.h | 73 llvm::SMLoc endLoc() const { return RangeEnd; } in endLoc() function
|
| H A D | PipelinePrinter.cpp | 121 if (Region.startLoc().isValid() || Region.endLoc().isValid()) in printReport()
|
| /llvm-project-15.0.7/mlir/lib/Tools/tblgen-lsp-server/ |
| H A D | TableGenServer.cpp | 169 const char *endLoc = refLoc.End.getPointer(); in initialize() local 173 if (startLoc == endLoc) { in initialize() 176 endLoc = refLoc.End.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/mlir/lib/Dialect/Tensor/IR/ |
| H A D | TensorTilingInterfaceImpl.cpp | 189 Value endLoc = hasLowPad in bubbleUpPadSlice() local 192 Value newLength = sub(endLoc, newOffset); in bubbleUpPadSlice()
|
| /llvm-project-15.0.7/mlir/lib/Tools/lsp-server-support/ |
| H A D | Protocol.h | 336 SMLoc endLoc = end.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/clang/lib/ARCMigrate/ |
| H A D | TransformActions.cpp | 68 SourceLocation beginLoc = range.getBegin(), endLoc = range.getEnd(); in CharRange() local 69 assert(beginLoc.isValid() && endLoc.isValid()); in CharRange() 72 End = FullSourceLoc(getLocForEndOfToken(endLoc, srcMgr, PP), srcMgr); in CharRange() 75 End = FullSourceLoc(srcMgr.getExpansionLoc(endLoc), srcMgr); in CharRange()
|
| /llvm-project-15.0.7/mlir/lib/AsmParser/ |
| H A D | AsmParserState.cpp | 204 Operation *op, SMRange nameLoc, SMLoc endLoc, in finalizeOperationDefinition() argument 212 std::make_unique<OperationDefinition>(op, nameLoc, endLoc); in finalizeOperationDefinition()
|
| /llvm-project-15.0.7/clang/tools/libclang/ |
| H A D | CXLoadedDiagnostic.cpp | 303 CXSourceLocation endLoc = makeLocation(End); in readRange() local 304 SR = clang_getRange(startLoc, endLoc); in readRange()
|
| /llvm-project-15.0.7/clang/lib/AST/ |
| H A D | DeclObjC.cpp | 789 SourceLocation beginLoc, SourceLocation endLoc, Selector SelInfo, in ObjCMethodDecl() argument 796 DeclEndLoc(endLoc) { in ObjCMethodDecl() 819 ASTContext &C, SourceLocation beginLoc, SourceLocation endLoc, in Create() argument 826 beginLoc, endLoc, SelInfo, T, ReturnTInfo, contextDecl, isInstance, in Create()
|
| /llvm-project-15.0.7/clang/lib/Lex/ |
| H A D | PPDirectives.cpp | 511 SourceLocation endLoc; in SkipExcludedConditionalBlock() local 678 endLoc = CheckEndOfDirective("endif"); in SkipExcludedConditionalBlock() 709 endLoc = CheckEndOfDirective("else"); in SkipExcludedConditionalBlock() 853 SourceRange(HashTokenLoc, endLoc.isValid() in SkipExcludedConditionalBlock() 854 ? endLoc in SkipExcludedConditionalBlock()
|
| /llvm-project-15.0.7/llvm/unittests/ProfileData/ |
| H A D | CoverageMappingTest.cpp | 288 ASSERT_EQ(Input.Regions[I].endLoc(), Output.Regions[I].endLoc()); in TEST_P()
|
| /llvm-project-15.0.7/clang/lib/Frontend/Rewrite/ |
| H A D | RewriteObjC.cpp | 1665 SourceLocation endLoc = S->getSynchBody()->getBeginLoc(); in RewriteObjCSynchronizedStmt() local 1666 const char *endBuf = SM->getCharacterData(endLoc); in RewriteObjCSynchronizedStmt() 1919 SourceLocation endLoc = body->getEndLoc(); in RewriteObjCTryStmt() local 1922 assert(*SM->getCharacterData(endLoc) == '}' && in RewriteObjCTryStmt() 1927 endLoc = endLoc.getLocWithOffset(-1); in RewriteObjCTryStmt() 1928 InsertText(endLoc, " if (_rethrow) objc_exception_throw(_rethrow);\n"); in RewriteObjCTryStmt() 4633 SourceLocation endLoc = MessExpr->getEndLoc(); in RewriteFunctionBodyOrGlobalInitializer() 4636 const char *endBuf = SM->getCharacterData(endLoc); in RewriteFunctionBodyOrGlobalInitializer()
|
| /llvm-project-15.0.7/mlir/lib/Tools/mlir-pdll-lsp-server/ |
| H A D | PDLLServer.cpp | 245 const char *endLoc = refLoc.End.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/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/include/clang/Parse/ |
| H A D | Parser.h | 1681 SourceLocation &endLoc); 2857 SourceLocation *endLoc, 2915 SourceLocation *endLoc = nullptr);
|
| /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 4228 endLoc = clang_getLocation(TU, file, second_line, second_column); in perform_token_annotation() 4229 if (clang_equalLocations(clang_getNullLocation(), endLoc)) { in perform_token_annotation() 4236 range = clang_getRange(startLoc, endLoc); in perform_token_annotation()
|
| /llvm-project-15.0.7/clang/include/clang/AST/ |
| H A D | DeclObjC.h | 172 ObjCMethodDecl(SourceLocation beginLoc, SourceLocation endLoc, 233 Create(ASTContext &C, SourceLocation beginLoc, SourceLocation endLoc,
|
| /llvm-project-15.0.7/llvm/include/llvm/ProfileData/Coverage/ |
| H A D | CoverageMapping.h | 299 inline LineColPair endLoc() const { return LineColPair(LineEnd, ColumnEnd); } in endLoc() function
|
| /llvm-project-15.0.7/clang/lib/Parse/ |
| H A D | ParseObjc.cpp | 1837 SourceLocation &endLoc) { in parseObjCTypeArgsAndProtocolQualifiers() argument 1858 endLoc = PrevTokLocation; in parseObjCTypeArgsAndProtocolQualifiers() 1860 endLoc = Tok.getLocation(); in parseObjCTypeArgsAndProtocolQualifiers()
|