Lines Matching refs:setcc
2930 // match setcc on i1 variables.
2948 def : Pat<(i1 (setcc i1:$s1, i1:$s2, SETLT)),
2950 def : Pat<(i1 (setcc i1:$s1, i1:$s2, SETULT)),
2969 def : Pat<(i1 (setcc i1:$s1, i1:$s2, SETLE)),
2971 def : Pat<(i1 (setcc i1:$s1, i1:$s2, SETULE)),
2974 def : Pat<(i1 (setcc i1:$s1, i1:$s2, SETEQ)),
2988 def : Pat<(i1 (setcc i1:$s1, i1:$s2, SETGE)),
2990 def : Pat<(i1 (setcc i1:$s1, i1:$s2, SETUGE)),
3004 def : Pat<(i1 (setcc i1:$s1, i1:$s2, SETGT)),
3006 def : Pat<(i1 (setcc i1:$s1, i1:$s2, SETUGT)),
3009 def : Pat<(i1 (setcc i1:$s1, i1:$s2, SETNE)),
3012 // match setcc on non-i1 (non-vector) variables. Note that SETUEQ, SETOGE,
3074 (setcc $in, 0, $cc)>,
3082 (setcc $in, 0, $cc)>,
3090 (setcc $in, 0, $cc)>,
3098 (setcc $in, 0, $cc)>,
3106 (setcc $in, 0, $cc)>,
3114 (setcc $in, 0, $cc)>,
3122 (setcc $in, -1, $cc)>,
3130 (setcc $in, -1, $cc)>,
3138 (setcc $in, -1, $cc)>,
3146 (setcc $in, -1, $cc)>,
3153 def : Pat<(i1 (setcc i32:$s1, immZExt16:$imm, SETULT)),
3155 def : Pat<(i1 (setcc i32:$s1, imm32SExt16:$imm, SETLT)),
3157 def : Pat<(i1 (setcc i32:$s1, immZExt16:$imm, SETUGT)),
3159 def : Pat<(i1 (setcc i32:$s1, imm32SExt16:$imm, SETGT)),
3161 def : Pat<(i1 (setcc i32:$s1, imm32SExt16:$imm, SETEQ)),
3163 def : Pat<(i1 (setcc i32:$s1, immZExt16:$imm, SETEQ)),
3177 def : Pat<(i1 (setcc i32:$s1, imm:$imm, SETEQ)),
3181 defm : CRNotPat<(i1 (setcc i32:$s1, immZExt16:$imm, SETUGE)),
3183 defm : CRNotPat<(i1 (setcc i32:$s1, imm32SExt16:$imm, SETGE)),
3185 defm : CRNotPat<(i1 (setcc i32:$s1, immZExt16:$imm, SETULE)),
3187 defm : CRNotPat<(i1 (setcc i32:$s1, imm32SExt16:$imm, SETLE)),
3189 defm : CRNotPat<(i1 (setcc i32:$s1, imm32SExt16:$imm, SETNE)),
3191 defm : CRNotPat<(i1 (setcc i32:$s1, immZExt16:$imm, SETNE)),
3194 defm : CRNotPat<(i1 (setcc i32:$s1, imm:$imm, SETNE)),
3198 def : Pat<(i1 (setcc i32:$s1, i32:$s2, SETULT)),
3200 def : Pat<(i1 (setcc i32:$s1, i32:$s2, SETLT)),
3202 def : Pat<(i1 (setcc i32:$s1, i32:$s2, SETUGT)),
3204 def : Pat<(i1 (setcc i32:$s1, i32:$s2, SETGT)),
3206 def : Pat<(i1 (setcc i32:$s1, i32:$s2, SETEQ)),
3209 defm : CRNotPat<(i1 (setcc i32:$s1, i32:$s2, SETUGE)),
3211 defm : CRNotPat<(i1 (setcc i32:$s1, i32:$s2, SETGE)),
3213 defm : CRNotPat<(i1 (setcc i32:$s1, i32:$s2, SETULE)),
3215 defm : CRNotPat<(i1 (setcc i32:$s1, i32:$s2, SETLE)),
3217 defm : CRNotPat<(i1 (setcc i32:$s1, i32:$s2, SETNE)),
3221 def : Pat<(i1 (setcc i64:$s1, immZExt16:$imm, SETULT)),
3223 def : Pat<(i1 (setcc i64:$s1, imm64SExt16:$imm, SETLT)),
3225 def : Pat<(i1 (setcc i64:$s1, immZExt16:$imm, SETUGT)),
3227 def : Pat<(i1 (setcc i64:$s1, imm64SExt16:$imm, SETGT)),
3229 def : Pat<(i1 (setcc i64:$s1, imm64SExt16:$imm, SETEQ)),
3231 def : Pat<(i1 (setcc i64:$s1, immZExt16:$imm, SETEQ)),
3245 def : Pat<(i1 (setcc i64:$s1, imm64ZExt32:$imm, SETEQ)),
3249 defm : CRNotPat<(i1 (setcc i64:$s1, immZExt16:$imm, SETUGE)),
3251 defm : CRNotPat<(i1 (setcc i64:$s1, imm64SExt16:$imm, SETGE)),
3253 defm : CRNotPat<(i1 (setcc i64:$s1, immZExt16:$imm, SETULE)),
3255 defm : CRNotPat<(i1 (setcc i64:$s1, imm64SExt16:$imm, SETLE)),
3257 defm : CRNotPat<(i1 (setcc i64:$s1, imm64SExt16:$imm, SETNE)),
3259 defm : CRNotPat<(i1 (setcc i64:$s1, immZExt16:$imm, SETNE)),
3262 defm : CRNotPat<(i1 (setcc i64:$s1, imm64ZExt32:$imm, SETNE)),
3266 def : Pat<(i1 (setcc i64:$s1, i64:$s2, SETULT)),
3268 def : Pat<(i1 (setcc i64:$s1, i64:$s2, SETLT)),
3270 def : Pat<(i1 (setcc i64:$s1, i64:$s2, SETUGT)),
3272 def : Pat<(i1 (setcc i64:$s1, i64:$s2, SETGT)),
3274 def : Pat<(i1 (setcc i64:$s1, i64:$s2, SETEQ)),
3277 defm : CRNotPat<(i1 (setcc i64:$s1, i64:$s2, SETUGE)),
3279 defm : CRNotPat<(i1 (setcc i64:$s1, i64:$s2, SETGE)),
3281 defm : CRNotPat<(i1 (setcc i64:$s1, i64:$s2, SETULE)),
3283 defm : CRNotPat<(i1 (setcc i64:$s1, i64:$s2, SETLE)),
3285 defm : CRNotPat<(i1 (setcc i64:$s1, i64:$s2, SETNE)),
3289 def : Pat<(i1 (setcc f32:$s1, f32:$s2, SETOLT)),
3291 def : Pat<(i1 (setcc f32:$s1, f32:$s2, SETLT)),
3293 def : Pat<(i1 (setcc f32:$s1, f32:$s2, SETOGT)),
3295 def : Pat<(i1 (setcc f32:$s1, f32:$s2, SETGT)),
3297 def : Pat<(i1 (setcc f32:$s1, f32:$s2, SETOEQ)),
3299 def : Pat<(i1 (setcc f32:$s1, f32:$s2, SETEQ)),
3301 def : Pat<(i1 (setcc f32:$s1, f32:$s2, SETUO)),
3304 defm : CRNotPat<(i1 (setcc f32:$s1, f32:$s2, SETUGE)),
3306 defm : CRNotPat<(i1 (setcc f32:$s1, f32:$s2, SETGE)),
3308 defm : CRNotPat<(i1 (setcc f32:$s1, f32:$s2, SETULE)),
3310 defm : CRNotPat<(i1 (setcc f32:$s1, f32:$s2, SETLE)),
3312 defm : CRNotPat<(i1 (setcc f32:$s1, f32:$s2, SETUNE)),
3314 defm : CRNotPat<(i1 (setcc f32:$s1, f32:$s2, SETNE)),
3316 defm : CRNotPat<(i1 (setcc f32:$s1, f32:$s2, SETO)),
3320 def : Pat<(i1 (setcc f64:$s1, f64:$s2, SETOLT)),
3322 def : Pat<(i1 (setcc f64:$s1, f64:$s2, SETLT)),
3324 def : Pat<(i1 (setcc f64:$s1, f64:$s2, SETOGT)),
3326 def : Pat<(i1 (setcc f64:$s1, f64:$s2, SETGT)),
3328 def : Pat<(i1 (setcc f64:$s1, f64:$s2, SETOEQ)),
3330 def : Pat<(i1 (setcc f64:$s1, f64:$s2, SETEQ)),
3332 def : Pat<(i1 (setcc f64:$s1, f64:$s2, SETUO)),
3335 defm : CRNotPat<(i1 (setcc f64:$s1, f64:$s2, SETUGE)),
3337 defm : CRNotPat<(i1 (setcc f64:$s1, f64:$s2, SETGE)),
3339 defm : CRNotPat<(i1 (setcc f64:$s1, f64:$s2, SETULE)),
3341 defm : CRNotPat<(i1 (setcc f64:$s1, f64:$s2, SETLE)),
3343 defm : CRNotPat<(i1 (setcc f64:$s1, f64:$s2, SETUNE)),
3345 defm : CRNotPat<(i1 (setcc f64:$s1, f64:$s2, SETNE)),
3347 defm : CRNotPat<(i1 (setcc f64:$s1, f64:$s2, SETO)),