Home
last modified time | relevance | path

Searched refs:startLoc (Results 1 – 18 of 18) 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.h113 llvm::SMLoc startLoc() const { return RangeStart; } in startLoc() function
/freebsd/contrib/llvm-project/clang/lib/Frontend/Rewrite/
H A DRewriteObjC.cpp770 SourceLocation startLoc = PID->getBeginLoc(); in RewritePropertyImplDecl() local
771 InsertText(startLoc, "// "); in RewritePropertyImplDecl()
772 const char *startBuf = SM->getCharacterData(startLoc); in RewritePropertyImplDecl()
777 startLoc.getLocWithOffset(semiBuf-startBuf+1); in RewritePropertyImplDecl()
905 SourceLocation startLoc = ClassDecl->getBeginLoc(); in RewriteForwardClassEpilogue() local
906 const char *startBuf = SM->getCharacterData(startLoc); in RewriteForwardClassEpilogue()
909 ReplaceText(startLoc, semiPtr - startBuf + 1, typedefString); in RewriteForwardClassEpilogue()
1421 SourceLocation startLoc = S->getBeginLoc(); in RewriteBreakStmt() local
1424 ReplaceText(startLoc, strlen("break"), buf); in RewriteBreakStmt()
1438 SourceLocation startLoc = S->getBeginLoc(); in RewriteContinueStmt() local
[all …]
H A DRewriteModernObjC.cpp924 SourceLocation startLoc = PID->getBeginLoc(); in RewritePropertyImplDecl() local
925 InsertText(startLoc, "// "); in RewritePropertyImplDecl()
926 const char *startBuf = SM->getCharacterData(startLoc); in RewritePropertyImplDecl()
930 startGetterSetterLoc = startLoc.getLocWithOffset(semiBuf-startBuf+1); in RewritePropertyImplDecl()
1061 SourceLocation startLoc = ClassDecl->getBeginLoc(); in RewriteForwardClassEpilogue() local
1062 const char *startBuf = SM->getCharacterData(startLoc); in RewriteForwardClassEpilogue()
1065 ReplaceText(startLoc, semiPtr-startBuf+1, typedefString); in RewriteForwardClassEpilogue()
1613 SourceLocation startLoc = S->getBeginLoc(); in RewriteBreakStmt() local
1616 ReplaceText(startLoc, strlen("break"), buf); in RewriteBreakStmt()
1643 SourceLocation startLoc = S->getBeginLoc(); in RewriteContinueStmt() local
[all …]
/freebsd/contrib/llvm-project/llvm/lib/ProfileData/Coverage/
H A DCoverageMappingWriter.cpp157 return CMR.startLoc() <= CMR.endLoc(); in write()
167 if (LHS.startLoc() != RHS.startLoc()) in write()
168 return LHS.startLoc() < RHS.startLoc(); in write()
H A DCoverageMapping.cpp538 CondLoc[I] = B->startLoc(); in processMCDCRecord()
703 DecisionStartLoc(Decision.startLoc()), in DecisionRecord()
712 R.startLoc() >= DecisionStartLoc && R.endLoc() <= DecisionEndLoc) in dominates()
1148 auto &Functions = InstantiatedFunctions[I->startLoc()]; in insert()
1256 auto CurStartLoc = CR.value().startLoc(); in buildSegmentsImpl()
1288 CurStartLoc != Regions[CR.index() + 1].startLoc()) { in buildSegmentsImpl()
1306 if (LHS.startLoc() != RHS.startLoc()) in sortNestedRegions()
1307 return LHS.startLoc() < RHS.startLoc(); in sortNestedRegions()
1333 if (Active->startLoc() != I->startLoc() || in combineRegions()
H A DCoverageMappingReader.cpp388 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();
H A DCoverageExporterLcov.cpp108 NestedPath.push_back(Expansion.Region.startLoc()); in collectNestedBranches()
139 return NestedCountedRegion(Region, {Region.startLoc()}, in appendNestedCountedRegions()
/freebsd/contrib/llvm-project/llvm/lib/MC/MCParser/
H A DCOFFAsmParser.cpp787 SMLoc startLoc = getLexer().getLoc(); in parseAtUnwindOrAtExcept() local
790 return Error(startLoc, "expected @unwind or @except"); in parseAtUnwindOrAtExcept()
796 return Error(startLoc, "expected @unwind or @except"); in parseAtUnwindOrAtExcept()
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DDeclObjC.cpp1495 SourceLocation startLoc = VarianceLoc; in getSourceRange() local
1496 if (startLoc.isInvalid()) in getSourceRange()
1497 startLoc = getLocation(); in getSourceRange()
1500 return SourceRange(startLoc, in getSourceRange()
1504 return SourceRange(startLoc); in getSourceRange()
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/AsmParser/
H A DX86AsmParser.cpp4923 SMLoc startLoc = getLexer().getLoc(); in parseSEHRegisterNumber() local
4929 if (parseRegister(RegNo, startLoc, endLoc)) in parseSEHRegisterNumber()
4933 return Error(startLoc, in parseSEHRegisterNumber()
4953 return Error(startLoc, in parseSEHRegisterNumber()
5038 SMLoc startLoc = getLexer().getLoc(); in parseDirectiveSEHPushFrame() local
5042 return Error(startLoc, "expected @code"); in parseDirectiveSEHPushFrame()
/freebsd/contrib/llvm-project/clang/lib/CIR/CodeGen/
H A DCIRGenFunction.cpp341 SourceLocation startLoc) { in startFunction() argument
H A DCIRGenFunction.h596 clang::SourceLocation startLoc);
/freebsd/contrib/llvm-project/llvm/include/llvm/ProfileData/Coverage/
H A DCoverageMapping.h365 inline LineColPair startLoc() const { in startLoc() function
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaObjCProperty.cpp2234 SourceLocation startLoc = in AtomicPropertySetterGetterRules() local
2238 << FixItHint::CreateInsertion(startLoc, "(nonatomic) "); in AtomicPropertySetterGetterRules()
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DStmt.h1627 DeclStmt(DeclGroupRef dg, SourceLocation startLoc, SourceLocation endLoc)
1628 : Stmt(DeclStmtClass), DG(dg), StartLoc(startLoc), EndLoc(endLoc) {}