| /freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/ |
| H A D | SafeStackLayout.cpp | 58 unsigned End = Start + Obj.Size; in layoutObject() 68 unsigned End = Start + Obj.Size; in layoutObject() 73 assert(End >= R.Start); in layoutObject() 74 if (Start >= R.End) { in layoutObject() 81 End = Start + Obj.Size; in layoutObject() 95 if (Start > LastRegionEnd) { in layoutObject() 99 LastRegionEnd = Start; in layoutObject() 110 if (Start > R.Start && Start < R.End) { in layoutObject() 112 R.Start = R0.End = Start; in layoutObject() 118 R0.End = R.Start = End; in layoutObject() [all …]
|
| H A D | LiveRangeCalc.cpp | 71 SlotIndex Start, End; in updateFromLiveIns() local 72 std::tie(Start, End) = Indexes->getMBBRange(MBB); in updateFromLiveIns() 84 Updater.add(Start, End, I.Value); in updateFromLiveIns() 244 SlotIndex Start, End; in findReachingDefs() local 245 std::tie(Start, End) = Indexes->getMBBRange(Pred); in findReachingDefs() 249 auto EP = LR.extendInBlock(Undefs, Start, End); in findReachingDefs() 285 SlotIndex Start, End; in findReachingDefs() local 286 std::tie(Start, End) = Indexes->getMBBRange(BN); in findReachingDefs() 292 Updater.add(Start, End, TheVNI); in findReachingDefs() 398 SlotIndex Start, End; in updateSSA() local [all …]
|
| H A D | InterferenceCache.cpp | 132 SlotIndex Start, Stop; in update() local 133 std::tie(Start, Stop) = Indexes->getMBBRange(MBBNum); in update() 136 if (PrevPos != Start) { in update() 137 if (!PrevPos.isValid() || Start < PrevPos) { in update() 140 RUI.VirtI.find(Start); in update() 141 RUI.FixedI = RUI.Fixed->find(Start); in update() 146 RUI.VirtI.advanceTo(Start); in update() 148 RUI.FixedI = RUI.Fixed->advanceTo(RUI.FixedI, Start); in update() 151 PrevPos = Start; in update() 211 std::tie(Start, Stop) = Indexes->getMBBRange(MBBNum); in update() [all …]
|
| /freebsd-13.1/sys/contrib/dev/acpica/compiler/ |
| H A D | dtio.c | 243 Start = String; in DtTrim() 248 while ((Start <= End) && ((*Start == ' ') || (*Start == '\t'))) in DtTrim() 250 Start++; in DtTrim() 255 while (End >= Start) in DtTrim() 273 if (*Start == '\"') in DtTrim() 275 Start++; in DtTrim() 286 if (strlen (Start)) in DtTrim() 348 Start = LineBuffer; in DtParseLine() 357 while (Start < Colon && *Start != ']') in DtParseLine() 359 Start++; in DtParseLine() [all …]
|
| /freebsd-13.1/contrib/llvm-project/llvm/include/llvm/DebugInfo/GSYM/ |
| H A D | Range.h | 34 uint64_t Start; member 36 AddressRange() : Start(0), End(0) {} in AddressRange() 37 AddressRange(uint64_t S, uint64_t E) : Start(S), End(E) {} in AddressRange() 38 uint64_t size() const { return End - Start; } in size() 39 bool contains(uint64_t Addr) const { return Start <= Addr && Addr < End; } in contains() 41 return Start < R.End && R.Start < End; in intersects() 45 return Start == R.Start && End == R.End; 51 return std::make_pair(Start, End) < std::make_pair(R.Start, R.End);
|
| /freebsd-13.1/contrib/llvm-project/compiler-rt/lib/fuzzer/ |
| H A D | FuzzerTracePC.cpp | 40 if (Start == Stop) return; in HandleInline8bitCountersInit() 42 Modules[NumModules - 1].Start() == Start) in HandleInline8bitCountersInit() 67 assert(M.Start() == Start); in HandleInline8bitCountersInit() 205 if (TE >= M.Start && TE < M.Stop) in PCTableEntryIdx() 206 return TotalTEs + TE - M.Start; in PCTableEntryIdx() 207 TotalTEs += M.Stop - M.Start; in PCTableEntryIdx() 216 size_t Size = M.Stop - M.Start; in PCTableEntryByIdx() 217 if (Idx < Size) return &M.Start[Idx]; in PCTableEntryByIdx() 237 assert(M.Start < M.Stop); in IterateCoveredFunctions() 259 size_t N = PCTE.Stop - PCTE.Start; in SetFocusFunction() [all …]
|
| /freebsd-13.1/contrib/llvm-project/llvm/include/llvm/Support/ |
| H A D | Parallel.h | 79 RandomAccessIterator medianOf3(RandomAccessIterator Start, in medianOf3() argument 82 RandomAccessIterator Mid = Start + (std::distance(Start, End) / 2); in medianOf3() 83 return Comp(*Start, *(End - 1)) in medianOf3() 84 ? (Comp(*Mid, *(End - 1)) ? (Comp(*Start, *Mid) ? Mid : Start) in medianOf3() 87 : Start); in medianOf3() 95 llvm::sort(Start, End, Comp); in parallel_quick_sort() 100 auto Pivot = medianOf3(Start, End, Comp); in parallel_quick_sort() 103 Pivot = std::partition(Start, End - 1, [&Comp, End](decltype(*Start) V) { in parallel_quick_sort() 120 parallel_quick_sort(Start, End, Comp, TG, in parallel_sort() 244 parallel::detail::parallel_sort(Start, End, Comp); [all …]
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/DebugInfo/DWARF/ |
| H A D | DWARFDebugRnglists.cpp | 143 if (!Start) in getAbsoluteRanges() 144 Start = {0, -1ULL}; in getAbsoluteRanges() 146 E.LowPC = Start->Address; in getAbsoluteRanges() 152 if (!Start) in getAbsoluteRanges() 153 Start = {0, -1ULL}; in getAbsoluteRanges() 159 E.LowPC = Start->Address; in getAbsoluteRanges() 242 uint64_t Start = 0; in dump() local 244 Start = SA->Address; in dump() 245 DWARFAddressRange(Start, Start + Value1).dump(OS, AddrSize, DumpOpts); in dump() 250 uint64_t Start = 0; in dump() local [all …]
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/AST/ |
| H A D | FormatStringParsing.h | 45 const char *Start, const char *&Beg, 50 const char *Start, const char *&Beg, const char *E, 54 FormatSpecifier &CS, const char *Start, 74 const char *Start; variable 78 : Start(nullptr), Stop(stop) {} in Start() function 81 : FS(fs), Start(start), Stop(false) {} in SpecifierResult() 83 const char *getStart() const { return Start; } in getStart() 85 bool hasValue() const { return Start != nullptr; } in hasValue()
|
| H A D | PrintfFormatString.cpp | 84 const char *Start = nullptr; in ParsePrintfSpecifier() local 102 if (!Start) in ParsePrintfSpecifier() 108 H.HandleIncompleteSpecifier(Start, E - Start); in ParsePrintfSpecifier() 119 H.HandleIncompleteSpecifier(Start, E - Start); in ParsePrintfSpecifier() 164 H.HandleIncompleteSpecifier(Start, E - Start); in ParsePrintfSpecifier() 213 H.HandleIncompleteSpecifier(Start, E - Start); in ParsePrintfSpecifier() 225 H.HandleIncompleteSpecifier(Start, E - Start); in ParsePrintfSpecifier() 234 H.HandleIncompleteSpecifier(Start, E - Start); in ParsePrintfSpecifier() 245 H.HandleIncompleteSpecifier(Start, E - Start); in ParsePrintfSpecifier() 257 H.HandleIncompleteSpecifier(Start, E - Start); in ParsePrintfSpecifier() [all …]
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/DebugInfo/PDB/Native/ |
| H A D | NativeFunctionSymbol.cpp | 109 auto Start = Syms.at(RecordOffset); in findInlineFramesByVA() local 111 while (Start != End) { in findInlineFramesByVA() 114 for (; Start != End; ++Start) { in findInlineFramesByVA() 115 if (Start->kind() != S_INLINESITE) in findInlineFramesByVA() 119 cantFail(SymbolDeserializer::deserializeAs<InlineSiteSym>(*Start)); in findInlineFramesByVA() 123 IS, getVirtualAddress(), Modi, Start.offset()); in findInlineFramesByVA() 127 ++Start; in findInlineFramesByVA() 133 Start = Syms.at(IS.End); in findInlineFramesByVA() 134 if (Start == End) in findInlineFramesByVA()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/ |
| H A D | DwarfExpression.h | 38 DIExpression::expr_op_iterator Start, End; variable 43 assert(Start == End); in DIExpressionCursor() 46 Start = Expr->expr_op_begin(); in DIExpressionCursor() 51 : Start(Expr.begin()), End(Expr.end()) {} in DIExpressionCursor() 57 if (Start == End) in take() 59 return *(Start++); in take() 67 if (Start == End) in peek() 69 return *(Start); in peek() 74 if (Start == End) in peekNext() 77 auto Next = Start.getNext(); in peekNext() [all …]
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/DebugInfo/GSYM/ |
| H A D | Range.cpp | 26 while (It2 != Ranges.end() && It2->Start < Range.End) in insert() 32 if (It != Ranges.begin() && Range.Start < It[-1].End) in insert() 41 [=](const AddressRange &R) { return R.Start <= Addr; }); in contains() 50 [=](const AddressRange &R) { return R.Start <= Range.Start; }); in contains() 60 [=](const AddressRange &R) { return R.Start <= Addr; }); in getRangeThatContains() 67 return OS << '[' << HEX64(R.Start) << " - " << HEX64(R.End) << ")"; in operator <<() 81 assert(Start >= BaseAddr); in encode() 82 O.writeULEB(Start - BaseAddr); in encode() 91 Start = StartAddr; in decode()
|
| /freebsd-13.1/contrib/llvm-project/clang/include/clang/Rewrite/Core/ |
| H A D | RewriteRope.h | 64 RopePiece(llvm::IntrusiveRefCntPtr<RopeRefCountString> Str, unsigned Start, in RopePiece() 66 : StrData(std::move(Str)), StartOffs(Start), EndOffs(End) {} in RopePiece() 195 void assign(const char *Start, const char *End) { in assign() argument 197 if (Start != End) in assign() 198 Chunks.insert(0, MakeRopeString(Start, End)); in assign() 201 void insert(unsigned Offset, const char *Start, const char *End) { in insert() argument 203 if (Start == End) return; in insert() 204 Chunks.insert(Offset, MakeRopeString(Start, End)); in insert() 214 RopePiece MakeRopeString(const char *Start, const char *End);
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/Format/ |
| H A D | WhitespaceManager.h | 225 void alignTrailingComments(unsigned Start, unsigned End, unsigned Column); 232 void alignEscapedNewlines(unsigned Start, unsigned End, unsigned Column); 239 void alignArrayInitializers(unsigned Start, unsigned End); 250 unsigned calculateCellWidth(unsigned Start, unsigned End, 255 CellDescriptions getCells(unsigned Start, unsigned End); 262 auto getNetWidth(const I &Start, const I &End, unsigned InitialSpaces) const { in getNetWidth() argument 264 for (auto PrevIter = Start; PrevIter != End; ++PrevIter) { in getNetWidth() 302 auto Start = (CellStart + RowCount * CellCount); in getMaximumNetWidth() local 303 auto End = Start + Offset; in getMaximumNetWidth() 305 std::max(MaxNetWidth, getNetWidth(Start, End, InitialSpaces)); in getMaximumNetWidth() [all …]
|
| H A D | SortJavaScriptImports.cpp | 257 const auto *Start = References.begin(); in sortModuleReferences() local 259 while (Start != References.end()) { in sortModuleReferences() 260 while (Start != References.end() && Start->FormattingOff) { in sortModuleReferences() 262 ReferencesSorted.push_back(*Start); in sortModuleReferences() 263 Start++; in sortModuleReferences() 266 while (Start != References.end() && !Start->FormattingOff) { in sortModuleReferences() 268 SortChunk.push_back(*Start); in sortModuleReferences() 269 Start++; in sortModuleReferences() 357 SourceLocation Start; in parseModuleReferences() local 397 Reference.Range.setBegin(Start); in parseModuleReferences() [all …]
|
| /freebsd-13.1/contrib/llvm-project/lldb/source/API/ |
| H A D | SBTrace.cpp | 35 SBError SBTrace::Start(const SBStructuredData &configuration) { in Start() function in SBTrace 36 LLDB_RECORD_METHOD(SBError, SBTrace, Start, (const SBStructuredData &), in Start() 42 m_opaque_sp->Start(configuration.m_impl_up->GetObjectSP())) in Start() 47 SBError SBTrace::Start(const SBThread &thread, in Start() function in SBTrace 49 LLDB_RECORD_METHOD(SBError, SBTrace, Start, in Start() 58 m_opaque_sp->Start(std::vector<lldb::tid_t>{thread.GetThreadID()}, in Start() 103 LLDB_REGISTER_METHOD(SBError, SBTrace, Start, (const SBStructuredData &)); in RegisterMethods() 104 LLDB_REGISTER_METHOD(SBError, SBTrace, Start, in RegisterMethods()
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/Tooling/Refactoring/Rename/ |
| H A D | USRFinder.cpp | 48 SourceLocation Start = Range.getBegin(); in visitSymbolOccurrence() local 50 if (!Start.isValid() || !Start.isFileID() || !End.isValid() || in visitSymbolOccurrence() 51 !End.isFileID() || !isPointWithin(Start, End)) in visitSymbolOccurrence() 62 bool isPointWithin(const SourceLocation Start, const SourceLocation End) { in isPointWithin() argument 64 return Point == Start || Point == End || in isPointWithin() 65 (Context.getSourceManager().isBeforeInTranslationUnit(Start, in isPointWithin()
|
| /freebsd-13.1/contrib/llvm-project/llvm/include/llvm/ADT/ |
| H A D | CoalescingBitVector.h | 143 IndexT Start = It.start(); in reset() local 144 if (Index < Start) in reset() 150 if (Start < Index) in reset() 151 insert(Start, Index - 1); in reset() 166 IndexT Start = It.start(); 364 iterator_range<const_iterator> half_open_range(IndexT Start, in half_open_range() argument 366 assert(Start < End && "Not a valid range"); in half_open_range() 367 auto StartIt = find(Start); in half_open_range() 398 void insert(IndexT Start, IndexT End) { Intervals.insert(Start, End, 0); } in insert() argument 418 void getNonOverlappingParts(IndexT Start, IndexT Stop, in getNonOverlappingParts() argument [all …]
|
| /freebsd-13.1/usr.sbin/fifolog/lib/ |
| H A D | getdate.y | 628 now = Start; in RelativeDate() 632 return DSTcorrect(Start, now); in RelativeDate() 645 tm = localtime(&Start); in RelativeMonth() 649 return DSTcorrect(Start, in RelativeMonth() 820 time_t Start; in get_date() local 867 if (Start < 0) in get_date() 871 Start = nowtime; in get_date() 876 Start += yyRelSeconds; in get_date() 877 Start += RelativeMonth(Start, yyRelMonth); in get_date() 881 Start += tod; in get_date() [all …]
|
| /freebsd-13.1/contrib/llvm-project/llvm/tools/llvm-cxxfilt/ |
| H A D | llvm-cxxfilt.cpp | 111 auto Start = std::find_if(Head, Source.end(), IsLegalChar); in SplitStringDelims() local 112 if (Start != Head) in SplitStringDelims() 113 OutFragments.push_back({"", Source.slice(0, Start - Head)}); in SplitStringDelims() 116 while (Start != Source.end()) { in SplitStringDelims() 117 Start = std::find_if(Start, Source.end(), IsLegalChar); in SplitStringDelims() 118 auto End = std::find_if_not(Start, Source.end(), IsLegalChar); in SplitStringDelims() 120 OutFragments.push_back({Source.slice(Start - Head, End - Head), in SplitStringDelims() 122 Start = DEnd; in SplitStringDelims()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/M68k/AsmParser/ |
| H A D | M68kAsmParser.cpp | 128 SMLoc Start, End; member in __anonba196aa00111::M68kOperand 137 M68kOperand(KindTy Kind, SMLoc Start, SMLoc End) in M68kOperand() argument 138 : Base(), Kind(Kind), Start(Start), End(End) {} in M68kOperand() 140 SMLoc getStartLoc() const override { return Start; } in getStartLoc() 298 auto Op = std::make_unique<M68kOperand>(KindTy::Imm, Start, End); in createImm() 600 SMLoc Start = getLexer().getLoc(); in parseImm() local 610 Operands.push_back(M68kOperand::createImm(Expr, Start, End)); in parseImm() 615 SMLoc Start = getLexer().getLoc(); in parseMemOp() local 742 Operands.push_back(M68kOperand::createMemOp(MemOp, Start, End)); in parseMemOp() 754 SMLoc Start = getLexer().getLoc(); in ParseInstruction() local [all …]
|
| /freebsd-13.1/usr.bin/find/ |
| H A D | getdate.y | 628 now = Start; in RelativeDate() 632 return DSTcorrect(Start, now); in RelativeDate() 645 tm = localtime(&Start); in RelativeMonth() 649 return DSTcorrect(Start, in RelativeMonth() 842 time_t Start; in get_date() local 902 if (Start < 0) in get_date() 906 Start = nowtime; in get_date() 911 Start += yyRelSeconds; in get_date() 912 Start += RelativeMonth(Start, yyRelMonth); in get_date() 916 Start += tod; in get_date() [all …]
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/Basic/ |
| H A D | Diagnostic.cpp | 646 while (Start != End && *Start >= '0' && *Start <= '9') { in PluralNumber() 649 ++Start; in PluralNumber() 661 ++Start; in TestPluralRange() 664 ++Start; in TestPluralRange() 667 ++Start; in TestPluralRange() 674 if (*Start == ':') in EvalPluralExpr() 678 char C = *Start; in EvalPluralExpr() 681 ++Start; in EvalPluralExpr() 684 ++Start; in EvalPluralExpr() 697 Start = std::find(Start, End, ','); in EvalPluralExpr() [all …]
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/ARM/ |
| H A D | ARMLowOverheadLoops.cpp | 367 MachineInstr *Start = nullptr; member 429 return Start && Dec && End; in FoundAllComponents() 453 if (Start) dbgs() << "ARM Loops: Found Loop Start: " << *Start; in dump() 637 StartInsertPt = Start; in ValidateTailPredicate() 1324 LoLoop.Start = &MI; in ProcessLoop() 1491 MachineInstr *Start = LoLoop.Start; in ExpandLoopStart() local 1514 LoLoop.ToRemove.insert(Start); in ExpandLoopStart() 1696 RevertDo(LoLoop.Start); in Expand() 1703 if (LoLoop.Start) in Expand() 1765 RevertWhile(Start); in RevertNonLoops() [all …]
|