Lines Matching refs:Legal

175       setOperationAction(ISD::ABS, VT, Legal);  in SystemZTargetLowering()
231 setOperationAction(ISD::STRICT_FP_TO_SINT, VT, Legal); in SystemZTargetLowering()
233 setOperationAction(ISD::STRICT_FP_TO_UINT, VT, Legal); in SystemZTargetLowering()
236 setOperationAction(ISD::STRICT_SINT_TO_FP, VT, Legal); in SystemZTargetLowering()
238 setOperationAction(ISD::STRICT_UINT_TO_FP, VT, Legal); in SystemZTargetLowering()
310 setOperationAction(ISD::TRAP, MVT::Other, Legal); in SystemZTargetLowering()
324 setOperationAction(ISD::CTLZ, MVT::i64, Legal); in SystemZTargetLowering()
329 setOperationAction(ISD::CTPOP, MVT::i64, Legal); in SystemZTargetLowering()
383 if (getOperationAction(Opcode, VT) == Legal) in SystemZTargetLowering()
399 setOperationAction(ISD::LOAD, VT, Legal); in SystemZTargetLowering()
400 setOperationAction(ISD::STORE, VT, Legal); in SystemZTargetLowering()
401 setOperationAction(ISD::VSELECT, VT, Legal); in SystemZTargetLowering()
402 setOperationAction(ISD::BITCAST, VT, Legal); in SystemZTargetLowering()
403 setOperationAction(ISD::UNDEF, VT, Legal); in SystemZTargetLowering()
416 setOperationAction(ISD::EXTRACT_VECTOR_ELT, VT, Legal); in SystemZTargetLowering()
417 setOperationAction(ISD::INSERT_VECTOR_ELT, VT, Legal); in SystemZTargetLowering()
418 setOperationAction(ISD::ADD, VT, Legal); in SystemZTargetLowering()
419 setOperationAction(ISD::SUB, VT, Legal); in SystemZTargetLowering()
421 setOperationAction(ISD::MUL, VT, Legal); in SystemZTargetLowering()
422 setOperationAction(ISD::ABS, VT, Legal); in SystemZTargetLowering()
423 setOperationAction(ISD::AND, VT, Legal); in SystemZTargetLowering()
424 setOperationAction(ISD::OR, VT, Legal); in SystemZTargetLowering()
425 setOperationAction(ISD::XOR, VT, Legal); in SystemZTargetLowering()
427 setOperationAction(ISD::CTPOP, VT, Legal); in SystemZTargetLowering()
430 setOperationAction(ISD::CTTZ, VT, Legal); in SystemZTargetLowering()
431 setOperationAction(ISD::CTLZ, VT, Legal); in SystemZTargetLowering()
456 setOperationAction(ISD::FP_TO_SINT, MVT::v2i64, Legal); in SystemZTargetLowering()
457 setOperationAction(ISD::FP_TO_SINT, MVT::v2f64, Legal); in SystemZTargetLowering()
458 setOperationAction(ISD::FP_TO_UINT, MVT::v2i64, Legal); in SystemZTargetLowering()
459 setOperationAction(ISD::FP_TO_UINT, MVT::v2f64, Legal); in SystemZTargetLowering()
460 setOperationAction(ISD::SINT_TO_FP, MVT::v2i64, Legal); in SystemZTargetLowering()
461 setOperationAction(ISD::SINT_TO_FP, MVT::v2f64, Legal); in SystemZTargetLowering()
462 setOperationAction(ISD::UINT_TO_FP, MVT::v2i64, Legal); in SystemZTargetLowering()
463 setOperationAction(ISD::UINT_TO_FP, MVT::v2f64, Legal); in SystemZTargetLowering()
465 setOperationAction(ISD::STRICT_FP_TO_SINT, MVT::v2i64, Legal); in SystemZTargetLowering()
466 setOperationAction(ISD::STRICT_FP_TO_SINT, MVT::v2f64, Legal); in SystemZTargetLowering()
467 setOperationAction(ISD::STRICT_FP_TO_UINT, MVT::v2i64, Legal); in SystemZTargetLowering()
468 setOperationAction(ISD::STRICT_FP_TO_UINT, MVT::v2f64, Legal); in SystemZTargetLowering()
469 setOperationAction(ISD::STRICT_SINT_TO_FP, MVT::v2i64, Legal); in SystemZTargetLowering()
470 setOperationAction(ISD::STRICT_SINT_TO_FP, MVT::v2f64, Legal); in SystemZTargetLowering()
471 setOperationAction(ISD::STRICT_UINT_TO_FP, MVT::v2i64, Legal); in SystemZTargetLowering()
472 setOperationAction(ISD::STRICT_UINT_TO_FP, MVT::v2f64, Legal); in SystemZTargetLowering()
476 setOperationAction(ISD::FP_TO_SINT, MVT::v4i32, Legal); in SystemZTargetLowering()
477 setOperationAction(ISD::FP_TO_SINT, MVT::v4f32, Legal); in SystemZTargetLowering()
478 setOperationAction(ISD::FP_TO_UINT, MVT::v4i32, Legal); in SystemZTargetLowering()
479 setOperationAction(ISD::FP_TO_UINT, MVT::v4f32, Legal); in SystemZTargetLowering()
480 setOperationAction(ISD::SINT_TO_FP, MVT::v4i32, Legal); in SystemZTargetLowering()
481 setOperationAction(ISD::SINT_TO_FP, MVT::v4f32, Legal); in SystemZTargetLowering()
482 setOperationAction(ISD::UINT_TO_FP, MVT::v4i32, Legal); in SystemZTargetLowering()
483 setOperationAction(ISD::UINT_TO_FP, MVT::v4f32, Legal); in SystemZTargetLowering()
485 setOperationAction(ISD::STRICT_FP_TO_SINT, MVT::v4i32, Legal); in SystemZTargetLowering()
486 setOperationAction(ISD::STRICT_FP_TO_SINT, MVT::v4f32, Legal); in SystemZTargetLowering()
487 setOperationAction(ISD::STRICT_FP_TO_UINT, MVT::v4i32, Legal); in SystemZTargetLowering()
488 setOperationAction(ISD::STRICT_FP_TO_UINT, MVT::v4f32, Legal); in SystemZTargetLowering()
489 setOperationAction(ISD::STRICT_SINT_TO_FP, MVT::v4i32, Legal); in SystemZTargetLowering()
490 setOperationAction(ISD::STRICT_SINT_TO_FP, MVT::v4f32, Legal); in SystemZTargetLowering()
491 setOperationAction(ISD::STRICT_UINT_TO_FP, MVT::v4i32, Legal); in SystemZTargetLowering()
492 setOperationAction(ISD::STRICT_UINT_TO_FP, MVT::v4f32, Legal); in SystemZTargetLowering()
502 setOperationAction(ISD::FRINT, VT, Legal); in SystemZTargetLowering()
506 setOperationAction(ISD::FNEARBYINT, VT, Legal); in SystemZTargetLowering()
507 setOperationAction(ISD::FFLOOR, VT, Legal); in SystemZTargetLowering()
508 setOperationAction(ISD::FCEIL, VT, Legal); in SystemZTargetLowering()
509 setOperationAction(ISD::FTRUNC, VT, Legal); in SystemZTargetLowering()
510 setOperationAction(ISD::FROUND, VT, Legal); in SystemZTargetLowering()
524 setOperationAction(ISD::STRICT_FADD, VT, Legal); in SystemZTargetLowering()
525 setOperationAction(ISD::STRICT_FSUB, VT, Legal); in SystemZTargetLowering()
526 setOperationAction(ISD::STRICT_FMUL, VT, Legal); in SystemZTargetLowering()
527 setOperationAction(ISD::STRICT_FDIV, VT, Legal); in SystemZTargetLowering()
528 setOperationAction(ISD::STRICT_FMA, VT, Legal); in SystemZTargetLowering()
529 setOperationAction(ISD::STRICT_FSQRT, VT, Legal); in SystemZTargetLowering()
530 setOperationAction(ISD::STRICT_FRINT, VT, Legal); in SystemZTargetLowering()
531 setOperationAction(ISD::STRICT_FP_ROUND, VT, Legal); in SystemZTargetLowering()
532 setOperationAction(ISD::STRICT_FP_EXTEND, VT, Legal); in SystemZTargetLowering()
534 setOperationAction(ISD::STRICT_FNEARBYINT, VT, Legal); in SystemZTargetLowering()
535 setOperationAction(ISD::STRICT_FFLOOR, VT, Legal); in SystemZTargetLowering()
536 setOperationAction(ISD::STRICT_FCEIL, VT, Legal); in SystemZTargetLowering()
537 setOperationAction(ISD::STRICT_FROUND, VT, Legal); in SystemZTargetLowering()
538 setOperationAction(ISD::STRICT_FTRUNC, VT, Legal); in SystemZTargetLowering()
546 setOperationAction(ISD::SCALAR_TO_VECTOR, MVT::v4f32, Legal); in SystemZTargetLowering()
547 setOperationAction(ISD::SCALAR_TO_VECTOR, MVT::v2f64, Legal); in SystemZTargetLowering()
557 setOperationAction(ISD::FADD, MVT::v2f64, Legal); in SystemZTargetLowering()
558 setOperationAction(ISD::FNEG, MVT::v2f64, Legal); in SystemZTargetLowering()
559 setOperationAction(ISD::FSUB, MVT::v2f64, Legal); in SystemZTargetLowering()
560 setOperationAction(ISD::FMUL, MVT::v2f64, Legal); in SystemZTargetLowering()
561 setOperationAction(ISD::FMA, MVT::v2f64, Legal); in SystemZTargetLowering()
562 setOperationAction(ISD::FDIV, MVT::v2f64, Legal); in SystemZTargetLowering()
563 setOperationAction(ISD::FABS, MVT::v2f64, Legal); in SystemZTargetLowering()
564 setOperationAction(ISD::FSQRT, MVT::v2f64, Legal); in SystemZTargetLowering()
565 setOperationAction(ISD::FRINT, MVT::v2f64, Legal); in SystemZTargetLowering()
566 setOperationAction(ISD::FNEARBYINT, MVT::v2f64, Legal); in SystemZTargetLowering()
567 setOperationAction(ISD::FFLOOR, MVT::v2f64, Legal); in SystemZTargetLowering()
568 setOperationAction(ISD::FCEIL, MVT::v2f64, Legal); in SystemZTargetLowering()
569 setOperationAction(ISD::FTRUNC, MVT::v2f64, Legal); in SystemZTargetLowering()
570 setOperationAction(ISD::FROUND, MVT::v2f64, Legal); in SystemZTargetLowering()
573 setOperationAction(ISD::STRICT_FADD, MVT::v2f64, Legal); in SystemZTargetLowering()
574 setOperationAction(ISD::STRICT_FSUB, MVT::v2f64, Legal); in SystemZTargetLowering()
575 setOperationAction(ISD::STRICT_FMUL, MVT::v2f64, Legal); in SystemZTargetLowering()
576 setOperationAction(ISD::STRICT_FMA, MVT::v2f64, Legal); in SystemZTargetLowering()
577 setOperationAction(ISD::STRICT_FDIV, MVT::v2f64, Legal); in SystemZTargetLowering()
578 setOperationAction(ISD::STRICT_FSQRT, MVT::v2f64, Legal); in SystemZTargetLowering()
579 setOperationAction(ISD::STRICT_FRINT, MVT::v2f64, Legal); in SystemZTargetLowering()
580 setOperationAction(ISD::STRICT_FNEARBYINT, MVT::v2f64, Legal); in SystemZTargetLowering()
581 setOperationAction(ISD::STRICT_FFLOOR, MVT::v2f64, Legal); in SystemZTargetLowering()
582 setOperationAction(ISD::STRICT_FCEIL, MVT::v2f64, Legal); in SystemZTargetLowering()
583 setOperationAction(ISD::STRICT_FTRUNC, MVT::v2f64, Legal); in SystemZTargetLowering()
584 setOperationAction(ISD::STRICT_FROUND, MVT::v2f64, Legal); in SystemZTargetLowering()
598 setOperationAction(ISD::FADD, MVT::v4f32, Legal); in SystemZTargetLowering()
599 setOperationAction(ISD::FNEG, MVT::v4f32, Legal); in SystemZTargetLowering()
600 setOperationAction(ISD::FSUB, MVT::v4f32, Legal); in SystemZTargetLowering()
601 setOperationAction(ISD::FMUL, MVT::v4f32, Legal); in SystemZTargetLowering()
602 setOperationAction(ISD::FMA, MVT::v4f32, Legal); in SystemZTargetLowering()
603 setOperationAction(ISD::FDIV, MVT::v4f32, Legal); in SystemZTargetLowering()
604 setOperationAction(ISD::FABS, MVT::v4f32, Legal); in SystemZTargetLowering()
605 setOperationAction(ISD::FSQRT, MVT::v4f32, Legal); in SystemZTargetLowering()
606 setOperationAction(ISD::FRINT, MVT::v4f32, Legal); in SystemZTargetLowering()
607 setOperationAction(ISD::FNEARBYINT, MVT::v4f32, Legal); in SystemZTargetLowering()
608 setOperationAction(ISD::FFLOOR, MVT::v4f32, Legal); in SystemZTargetLowering()
609 setOperationAction(ISD::FCEIL, MVT::v4f32, Legal); in SystemZTargetLowering()
610 setOperationAction(ISD::FTRUNC, MVT::v4f32, Legal); in SystemZTargetLowering()
611 setOperationAction(ISD::FROUND, MVT::v4f32, Legal); in SystemZTargetLowering()
613 setOperationAction(ISD::FMAXNUM, MVT::f64, Legal); in SystemZTargetLowering()
614 setOperationAction(ISD::FMAXIMUM, MVT::f64, Legal); in SystemZTargetLowering()
615 setOperationAction(ISD::FMINNUM, MVT::f64, Legal); in SystemZTargetLowering()
616 setOperationAction(ISD::FMINIMUM, MVT::f64, Legal); in SystemZTargetLowering()
618 setOperationAction(ISD::FMAXNUM, MVT::v2f64, Legal); in SystemZTargetLowering()
619 setOperationAction(ISD::FMAXIMUM, MVT::v2f64, Legal); in SystemZTargetLowering()
620 setOperationAction(ISD::FMINNUM, MVT::v2f64, Legal); in SystemZTargetLowering()
621 setOperationAction(ISD::FMINIMUM, MVT::v2f64, Legal); in SystemZTargetLowering()
623 setOperationAction(ISD::FMAXNUM, MVT::f32, Legal); in SystemZTargetLowering()
624 setOperationAction(ISD::FMAXIMUM, MVT::f32, Legal); in SystemZTargetLowering()
625 setOperationAction(ISD::FMINNUM, MVT::f32, Legal); in SystemZTargetLowering()
626 setOperationAction(ISD::FMINIMUM, MVT::f32, Legal); in SystemZTargetLowering()
628 setOperationAction(ISD::FMAXNUM, MVT::v4f32, Legal); in SystemZTargetLowering()
629 setOperationAction(ISD::FMAXIMUM, MVT::v4f32, Legal); in SystemZTargetLowering()
630 setOperationAction(ISD::FMINNUM, MVT::v4f32, Legal); in SystemZTargetLowering()
631 setOperationAction(ISD::FMINIMUM, MVT::v4f32, Legal); in SystemZTargetLowering()
633 setOperationAction(ISD::FMAXNUM, MVT::f128, Legal); in SystemZTargetLowering()
634 setOperationAction(ISD::FMAXIMUM, MVT::f128, Legal); in SystemZTargetLowering()
635 setOperationAction(ISD::FMINNUM, MVT::f128, Legal); in SystemZTargetLowering()
636 setOperationAction(ISD::FMINIMUM, MVT::f128, Legal); in SystemZTargetLowering()
639 setOperationAction(ISD::STRICT_FADD, MVT::v4f32, Legal); in SystemZTargetLowering()
640 setOperationAction(ISD::STRICT_FSUB, MVT::v4f32, Legal); in SystemZTargetLowering()
641 setOperationAction(ISD::STRICT_FMUL, MVT::v4f32, Legal); in SystemZTargetLowering()
642 setOperationAction(ISD::STRICT_FMA, MVT::v4f32, Legal); in SystemZTargetLowering()
643 setOperationAction(ISD::STRICT_FDIV, MVT::v4f32, Legal); in SystemZTargetLowering()
644 setOperationAction(ISD::STRICT_FSQRT, MVT::v4f32, Legal); in SystemZTargetLowering()
645 setOperationAction(ISD::STRICT_FRINT, MVT::v4f32, Legal); in SystemZTargetLowering()
646 setOperationAction(ISD::STRICT_FNEARBYINT, MVT::v4f32, Legal); in SystemZTargetLowering()
647 setOperationAction(ISD::STRICT_FFLOOR, MVT::v4f32, Legal); in SystemZTargetLowering()
648 setOperationAction(ISD::STRICT_FCEIL, MVT::v4f32, Legal); in SystemZTargetLowering()
649 setOperationAction(ISD::STRICT_FROUND, MVT::v4f32, Legal); in SystemZTargetLowering()
650 setOperationAction(ISD::STRICT_FTRUNC, MVT::v4f32, Legal); in SystemZTargetLowering()
653 setOperationAction(ISD::STRICT_FMAXNUM, VT, Legal); in SystemZTargetLowering()
654 setOperationAction(ISD::STRICT_FMINNUM, VT, Legal); in SystemZTargetLowering()
655 setOperationAction(ISD::STRICT_FMAXIMUM, VT, Legal); in SystemZTargetLowering()
656 setOperationAction(ISD::STRICT_FMINIMUM, VT, Legal); in SystemZTargetLowering()