Home
last modified time | relevance | path

Searched refs:startLoc (Results 1 – 16 of 16) sorted by relevance

/freebsd-13.1/contrib/llvm-project/llvm/tools/llvm-mca/
H A DCodeRegion.cpp36 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 DCodeRegion.h72 llvm::SMLoc startLoc() const { return RangeStart; } in startLoc() function
H A DPipelinePrinter.cpp122 if (Region.startLoc().isValid() || Region.endLoc().isValid()) in printReport()
/freebsd-13.1/contrib/llvm-project/llvm/lib/ProfileData/Coverage/
H A DCoverageMappingWriter.cpp159 return CMR.startLoc() <= CMR.endLoc(); in write()
169 if (LHS.startLoc() != RHS.startLoc()) in write()
170 return LHS.startLoc() < RHS.startLoc(); in write()
H A DCoverageMapping.cpp405 auto &Functions = InstantiatedFunctions[I->startLoc()]; in insert()
513 auto CurStartLoc = CR.value().startLoc(); in buildSegmentsImpl()
545 CurStartLoc != Regions[CR.index() + 1].startLoc()) { in buildSegmentsImpl()
563 if (LHS.startLoc() != RHS.startLoc()) in sortNestedRegions()
564 return LHS.startLoc() < RHS.startLoc(); in sortNestedRegions()
590 if (Active->startLoc() != I->startLoc() || in combineRegions()
H A DCoverageMappingReader.cpp342 if (CMR.startLoc() > CMR.endLoc()) in readMappingRegionsSubArray()
/freebsd-13.1/contrib/llvm-project/clang/lib/Frontend/Rewrite/
H A DRewriteObjC.cpp773 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 DRewriteModernObjC.cpp926 InsertText(startLoc, "// "); in RewritePropertyImplDecl()
1955 ReplaceText(startLoc, 1, buf); in RewriteObjCTryStmt()
1958 ReplaceText(startLoc, 1, ""); in RewriteObjCTryStmt()
1964 startLoc = Catch->getBeginLoc(); in RewriteObjCTryStmt()
2002 ReplaceText(startLoc, 1, ""); in RewriteObjCTryStmt()
2297 SourceLocation startLoc; in RewriteTypeOfDecl() local
2301 startLoc = E->getBeginLoc(); in RewriteTypeOfDecl()
2302 startLoc = SM->getExpansionLoc(startLoc); in RewriteTypeOfDecl()
5136 SourceLocation startLoc; in RewriteByRefVar() local
5141 startLoc = E->getBeginLoc(); in RewriteByRefVar()
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/tools/llvm-cov/
H A DSourceCoverageView.h50 return LHS.Region.startLoc() < RHS.Region.startLoc();
/freebsd-13.1/contrib/llvm-project/llvm/lib/MC/MCParser/
H A DCOFFAsmParser.cpp707 SMLoc startLoc = getLexer().getLoc(); in ParseAtUnwindOrAtExcept() local
710 return Error(startLoc, "expected @unwind or @except"); in ParseAtUnwindOrAtExcept()
716 return Error(startLoc, "expected @unwind or @except"); in ParseAtUnwindOrAtExcept()
/freebsd-13.1/contrib/llvm-project/clang/lib/AST/
H A DDeclObjC.cpp1447 SourceLocation startLoc = VarianceLoc; in getSourceRange() local
1448 if (startLoc.isInvalid()) in getSourceRange()
1449 startLoc = getLocation(); in getSourceRange()
1452 return SourceRange(startLoc, in getSourceRange()
1456 return SourceRange(startLoc); in getSourceRange()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/X86/AsmParser/
H A DX86AsmParser.cpp4840 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()
/freebsd-13.1/contrib/llvm-project/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-13.1/contrib/llvm-project/llvm/include/llvm/ProfileData/Coverage/
H A DCoverageMapping.h295 inline LineColPair startLoc() const { in startLoc() function
/freebsd-13.1/contrib/llvm-project/clang/include/clang/AST/
H A DStmt.h1296 DeclStmt(DeclGroupRef dg, SourceLocation startLoc, SourceLocation endLoc) in DeclStmt() argument
1297 : Stmt(DeclStmtClass), DG(dg), StartLoc(startLoc), EndLoc(endLoc) {} in DeclStmt()
/freebsd-13.1/contrib/llvm-project/clang/lib/Sema/
H A DSemaObjCProperty.cpp2247 SourceLocation startLoc = in AtomicPropertySetterGetterRules() local
2251 << FixItHint::CreateInsertion(startLoc, "(nonatomic) "); in AtomicPropertySetterGetterRules()