Lines Matching refs:cmp_zero_idx
257 int cmp_zero_idx = 0; // Index of compare input where to look for zero in Ideal() local
265 case BoolTest::lt: cmp_zero_idx = 1; phi_x_idx = IfTrue; break; in Ideal()
266 case BoolTest::le: cmp_zero_idx = 2; phi_x_idx = IfFalse; break; in Ideal()
267 case BoolTest::gt: cmp_zero_idx = 2; phi_x_idx = IfTrue; break; in Ideal()
268 case BoolTest::ge: cmp_zero_idx = 1; phi_x_idx = IfFalse; break; in Ideal()
277 if( phase->type(cmpf->in(cmp_zero_idx)) == TypeF::ZERO ) { in Ideal()
278 X = cmpf->in(3 - cmp_zero_idx); in Ideal()
279 } else if (phase->type(cmpf->in(3 - cmp_zero_idx)) == TypeF::ZERO) { in Ideal()
281 X = cmpf->in(cmp_zero_idx); in Ideal()
313 int cmp_zero_idx = 0; // Index of compare input where to look for zero in Ideal() local
321 case BoolTest::lt: cmp_zero_idx = 1; phi_x_idx = IfTrue; break; in Ideal()
322 case BoolTest::le: cmp_zero_idx = 2; phi_x_idx = IfFalse; break; in Ideal()
323 case BoolTest::gt: cmp_zero_idx = 2; phi_x_idx = IfTrue; break; in Ideal()
324 case BoolTest::ge: cmp_zero_idx = 1; phi_x_idx = IfFalse; break; in Ideal()
333 if( phase->type(cmpd->in(cmp_zero_idx)) == TypeD::ZERO ) { in Ideal()
334 X = cmpd->in(3 - cmp_zero_idx); in Ideal()
335 } else if (phase->type(cmpd->in(3 - cmp_zero_idx)) == TypeD::ZERO) { in Ideal()
337 X = cmpd->in(cmp_zero_idx); in Ideal()