Home | History | Annotate | Download | only in Scalar

Lines Matching refs:SJ

3298   for (AllocaSlices::iterator SI = S.begin(), SJ = std::next(SI), SE = S.end();
3299 SI != SE; SI = SJ) {
3309 while (SJ != SE && SJ->beginOffset() < MaxEndOffset) {
3310 if (!SJ->isSplittable())
3311 MaxEndOffset = std::max(MaxEndOffset, SJ->endOffset());
3312 ++SJ;
3318 while (SJ != SE && SJ->beginOffset() < MaxEndOffset &&
3319 SJ->isSplittable()) {
3320 MaxEndOffset = std::max(MaxEndOffset, SJ->endOffset());
3321 ++SJ;
3324 // Back up MaxEndOffset and SJ if we ended the span early when
3326 if (SJ != SE && SJ->beginOffset() < MaxEndOffset) {
3327 assert(!SJ->isSplittable());
3328 MaxEndOffset = SJ->beginOffset();
3337 rewritePartition(AI, S, SI, SJ, BeginOffset, MaxEndOffset, SplitUses);
3343 // Accumulate all the splittable slices from the [SI,SJ) region which
3345 for (AllocaSlices::iterator SK = SI; SK != SJ; ++SK)
3352 if (SJ == SE && SplitUses.empty())
3357 if (SplitUses.empty() || (SJ != SE && MaxEndOffset == SJ->beginOffset())) {
3358 BeginOffset = SJ->beginOffset();
3365 if (SJ != SE && SJ->isSplittable() &&
3366 MaxSplitUseEndOffset > SJ->beginOffset()) {
3374 SJ == SE ? MaxSplitUseEndOffset : SJ->beginOffset();
3376 Changed |= rewritePartition(AI, S, SJ, SJ, MaxEndOffset, PostSplitEndOffset,
3380 if (SJ == SE)
3387 BeginOffset = SJ->beginOffset();