Lines Matching defs:EndOffset
570 uint64_t EndOffset = 0ULL;
577 EndOffset = BF.getMaxSize();
579 EndOffset = *NextData;
581 EndOffset = *CodeIter;
583 EndOffset = (*CodeIter > *NextData) ? *NextData : *CodeIter;
585 if (FunctionOffset == EndOffset)
588 auto emitCI = [&](uint64_t &FunctionOffset, uint64_t EndOffset) {
589 if (FunctionOffset >= EndOffset)
594 if (It->first >= EndOffset)
613 assert(FunctionOffset <= EndOffset && "overflow error");
614 if (FunctionOffset < EndOffset) {
615 Streamer.emitBytes(FunctionContents.slice(FunctionOffset, EndOffset));
616 FunctionOffset = EndOffset;
621 while (IS != Islands.Offsets.end() && IS->first < EndOffset) {
623 IS == Islands.Offsets.end() ? EndOffset : IS->first;
624 auto NextStop = std::min(NextLabelOffset, EndOffset);
625 assert(NextStop <= EndOffset && "internal overflow error");
664 assert(FunctionOffset <= EndOffset && "overflow error");
665 emitCI(FunctionOffset, EndOffset);