| /freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/ |
| H A D | SafeStackLayout.cpp | 57 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 | InterferenceCache.cpp | 133 SlotIndex Start, Stop; in update() local 134 std::tie(Start, Stop) = Indexes->getMBBRange(MBBNum); in update() 137 if (PrevPos != Start) { in update() 138 if (!PrevPos.isValid() || Start < PrevPos) { in update() 141 RUI.VirtI.find(Start); in update() 142 RUI.FixedI = RUI.Fixed->find(Start); in update() 147 RUI.VirtI.advanceTo(Start); in update() 149 RUI.FixedI = RUI.Fixed->advanceTo(RUI.FixedI, Start); in update() 152 PrevPos = Start; in update() 212 std::tie(Start, Stop) = Indexes->getMBBRange(MBBNum); in update() [all …]
|
| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm/ExecutionEngine/Orc/Shared/ |
| H A D | ExecutorAddress.h | 194 : Start(Start), End(End) {} in ExecutorAddrRange() 196 : Start(Start), End(Start + Size) {} in ExecutorAddrRange() 203 return LHS.Start == RHS.Start && LHS.End == RHS.End; 211 return LHS.Start < RHS.Start || 212 (LHS.Start == RHS.Start && LHS.End < RHS.End); 216 return LHS.Start < RHS.Start || 217 (LHS.Start == RHS.Start && LHS.End <= RHS.End); 221 return LHS.Start > RHS.Start || 222 (LHS.Start == RHS.Start && LHS.End > RHS.End); 226 return LHS.Start > RHS.Start || [all …]
|
| /freebsd-14.2/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-14.2/contrib/llvm-project/llvm/include/llvm/ADT/ |
| H A D | AddressRanges.h | 25 AddressRange(uint64_t S, uint64_t E) : Start(S), End(E) { in AddressRange() 26 assert(Start <= End); in AddressRange() 28 uint64_t start() const { return Start; } in start() 30 uint64_t size() const { return End - Start; } in size() 34 return Start <= R.Start && R.End <= End; in contains() 37 return Start < R.End && R.Start < End; in intersects() 40 return Start == R.Start && End == R.End; 44 return std::make_pair(Start, End) < std::make_pair(R.Start, R.End); 48 uint64_t Start = 0; 97 if (Start >= End) in find() [all …]
|
| H A D | CoalescingBitVector.h | 144 IndexT Start = It.start(); in reset() local 145 if (Index < Start) in reset() 151 if (Start < Index) in reset() 152 insert(Start, Index - 1); in reset() 167 IndexT Start = It.start(); 365 iterator_range<const_iterator> half_open_range(IndexT Start, in half_open_range() argument 367 assert(Start < End && "Not a valid range"); in half_open_range() 368 auto StartIt = find(Start); in half_open_range() 399 void insert(IndexT Start, IndexT End) { Intervals.insert(Start, End, 0); } in insert() argument 419 void getNonOverlappingParts(IndexT Start, IndexT Stop, in getNonOverlappingParts() argument [all …]
|
| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Support/ |
| H A D | Parallel.h | 114 RandomAccessIterator medianOf3(RandomAccessIterator Start, in medianOf3() argument 117 RandomAccessIterator Mid = Start + (std::distance(Start, End) / 2); in medianOf3() 118 return Comp(*Start, *(End - 1)) in medianOf3() 119 ? (Comp(*Mid, *(End - 1)) ? (Comp(*Start, *Mid) ? Mid : Start) in medianOf3() 122 : Start); in medianOf3() 130 llvm::sort(Start, End, Comp); in parallel_quick_sort() 135 auto Pivot = medianOf3(Start, End, Comp); in parallel_quick_sort() 138 Pivot = std::partition(Start, End - 1, [&Comp, End](decltype(*Start) V) { in parallel_quick_sort() 155 parallel_quick_sort(Start, End, Comp, TG, in parallel_sort() 221 parallel::detail::parallel_sort(Start, End, Comp); [all …]
|
| /freebsd-14.2/contrib/llvm-project/compiler-rt/lib/orc/ |
| H A D | executor_address.h | 175 ExecutorAddrRange(ExecutorAddr Start, ExecutorAddr End) in ExecutorAddrRange() 176 : Start(Start), End(End) {} in ExecutorAddrRange() 178 : Start(Start), End(Start + Size) {} in ExecutorAddrRange() 180 bool empty() const { return Start == End; } in empty() 181 ExecutorAddrDiff size() const { return End - Start; } in size() 185 return LHS.Start == RHS.Start && LHS.End == RHS.End; 193 return !(Other.End <= Start || End <= Other.Start); in overlaps() 199 return span<T>(Start.toPtr<T *>(), size() / sizeof(T)); in toSpan() 202 ExecutorAddr Start; member 239 BOB, Value.Start, Value.End); in serialize() [all …]
|
| H A D | debug.cpp | 58 const char *Start = Types; in debugTypeEnabled() local 59 const char *End = Start; in debugTypeEnabled() 63 size_t ItemLen = End - Start; in debugTypeEnabled() 64 if (ItemLen == TypeLen && memcmp(Type, Start, TypeLen) == 0) in debugTypeEnabled() 68 Start = End + 1; in debugTypeEnabled()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/RISCV/ |
| H A D | RISCVGatherScatterLowering.cpp | 161 if (!Start) in matchStridedStart() 176 Start = Builder.CreateAdd(Start, Splat); in matchStridedStart() 179 Start = Builder.CreateMul(Start, Splat); in matchStridedStart() 183 Start = Builder.CreateShl(Start, Splat); in matchStridedStart() 207 Value *Step, *Start; in matchStridedRecurrence() local 225 std::tie(Start, Stride) = matchStridedStart(Start, Builder); in matchStridedRecurrence() 226 if (!Start) in matchStridedRecurrence() 310 Start = Builder.CreateAdd(Start, SplatOp, "start"); in matchStridedRecurrence() 314 Start = Builder.CreateMul(Start, SplatOp, "start"); in matchStridedRecurrence() 320 Start = Builder.CreateShl(Start, SplatOp, "start"); in matchStridedRecurrence() [all …]
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/PowerPC/ |
| H A D | PPCCTRLoops.cpp | 79 void expandNormalLoops(MachineLoop *ML, MachineInstr *Start, 169 MachineInstr *Start = nullptr; in processLoop() local 179 Start = SearchForStart(Preheader); in processLoop() 181 if (!Start) in processLoop() 191 std::next(Start->getReverseIterator()); in processLoop() 227 expandNormalLoops(ML, Start, Dec); in processLoop() 231 expandCTRLoops(ML, Start, Dec); in processLoop() 242 MachineBasicBlock *Preheader = Start->getParent(); in expandNormalLoops() 257 Start->getParent()->getParent()->getProperties().reset( in expandNormalLoops() 310 Start->eraseFromParent(); in expandNormalLoops() [all …]
|
| /freebsd-14.2/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() 206 if (TE >= M.Start && TE < M.Stop) in PCTableEntryIdx() 207 return TotalTEs + TE - M.Start; in PCTableEntryIdx() 208 TotalTEs += M.Stop - M.Start; in PCTableEntryIdx() 217 size_t Size = M.Stop - M.Start; in PCTableEntryByIdx() 218 if (Idx < Size) return &M.Start[Idx]; in PCTableEntryByIdx() 238 assert(M.Start < M.Stop); in IterateCoveredFunctions() 260 size_t N = PCTE.Stop - PCTE.Start; in SetFocusFunction() [all …]
|
| /freebsd-14.2/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-14.2/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-14.2/contrib/llvm-project/llvm/lib/DebugInfo/PDB/Native/ |
| H A D | NativeFunctionSymbol.cpp | 113 auto Start = Syms.at(RecordOffset); in findInlineFramesByVA() local 115 while (Start != End) { in findInlineFramesByVA() 118 for (; Start != End; ++Start) { in findInlineFramesByVA() 119 if (Start->kind() != S_INLINESITE) in findInlineFramesByVA() 123 cantFail(SymbolDeserializer::deserializeAs<InlineSiteSym>(*Start)); in findInlineFramesByVA() 127 IS, getVirtualAddress(), Modi, Start.offset()); in findInlineFramesByVA() 131 ++Start; in findInlineFramesByVA() 137 Start = Syms.at(IS.End); in findInlineFramesByVA() 138 if (Start == End) in findInlineFramesByVA()
|
| /freebsd-14.2/contrib/llvm-project/libcxx/src/filesystem/ |
| H A D | path_parser.h | 83 const PosPtr Start = getNextTokenStartPos(); in increment() local 84 if (Start == End) in increment() 89 PosPtr TkEnd = consumeRootName(Start, End); in increment() 91 return makeState(PS_InRootName, Start, TkEnd); in increment() 95 PosPtr TkEnd = consumeAllSeparators(Start, End); in increment() 97 return makeState(PS_InRootDir, Start, TkEnd); in increment() 99 return makeState(PS_InFilenames, Start, consumeName(Start, End)); in increment() 102 return makeState(PS_InFilenames, Start, consumeName(Start, End)); in increment() 105 PosPtr SepEnd = consumeAllSeparators(Start, End); in increment() 213 RawEntry = string_view_t(Start, End - Start); in makeState() [all …]
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/ |
| H A D | DwarfExpression.h | 37 DIExpression::expr_op_iterator Start, End; variable 42 assert(Start == End); in DIExpressionCursor() 45 Start = Expr->expr_op_begin(); in DIExpressionCursor() 50 : Start(Expr.begin()), End(Expr.end()) {} in DIExpressionCursor() 56 if (Start == End) in take() 58 return *(Start++); in take() 66 if (Start == End) in peek() 68 return *(Start); in peek() 73 if (Start == End) in peekNext() 76 auto Next = Start.getNext(); in peekNext() [all …]
|
| /freebsd-14.2/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() 199 void assign(const char *Start, const char *End) { in assign() argument 201 if (Start != End) in assign() 202 Chunks.insert(0, MakeRopeString(Start, End)); in assign() 205 void insert(unsigned Offset, const char *Start, const char *End) { in insert() argument 207 if (Start == End) return; in insert() 208 Chunks.insert(Offset, MakeRopeString(Start, End)); in insert() 218 RopePiece MakeRopeString(const char *Start, const char *End);
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/Format/ |
| H A D | WhitespaceManager.h | 243 void alignTrailingComments(unsigned Start, unsigned End, unsigned Column); 250 void alignEscapedNewlines(unsigned Start, unsigned End, unsigned Column); 257 void alignArrayInitializers(unsigned Start, unsigned End); 268 unsigned calculateCellWidth(unsigned Start, unsigned End, 273 CellDescriptions getCells(unsigned Start, unsigned End); 280 auto getNetWidth(const I &Start, const I &End, unsigned InitialSpaces) const { in getNetWidth() argument 282 for (auto PrevIter = Start; PrevIter != End; ++PrevIter) { in getNetWidth() 323 auto Start = (CellStart + RowCount * CellCount); in getMaximumNetWidth() local 324 auto End = Start + Offset; in getMaximumNetWidth() 326 std::max(MaxNetWidth, getNetWidth(Start, End, InitialSpaces)); in getMaximumNetWidth() [all …]
|
| /freebsd-14.2/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-14.2/contrib/llvm-project/llvm/tools/llvm-cxxfilt/ |
| H A D | llvm-cxxfilt.cpp | 108 auto Start = std::find_if(Head, Source.end(), IsLegalChar); in SplitStringDelims() local 109 if (Start != Head) in SplitStringDelims() 110 OutFragments.push_back({"", Source.slice(0, Start - Head)}); in SplitStringDelims() 113 while (Start != Source.end()) { in SplitStringDelims() 114 Start = std::find_if(Start, Source.end(), IsLegalChar); in SplitStringDelims() 115 auto End = std::find_if_not(Start, Source.end(), IsLegalChar); in SplitStringDelims() 117 OutFragments.push_back({Source.slice(Start - Head, End - Head), in SplitStringDelims() 119 Start = DEnd; in SplitStringDelims()
|
| /freebsd-14.2/usr.sbin/fifolog/lib/ |
| H A D | getdate.y | 629 now = Start; in RelativeDate() 633 return DSTcorrect(Start, now); in RelativeDate() 646 tm = localtime(&Start); in RelativeMonth() 650 return DSTcorrect(Start, in RelativeMonth() 821 time_t Start; in get_date() local 856 if (Start < 0) in get_date() 860 Start = nowtime; in get_date() 865 Start += yyRelSeconds; in get_date() 866 Start += RelativeMonth(Start, yyRelMonth); in get_date() 870 Start += tod; in get_date() [all …]
|
| /freebsd-14.2/usr.bin/find/ |
| H A D | getdate.y | 626 now = Start; in RelativeDate() 630 return DSTcorrect(Start, now); in RelativeDate() 643 tm = localtime(&Start); in RelativeMonth() 647 return DSTcorrect(Start, in RelativeMonth() 840 time_t Start; in get_date() local 900 if (Start < 0) in get_date() 904 Start = nowtime; in get_date() 909 Start += yyRelSeconds; in get_date() 910 Start += RelativeMonth(Start, yyRelMonth); in get_date() 914 Start += tod; in get_date() [all …]
|
| /freebsd-14.2/contrib/llvm-project/clang/include/clang/Sema/ |
| H A D | Designator.h | 71 Expr *Start; member 83 ArrayRangeDesignatorInfo(Expr *Start, Expr *End, SourceLocation LBracketLoc, in ArrayRangeDesignatorInfo() 85 : Start(Start), End(End), LBracketLoc(LBracketLoc), in ArrayRangeDesignatorInfo() 172 static Designator CreateArrayRangeDesignator(Expr *Start, Expr *End, in CreateArrayRangeDesignator() argument 177 ArrayRangeDesignatorInfo(Start, End, LBracketLoc, EllipsisLoc); in CreateArrayRangeDesignator() 183 return ArrayRangeInfo.Start; in getArrayRangeStart()
|