Lines Matching refs:todo

479 	ir_regset todo, ready, srcs;  in ir_parallel_copy()  local
497 todo = IR_REGSET_EMPTY; in ir_parallel_copy()
508 IR_ASSERT(!IR_REGSET_IN(todo, to)); in ir_parallel_copy()
509 IR_REGSET_INCL(todo, to); in ir_parallel_copy()
512 ready = IR_REGSET_DIFFERENCE(todo, srcs); in ir_parallel_copy()
514 if (ready == todo) { in ir_parallel_copy()
530 IR_ASSERT(tmp_reg == IR_REG_NONE || !IR_REGSET_IN(todo, tmp_reg)); in ir_parallel_copy()
531 IR_ASSERT(tmp_fp_reg == IR_REG_NONE || !IR_REGSET_IN(todo, tmp_fp_reg)); in ir_parallel_copy()
546 IR_REGSET_EXCL(todo, to); in ir_parallel_copy()
548 if (from == r && IR_REGSET_IN(todo, from)) { in ir_parallel_copy()
552 if (todo == IR_REGSET_EMPTY) { in ir_parallel_copy()
561 while (todo != IR_REGSET_EMPTY) { in ir_parallel_copy()
562 to = ir_regset_pop_first(&todo); in ir_parallel_copy()
570 IR_REGSET_EXCL(todo, from); in ir_parallel_copy()
584 IR_REGSET_EXCL(todo, from); in ir_parallel_copy()
606 IR_REGSET_EXCL(todo, to); in ir_parallel_copy()
608 if (from == r && IR_REGSET_IN(todo, from)) { in ir_parallel_copy()
680 …_cycle(ir_ctx *ctx, int32_t *pred, int32_t *loc, int8_t *types, ir_bitset todo, int32_t to, ir_reg… in ir_dessa_resolve_cycle() argument
702 ir_bitset_excl(todo, from); in ir_dessa_resolve_cycle()
703 ir_bitset_excl(todo, to); in ir_dessa_resolve_cycle()
722 IR_REGSET_EXCL(todo, from); in ir_dessa_resolve_cycle()
723 IR_REGSET_EXCL(todo, to); in ir_dessa_resolve_cycle()
746 if (from == r && ir_bitset_in(todo, from)) { in ir_dessa_resolve_cycle()
760 ir_bitset_excl(todo, to); in ir_dessa_resolve_cycle()
773 ir_bitset_excl(todo, to); in ir_dessa_resolve_cycle()
784 ir_bitset todo, ready, srcs, visited; in ir_dessa_parallel_copy() local
796 todo = ir_bitset_malloc(len); in ir_dessa_parallel_copy()
812 IR_ASSERT(!ir_bitset_in(todo, to)); in ir_dessa_parallel_copy()
813 ir_bitset_incl(todo, to); in ir_dessa_parallel_copy()
822 ir_bitset_copy(ready, todo, ir_bitset_len(len)); in ir_dessa_parallel_copy()
831 ir_bitset_excl(todo, to); in ir_dessa_parallel_copy()
840 if (from == r && ir_bitset_in(todo, from) && from != tmp_reg && from != tmp_fp_reg) { in ir_dessa_parallel_copy()
848 ir_bitset_copy(ready, todo, ir_bitset_len(len)); in ir_dessa_parallel_copy()
861 ir_dessa_resolve_cycle(ctx, pred, loc, types, todo, to, tmp_reg, tmp_fp_reg); in ir_dessa_parallel_copy()
870 ir_bitset_copy(ready, todo, ir_bitset_len(len)); in ir_dessa_parallel_copy()
873 ir_bitset_excl(todo, to); in ir_dessa_parallel_copy()
882 if (from == r && ir_bitset_in(todo, from)) { in ir_dessa_parallel_copy()
888 IR_ASSERT(ir_bitset_empty(todo, ir_bitset_len(len))); in ir_dessa_parallel_copy()
894 ir_mem_free(todo); in ir_dessa_parallel_copy()