Home
last modified time | relevance | path

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

/openbsd-src/gnu/llvm/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.h98 llvm::SMLoc startLoc() const { return RangeStart; } in startLoc() function
/openbsd-src/gnu/llvm/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.cpp465 auto &Functions = InstantiatedFunctions[I->startLoc()]; in insert()
573 auto CurStartLoc = CR.value().startLoc(); in buildSegmentsImpl()
605 CurStartLoc != Regions[CR.index() + 1].startLoc()) { in buildSegmentsImpl()
623 if (LHS.startLoc() != RHS.startLoc()) in sortNestedRegions()
624 return LHS.startLoc() < RHS.startLoc(); in sortNestedRegions()
650 if (Active->startLoc() != I->startLoc() || in combineRegions()
H A DCoverageMappingReader.cpp343 if (CMR.startLoc() > CMR.endLoc()) in readMappingRegionsSubArray()
/openbsd-src/gnu/llvm/clang/lib/Frontend/Rewrite/
H A DRewriteObjC.cpp772 SourceLocation startLoc = PID->getBeginLoc(); in RewritePropertyImplDecl() local
773 InsertText(startLoc, "// "); in RewritePropertyImplDecl()
774 const char *startBuf = SM->getCharacterData(startLoc); in RewritePropertyImplDecl()
779 startLoc.getLocWithOffset(semiBuf-startBuf+1); in RewritePropertyImplDecl()
907 SourceLocation startLoc = ClassDecl->getBeginLoc(); in RewriteForwardClassEpilogue() local
908 const char *startBuf = SM->getCharacterData(startLoc); in RewriteForwardClassEpilogue()
911 ReplaceText(startLoc, semiPtr - startBuf + 1, typedefString); in RewriteForwardClassEpilogue()
1423 SourceLocation startLoc = S->getBeginLoc(); in RewriteBreakStmt() local
1426 ReplaceText(startLoc, strlen("break"), buf); in RewriteBreakStmt()
1440 SourceLocation startLoc = S->getBeginLoc(); in RewriteContinueStmt() local
[all …]
H A DRewriteModernObjC.cpp926 SourceLocation startLoc = PID->getBeginLoc(); in RewritePropertyImplDecl() local
927 InsertText(startLoc, "// "); in RewritePropertyImplDecl()
928 const char *startBuf = SM->getCharacterData(startLoc); in RewritePropertyImplDecl()
932 startGetterSetterLoc = startLoc.getLocWithOffset(semiBuf-startBuf+1); in RewritePropertyImplDecl()
1063 SourceLocation startLoc = ClassDecl->getBeginLoc(); in RewriteForwardClassEpilogue() local
1064 const char *startBuf = SM->getCharacterData(startLoc); in RewriteForwardClassEpilogue()
1067 ReplaceText(startLoc, semiPtr-startBuf+1, typedefString); in RewriteForwardClassEpilogue()
1615 SourceLocation startLoc = S->getBeginLoc(); in RewriteBreakStmt() local
1618 ReplaceText(startLoc, strlen("break"), buf); in RewriteBreakStmt()
1645 SourceLocation startLoc = S->getBeginLoc(); in RewriteContinueStmt() local
[all …]
/openbsd-src/gnu/llvm/llvm/tools/llvm-cov/
H A DSourceCoverageView.h50 return LHS.Region.startLoc() < RHS.Region.startLoc();
/openbsd-src/gnu/llvm/llvm/lib/MC/MCParser/
H A DCOFFAsmParser.cpp711 SMLoc startLoc = getLexer().getLoc(); in ParseAtUnwindOrAtExcept() local
714 return Error(startLoc, "expected @unwind or @except"); in ParseAtUnwindOrAtExcept()
720 return Error(startLoc, "expected @unwind or @except"); in ParseAtUnwindOrAtExcept()
/openbsd-src/gnu/llvm/clang/tools/libclang/
H A DCXLoadedDiagnostic.cpp302 CXSourceLocation startLoc = makeLocation(Start); in readRange() local
304 SR = clang_getRange(startLoc, endLoc); in readRange()
/openbsd-src/gnu/llvm/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()
/openbsd-src/gnu/llvm/llvm/lib/Target/X86/AsmParser/
H A DX86AsmParser.cpp4847 SMLoc startLoc = getLexer().getLoc(); in parseSEHRegisterNumber() local
4853 if (parseRegister(RegNo, startLoc, endLoc)) in parseSEHRegisterNumber()
4857 return Error(startLoc, in parseSEHRegisterNumber()
4877 return Error(startLoc, in parseSEHRegisterNumber()
4962 SMLoc startLoc = getLexer().getLoc(); in parseDirectiveSEHPushFrame() local
4966 return Error(startLoc, "expected @code"); in parseDirectiveSEHPushFrame()
/openbsd-src/gnu/llvm/llvm/lib/Target/SystemZ/AsmParser/
H A DSystemZAsmParser.cpp156 SystemZOperand(OperandKind kind, SMLoc startLoc, SMLoc endLoc) in SystemZOperand() argument
157 : Kind(kind), StartLoc(startLoc), EndLoc(endLoc) {} in SystemZOperand()
/openbsd-src/gnu/llvm/llvm/include/llvm/ProfileData/Coverage/
H A DCoverageMapping.h299 inline LineColPair startLoc() const { in startLoc() function
/openbsd-src/gnu/llvm/clang/tools/c-index-test/
H A Dc-index-test.c4179 CXSourceLocation startLoc, endLoc; in perform_token_annotation() local
4243 startLoc = clang_getLocation(TU, file, line, column); in perform_token_annotation()
4244 if (clang_equalLocations(clang_getNullLocation(), startLoc)) { in perform_token_annotation()
4259 range = clang_getRange(startLoc, endLoc); in perform_token_annotation()
/openbsd-src/gnu/llvm/clang/include/clang/AST/
H A DStmt.h1316 DeclStmt(DeclGroupRef dg, SourceLocation startLoc, SourceLocation endLoc) in DeclStmt() argument
1317 : Stmt(DeclStmtClass), DG(dg), StartLoc(startLoc), EndLoc(endLoc) {} in DeclStmt()
/openbsd-src/gnu/llvm/clang/lib/Sema/
H A DSemaObjCProperty.cpp2244 SourceLocation startLoc = in AtomicPropertySetterGetterRules() local
2248 << FixItHint::CreateInsertion(startLoc, "(nonatomic) "); in AtomicPropertySetterGetterRules()