Home
last modified time | relevance | path

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

/freebsd-12.1/contrib/llvm/lib/ProfileData/Coverage/
H A DCoverageMapping.cpp375 return L->endLoc() < R->endLoc(); in completeRegionsUntil()
382 assert((!Loc || CompletedRegion->endLoc() <= *Loc) && in completeRegionsUntil()
386 auto CompletedSegmentLoc = PrevCompletedRegion->endLoc(); in completeRegionsUntil()
394 if (CompletedSegmentLoc == CompletedRegion->endLoc()) in completeRegionsUntil()
399 if (CompletedRegion->endLoc() == ActiveRegions[J]->endLoc()) in completeRegionsUntil()
406 if (FirstCompletedRegion && Last->endLoc() != *Loc) { in completeRegionsUntil()
414 startSegment(*Last, Last->endLoc(), false, true); in completeRegionsUntil()
440 if (CurStartLoc == CR.value().endLoc()) { in buildSegmentsImpl()
469 if (LHS.endLoc() != RHS.endLoc()) in sortNestedRegions()
471 return RHS.endLoc() < LHS.endLoc(); in sortNestedRegions()
[all …]
H A DCoverageMappingWriter.cpp122 return CMR.startLoc() <= CMR.endLoc(); in write()
H A DCoverageMappingReader.cpp245 if (CMR.startLoc() > CMR.endLoc()) in readMappingRegionsSubArray()
/freebsd-12.1/contrib/llvm/tools/llvm-mca/
H A DCodeRegion.cpp31 if (CurrentRegion.startLoc().isValid() && !CurrentRegion.endLoc().isValid()) { in beginRegion()
46 if (CurrentRegion.endLoc().isValid()) { in endRegion()
H A DCodeRegion.h71 llvm::SMLoc endLoc() const { return RangeEnd; } in endLoc() function
H A Dllvm-mca.cpp403 if (Region->startLoc().isValid() || Region->endLoc().isValid()) { in main()
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/Parse/
H A DParser.h2394 SourceLocation endLoc; variable
2395 ParseGNUAttributes(attrs, &endLoc, LateAttrs, &D);
2396 D.takeAttributes(attrs, endLoc);
2403 ParseGNUAttributes(attrs, endLoc, LateAttrs);
2425 SourceLocation endLoc; in MaybeParseCXX11Attributes() local
2426 ParseCXX11Attributes(attrs, &endLoc); in MaybeParseCXX11Attributes()
2427 D.takeAttributes(attrs, endLoc); in MaybeParseCXX11Attributes()
2434 ParseCXX11Attributes(attrsWithRange, endLoc);
2443 ParseCXX11Attributes(attrs, endLoc);
2463 ParseMicrosoftAttributes(attrs, endLoc);
[all …]
/freebsd-12.1/contrib/llvm/tools/clang/lib/ARCMigrate/
H A DTransformActions.cpp69 SourceLocation beginLoc = range.getBegin(), endLoc = range.getEnd(); in CharRange() local
70 assert(beginLoc.isValid() && endLoc.isValid()); in CharRange()
73 End = FullSourceLoc(getLocForEndOfToken(endLoc, srcMgr, PP), srcMgr); in CharRange()
76 End = FullSourceLoc(srcMgr.getExpansionLoc(endLoc), srcMgr); in CharRange()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Parse/
H A DParseDeclCXX.cpp3979 ParseAlignmentSpecifier(attrs, endLoc); in ParseCXX11AttributeSpecifier()
4073 if (endLoc) in ParseCXX11AttributeSpecifier()
4074 *endLoc = Tok.getLocation(); in ParseCXX11AttributeSpecifier()
4084 SourceLocation *endLoc) { in ParseCXX11Attributes() argument
4088 if (!endLoc) in ParseCXX11Attributes()
4089 endLoc = &Loc; in ParseCXX11Attributes()
4092 ParseCXX11AttributeSpecifier(attrs, endLoc); in ParseCXX11Attributes()
4095 attrs.Range = SourceRange(StartLoc, *endLoc); in ParseCXX11Attributes()
4229 SourceLocation *endLoc) { in ParseMicrosoftAttributes() argument
4249 if (endLoc) in ParseMicrosoftAttributes()
[all …]
H A DParseDecl.cpp131 SourceLocation *endLoc, in ParseGNUAttributes() argument
170 ParseGNUAttributeArgs(AttrName, AttrNameLoc, attrs, endLoc, nullptr, in ParseGNUAttributes()
203 if (endLoc) in ParseGNUAttributes()
204 *endLoc = Loc; in ParseGNUAttributes()
920 SourceLocation *endLoc, in ParseAvailabilityAttribute() argument
1105 if (endLoc) in ParseAvailabilityAttribute()
1106 *endLoc = T.getCloseLocation(); in ParseAvailabilityAttribute()
1266 SourceLocation *endLoc, in ParseObjCBridgeRelatedAttribute() argument
1325 if (endLoc) in ParseObjCBridgeRelatedAttribute()
1326 *endLoc = T.getCloseLocation(); in ParseObjCBridgeRelatedAttribute()
[all …]
H A DParseObjc.cpp1815 SourceLocation &endLoc) { in parseObjCTypeArgsAndProtocolQualifiers() argument
1836 endLoc = PrevTokLocation; in parseObjCTypeArgsAndProtocolQualifiers()
1838 endLoc = Tok.getLocation(); in parseObjCTypeArgsAndProtocolQualifiers()
/freebsd-12.1/contrib/llvm/lib/MC/MCParser/
H A DCOFFAsmParser.cpp824 SMLoc endLoc; in ParseSEHRegisterNumber() local
826 if (getParser().getTargetParser().ParseRegister(LLVMRegNo,startLoc,endLoc)) in ParseSEHRegisterNumber()
/freebsd-12.1/contrib/llvm/tools/clang/lib/AST/
H A DDeclObjC.cpp779 ObjCMethodDecl::ObjCMethodDecl(SourceLocation beginLoc, SourceLocation endLoc, in ObjCMethodDecl() argument
789 DeclEndLoc(endLoc) { in ObjCMethodDecl()
811 ASTContext &C, SourceLocation beginLoc, SourceLocation endLoc, in Create() argument
817 beginLoc, endLoc, SelInfo, T, ReturnTInfo, contextDecl, isInstance, in Create()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Frontend/Rewrite/
H A DRewriteObjC.cpp1657 SourceLocation endLoc = S->getSynchBody()->getBeginLoc(); in RewriteObjCSynchronizedStmt() local
1658 const char *endBuf = SM->getCharacterData(endLoc); in RewriteObjCSynchronizedStmt()
1911 SourceLocation endLoc = body->getEndLoc(); in RewriteObjCTryStmt() local
1914 assert(*SM->getCharacterData(endLoc) == '}' && in RewriteObjCTryStmt()
1919 endLoc = endLoc.getLocWithOffset(-1); in RewriteObjCTryStmt()
1920 InsertText(endLoc, " if (_rethrow) objc_exception_throw(_rethrow);\n"); in RewriteObjCTryStmt()
4630 SourceLocation endLoc = MessExpr->getEndLoc(); in RewriteFunctionBodyOrGlobalInitializer()
4633 const char *endBuf = SM->getCharacterData(endLoc); in RewriteFunctionBodyOrGlobalInitializer()
H A DRewriteModernObjC.cpp2054 SourceLocation endLoc = S->getEndLoc(); in RewriteObjCThrowStmt() local
2055 const char *endBuf = SM->getCharacterData(endLoc); in RewriteObjCThrowStmt()
5526 SourceLocation endLoc = MessExpr->getEndLoc(); in RewriteFunctionBodyOrGlobalInitializer()
5529 const char *endBuf = SM->getCharacterData(endLoc); in RewriteFunctionBodyOrGlobalInitializer()
/freebsd-12.1/contrib/llvm/lib/Target/SystemZ/AsmParser/
H A DSystemZAsmParser.cpp152 SystemZOperand(OperandKind kind, SMLoc startLoc, SMLoc endLoc) in SystemZOperand() argument
153 : Kind(kind), StartLoc(startLoc), EndLoc(endLoc) {} in SystemZOperand()
/freebsd-12.1/contrib/llvm/include/llvm/ProfileData/Coverage/
H A DCoverageMapping.h269 inline LineColPair endLoc() const { return LineColPair(LineEnd, ColumnEnd); } in endLoc() function
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/AST/
H A DDeclObjC.h172 ObjCMethodDecl(SourceLocation beginLoc, SourceLocation endLoc,
232 Create(ASTContext &C, SourceLocation beginLoc, SourceLocation endLoc,
H A DStmt.h1148 DeclStmt(DeclGroupRef dg, SourceLocation startLoc, SourceLocation endLoc) in DeclStmt() argument
1149 : Stmt(DeclStmtClass), DG(dg), StartLoc(startLoc), EndLoc(endLoc) {} in DeclStmt()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Sema/
H A DSemaObjCProperty.cpp1131 SourceLocation endLoc = in ActOnPropertyImplDecl() local
1133 SourceRange ReadonlySourceRange(readonlyLoc, endLoc); in ActOnPropertyImplDecl()