Lines Matching refs:setOperationAction
101 setOperationAction(ISD::SIGN_EXTEND_INREG, MVT::i1, Expand); in PPCTargetLowering()
104 setOperationAction(ISD::SINT_TO_FP, MVT::i1, Promote); in PPCTargetLowering()
107 setOperationAction(ISD::UINT_TO_FP, MVT::i1, Promote); in PPCTargetLowering()
111 setOperationAction(ISD::SINT_TO_FP, MVT::i1, Custom); in PPCTargetLowering()
112 setOperationAction(ISD::UINT_TO_FP, MVT::i1, Custom); in PPCTargetLowering()
116 setOperationAction(ISD::LOAD, MVT::i1, Custom); in PPCTargetLowering()
117 setOperationAction(ISD::STORE, MVT::i1, Custom); in PPCTargetLowering()
121 setOperationAction(ISD::TRUNCATE, MVT::i1, Custom); in PPCTargetLowering()
134 setOperationAction(ISD::FP_ROUND_INREG, MVT::ppcf128, Custom); in PPCTargetLowering()
137 setOperationAction(ISD::FFLOOR, MVT::ppcf128, Expand); in PPCTargetLowering()
138 setOperationAction(ISD::FCEIL, MVT::ppcf128, Expand); in PPCTargetLowering()
139 setOperationAction(ISD::FTRUNC, MVT::ppcf128, Expand); in PPCTargetLowering()
140 setOperationAction(ISD::FRINT, MVT::ppcf128, Expand); in PPCTargetLowering()
141 setOperationAction(ISD::FNEARBYINT, MVT::ppcf128, Expand); in PPCTargetLowering()
142 setOperationAction(ISD::FREM, MVT::ppcf128, Expand); in PPCTargetLowering()
145 setOperationAction(ISD::SREM, MVT::i32, Expand); in PPCTargetLowering()
146 setOperationAction(ISD::UREM, MVT::i32, Expand); in PPCTargetLowering()
147 setOperationAction(ISD::SREM, MVT::i64, Expand); in PPCTargetLowering()
148 setOperationAction(ISD::UREM, MVT::i64, Expand); in PPCTargetLowering()
151 setOperationAction(ISD::UMUL_LOHI, MVT::i32, Expand); in PPCTargetLowering()
152 setOperationAction(ISD::SMUL_LOHI, MVT::i32, Expand); in PPCTargetLowering()
153 setOperationAction(ISD::UMUL_LOHI, MVT::i64, Expand); in PPCTargetLowering()
154 setOperationAction(ISD::SMUL_LOHI, MVT::i64, Expand); in PPCTargetLowering()
155 setOperationAction(ISD::UDIVREM, MVT::i32, Expand); in PPCTargetLowering()
156 setOperationAction(ISD::SDIVREM, MVT::i32, Expand); in PPCTargetLowering()
157 setOperationAction(ISD::UDIVREM, MVT::i64, Expand); in PPCTargetLowering()
158 setOperationAction(ISD::SDIVREM, MVT::i64, Expand); in PPCTargetLowering()
161 setOperationAction(ISD::FSIN , MVT::f64, Expand); in PPCTargetLowering()
162 setOperationAction(ISD::FCOS , MVT::f64, Expand); in PPCTargetLowering()
163 setOperationAction(ISD::FSINCOS, MVT::f64, Expand); in PPCTargetLowering()
164 setOperationAction(ISD::FREM , MVT::f64, Expand); in PPCTargetLowering()
165 setOperationAction(ISD::FPOW , MVT::f64, Expand); in PPCTargetLowering()
166 setOperationAction(ISD::FMA , MVT::f64, Legal); in PPCTargetLowering()
167 setOperationAction(ISD::FSIN , MVT::f32, Expand); in PPCTargetLowering()
168 setOperationAction(ISD::FCOS , MVT::f32, Expand); in PPCTargetLowering()
169 setOperationAction(ISD::FSINCOS, MVT::f32, Expand); in PPCTargetLowering()
170 setOperationAction(ISD::FREM , MVT::f32, Expand); in PPCTargetLowering()
171 setOperationAction(ISD::FPOW , MVT::f32, Expand); in PPCTargetLowering()
172 setOperationAction(ISD::FMA , MVT::f32, Legal); in PPCTargetLowering()
174 setOperationAction(ISD::FLT_ROUNDS_, MVT::i32, Custom); in PPCTargetLowering()
180 setOperationAction(ISD::FSQRT, MVT::f64, Expand); in PPCTargetLowering()
185 setOperationAction(ISD::FSQRT, MVT::f32, Expand); in PPCTargetLowering()
188 setOperationAction(ISD::FCOPYSIGN, MVT::f64, Legal); in PPCTargetLowering()
189 setOperationAction(ISD::FCOPYSIGN, MVT::f32, Legal); in PPCTargetLowering()
191 setOperationAction(ISD::FCOPYSIGN, MVT::f64, Expand); in PPCTargetLowering()
192 setOperationAction(ISD::FCOPYSIGN, MVT::f32, Expand); in PPCTargetLowering()
196 setOperationAction(ISD::FFLOOR, MVT::f64, Legal); in PPCTargetLowering()
197 setOperationAction(ISD::FCEIL, MVT::f64, Legal); in PPCTargetLowering()
198 setOperationAction(ISD::FTRUNC, MVT::f64, Legal); in PPCTargetLowering()
199 setOperationAction(ISD::FROUND, MVT::f64, Legal); in PPCTargetLowering()
201 setOperationAction(ISD::FFLOOR, MVT::f32, Legal); in PPCTargetLowering()
202 setOperationAction(ISD::FCEIL, MVT::f32, Legal); in PPCTargetLowering()
203 setOperationAction(ISD::FTRUNC, MVT::f32, Legal); in PPCTargetLowering()
204 setOperationAction(ISD::FROUND, MVT::f32, Legal); in PPCTargetLowering()
208 setOperationAction(ISD::BSWAP, MVT::i32 , Expand); in PPCTargetLowering()
209 setOperationAction(ISD::CTTZ , MVT::i32 , Expand); in PPCTargetLowering()
210 setOperationAction(ISD::CTTZ_ZERO_UNDEF, MVT::i32, Expand); in PPCTargetLowering()
211 setOperationAction(ISD::CTLZ_ZERO_UNDEF, MVT::i32, Expand); in PPCTargetLowering()
212 setOperationAction(ISD::BSWAP, MVT::i64 , Expand); in PPCTargetLowering()
213 setOperationAction(ISD::CTTZ , MVT::i64 , Expand); in PPCTargetLowering()
214 setOperationAction(ISD::CTTZ_ZERO_UNDEF, MVT::i64, Expand); in PPCTargetLowering()
215 setOperationAction(ISD::CTLZ_ZERO_UNDEF, MVT::i64, Expand); in PPCTargetLowering()
218 setOperationAction(ISD::CTPOP, MVT::i32 , Legal); in PPCTargetLowering()
219 setOperationAction(ISD::CTPOP, MVT::i64 , Legal); in PPCTargetLowering()
221 setOperationAction(ISD::CTPOP, MVT::i32 , Expand); in PPCTargetLowering()
222 setOperationAction(ISD::CTPOP, MVT::i64 , Expand); in PPCTargetLowering()
226 setOperationAction(ISD::ROTR, MVT::i32 , Expand); in PPCTargetLowering()
227 setOperationAction(ISD::ROTR, MVT::i64 , Expand); in PPCTargetLowering()
231 setOperationAction(ISD::SELECT, MVT::i32, Expand); in PPCTargetLowering()
232 setOperationAction(ISD::SELECT, MVT::i64, Expand); in PPCTargetLowering()
233 setOperationAction(ISD::SELECT, MVT::f32, Expand); in PPCTargetLowering()
234 setOperationAction(ISD::SELECT, MVT::f64, Expand); in PPCTargetLowering()
238 setOperationAction(ISD::SELECT_CC, MVT::f32, Custom); in PPCTargetLowering()
239 setOperationAction(ISD::SELECT_CC, MVT::f64, Custom); in PPCTargetLowering()
243 setOperationAction(ISD::SETCC, MVT::i32, Custom); in PPCTargetLowering()
247 setOperationAction(ISD::BRCOND, MVT::Other, Expand); in PPCTargetLowering()
249 setOperationAction(ISD::BR_JT, MVT::Other, Expand); in PPCTargetLowering()
252 setOperationAction(ISD::FP_TO_SINT, MVT::i32, Custom); in PPCTargetLowering()
255 setOperationAction(ISD::SINT_TO_FP, MVT::i32, Expand); in PPCTargetLowering()
256 setOperationAction(ISD::UINT_TO_FP, MVT::i32, Expand); in PPCTargetLowering()
259 setOperationAction(ISD::BITCAST, MVT::f32, Legal); in PPCTargetLowering()
260 setOperationAction(ISD::BITCAST, MVT::i32, Legal); in PPCTargetLowering()
261 setOperationAction(ISD::BITCAST, MVT::i64, Legal); in PPCTargetLowering()
262 setOperationAction(ISD::BITCAST, MVT::f64, Legal); in PPCTargetLowering()
264 setOperationAction(ISD::BITCAST, MVT::f32, Expand); in PPCTargetLowering()
265 setOperationAction(ISD::BITCAST, MVT::i32, Expand); in PPCTargetLowering()
266 setOperationAction(ISD::BITCAST, MVT::i64, Expand); in PPCTargetLowering()
267 setOperationAction(ISD::BITCAST, MVT::f64, Expand); in PPCTargetLowering()
271 setOperationAction(ISD::SIGN_EXTEND_INREG, MVT::i1, Expand); in PPCTargetLowering()
279 setOperationAction(ISD::EH_SJLJ_SETJMP, MVT::i32, Custom); in PPCTargetLowering()
280 setOperationAction(ISD::EH_SJLJ_LONGJMP, MVT::Other, Custom); in PPCTargetLowering()
284 setOperationAction(ISD::GlobalAddress, MVT::i32, Custom); in PPCTargetLowering()
285 setOperationAction(ISD::GlobalTLSAddress, MVT::i32, Custom); in PPCTargetLowering()
286 setOperationAction(ISD::BlockAddress, MVT::i32, Custom); in PPCTargetLowering()
287 setOperationAction(ISD::ConstantPool, MVT::i32, Custom); in PPCTargetLowering()
288 setOperationAction(ISD::JumpTable, MVT::i32, Custom); in PPCTargetLowering()
289 setOperationAction(ISD::GlobalAddress, MVT::i64, Custom); in PPCTargetLowering()
290 setOperationAction(ISD::GlobalTLSAddress, MVT::i64, Custom); in PPCTargetLowering()
291 setOperationAction(ISD::BlockAddress, MVT::i64, Custom); in PPCTargetLowering()
292 setOperationAction(ISD::ConstantPool, MVT::i64, Custom); in PPCTargetLowering()
293 setOperationAction(ISD::JumpTable, MVT::i64, Custom); in PPCTargetLowering()
296 setOperationAction(ISD::TRAP, MVT::Other, Legal); in PPCTargetLowering()
299 setOperationAction(ISD::INIT_TRAMPOLINE, MVT::Other, Custom); in PPCTargetLowering()
300 setOperationAction(ISD::ADJUST_TRAMPOLINE, MVT::Other, Custom); in PPCTargetLowering()
303 setOperationAction(ISD::VASTART , MVT::Other, Custom); in PPCTargetLowering()
308 setOperationAction(ISD::VAARG, MVT::i1, Promote); in PPCTargetLowering()
310 setOperationAction(ISD::VAARG, MVT::i8, Promote); in PPCTargetLowering()
312 setOperationAction(ISD::VAARG, MVT::i16, Promote); in PPCTargetLowering()
314 setOperationAction(ISD::VAARG, MVT::i32, Promote); in PPCTargetLowering()
316 setOperationAction(ISD::VAARG, MVT::Other, Expand); in PPCTargetLowering()
319 setOperationAction(ISD::VAARG, MVT::Other, Custom); in PPCTargetLowering()
320 setOperationAction(ISD::VAARG, MVT::i64, Custom); in PPCTargetLowering()
323 setOperationAction(ISD::VAARG, MVT::Other, Expand); in PPCTargetLowering()
327 setOperationAction(ISD::VACOPY , MVT::Other, Custom); in PPCTargetLowering()
329 setOperationAction(ISD::VACOPY , MVT::Other, Expand); in PPCTargetLowering()
332 setOperationAction(ISD::VAEND , MVT::Other, Expand); in PPCTargetLowering()
333 setOperationAction(ISD::STACKSAVE , MVT::Other, Expand); in PPCTargetLowering()
334 setOperationAction(ISD::STACKRESTORE , MVT::Other, Custom); in PPCTargetLowering()
335 setOperationAction(ISD::DYNAMIC_STACKALLOC, MVT::i32 , Custom); in PPCTargetLowering()
336 setOperationAction(ISD::DYNAMIC_STACKALLOC, MVT::i64 , Custom); in PPCTargetLowering()
337 setOperationAction(ISD::GET_DYNAMIC_AREA_OFFSET, MVT::i32, Custom); in PPCTargetLowering()
338 setOperationAction(ISD::GET_DYNAMIC_AREA_OFFSET, MVT::i64, Custom); in PPCTargetLowering()
341 setOperationAction(ISD::INTRINSIC_WO_CHAIN, MVT::Other, Custom); in PPCTargetLowering()
344 setOperationAction(ISD::INTRINSIC_W_CHAIN, MVT::i1, Custom); in PPCTargetLowering()
362 setOperationAction(ISD::FP_TO_SINT, MVT::i64, Custom); in PPCTargetLowering()
363 setOperationAction(ISD::FP_TO_UINT, MVT::i64, Expand); in PPCTargetLowering()
364 setOperationAction(ISD::SINT_TO_FP, MVT::i64, Custom); in PPCTargetLowering()
365 setOperationAction(ISD::UINT_TO_FP, MVT::i64, Expand); in PPCTargetLowering()
368 setOperationAction(ISD::FP_TO_UINT, MVT::i32, Custom); in PPCTargetLowering()
371 setOperationAction(ISD::SINT_TO_FP, MVT::i32, Custom); in PPCTargetLowering()
374 setOperationAction(ISD::FP_TO_UINT, MVT::i32, Expand); in PPCTargetLowering()
380 setOperationAction(ISD::FP_TO_SINT, MVT::i64, Custom); in PPCTargetLowering()
381 setOperationAction(ISD::FP_TO_UINT, MVT::i64, Custom); in PPCTargetLowering()
382 setOperationAction(ISD::SINT_TO_FP, MVT::i64, Custom); in PPCTargetLowering()
383 setOperationAction(ISD::UINT_TO_FP, MVT::i64, Custom); in PPCTargetLowering()
386 setOperationAction(ISD::FP_TO_SINT, MVT::i32, Custom); in PPCTargetLowering()
387 setOperationAction(ISD::FP_TO_UINT, MVT::i32, Custom); in PPCTargetLowering()
388 setOperationAction(ISD::SINT_TO_FP, MVT::i32, Custom); in PPCTargetLowering()
389 setOperationAction(ISD::UINT_TO_FP, MVT::i32, Custom); in PPCTargetLowering()
396 setOperationAction(ISD::BUILD_PAIR, MVT::i64, Expand); in PPCTargetLowering()
398 setOperationAction(ISD::SHL_PARTS, MVT::i64, Custom); in PPCTargetLowering()
399 setOperationAction(ISD::SRA_PARTS, MVT::i64, Custom); in PPCTargetLowering()
400 setOperationAction(ISD::SRL_PARTS, MVT::i64, Custom); in PPCTargetLowering()
403 setOperationAction(ISD::SHL_PARTS, MVT::i32, Custom); in PPCTargetLowering()
404 setOperationAction(ISD::SRA_PARTS, MVT::i32, Custom); in PPCTargetLowering()
405 setOperationAction(ISD::SRL_PARTS, MVT::i32, Custom); in PPCTargetLowering()
413 setOperationAction(ISD::ADD, VT, Legal); in PPCTargetLowering()
414 setOperationAction(ISD::SUB, VT, Legal); in PPCTargetLowering()
418 setOperationAction(ISD::CTPOP, VT, Legal); in PPCTargetLowering()
419 setOperationAction(ISD::CTLZ, VT, Legal); in PPCTargetLowering()
422 setOperationAction(ISD::CTPOP, VT, Expand); in PPCTargetLowering()
423 setOperationAction(ISD::CTLZ, VT, Expand); in PPCTargetLowering()
427 setOperationAction(ISD::VECTOR_SHUFFLE, VT, Promote); in PPCTargetLowering()
431 setOperationAction(ISD::AND , VT, Promote); in PPCTargetLowering()
433 setOperationAction(ISD::OR , VT, Promote); in PPCTargetLowering()
435 setOperationAction(ISD::XOR , VT, Promote); in PPCTargetLowering()
437 setOperationAction(ISD::LOAD , VT, Promote); in PPCTargetLowering()
439 setOperationAction(ISD::SELECT, VT, Promote); in PPCTargetLowering()
441 setOperationAction(ISD::SELECT_CC, VT, Promote); in PPCTargetLowering()
443 setOperationAction(ISD::STORE, VT, Promote); in PPCTargetLowering()
447 setOperationAction(ISD::MUL , VT, Expand); in PPCTargetLowering()
448 setOperationAction(ISD::SDIV, VT, Expand); in PPCTargetLowering()
449 setOperationAction(ISD::SREM, VT, Expand); in PPCTargetLowering()
450 setOperationAction(ISD::UDIV, VT, Expand); in PPCTargetLowering()
451 setOperationAction(ISD::UREM, VT, Expand); in PPCTargetLowering()
452 setOperationAction(ISD::FDIV, VT, Expand); in PPCTargetLowering()
453 setOperationAction(ISD::FREM, VT, Expand); in PPCTargetLowering()
454 setOperationAction(ISD::FNEG, VT, Expand); in PPCTargetLowering()
455 setOperationAction(ISD::FSQRT, VT, Expand); in PPCTargetLowering()
456 setOperationAction(ISD::FLOG, VT, Expand); in PPCTargetLowering()
457 setOperationAction(ISD::FLOG10, VT, Expand); in PPCTargetLowering()
458 setOperationAction(ISD::FLOG2, VT, Expand); in PPCTargetLowering()
459 setOperationAction(ISD::FEXP, VT, Expand); in PPCTargetLowering()
460 setOperationAction(ISD::FEXP2, VT, Expand); in PPCTargetLowering()
461 setOperationAction(ISD::FSIN, VT, Expand); in PPCTargetLowering()
462 setOperationAction(ISD::FCOS, VT, Expand); in PPCTargetLowering()
463 setOperationAction(ISD::FABS, VT, Expand); in PPCTargetLowering()
464 setOperationAction(ISD::FPOWI, VT, Expand); in PPCTargetLowering()
465 setOperationAction(ISD::FFLOOR, VT, Expand); in PPCTargetLowering()
466 setOperationAction(ISD::FCEIL, VT, Expand); in PPCTargetLowering()
467 setOperationAction(ISD::FTRUNC, VT, Expand); in PPCTargetLowering()
468 setOperationAction(ISD::FRINT, VT, Expand); in PPCTargetLowering()
469 setOperationAction(ISD::FNEARBYINT, VT, Expand); in PPCTargetLowering()
470 setOperationAction(ISD::EXTRACT_VECTOR_ELT, VT, Expand); in PPCTargetLowering()
471 setOperationAction(ISD::INSERT_VECTOR_ELT, VT, Expand); in PPCTargetLowering()
472 setOperationAction(ISD::BUILD_VECTOR, VT, Expand); in PPCTargetLowering()
473 setOperationAction(ISD::MULHU, VT, Expand); in PPCTargetLowering()
474 setOperationAction(ISD::MULHS, VT, Expand); in PPCTargetLowering()
475 setOperationAction(ISD::UMUL_LOHI, VT, Expand); in PPCTargetLowering()
476 setOperationAction(ISD::SMUL_LOHI, VT, Expand); in PPCTargetLowering()
477 setOperationAction(ISD::UDIVREM, VT, Expand); in PPCTargetLowering()
478 setOperationAction(ISD::SDIVREM, VT, Expand); in PPCTargetLowering()
479 setOperationAction(ISD::SCALAR_TO_VECTOR, VT, Expand); in PPCTargetLowering()
480 setOperationAction(ISD::FPOW, VT, Expand); in PPCTargetLowering()
481 setOperationAction(ISD::BSWAP, VT, Expand); in PPCTargetLowering()
482 setOperationAction(ISD::CTLZ_ZERO_UNDEF, VT, Expand); in PPCTargetLowering()
483 setOperationAction(ISD::CTTZ, VT, Expand); in PPCTargetLowering()
484 setOperationAction(ISD::CTTZ_ZERO_UNDEF, VT, Expand); in PPCTargetLowering()
485 setOperationAction(ISD::VSELECT, VT, Expand); in PPCTargetLowering()
486 setOperationAction(ISD::SIGN_EXTEND_INREG, VT, Expand); in PPCTargetLowering()
487 setOperationAction(ISD::ROTL, VT, Expand); in PPCTargetLowering()
488 setOperationAction(ISD::ROTR, VT, Expand); in PPCTargetLowering()
500 setOperationAction(ISD::VECTOR_SHUFFLE, MVT::v16i8, Custom); in PPCTargetLowering()
502 setOperationAction(ISD::AND , MVT::v4i32, Legal); in PPCTargetLowering()
503 setOperationAction(ISD::OR , MVT::v4i32, Legal); in PPCTargetLowering()
504 setOperationAction(ISD::XOR , MVT::v4i32, Legal); in PPCTargetLowering()
505 setOperationAction(ISD::LOAD , MVT::v4i32, Legal); in PPCTargetLowering()
506 setOperationAction(ISD::SELECT, MVT::v4i32, in PPCTargetLowering()
508 setOperationAction(ISD::STORE , MVT::v4i32, Legal); in PPCTargetLowering()
509 setOperationAction(ISD::FP_TO_SINT, MVT::v4i32, Legal); in PPCTargetLowering()
510 setOperationAction(ISD::FP_TO_UINT, MVT::v4i32, Legal); in PPCTargetLowering()
511 setOperationAction(ISD::SINT_TO_FP, MVT::v4i32, Legal); in PPCTargetLowering()
512 setOperationAction(ISD::UINT_TO_FP, MVT::v4i32, Legal); in PPCTargetLowering()
513 setOperationAction(ISD::FFLOOR, MVT::v4f32, Legal); in PPCTargetLowering()
514 setOperationAction(ISD::FCEIL, MVT::v4f32, Legal); in PPCTargetLowering()
515 setOperationAction(ISD::FTRUNC, MVT::v4f32, Legal); in PPCTargetLowering()
516 setOperationAction(ISD::FNEARBYINT, MVT::v4f32, Legal); in PPCTargetLowering()
523 setOperationAction(ISD::MUL, MVT::v4f32, Legal); in PPCTargetLowering()
524 setOperationAction(ISD::FMA, MVT::v4f32, Legal); in PPCTargetLowering()
527 setOperationAction(ISD::FDIV, MVT::v4f32, Legal); in PPCTargetLowering()
528 setOperationAction(ISD::FSQRT, MVT::v4f32, Legal); in PPCTargetLowering()
532 setOperationAction(ISD::MUL, MVT::v4i32, Legal); in PPCTargetLowering()
534 setOperationAction(ISD::MUL, MVT::v4i32, Custom); in PPCTargetLowering()
536 setOperationAction(ISD::MUL, MVT::v8i16, Custom); in PPCTargetLowering()
537 setOperationAction(ISD::MUL, MVT::v16i8, Custom); in PPCTargetLowering()
539 setOperationAction(ISD::SCALAR_TO_VECTOR, MVT::v4f32, Custom); in PPCTargetLowering()
540 setOperationAction(ISD::SCALAR_TO_VECTOR, MVT::v4i32, Custom); in PPCTargetLowering()
542 setOperationAction(ISD::BUILD_VECTOR, MVT::v16i8, Custom); in PPCTargetLowering()
543 setOperationAction(ISD::BUILD_VECTOR, MVT::v8i16, Custom); in PPCTargetLowering()
544 setOperationAction(ISD::BUILD_VECTOR, MVT::v4i32, Custom); in PPCTargetLowering()
545 setOperationAction(ISD::BUILD_VECTOR, MVT::v4f32, Custom); in PPCTargetLowering()
554 setOperationAction(ISD::SCALAR_TO_VECTOR, MVT::v2f64, Legal); in PPCTargetLowering()
555 setOperationAction(ISD::EXTRACT_VECTOR_ELT, MVT::v2f64, Legal); in PPCTargetLowering()
557 setOperationAction(ISD::SCALAR_TO_VECTOR, MVT::v4f32, Legal); in PPCTargetLowering()
558 setOperationAction(ISD::EXTRACT_VECTOR_ELT, MVT::v4f32, Legal); in PPCTargetLowering()
561 setOperationAction(ISD::SCALAR_TO_VECTOR, MVT::v16i8, Legal); in PPCTargetLowering()
562 setOperationAction(ISD::SCALAR_TO_VECTOR, MVT::v8i16, Legal); in PPCTargetLowering()
563 setOperationAction(ISD::SCALAR_TO_VECTOR, MVT::v4i32, Legal); in PPCTargetLowering()
564 setOperationAction(ISD::SCALAR_TO_VECTOR, MVT::v2i64, Legal); in PPCTargetLowering()
565 setOperationAction(ISD::EXTRACT_VECTOR_ELT, MVT::v16i8, Legal); in PPCTargetLowering()
566 setOperationAction(ISD::EXTRACT_VECTOR_ELT, MVT::v8i16, Legal); in PPCTargetLowering()
567 setOperationAction(ISD::EXTRACT_VECTOR_ELT, MVT::v4i32, Legal); in PPCTargetLowering()
568 setOperationAction(ISD::EXTRACT_VECTOR_ELT, MVT::v2i64, Legal); in PPCTargetLowering()
570 setOperationAction(ISD::EXTRACT_VECTOR_ELT, MVT::v2f64, Legal); in PPCTargetLowering()
572 setOperationAction(ISD::FFLOOR, MVT::v2f64, Legal); in PPCTargetLowering()
573 setOperationAction(ISD::FCEIL, MVT::v2f64, Legal); in PPCTargetLowering()
574 setOperationAction(ISD::FTRUNC, MVT::v2f64, Legal); in PPCTargetLowering()
575 setOperationAction(ISD::FNEARBYINT, MVT::v2f64, Legal); in PPCTargetLowering()
576 setOperationAction(ISD::FROUND, MVT::v2f64, Legal); in PPCTargetLowering()
578 setOperationAction(ISD::FROUND, MVT::v4f32, Legal); in PPCTargetLowering()
580 setOperationAction(ISD::MUL, MVT::v2f64, Legal); in PPCTargetLowering()
581 setOperationAction(ISD::FMA, MVT::v2f64, Legal); in PPCTargetLowering()
583 setOperationAction(ISD::FDIV, MVT::v2f64, Legal); in PPCTargetLowering()
584 setOperationAction(ISD::FSQRT, MVT::v2f64, Legal); in PPCTargetLowering()
586 setOperationAction(ISD::VSELECT, MVT::v16i8, Legal); in PPCTargetLowering()
587 setOperationAction(ISD::VSELECT, MVT::v8i16, Legal); in PPCTargetLowering()
588 setOperationAction(ISD::VSELECT, MVT::v4i32, Legal); in PPCTargetLowering()
589 setOperationAction(ISD::VSELECT, MVT::v4f32, Legal); in PPCTargetLowering()
590 setOperationAction(ISD::VSELECT, MVT::v2f64, Legal); in PPCTargetLowering()
598 setOperationAction(ISD::LOAD, MVT::v2f64, Legal); in PPCTargetLowering()
599 setOperationAction(ISD::STORE, MVT::v2f64, Legal); in PPCTargetLowering()
601 setOperationAction(ISD::VECTOR_SHUFFLE, MVT::v2f64, Legal); in PPCTargetLowering()
613 setOperationAction(ISD::SHL, MVT::v2i64, Legal); in PPCTargetLowering()
614 setOperationAction(ISD::SRA, MVT::v2i64, Legal); in PPCTargetLowering()
615 setOperationAction(ISD::SRL, MVT::v2i64, Legal); in PPCTargetLowering()
617 setOperationAction(ISD::SETCC, MVT::v2i64, Legal); in PPCTargetLowering()
620 setOperationAction(ISD::SHL, MVT::v2i64, Expand); in PPCTargetLowering()
621 setOperationAction(ISD::SRA, MVT::v2i64, Expand); in PPCTargetLowering()
622 setOperationAction(ISD::SRL, MVT::v2i64, Expand); in PPCTargetLowering()
624 setOperationAction(ISD::SETCC, MVT::v2i64, Custom); in PPCTargetLowering()
627 setOperationAction(ISD::ADD, MVT::v2i64, Expand); in PPCTargetLowering()
628 setOperationAction(ISD::SUB, MVT::v2i64, Expand); in PPCTargetLowering()
631 setOperationAction(ISD::LOAD, MVT::v2i64, Promote); in PPCTargetLowering()
633 setOperationAction(ISD::STORE, MVT::v2i64, Promote); in PPCTargetLowering()
636 setOperationAction(ISD::VECTOR_SHUFFLE, MVT::v2i64, Legal); in PPCTargetLowering()
638 setOperationAction(ISD::SINT_TO_FP, MVT::v2i64, Legal); in PPCTargetLowering()
639 setOperationAction(ISD::UINT_TO_FP, MVT::v2i64, Legal); in PPCTargetLowering()
640 setOperationAction(ISD::FP_TO_SINT, MVT::v2i64, Legal); in PPCTargetLowering()
641 setOperationAction(ISD::FP_TO_UINT, MVT::v2i64, Legal); in PPCTargetLowering()
645 setOperationAction(ISD::SIGN_EXTEND_INREG, MVT::v2i64, Legal); in PPCTargetLowering()
646 setOperationAction(ISD::SIGN_EXTEND_INREG, MVT::v2i32, Legal); in PPCTargetLowering()
647 setOperationAction(ISD::SIGN_EXTEND_INREG, MVT::v2i16, Custom); in PPCTargetLowering()
648 setOperationAction(ISD::SIGN_EXTEND_INREG, MVT::v2i8, Custom); in PPCTargetLowering()
660 setOperationAction(ISD::FADD, MVT::v4f64, Legal); in PPCTargetLowering()
661 setOperationAction(ISD::FSUB, MVT::v4f64, Legal); in PPCTargetLowering()
662 setOperationAction(ISD::FMUL, MVT::v4f64, Legal); in PPCTargetLowering()
663 setOperationAction(ISD::FREM, MVT::v4f64, Expand); in PPCTargetLowering()
665 setOperationAction(ISD::FCOPYSIGN, MVT::v4f64, Legal); in PPCTargetLowering()
666 setOperationAction(ISD::FGETSIGN, MVT::v4f64, Expand); in PPCTargetLowering()
668 setOperationAction(ISD::LOAD , MVT::v4f64, Custom); in PPCTargetLowering()
669 setOperationAction(ISD::STORE , MVT::v4f64, Custom); in PPCTargetLowering()
675 setOperationAction(ISD::SELECT, MVT::v4f64, Expand); in PPCTargetLowering()
676 setOperationAction(ISD::VSELECT, MVT::v4f64, Legal); in PPCTargetLowering()
678 setOperationAction(ISD::EXTRACT_VECTOR_ELT , MVT::v4f64, Legal); in PPCTargetLowering()
679 setOperationAction(ISD::INSERT_VECTOR_ELT , MVT::v4f64, Expand); in PPCTargetLowering()
680 setOperationAction(ISD::CONCAT_VECTORS , MVT::v4f64, Expand); in PPCTargetLowering()
681 setOperationAction(ISD::EXTRACT_SUBVECTOR , MVT::v4f64, Expand); in PPCTargetLowering()
682 setOperationAction(ISD::VECTOR_SHUFFLE , MVT::v4f64, Custom); in PPCTargetLowering()
683 setOperationAction(ISD::SCALAR_TO_VECTOR, MVT::v4f64, Legal); in PPCTargetLowering()
684 setOperationAction(ISD::BUILD_VECTOR, MVT::v4f64, Custom); in PPCTargetLowering()
686 setOperationAction(ISD::FP_TO_SINT , MVT::v4f64, Legal); in PPCTargetLowering()
687 setOperationAction(ISD::FP_TO_UINT , MVT::v4f64, Expand); in PPCTargetLowering()
689 setOperationAction(ISD::FP_ROUND , MVT::v4f32, Legal); in PPCTargetLowering()
690 setOperationAction(ISD::FP_ROUND_INREG , MVT::v4f32, Expand); in PPCTargetLowering()
691 setOperationAction(ISD::FP_EXTEND, MVT::v4f64, Legal); in PPCTargetLowering()
693 setOperationAction(ISD::FNEG , MVT::v4f64, Legal); in PPCTargetLowering()
694 setOperationAction(ISD::FABS , MVT::v4f64, Legal); in PPCTargetLowering()
695 setOperationAction(ISD::FSIN , MVT::v4f64, Expand); in PPCTargetLowering()
696 setOperationAction(ISD::FCOS , MVT::v4f64, Expand); in PPCTargetLowering()
697 setOperationAction(ISD::FPOWI , MVT::v4f64, Expand); in PPCTargetLowering()
698 setOperationAction(ISD::FPOW , MVT::v4f64, Expand); in PPCTargetLowering()
699 setOperationAction(ISD::FLOG , MVT::v4f64, Expand); in PPCTargetLowering()
700 setOperationAction(ISD::FLOG2 , MVT::v4f64, Expand); in PPCTargetLowering()
701 setOperationAction(ISD::FLOG10 , MVT::v4f64, Expand); in PPCTargetLowering()
702 setOperationAction(ISD::FEXP , MVT::v4f64, Expand); in PPCTargetLowering()
703 setOperationAction(ISD::FEXP2 , MVT::v4f64, Expand); in PPCTargetLowering()
705 setOperationAction(ISD::FMINNUM, MVT::v4f64, Legal); in PPCTargetLowering()
706 setOperationAction(ISD::FMAXNUM, MVT::v4f64, Legal); in PPCTargetLowering()
713 setOperationAction(ISD::FADD, MVT::v4f32, Legal); in PPCTargetLowering()
714 setOperationAction(ISD::FSUB, MVT::v4f32, Legal); in PPCTargetLowering()
715 setOperationAction(ISD::FMUL, MVT::v4f32, Legal); in PPCTargetLowering()
716 setOperationAction(ISD::FREM, MVT::v4f32, Expand); in PPCTargetLowering()
718 setOperationAction(ISD::FCOPYSIGN, MVT::v4f32, Legal); in PPCTargetLowering()
719 setOperationAction(ISD::FGETSIGN, MVT::v4f32, Expand); in PPCTargetLowering()
721 setOperationAction(ISD::LOAD , MVT::v4f32, Custom); in PPCTargetLowering()
722 setOperationAction(ISD::STORE , MVT::v4f32, Custom); in PPCTargetLowering()
725 setOperationAction(ISD::SELECT, MVT::v4f32, Expand); in PPCTargetLowering()
726 setOperationAction(ISD::VSELECT, MVT::v4f32, Legal); in PPCTargetLowering()
728 setOperationAction(ISD::EXTRACT_VECTOR_ELT , MVT::v4f32, Legal); in PPCTargetLowering()
729 setOperationAction(ISD::INSERT_VECTOR_ELT , MVT::v4f32, Expand); in PPCTargetLowering()
730 setOperationAction(ISD::CONCAT_VECTORS , MVT::v4f32, Expand); in PPCTargetLowering()
731 setOperationAction(ISD::EXTRACT_SUBVECTOR , MVT::v4f32, Expand); in PPCTargetLowering()
732 setOperationAction(ISD::VECTOR_SHUFFLE , MVT::v4f32, Custom); in PPCTargetLowering()
733 setOperationAction(ISD::SCALAR_TO_VECTOR, MVT::v4f32, Legal); in PPCTargetLowering()
734 setOperationAction(ISD::BUILD_VECTOR, MVT::v4f32, Custom); in PPCTargetLowering()
736 setOperationAction(ISD::FP_TO_SINT , MVT::v4f32, Legal); in PPCTargetLowering()
737 setOperationAction(ISD::FP_TO_UINT , MVT::v4f32, Expand); in PPCTargetLowering()
739 setOperationAction(ISD::FNEG , MVT::v4f32, Legal); in PPCTargetLowering()
740 setOperationAction(ISD::FABS , MVT::v4f32, Legal); in PPCTargetLowering()
741 setOperationAction(ISD::FSIN , MVT::v4f32, Expand); in PPCTargetLowering()
742 setOperationAction(ISD::FCOS , MVT::v4f32, Expand); in PPCTargetLowering()
743 setOperationAction(ISD::FPOWI , MVT::v4f32, Expand); in PPCTargetLowering()
744 setOperationAction(ISD::FPOW , MVT::v4f32, Expand); in PPCTargetLowering()
745 setOperationAction(ISD::FLOG , MVT::v4f32, Expand); in PPCTargetLowering()
746 setOperationAction(ISD::FLOG2 , MVT::v4f32, Expand); in PPCTargetLowering()
747 setOperationAction(ISD::FLOG10 , MVT::v4f32, Expand); in PPCTargetLowering()
748 setOperationAction(ISD::FEXP , MVT::v4f32, Expand); in PPCTargetLowering()
749 setOperationAction(ISD::FEXP2 , MVT::v4f32, Expand); in PPCTargetLowering()
751 setOperationAction(ISD::FMINNUM, MVT::v4f32, Legal); in PPCTargetLowering()
752 setOperationAction(ISD::FMAXNUM, MVT::v4f32, Legal); in PPCTargetLowering()
759 setOperationAction(ISD::AND , MVT::v4i1, Legal); in PPCTargetLowering()
760 setOperationAction(ISD::OR , MVT::v4i1, Legal); in PPCTargetLowering()
761 setOperationAction(ISD::XOR , MVT::v4i1, Legal); in PPCTargetLowering()
764 setOperationAction(ISD::SELECT, MVT::v4i1, Expand); in PPCTargetLowering()
765 setOperationAction(ISD::VSELECT, MVT::v4i1, Legal); in PPCTargetLowering()
767 setOperationAction(ISD::LOAD , MVT::v4i1, Custom); in PPCTargetLowering()
768 setOperationAction(ISD::STORE , MVT::v4i1, Custom); in PPCTargetLowering()
770 setOperationAction(ISD::EXTRACT_VECTOR_ELT , MVT::v4i1, Custom); in PPCTargetLowering()
771 setOperationAction(ISD::INSERT_VECTOR_ELT , MVT::v4i1, Expand); in PPCTargetLowering()
772 setOperationAction(ISD::CONCAT_VECTORS , MVT::v4i1, Expand); in PPCTargetLowering()
773 setOperationAction(ISD::EXTRACT_SUBVECTOR , MVT::v4i1, Expand); in PPCTargetLowering()
774 setOperationAction(ISD::VECTOR_SHUFFLE , MVT::v4i1, Custom); in PPCTargetLowering()
775 setOperationAction(ISD::SCALAR_TO_VECTOR, MVT::v4i1, Expand); in PPCTargetLowering()
776 setOperationAction(ISD::BUILD_VECTOR, MVT::v4i1, Custom); in PPCTargetLowering()
778 setOperationAction(ISD::SINT_TO_FP, MVT::v4i1, Custom); in PPCTargetLowering()
779 setOperationAction(ISD::UINT_TO_FP, MVT::v4i1, Custom); in PPCTargetLowering()
783 setOperationAction(ISD::FFLOOR, MVT::v4f64, Legal); in PPCTargetLowering()
784 setOperationAction(ISD::FCEIL, MVT::v4f64, Legal); in PPCTargetLowering()
785 setOperationAction(ISD::FTRUNC, MVT::v4f64, Legal); in PPCTargetLowering()
786 setOperationAction(ISD::FROUND, MVT::v4f64, Legal); in PPCTargetLowering()
788 setOperationAction(ISD::FFLOOR, MVT::v4f32, Legal); in PPCTargetLowering()
789 setOperationAction(ISD::FCEIL, MVT::v4f32, Legal); in PPCTargetLowering()
790 setOperationAction(ISD::FTRUNC, MVT::v4f32, Legal); in PPCTargetLowering()
791 setOperationAction(ISD::FROUND, MVT::v4f32, Legal); in PPCTargetLowering()
793 setOperationAction(ISD::FNEARBYINT, MVT::v4f64, Expand); in PPCTargetLowering()
794 setOperationAction(ISD::FNEARBYINT, MVT::v4f32, Expand); in PPCTargetLowering()
797 setOperationAction(ISD::FRINT, MVT::v4f64, Expand); in PPCTargetLowering()
798 setOperationAction(ISD::FRINT, MVT::v4f32, Expand); in PPCTargetLowering()
801 setOperationAction(ISD::FDIV, MVT::v4f64, Legal); in PPCTargetLowering()
802 setOperationAction(ISD::FSQRT, MVT::v4f64, Legal); in PPCTargetLowering()
804 setOperationAction(ISD::FDIV, MVT::v4f32, Legal); in PPCTargetLowering()
805 setOperationAction(ISD::FSQRT, MVT::v4f32, Legal); in PPCTargetLowering()
807 setOperationAction(ISD::FDIV, MVT::v4f64, Expand); in PPCTargetLowering()
808 setOperationAction(ISD::FSQRT, MVT::v4f64, Expand); in PPCTargetLowering()
810 setOperationAction(ISD::FDIV, MVT::v4f32, Expand); in PPCTargetLowering()
811 setOperationAction(ISD::FSQRT, MVT::v4f32, Expand); in PPCTargetLowering()
816 setOperationAction(ISD::PREFETCH, MVT::Other, Legal); in PPCTargetLowering()
818 setOperationAction(ISD::READCYCLECOUNTER, MVT::i64, isPPC64 ? Legal : Custom); in PPCTargetLowering()
821 setOperationAction(ISD::ATOMIC_LOAD, MVT::i64, Expand); in PPCTargetLowering()
822 setOperationAction(ISD::ATOMIC_STORE, MVT::i64, Expand); in PPCTargetLowering()