Home
last modified time | relevance | path

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

/netbsd-src/external/apache2/llvm/dist/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 Dllvm-mca.cpp490 if (Region->startLoc().isValid() || Region->endLoc().isValid()) { in main()
/netbsd-src/external/apache2/llvm/dist/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()
/netbsd-src/external/apache2/llvm/dist/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.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 …]
/netbsd-src/external/gpl3/gcc.old/dist/gcc/d/dmd/
H A Dlexer.c258 Loc startLoc; in scan() local
462 startLoc = loc(); in scan()
508 t->loc = startLoc; in scan()
514 getDocComment(t, lastLine == startLoc.linnum); in scan()
519 startLoc = loc(); in scan()
537 t->loc = startLoc; in scan()
542 getDocComment(t, lastLine == startLoc.linnum); in scan()
563 t->loc = startLoc; in scan()
568 getDocComment(t, lastLine == startLoc.linnum); in scan()
577 startLoc = loc(); in scan()
[all …]
/netbsd-src/external/gpl3/gcc/dist/gcc/d/dmd/
H A Dlexer.d238 Loc startLoc; in scan() local
572 startLoc = loc(); in scan()
616 t.loc = startLoc; in scan()
623 … getDocComment(t, lastLine == startLoc.linnum, startLoc.linnum - lastDocLine > 1); in scan()
628 startLoc = loc(); in scan()
645 t.loc = startLoc; in scan()
651 … getDocComment(t, lastLine == startLoc.linnum, startLoc.linnum - lastDocLine > 1); in scan()
677 t.loc = startLoc; in scan()
683 … getDocComment(t, lastLine == startLoc.linnum, startLoc.linnum - lastDocLine > 1); in scan()
693 startLoc = loc(); in scan()
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/tools/llvm-cov/
H A DSourceCoverageView.h50 return LHS.Region.startLoc() < RHS.Region.startLoc();
/netbsd-src/external/apache2/llvm/dist/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()
/netbsd-src/external/apache2/llvm/dist/clang/tools/libclang/
H A DCXLoadedDiagnostic.cpp302 CXSourceLocation startLoc = makeLocation(Start); in readRange() local
304 SR = clang_getRange(startLoc, endLoc); in readRange()
/netbsd-src/external/apache2/llvm/dist/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()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/X86/AsmParser/
H A DX86AsmParser.cpp4845 SMLoc startLoc = getLexer().getLoc(); in parseSEHRegisterNumber() local
4851 if (ParseRegister(RegNo, startLoc, endLoc)) in parseSEHRegisterNumber()
4855 return Error(startLoc, in parseSEHRegisterNumber()
4875 return Error(startLoc, in parseSEHRegisterNumber()
4960 SMLoc startLoc = getLexer().getLoc(); in parseDirectiveSEHPushFrame() local
4964 return Error(startLoc, "expected @code"); in parseDirectiveSEHPushFrame()
/netbsd-src/external/apache2/llvm/dist/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()
/netbsd-src/external/apache2/llvm/dist/clang/tools/c-index-test/
H A Dc-index-test.c4154 CXSourceLocation startLoc, endLoc; in perform_token_annotation() local
4218 startLoc = clang_getLocation(TU, file, line, column); in perform_token_annotation()
4219 if (clang_equalLocations(clang_getNullLocation(), startLoc)) { in perform_token_annotation()
4234 range = clang_getRange(startLoc, endLoc); in perform_token_annotation()
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/ProfileData/Coverage/
H A DCoverageMapping.h295 inline LineColPair startLoc() const { in startLoc() function
/netbsd-src/external/apache2/llvm/dist/clang/lib/Sema/
H A DSemaObjCProperty.cpp2248 SourceLocation startLoc = in AtomicPropertySetterGetterRules() local
2252 << FixItHint::CreateInsertion(startLoc, "(nonatomic) "); in AtomicPropertySetterGetterRules()
/netbsd-src/external/apache2/llvm/dist/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()