Lines Matching refs:fval

3351 def : Pat<(i1 (select i1:$cond, i1:$tval, i1:$fval)),
3353 (CRAND (crnot $cond), $fval))>;
3356 // select (lhs == rhs), tval, fval is:
3357 // ((lhs == rhs) & tval) | (!(lhs == rhs) & fval)
3358 def : Pat <(i1 (selectcc i1:$lhs, i1:$rhs, i1:$tval, i1:$fval, SETLT)),
3360 (CRAND (CRORC $rhs, $lhs), $fval))>;
3361 def : Pat <(i1 (selectcc i1:$lhs, i1:$rhs, i1:$tval, i1:$fval, SETULT)),
3363 (CRAND (CRORC $lhs, $rhs), $fval))>;
3364 def : Pat <(i1 (selectcc i1:$lhs, i1:$rhs, i1:$tval, i1:$fval, SETLE)),
3366 (CRAND (CRANDC $rhs, $lhs), $fval))>;
3367 def : Pat <(i1 (selectcc i1:$lhs, i1:$rhs, i1:$tval, i1:$fval, SETULE)),
3369 (CRAND (CRANDC $lhs, $rhs), $fval))>;
3370 def : Pat <(i1 (selectcc i1:$lhs, i1:$rhs, i1:$tval, i1:$fval, SETEQ)),
3372 (CRAND (CRXOR $lhs, $rhs), $fval))>;
3373 def : Pat <(i1 (selectcc i1:$lhs, i1:$rhs, i1:$tval, i1:$fval, SETGE)),
3375 (CRAND (CRANDC $lhs, $rhs), $fval))>;
3376 def : Pat <(i1 (selectcc i1:$lhs, i1:$rhs, i1:$tval, i1:$fval, SETUGE)),
3378 (CRAND (CRANDC $rhs, $lhs), $fval))>;
3379 def : Pat <(i1 (selectcc i1:$lhs, i1:$rhs, i1:$tval, i1:$fval, SETGT)),
3381 (CRAND (CRORC $lhs, $rhs), $fval))>;
3382 def : Pat <(i1 (selectcc i1:$lhs, i1:$rhs, i1:$tval, i1:$fval, SETUGT)),
3384 (CRAND (CRORC $rhs, $lhs), $fval))>;
3385 def : Pat <(i1 (selectcc i1:$lhs, i1:$rhs, i1:$tval, i1:$fval, SETNE)),
3386 (CROR (CRAND (CREQV $lhs, $rhs), $fval),
3390 def : Pat<(i32 (selectcc i1:$lhs, i1:$rhs, i32:$tval, i32:$fval, SETLT)),
3391 (SELECT_I4 (CRANDC $lhs, $rhs), $tval, $fval)>;
3392 def : Pat<(i32 (selectcc i1:$lhs, i1:$rhs, i32:$tval, i32:$fval, SETULT)),
3393 (SELECT_I4 (CRANDC $rhs, $lhs), $tval, $fval)>;
3394 def : Pat<(i32 (selectcc i1:$lhs, i1:$rhs, i32:$tval, i32:$fval, SETLE)),
3395 (SELECT_I4 (CRORC $lhs, $rhs), $tval, $fval)>;
3396 def : Pat<(i32 (selectcc i1:$lhs, i1:$rhs, i32:$tval, i32:$fval, SETULE)),
3397 (SELECT_I4 (CRORC $rhs, $lhs), $tval, $fval)>;
3398 def : Pat<(i32 (selectcc i1:$lhs, i1:$rhs, i32:$tval, i32:$fval, SETEQ)),
3399 (SELECT_I4 (CREQV $lhs, $rhs), $tval, $fval)>;
3400 def : Pat<(i32 (selectcc i1:$lhs, i1:$rhs, i32:$tval, i32:$fval, SETGE)),
3401 (SELECT_I4 (CRORC $rhs, $lhs), $tval, $fval)>;
3402 def : Pat<(i32 (selectcc i1:$lhs, i1:$rhs, i32:$tval, i32:$fval, SETUGE)),
3403 (SELECT_I4 (CRORC $lhs, $rhs), $tval, $fval)>;
3404 def : Pat<(i32 (selectcc i1:$lhs, i1:$rhs, i32:$tval, i32:$fval, SETGT)),
3405 (SELECT_I4 (CRANDC $rhs, $lhs), $tval, $fval)>;
3406 def : Pat<(i32 (selectcc i1:$lhs, i1:$rhs, i32:$tval, i32:$fval, SETUGT)),
3407 (SELECT_I4 (CRANDC $lhs, $rhs), $tval, $fval)>;
3408 def : Pat<(i32 (selectcc i1:$lhs, i1:$rhs, i32:$tval, i32:$fval, SETNE)),
3409 (SELECT_I4 (CRXOR $lhs, $rhs), $tval, $fval)>;
3411 def : Pat<(i64 (selectcc i1:$lhs, i1:$rhs, i64:$tval, i64:$fval, SETLT)),
3412 (SELECT_I8 (CRANDC $lhs, $rhs), $tval, $fval)>;
3413 def : Pat<(i64 (selectcc i1:$lhs, i1:$rhs, i64:$tval, i64:$fval, SETULT)),
3414 (SELECT_I8 (CRANDC $rhs, $lhs), $tval, $fval)>;
3415 def : Pat<(i64 (selectcc i1:$lhs, i1:$rhs, i64:$tval, i64:$fval, SETLE)),
3416 (SELECT_I8 (CRORC $lhs, $rhs), $tval, $fval)>;
3417 def : Pat<(i64 (selectcc i1:$lhs, i1:$rhs, i64:$tval, i64:$fval, SETULE)),
3418 (SELECT_I8 (CRORC $rhs, $lhs), $tval, $fval)>;
3419 def : Pat<(i64 (selectcc i1:$lhs, i1:$rhs, i64:$tval, i64:$fval, SETEQ)),
3420 (SELECT_I8 (CREQV $lhs, $rhs), $tval, $fval)>;
3421 def : Pat<(i64 (selectcc i1:$lhs, i1:$rhs, i64:$tval, i64:$fval, SETGE)),
3422 (SELECT_I8 (CRORC $rhs, $lhs), $tval, $fval)>;
3423 def : Pat<(i64 (selectcc i1:$lhs, i1:$rhs, i64:$tval, i64:$fval, SETUGE)),
3424 (SELECT_I8 (CRORC $lhs, $rhs), $tval, $fval)>;
3425 def : Pat<(i64 (selectcc i1:$lhs, i1:$rhs, i64:$tval, i64:$fval, SETGT)),
3426 (SELECT_I8 (CRANDC $rhs, $lhs), $tval, $fval)>;
3427 def : Pat<(i64 (selectcc i1:$lhs, i1:$rhs, i64:$tval, i64:$fval, SETUGT)),
3428 (SELECT_I8 (CRANDC $lhs, $rhs), $tval, $fval)>;
3429 def : Pat<(i64 (selectcc i1:$lhs, i1:$rhs, i64:$tval, i64:$fval, SETNE)),
3430 (SELECT_I8 (CRXOR $lhs, $rhs), $tval, $fval)>;
3432 def : Pat<(f32 (selectcc i1:$lhs, i1:$rhs, f32:$tval, f32:$fval, SETLT)),
3433 (SELECT_F4 (CRANDC $lhs, $rhs), $tval, $fval)>;
3434 def : Pat<(f32 (selectcc i1:$lhs, i1:$rhs, f32:$tval, f32:$fval, SETULT)),
3435 (SELECT_F4 (CRANDC $rhs, $lhs), $tval, $fval)>;
3436 def : Pat<(f32 (selectcc i1:$lhs, i1:$rhs, f32:$tval, f32:$fval, SETLE)),
3437 (SELECT_F4 (CRORC $lhs, $rhs), $tval, $fval)>;
3438 def : Pat<(f32 (selectcc i1:$lhs, i1:$rhs, f32:$tval, f32:$fval, SETULE)),
3439 (SELECT_F4 (CRORC $rhs, $lhs), $tval, $fval)>;
3440 def : Pat<(f32 (selectcc i1:$lhs, i1:$rhs, f32:$tval, f32:$fval, SETEQ)),
3441 (SELECT_F4 (CREQV $lhs, $rhs), $tval, $fval)>;
3442 def : Pat<(f32 (selectcc i1:$lhs, i1:$rhs, f32:$tval, f32:$fval, SETGE)),
3443 (SELECT_F4 (CRORC $rhs, $lhs), $tval, $fval)>;
3444 def : Pat<(f32 (selectcc i1:$lhs, i1:$rhs, f32:$tval, f32:$fval, SETUGE)),
3445 (SELECT_F4 (CRORC $lhs, $rhs), $tval, $fval)>;
3446 def : Pat<(f32 (selectcc i1:$lhs, i1:$rhs, f32:$tval, f32:$fval, SETGT)),
3447 (SELECT_F4 (CRANDC $rhs, $lhs), $tval, $fval)>;
3448 def : Pat<(f32 (selectcc i1:$lhs, i1:$rhs, f32:$tval, f32:$fval, SETUGT)),
3449 (SELECT_F4 (CRANDC $lhs, $rhs), $tval, $fval)>;
3450 def : Pat<(f32 (selectcc i1:$lhs, i1:$rhs, f32:$tval, f32:$fval, SETNE)),
3451 (SELECT_F4 (CRXOR $lhs, $rhs), $tval, $fval)>;
3453 def : Pat<(f64 (selectcc i1:$lhs, i1:$rhs, f64:$tval, f64:$fval, SETLT)),
3454 (SELECT_F8 (CRANDC $lhs, $rhs), $tval, $fval)>;
3455 def : Pat<(f64 (selectcc i1:$lhs, i1:$rhs, f64:$tval, f64:$fval, SETULT)),
3456 (SELECT_F8 (CRANDC $rhs, $lhs), $tval, $fval)>;
3457 def : Pat<(f64 (selectcc i1:$lhs, i1:$rhs, f64:$tval, f64:$fval, SETLE)),
3458 (SELECT_F8 (CRORC $lhs, $rhs), $tval, $fval)>;
3459 def : Pat<(f64 (selectcc i1:$lhs, i1:$rhs, f64:$tval, f64:$fval, SETULE)),
3460 (SELECT_F8 (CRORC $rhs, $lhs), $tval, $fval)>;
3461 def : Pat<(f64 (selectcc i1:$lhs, i1:$rhs, f64:$tval, f64:$fval, SETEQ)),
3462 (SELECT_F8 (CREQV $lhs, $rhs), $tval, $fval)>;
3463 def : Pat<(f64 (selectcc i1:$lhs, i1:$rhs, f64:$tval, f64:$fval, SETGE)),
3464 (SELECT_F8 (CRORC $rhs, $lhs), $tval, $fval)>;
3465 def : Pat<(f64 (selectcc i1:$lhs, i1:$rhs, f64:$tval, f64:$fval, SETUGE)),
3466 (SELECT_F8 (CRORC $lhs, $rhs), $tval, $fval)>;
3467 def : Pat<(f64 (selectcc i1:$lhs, i1:$rhs, f64:$tval, f64:$fval, SETGT)),
3468 (SELECT_F8 (CRANDC $rhs, $lhs), $tval, $fval)>;
3469 def : Pat<(f64 (selectcc i1:$lhs, i1:$rhs, f64:$tval, f64:$fval, SETUGT)),
3470 (SELECT_F8 (CRANDC $lhs, $rhs), $tval, $fval)>;
3471 def : Pat<(f64 (selectcc i1:$lhs, i1:$rhs, f64:$tval, f64:$fval, SETNE)),
3472 (SELECT_F8 (CRXOR $lhs, $rhs), $tval, $fval)>;
3474 def : Pat<(v4i32 (selectcc i1:$lhs, i1:$rhs, v4i32:$tval, v4i32:$fval, SETLT)),
3475 (SELECT_VRRC (CRANDC $lhs, $rhs), $tval, $fval)>;
3476 def : Pat<(v4i32 (selectcc i1:$lhs, i1:$rhs, v4i32:$tval, v4i32:$fval, SETULT)),
3477 (SELECT_VRRC (CRANDC $rhs, $lhs), $tval, $fval)>;
3478 def : Pat<(v4i32 (selectcc i1:$lhs, i1:$rhs, v4i32:$tval, v4i32:$fval, SETLE)),
3479 (SELECT_VRRC (CRORC $lhs, $rhs), $tval, $fval)>;
3480 def : Pat<(v4i32 (selectcc i1:$lhs, i1:$rhs, v4i32:$tval, v4i32:$fval, SETULE)),
3481 (SELECT_VRRC (CRORC $rhs, $lhs), $tval, $fval)>;
3482 def : Pat<(v4i32 (selectcc i1:$lhs, i1:$rhs, v4i32:$tval, v4i32:$fval, SETEQ)),
3483 (SELECT_VRRC (CREQV $lhs, $rhs), $tval, $fval)>;
3484 def : Pat<(v4i32 (selectcc i1:$lhs, i1:$rhs, v4i32:$tval, v4i32:$fval, SETGE)),
3485 (SELECT_VRRC (CRORC $rhs, $lhs), $tval, $fval)>;
3486 def : Pat<(v4i32 (selectcc i1:$lhs, i1:$rhs, v4i32:$tval, v4i32:$fval, SETUGE)),
3487 (SELECT_VRRC (CRORC $lhs, $rhs), $tval, $fval)>;
3488 def : Pat<(v4i32 (selectcc i1:$lhs, i1:$rhs, v4i32:$tval, v4i32:$fval, SETGT)),
3489 (SELECT_VRRC (CRANDC $rhs, $lhs), $tval, $fval)>;
3490 def : Pat<(v4i32 (selectcc i1:$lhs, i1:$rhs, v4i32:$tval, v4i32:$fval, SETUGT)),
3491 (SELECT_VRRC (CRANDC $lhs, $rhs), $tval, $fval)>;
3492 def : Pat<(v4i32 (selectcc i1:$lhs, i1:$rhs, v4i32:$tval, v4i32:$fval, SETNE)),
3493 (SELECT_VRRC (CRXOR $lhs, $rhs), $tval, $fval)>;