• Home
  • Raw
  • Download

Lines Matching refs:setcc

3588 // match setcc on i1 variables.
3606 def : Pat<(i1 (setcc i1:$s1, i1:$s2, SETLT)),
3608 def : Pat<(i1 (setcc i1:$s1, i1:$s2, SETULT)),
3627 def : Pat<(i1 (setcc i1:$s1, i1:$s2, SETLE)),
3629 def : Pat<(i1 (setcc i1:$s1, i1:$s2, SETULE)),
3632 def : Pat<(i1 (setcc i1:$s1, i1:$s2, SETEQ)),
3646 def : Pat<(i1 (setcc i1:$s1, i1:$s2, SETGE)),
3648 def : Pat<(i1 (setcc i1:$s1, i1:$s2, SETUGE)),
3662 def : Pat<(i1 (setcc i1:$s1, i1:$s2, SETGT)),
3664 def : Pat<(i1 (setcc i1:$s1, i1:$s2, SETUGT)),
3667 def : Pat<(i1 (setcc i1:$s1, i1:$s2, SETNE)),
3670 // match setcc on non-i1 (non-vector) variables. Note that SETUEQ, SETOGE,
3732 (setcc $in, 0, $cc)>,
3740 (setcc $in, 0, $cc)>,
3748 (setcc $in, 0, $cc)>,
3756 (setcc $in, 0, $cc)>,
3764 (setcc $in, 0, $cc)>,
3772 (setcc $in, 0, $cc)>,
3780 (setcc $in, -1, $cc)>,
3788 (setcc $in, -1, $cc)>,
3796 (setcc $in, -1, $cc)>,
3804 (setcc $in, -1, $cc)>,
3834 (setcc (and $in, (shl 1, $sa)), 0, $cc)>,
3842 (setcc (and $in, (shl 1, $sa)), 0, $cc)>,
3851 def : Pat<(i1 (setcc i32:$s1, immZExt16:$imm, SETULT)),
3853 def : Pat<(i1 (setcc i32:$s1, imm32SExt16:$imm, SETLT)),
3855 def : Pat<(i1 (setcc i32:$s1, immZExt16:$imm, SETUGT)),
3857 def : Pat<(i1 (setcc i32:$s1, imm32SExt16:$imm, SETGT)),
3859 def : Pat<(i1 (setcc i32:$s1, imm32SExt16:$imm, SETEQ)),
3861 def : Pat<(i1 (setcc i32:$s1, immZExt16:$imm, SETEQ)),
3875 def : Pat<(i1 (setcc i32:$s1, imm:$imm, SETEQ)),
3879 def : Pat<(i1 (setcc i32:$s1, i32:$s2, SETULT)),
3881 def : Pat<(i1 (setcc i32:$s1, i32:$s2, SETLT)),
3883 def : Pat<(i1 (setcc i32:$s1, i32:$s2, SETUGT)),
3885 def : Pat<(i1 (setcc i32:$s1, i32:$s2, SETGT)),
3887 def : Pat<(i1 (setcc i32:$s1, i32:$s2, SETEQ)),
3891 def : Pat<(i1 (setcc i64:$s1, immZExt16:$imm, SETULT)),
3893 def : Pat<(i1 (setcc i64:$s1, imm64SExt16:$imm, SETLT)),
3895 def : Pat<(i1 (setcc i64:$s1, immZExt16:$imm, SETUGT)),
3897 def : Pat<(i1 (setcc i64:$s1, imm64SExt16:$imm, SETGT)),
3899 def : Pat<(i1 (setcc i64:$s1, imm64SExt16:$imm, SETEQ)),
3901 def : Pat<(i1 (setcc i64:$s1, immZExt16:$imm, SETEQ)),
3915 def : Pat<(i1 (setcc i64:$s1, imm64ZExt32:$imm, SETEQ)),
3919 def : Pat<(i1 (setcc i64:$s1, i64:$s2, SETULT)),
3921 def : Pat<(i1 (setcc i64:$s1, i64:$s2, SETLT)),
3923 def : Pat<(i1 (setcc i64:$s1, i64:$s2, SETUGT)),
3925 def : Pat<(i1 (setcc i64:$s1, i64:$s2, SETGT)),
3927 def : Pat<(i1 (setcc i64:$s1, i64:$s2, SETEQ)),
3932 defm : CRNotPat<(i1 (setcc i32:$s1, immZExt16:$imm, SETUGE)),
3934 defm : CRNotPat<(i1 (setcc i32:$s1, imm32SExt16:$imm, SETGE)),
3936 defm : CRNotPat<(i1 (setcc i32:$s1, immZExt16:$imm, SETULE)),
3938 defm : CRNotPat<(i1 (setcc i32:$s1, imm32SExt16:$imm, SETLE)),
3940 defm : CRNotPat<(i1 (setcc i32:$s1, imm32SExt16:$imm, SETNE)),
3942 defm : CRNotPat<(i1 (setcc i32:$s1, immZExt16:$imm, SETNE)),
3945 defm : CRNotPat<(i1 (setcc i32:$s1, imm:$imm, SETNE)),
3949 defm : CRNotPat<(i1 (setcc i32:$s1, i32:$s2, SETUGE)),
3951 defm : CRNotPat<(i1 (setcc i32:$s1, i32:$s2, SETGE)),
3953 defm : CRNotPat<(i1 (setcc i32:$s1, i32:$s2, SETULE)),
3955 defm : CRNotPat<(i1 (setcc i32:$s1, i32:$s2, SETLE)),
3957 defm : CRNotPat<(i1 (setcc i32:$s1, i32:$s2, SETNE)),
3961 defm : CRNotPat<(i1 (setcc i64:$s1, immZExt16:$imm, SETUGE)),
3963 defm : CRNotPat<(i1 (setcc i64:$s1, imm64SExt16:$imm, SETGE)),
3965 defm : CRNotPat<(i1 (setcc i64:$s1, immZExt16:$imm, SETULE)),
3967 defm : CRNotPat<(i1 (setcc i64:$s1, imm64SExt16:$imm, SETLE)),
3969 defm : CRNotPat<(i1 (setcc i64:$s1, imm64SExt16:$imm, SETNE)),
3971 defm : CRNotPat<(i1 (setcc i64:$s1, immZExt16:$imm, SETNE)),
3974 defm : CRNotPat<(i1 (setcc i64:$s1, imm64ZExt32:$imm, SETNE)),
3978 defm : CRNotPat<(i1 (setcc i64:$s1, i64:$s2, SETUGE)),
3980 defm : CRNotPat<(i1 (setcc i64:$s1, i64:$s2, SETGE)),
3982 defm : CRNotPat<(i1 (setcc i64:$s1, i64:$s2, SETULE)),
3984 defm : CRNotPat<(i1 (setcc i64:$s1, i64:$s2, SETLE)),
3986 defm : CRNotPat<(i1 (setcc i64:$s1, i64:$s2, SETNE)),
4050 def : Pat<(i1 (setcc f32:$s1, f32:$s2, SETOLT)),
4052 def : Pat<(i1 (setcc f32:$s1, f32:$s2, SETLT)),
4054 def : Pat<(i1 (setcc f32:$s1, f32:$s2, SETOGT)),
4056 def : Pat<(i1 (setcc f32:$s1, f32:$s2, SETGT)),
4058 def : Pat<(i1 (setcc f32:$s1, f32:$s2, SETOEQ)),
4060 def : Pat<(i1 (setcc f32:$s1, f32:$s2, SETEQ)),
4063 defm : CRNotPat<(i1 (setcc f32:$s1, f32:$s2, SETUGE)),
4065 defm : CRNotPat<(i1 (setcc f32:$s1, f32:$s2, SETGE)),
4067 defm : CRNotPat<(i1 (setcc f32:$s1, f32:$s2, SETULE)),
4069 defm : CRNotPat<(i1 (setcc f32:$s1, f32:$s2, SETLE)),
4071 defm : CRNotPat<(i1 (setcc f32:$s1, f32:$s2, SETUNE)),
4073 defm : CRNotPat<(i1 (setcc f32:$s1, f32:$s2, SETNE)),
4077 def : Pat<(i1 (setcc f64:$s1, f64:$s2, SETOLT)),
4079 def : Pat<(i1 (setcc f64:$s1, f64:$s2, SETLT)),
4081 def : Pat<(i1 (setcc f64:$s1, f64:$s2, SETOGT)),
4083 def : Pat<(i1 (setcc f64:$s1, f64:$s2, SETGT)),
4085 def : Pat<(i1 (setcc f64:$s1, f64:$s2, SETOEQ)),
4087 def : Pat<(i1 (setcc f64:$s1, f64:$s2, SETEQ)),
4090 defm : CRNotPat<(i1 (setcc f64:$s1, f64:$s2, SETUGE)),
4092 defm : CRNotPat<(i1 (setcc f64:$s1, f64:$s2, SETGE)),
4094 defm : CRNotPat<(i1 (setcc f64:$s1, f64:$s2, SETULE)),
4096 defm : CRNotPat<(i1 (setcc f64:$s1, f64:$s2, SETLE)),
4098 defm : CRNotPat<(i1 (setcc f64:$s1, f64:$s2, SETUNE)),
4100 defm : CRNotPat<(i1 (setcc f64:$s1, f64:$s2, SETNE)),