Lines Matching refs:split_pos
2994 ir_live_pos split_pos = ir_last_use_pos_before(ival, pos, in ir_try_allocate_free_reg() local
2996 if (split_pos > ival->range.start) { in ir_try_allocate_free_reg()
2997 split_pos = ir_find_optimal_split_position(ctx, ival, split_pos, pos, 0); in ir_try_allocate_free_reg()
2998 other = ir_split_interval_at(ctx, ival, split_pos); in ir_try_allocate_free_reg()
3192 ir_live_pos split_pos; in ir_allocate_blocked_reg() local
3198 split_pos = next_use_pos + 1; in ir_allocate_blocked_reg()
3200 split_pos = ir_find_optimal_split_position(ctx, ival, ival->range.start, next_use_pos - 1, 1); in ir_allocate_blocked_reg()
3203 if (split_pos > ival->range.start) { in ir_allocate_blocked_reg()
3205 other = ir_split_interval_at(ctx, ival, split_pos); in ir_allocate_blocked_reg()
3217 ir_live_pos split_pos = ir_last_use_pos_before(ival, blockPos[reg] + 1, in ir_allocate_blocked_reg() local
3219 if (split_pos == 0) { in ir_allocate_blocked_reg()
3220 split_pos = ir_first_use_pos_after(ival, blockPos[reg], in ir_allocate_blocked_reg()
3222 other = ir_split_interval_at(ctx, ival, split_pos); in ir_allocate_blocked_reg()
3227 if (split_pos >= blockPos[reg]) { in ir_allocate_blocked_reg()
3238 split_pos = ir_find_optimal_split_position(ctx, ival, split_pos, blockPos[reg], 1); in ir_allocate_blocked_reg()
3239 other = ir_split_interval_at(ctx, ival, split_pos); in ir_allocate_blocked_reg()
3248 ir_live_pos split_pos; in ir_allocate_blocked_reg() local
3260 …split_pos = ir_last_use_pos_before(other, ival->range.start, IR_USE_MUST_BE_IN_REG | IR_USE_SHOULD… in ir_allocate_blocked_reg()
3261 if (split_pos == 0) { in ir_allocate_blocked_reg()
3262 split_pos = ival->range.start; in ir_allocate_blocked_reg()
3264 split_pos = ir_find_optimal_split_position(ctx, other, split_pos, ival->range.start, 1); in ir_allocate_blocked_reg()
3265 if (split_pos > other->range.start) { in ir_allocate_blocked_reg()
3266 child = ir_split_interval_at(ctx, other, split_pos); in ir_allocate_blocked_reg()
3280 split_pos = next_use_pos + 1; in ir_allocate_blocked_reg()
3282 … split_pos = ir_find_optimal_split_position(ctx, ival, ival->range.start, next_use_pos - 1, 1); in ir_allocate_blocked_reg()
3285 if (split_pos > ival->range.start) { in ir_allocate_blocked_reg()
3301 …split_pos = ir_first_use_pos_after(child, ival->range.start, IR_USE_MUST_BE_IN_REG | IR_USE_SHOULD… in ir_allocate_blocked_reg()
3302 if (split_pos > child->range.start && split_pos < child->end) { in ir_allocate_blocked_reg()
3303 …ve_pos opt_split_pos = ir_find_optimal_split_position(ctx, child, ival->range.start, split_pos, 1); in ir_allocate_blocked_reg()
3305 split_pos = opt_split_pos; in ir_allocate_blocked_reg()
3307 child2 = ir_split_interval_at(ctx, child, split_pos); in ir_allocate_blocked_reg()