Lines Matching refs:SJ
3230 for (AllocaSlices::iterator SI = S.begin(), SJ = llvm::next(SI), SE = S.end();
3231 SI != SE; SI = SJ) {
3241 while (SJ != SE && SJ->beginOffset() < MaxEndOffset) {
3242 if (!SJ->isSplittable())
3243 MaxEndOffset = std::max(MaxEndOffset, SJ->endOffset());
3244 ++SJ;
3250 while (SJ != SE && SJ->beginOffset() < MaxEndOffset &&
3251 SJ->isSplittable()) {
3252 MaxEndOffset = std::max(MaxEndOffset, SJ->endOffset());
3253 ++SJ;
3256 // Back up MaxEndOffset and SJ if we ended the span early when
3258 if (SJ != SE && SJ->beginOffset() < MaxEndOffset) {
3259 assert(!SJ->isSplittable());
3260 MaxEndOffset = SJ->beginOffset();
3269 rewritePartition(AI, S, SI, SJ, BeginOffset, MaxEndOffset, SplitUses);
3275 // Accumulate all the splittable slices from the [SI,SJ) region which
3277 for (AllocaSlices::iterator SK = SI; SK != SJ; ++SK)
3284 if (SJ == SE && SplitUses.empty())
3289 if (SplitUses.empty() || (SJ != SE && MaxEndOffset == SJ->beginOffset())) {
3290 BeginOffset = SJ->beginOffset();
3297 if (SJ != SE && SJ->isSplittable() &&
3298 MaxSplitUseEndOffset > SJ->beginOffset()) {
3306 SJ == SE ? MaxSplitUseEndOffset : SJ->beginOffset();
3308 Changed |= rewritePartition(AI, S, SJ, SJ, MaxEndOffset, PostSplitEndOffset,
3312 if (SJ == SE)
3319 BeginOffset = SJ->beginOffset();