Lines Matching refs:EndOffset
525 uint64_t EndOffset = 0ULL; in emitConstantIslands() local
532 EndOffset = BF.getMaxSize(); in emitConstantIslands()
534 EndOffset = *NextData; in emitConstantIslands()
536 EndOffset = *CodeIter; in emitConstantIslands()
538 EndOffset = (*CodeIter > *NextData) ? *NextData : *CodeIter; in emitConstantIslands()
540 if (FunctionOffset == EndOffset) in emitConstantIslands()
543 auto emitCI = [&](uint64_t &FunctionOffset, uint64_t EndOffset) { in emitConstantIslands() argument
544 if (FunctionOffset >= EndOffset) in emitConstantIslands()
549 if (It->first >= EndOffset) in emitConstantIslands()
568 assert(FunctionOffset <= EndOffset && "overflow error"); in emitConstantIslands()
569 if (FunctionOffset < EndOffset) { in emitConstantIslands()
570 Streamer.emitBytes(FunctionContents.slice(FunctionOffset, EndOffset)); in emitConstantIslands()
571 FunctionOffset = EndOffset; in emitConstantIslands()
576 while (IS != Islands.Offsets.end() && IS->first < EndOffset) { in emitConstantIslands()
578 IS == Islands.Offsets.end() ? EndOffset : IS->first; in emitConstantIslands()
579 auto NextStop = std::min(NextLabelOffset, EndOffset); in emitConstantIslands()
580 assert(NextStop <= EndOffset && "internal overflow error"); in emitConstantIslands()
619 assert(FunctionOffset <= EndOffset && "overflow error"); in emitConstantIslands()
620 emitCI(FunctionOffset, EndOffset); in emitConstantIslands()