Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/tools/llvm-mca/
H A DCodeRegion.cpp43 if (Regions.size() == 1 && !Regions[0]->startLoc().isValid() && in beginRegion()
56 SM.PrintMessage(R.startLoc(), llvm::SourceMgr::DK_Note, in beginRegion()
64 SM.PrintMessage(R.startLoc(), llvm::SourceMgr::DK_Note, in beginRegion()
90 !Regions[0]->startLoc().isValid() && !Regions[0]->endLoc().isValid()) { in endRegion()
132 SM.PrintMessage(R.startLoc(), llvm::SourceMgr::DK_Note, in beginRegion()
H A DPipelinePrinter.cpp121 if (Region.startLoc().isValid() || Region.endLoc().isValid()) in printReport()
H A DCodeRegion.h100 llvm::SMLoc startLoc() const { return RangeStart; } in startLoc() function
/freebsd/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.cpp927 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()
5136 SourceLocation startLoc; in RewriteByRefVar() local
5141 startLoc = E->getBeginLoc(); in RewriteByRefVar()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/ProfileData/Coverage/
H A DCoverageMappingWriter.cpp158 return CMR.startLoc() <= CMR.endLoc(); in write()
168 if (LHS.startLoc() != RHS.startLoc()) in write()
169 return LHS.startLoc() < RHS.startLoc(); in write()
H A DCoverageMapping.cpp454 CondLoc[I] = B->startLoc(); in processMCDCRecord()
618 : DecisionRegion(&Decision), DecisionStartLoc(Decision.startLoc()), in DecisionRecord()
627 R.startLoc() >= DecisionStartLoc && R.endLoc() <= DecisionEndLoc) in dominates()
1045 auto &Functions = InstantiatedFunctions[I->startLoc()]; in insert()
1153 auto CurStartLoc = CR.value().startLoc(); in buildSegmentsImpl()
1185 CurStartLoc != Regions[CR.index() + 1].startLoc()) { in buildSegmentsImpl()
1203 if (LHS.startLoc() != RHS.startLoc()) in sortNestedRegions()
1204 return LHS.startLoc() < RHS.startLoc(); in sortNestedRegions()
1230 if (Active->startLoc() != I->startLoc() || in combineRegions()
H A DCoverageMappingReader.cpp380 if (CMR.startLoc() > CMR.endLoc()) in readMappingRegionsSubArray()
/freebsd/contrib/llvm-project/llvm/tools/llvm-cov/
H A DSourceCoverageView.h50 return LHS.Region.startLoc() < RHS.Region.startLoc();
/freebsd/contrib/llvm-project/llvm/lib/MC/MCParser/
H A DCOFFAsmParser.cpp742 SMLoc startLoc = getLexer().getLoc(); in ParseAtUnwindOrAtExcept() local
745 return Error(startLoc, "expected @unwind or @except"); in ParseAtUnwindOrAtExcept()
751 return Error(startLoc, "expected @unwind or @except"); in ParseAtUnwindOrAtExcept()
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DDeclObjC.cpp1498 SourceLocation startLoc = VarianceLoc; in getSourceRange() local
1499 if (startLoc.isInvalid()) in getSourceRange()
1500 startLoc = getLocation(); in getSourceRange()
1503 return SourceRange(startLoc, in getSourceRange()
1507 return SourceRange(startLoc); in getSourceRange()
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/AsmParser/
H A DX86AsmParser.cpp4740 SMLoc startLoc = getLexer().getLoc(); in parseSEHRegisterNumber() local
4746 if (parseRegister(RegNo, startLoc, endLoc)) in parseSEHRegisterNumber()
4750 return Error(startLoc, in parseSEHRegisterNumber()
4770 return Error(startLoc, in parseSEHRegisterNumber()
4855 SMLoc startLoc = getLexer().getLoc(); in parseDirectiveSEHPushFrame() local
4859 return Error(startLoc, "expected @code"); in parseDirectiveSEHPushFrame()
/freebsd/contrib/llvm-project/llvm/include/llvm/ProfileData/Coverage/
H A DCoverageMapping.h360 inline LineColPair startLoc() const { in startLoc() function
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaObjCProperty.cpp2243 SourceLocation startLoc = in AtomicPropertySetterGetterRules() local
2247 << FixItHint::CreateInsertion(startLoc, "(nonatomic) "); in AtomicPropertySetterGetterRules()
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DStmt.h1500 DeclStmt(DeclGroupRef dg, SourceLocation startLoc, SourceLocation endLoc) in DeclStmt() argument
1501 : Stmt(DeclStmtClass), DG(dg), StartLoc(startLoc), EndLoc(endLoc) {} in DeclStmt()