Home
last modified time | relevance | path

Searched refs:endLoc (Results 1 – 25 of 30) sorted by relevance

12

/llvm-project-15.0.7/llvm/lib/ProfileData/Coverage/
H A DCoverageMapping.cpp468 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 DCoverageMappingWriter.cpp157 return CMR.startLoc() <= CMR.endLoc(); in write()
H A DCoverageMappingReader.cpp343 if (CMR.startLoc() > CMR.endLoc()) in readMappingRegionsSubArray()
/llvm-project-15.0.7/mlir/include/mlir/AsmParser/
H A DAsmParserState.h59 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 DInsertionPoint.cpp79 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 DCodeRegion.cpp37 !Regions[0]->endLoc().isValid()) { in beginRegion()
83 !Regions[0]->startLoc().isValid() && !Regions[0]->endLoc().isValid()) { in endRegion()
H A DCodeRegion.h73 llvm::SMLoc endLoc() const { return RangeEnd; } in endLoc() function
H A DPipelinePrinter.cpp121 if (Region.startLoc().isValid() || Region.endLoc().isValid()) in printReport()
/llvm-project-15.0.7/mlir/lib/Tools/tblgen-lsp-server/
H A DTableGenServer.cpp169 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 DTensorTilingInterfaceImpl.cpp189 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 DProtocol.h336 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 DTransformActions.cpp68 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 DAsmParserState.cpp204 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 DCXLoadedDiagnostic.cpp303 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 DDeclObjC.cpp789 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 DPPDirectives.cpp511 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 DCoverageMappingTest.cpp288 ASSERT_EQ(Input.Regions[I].endLoc(), Output.Regions[I].endLoc()); in TEST_P()
/llvm-project-15.0.7/clang/lib/Frontend/Rewrite/
H A DRewriteObjC.cpp1665 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 DPDLLServer.cpp245 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 DSystemZAsmParser.cpp156 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 DParser.h1681 SourceLocation &endLoc);
2857 SourceLocation *endLoc,
2915 SourceLocation *endLoc = nullptr);
/llvm-project-15.0.7/clang/tools/c-index-test/
H A Dc-index-test.c4156 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 DDeclObjC.h172 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 DCoverageMapping.h299 inline LineColPair endLoc() const { return LineColPair(LineEnd, ColumnEnd); } in endLoc() function
/llvm-project-15.0.7/clang/lib/Parse/
H A DParseObjc.cpp1837 SourceLocation &endLoc) { in parseObjCTypeArgsAndProtocolQualifiers() argument
1858 endLoc = PrevTokLocation; in parseObjCTypeArgsAndProtocolQualifiers()
1860 endLoc = Tok.getLocation(); in parseObjCTypeArgsAndProtocolQualifiers()

12