Lines Matching refs:idx_a
121 int32_t get_dominator(int idx_a, int idx_b, Program* program, bool is_linear) in get_dominator() argument
124 if (idx_a == -1) in get_dominator()
127 return idx_a; in get_dominator()
129 while (idx_a != idx_b) { in get_dominator()
130 if (idx_a > idx_b) in get_dominator()
131 idx_a = program->blocks[idx_a].linear_idom; in get_dominator()
136 while (idx_a != idx_b) { in get_dominator()
137 if (idx_a > idx_b) in get_dominator()
138 idx_a = program->blocks[idx_a].logical_idom; in get_dominator()
143 assert(idx_a != -1); in get_dominator()
144 return idx_a; in get_dominator()