Home
last modified time | relevance | path

Searched refs:startLoc (Results 1 – 14 of 14) 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/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.cpp508 CondLoc[I] = B->startLoc(); in processMCDCRecord()
677 DecisionStartLoc(Decision.startLoc()), in DecisionRecord()
686 R.startLoc() >= DecisionStartLoc && R.endLoc() <= DecisionEndLoc) in dominates()
1094 auto &Functions = InstantiatedFunctions[I->startLoc()]; in insert()
1202 auto CurStartLoc = CR.value().startLoc(); in buildSegmentsImpl()
1234 CurStartLoc != Regions[CR.index() + 1].startLoc()) { in buildSegmentsImpl()
1252 if (LHS.startLoc() != RHS.startLoc()) in sortNestedRegions()
1253 return LHS.startLoc() < RHS.startLoc(); in sortNestedRegions()
1279 if (Active->startLoc() != I->startLoc() || in combineRegions()
H A DCoverageMappingReader.cpp388 if (CMR.startLoc() > CMR.endLoc()) in readMappingRegionsSubArray()
/freebsd/contrib/llvm-project/clang/lib/Frontend/Rewrite/
H A DRewriteModernObjC.cpp925 SourceLocation startLoc = PID->getBeginLoc(); in RewritePropertyImplDecl() local
926 InsertText(startLoc, "// "); in RewritePropertyImplDecl()
927 const char *startBuf = SM->getCharacterData(startLoc); in RewritePropertyImplDecl()
931 startGetterSetterLoc = startLoc.getLocWithOffset(semiBuf-startBuf+1); in RewritePropertyImplDecl()
1062 SourceLocation startLoc = ClassDecl->getBeginLoc(); in RewriteForwardClassEpilogue() local
1063 const char *startBuf = SM->getCharacterData(startLoc); in RewriteForwardClassEpilogue()
1066 ReplaceText(startLoc, semiPtr-startBuf+1, typedefString); in RewriteForwardClassEpilogue()
1614 SourceLocation startLoc = S->getBeginLoc(); in RewriteBreakStmt() local
1617 ReplaceText(startLoc, strlen("break"), buf); in RewriteBreakStmt()
1644 SourceLocation startLoc = S->getBeginLoc(); in RewriteContinueStmt() local
[all …]
/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.cpp722 SMLoc startLoc = getLexer().getLoc(); in ParseAtUnwindOrAtExcept() local
725 return Error(startLoc, "expected @unwind or @except"); in ParseAtUnwindOrAtExcept()
731 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.cpp4826 SMLoc startLoc = getLexer().getLoc(); in parseSEHRegisterNumber() local
4832 if (parseRegister(RegNo, startLoc, endLoc)) in parseSEHRegisterNumber()
4836 return Error(startLoc, in parseSEHRegisterNumber()
4856 return Error(startLoc, in parseSEHRegisterNumber()
4941 SMLoc startLoc = getLexer().getLoc(); in parseDirectiveSEHPushFrame() local
4945 return Error(startLoc, "expected @code"); in parseDirectiveSEHPushFrame()
/freebsd/contrib/llvm-project/llvm/include/llvm/ProfileData/Coverage/
H A DCoverageMapping.h350 inline LineColPair startLoc() const { in startLoc() function
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaObjCProperty.cpp2225 SourceLocation startLoc = in AtomicPropertySetterGetterRules() local
2229 << FixItHint::CreateInsertion(startLoc, "(nonatomic) "); in AtomicPropertySetterGetterRules()
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DStmt.h1502 DeclStmt(DeclGroupRef dg, SourceLocation startLoc, SourceLocation endLoc)
1503 : Stmt(DeclStmtClass), DG(dg), StartLoc(startLoc), EndLoc(endLoc) {}