Lines Matching refs:Legal

178       setOperationAction(ISD::ABS, VT, Legal);  in SystemZTargetLowering()
229 setOperationAction(ISD::STRICT_FP_TO_SINT, VT, Legal); in SystemZTargetLowering()
231 setOperationAction(ISD::STRICT_FP_TO_UINT, VT, Legal); in SystemZTargetLowering()
234 setOperationAction(ISD::STRICT_SINT_TO_FP, VT, Legal); in SystemZTargetLowering()
236 setOperationAction(ISD::STRICT_UINT_TO_FP, VT, Legal); in SystemZTargetLowering()
304 {MVT::i8, MVT::i16, MVT::i32}, Legal); in SystemZTargetLowering()
306 {MVT::i8, MVT::i16}, Legal); in SystemZTargetLowering()
308 MVT::i8, Legal); in SystemZTargetLowering()
319 setOperationAction(ISD::TRAP, MVT::Other, Legal); in SystemZTargetLowering()
333 setOperationAction(ISD::CTLZ, MVT::i64, Legal); in SystemZTargetLowering()
338 setOperationAction(ISD::CTPOP, MVT::i64, Legal); in SystemZTargetLowering()
392 if (getOperationAction(Opcode, VT) == Legal) in SystemZTargetLowering()
408 setOperationAction(ISD::LOAD, VT, Legal); in SystemZTargetLowering()
409 setOperationAction(ISD::STORE, VT, Legal); in SystemZTargetLowering()
410 setOperationAction(ISD::VSELECT, VT, Legal); in SystemZTargetLowering()
411 setOperationAction(ISD::BITCAST, VT, Legal); in SystemZTargetLowering()
412 setOperationAction(ISD::UNDEF, VT, Legal); in SystemZTargetLowering()
425 setOperationAction(ISD::EXTRACT_VECTOR_ELT, VT, Legal); in SystemZTargetLowering()
426 setOperationAction(ISD::INSERT_VECTOR_ELT, VT, Legal); in SystemZTargetLowering()
427 setOperationAction(ISD::ADD, VT, Legal); in SystemZTargetLowering()
428 setOperationAction(ISD::SUB, VT, Legal); in SystemZTargetLowering()
430 setOperationAction(ISD::MUL, VT, Legal); in SystemZTargetLowering()
431 setOperationAction(ISD::ABS, VT, Legal); in SystemZTargetLowering()
432 setOperationAction(ISD::AND, VT, Legal); in SystemZTargetLowering()
433 setOperationAction(ISD::OR, VT, Legal); in SystemZTargetLowering()
434 setOperationAction(ISD::XOR, VT, Legal); in SystemZTargetLowering()
436 setOperationAction(ISD::CTPOP, VT, Legal); in SystemZTargetLowering()
439 setOperationAction(ISD::CTTZ, VT, Legal); in SystemZTargetLowering()
440 setOperationAction(ISD::CTLZ, VT, Legal); in SystemZTargetLowering()
469 setOperationAction(ISD::FP_TO_SINT, MVT::v2i64, Legal); in SystemZTargetLowering()
470 setOperationAction(ISD::FP_TO_SINT, MVT::v2f64, Legal); in SystemZTargetLowering()
471 setOperationAction(ISD::FP_TO_UINT, MVT::v2i64, Legal); in SystemZTargetLowering()
472 setOperationAction(ISD::FP_TO_UINT, MVT::v2f64, Legal); in SystemZTargetLowering()
473 setOperationAction(ISD::SINT_TO_FP, MVT::v2i64, Legal); in SystemZTargetLowering()
474 setOperationAction(ISD::SINT_TO_FP, MVT::v2f64, Legal); in SystemZTargetLowering()
475 setOperationAction(ISD::UINT_TO_FP, MVT::v2i64, Legal); in SystemZTargetLowering()
476 setOperationAction(ISD::UINT_TO_FP, MVT::v2f64, Legal); in SystemZTargetLowering()
478 setOperationAction(ISD::STRICT_FP_TO_SINT, MVT::v2i64, Legal); in SystemZTargetLowering()
479 setOperationAction(ISD::STRICT_FP_TO_SINT, MVT::v2f64, Legal); in SystemZTargetLowering()
480 setOperationAction(ISD::STRICT_FP_TO_UINT, MVT::v2i64, Legal); in SystemZTargetLowering()
481 setOperationAction(ISD::STRICT_FP_TO_UINT, MVT::v2f64, Legal); in SystemZTargetLowering()
482 setOperationAction(ISD::STRICT_SINT_TO_FP, MVT::v2i64, Legal); in SystemZTargetLowering()
483 setOperationAction(ISD::STRICT_SINT_TO_FP, MVT::v2f64, Legal); in SystemZTargetLowering()
484 setOperationAction(ISD::STRICT_UINT_TO_FP, MVT::v2i64, Legal); in SystemZTargetLowering()
485 setOperationAction(ISD::STRICT_UINT_TO_FP, MVT::v2f64, Legal); in SystemZTargetLowering()
489 setOperationAction(ISD::FP_TO_SINT, MVT::v4i32, Legal); in SystemZTargetLowering()
490 setOperationAction(ISD::FP_TO_SINT, MVT::v4f32, Legal); in SystemZTargetLowering()
491 setOperationAction(ISD::FP_TO_UINT, MVT::v4i32, Legal); in SystemZTargetLowering()
492 setOperationAction(ISD::FP_TO_UINT, MVT::v4f32, Legal); in SystemZTargetLowering()
493 setOperationAction(ISD::SINT_TO_FP, MVT::v4i32, Legal); in SystemZTargetLowering()
494 setOperationAction(ISD::SINT_TO_FP, MVT::v4f32, Legal); in SystemZTargetLowering()
495 setOperationAction(ISD::UINT_TO_FP, MVT::v4i32, Legal); in SystemZTargetLowering()
496 setOperationAction(ISD::UINT_TO_FP, MVT::v4f32, Legal); in SystemZTargetLowering()
498 setOperationAction(ISD::STRICT_FP_TO_SINT, MVT::v4i32, Legal); in SystemZTargetLowering()
499 setOperationAction(ISD::STRICT_FP_TO_SINT, MVT::v4f32, Legal); in SystemZTargetLowering()
500 setOperationAction(ISD::STRICT_FP_TO_UINT, MVT::v4i32, Legal); in SystemZTargetLowering()
501 setOperationAction(ISD::STRICT_FP_TO_UINT, MVT::v4f32, Legal); in SystemZTargetLowering()
502 setOperationAction(ISD::STRICT_SINT_TO_FP, MVT::v4i32, Legal); in SystemZTargetLowering()
503 setOperationAction(ISD::STRICT_SINT_TO_FP, MVT::v4f32, Legal); in SystemZTargetLowering()
504 setOperationAction(ISD::STRICT_UINT_TO_FP, MVT::v4i32, Legal); in SystemZTargetLowering()
505 setOperationAction(ISD::STRICT_UINT_TO_FP, MVT::v4f32, Legal); in SystemZTargetLowering()
515 setOperationAction(ISD::FRINT, VT, Legal); in SystemZTargetLowering()
519 setOperationAction(ISD::FNEARBYINT, VT, Legal); in SystemZTargetLowering()
520 setOperationAction(ISD::FFLOOR, VT, Legal); in SystemZTargetLowering()
521 setOperationAction(ISD::FCEIL, VT, Legal); in SystemZTargetLowering()
522 setOperationAction(ISD::FTRUNC, VT, Legal); in SystemZTargetLowering()
523 setOperationAction(ISD::FROUND, VT, Legal); in SystemZTargetLowering()
537 setOperationAction(ISD::STRICT_FADD, VT, Legal); in SystemZTargetLowering()
538 setOperationAction(ISD::STRICT_FSUB, VT, Legal); in SystemZTargetLowering()
539 setOperationAction(ISD::STRICT_FMUL, VT, Legal); in SystemZTargetLowering()
540 setOperationAction(ISD::STRICT_FDIV, VT, Legal); in SystemZTargetLowering()
541 setOperationAction(ISD::STRICT_FMA, VT, Legal); in SystemZTargetLowering()
542 setOperationAction(ISD::STRICT_FSQRT, VT, Legal); in SystemZTargetLowering()
543 setOperationAction(ISD::STRICT_FRINT, VT, Legal); in SystemZTargetLowering()
544 setOperationAction(ISD::STRICT_FP_ROUND, VT, Legal); in SystemZTargetLowering()
545 setOperationAction(ISD::STRICT_FP_EXTEND, VT, Legal); in SystemZTargetLowering()
547 setOperationAction(ISD::STRICT_FNEARBYINT, VT, Legal); in SystemZTargetLowering()
548 setOperationAction(ISD::STRICT_FFLOOR, VT, Legal); in SystemZTargetLowering()
549 setOperationAction(ISD::STRICT_FCEIL, VT, Legal); in SystemZTargetLowering()
550 setOperationAction(ISD::STRICT_FROUND, VT, Legal); in SystemZTargetLowering()
551 setOperationAction(ISD::STRICT_FTRUNC, VT, Legal); in SystemZTargetLowering()
559 setOperationAction(ISD::SCALAR_TO_VECTOR, MVT::v4f32, Legal); in SystemZTargetLowering()
560 setOperationAction(ISD::SCALAR_TO_VECTOR, MVT::v2f64, Legal); in SystemZTargetLowering()
570 setOperationAction(ISD::FADD, MVT::v2f64, Legal); in SystemZTargetLowering()
571 setOperationAction(ISD::FNEG, MVT::v2f64, Legal); in SystemZTargetLowering()
572 setOperationAction(ISD::FSUB, MVT::v2f64, Legal); in SystemZTargetLowering()
573 setOperationAction(ISD::FMUL, MVT::v2f64, Legal); in SystemZTargetLowering()
574 setOperationAction(ISD::FMA, MVT::v2f64, Legal); in SystemZTargetLowering()
575 setOperationAction(ISD::FDIV, MVT::v2f64, Legal); in SystemZTargetLowering()
576 setOperationAction(ISD::FABS, MVT::v2f64, Legal); in SystemZTargetLowering()
577 setOperationAction(ISD::FSQRT, MVT::v2f64, Legal); in SystemZTargetLowering()
578 setOperationAction(ISD::FRINT, MVT::v2f64, Legal); in SystemZTargetLowering()
579 setOperationAction(ISD::FNEARBYINT, MVT::v2f64, Legal); in SystemZTargetLowering()
580 setOperationAction(ISD::FFLOOR, MVT::v2f64, Legal); in SystemZTargetLowering()
581 setOperationAction(ISD::FCEIL, MVT::v2f64, Legal); in SystemZTargetLowering()
582 setOperationAction(ISD::FTRUNC, MVT::v2f64, Legal); in SystemZTargetLowering()
583 setOperationAction(ISD::FROUND, MVT::v2f64, Legal); in SystemZTargetLowering()
586 setOperationAction(ISD::STRICT_FADD, MVT::v2f64, Legal); in SystemZTargetLowering()
587 setOperationAction(ISD::STRICT_FSUB, MVT::v2f64, Legal); in SystemZTargetLowering()
588 setOperationAction(ISD::STRICT_FMUL, MVT::v2f64, Legal); in SystemZTargetLowering()
589 setOperationAction(ISD::STRICT_FMA, MVT::v2f64, Legal); in SystemZTargetLowering()
590 setOperationAction(ISD::STRICT_FDIV, MVT::v2f64, Legal); in SystemZTargetLowering()
591 setOperationAction(ISD::STRICT_FSQRT, MVT::v2f64, Legal); in SystemZTargetLowering()
592 setOperationAction(ISD::STRICT_FRINT, MVT::v2f64, Legal); in SystemZTargetLowering()
593 setOperationAction(ISD::STRICT_FNEARBYINT, MVT::v2f64, Legal); in SystemZTargetLowering()
594 setOperationAction(ISD::STRICT_FFLOOR, MVT::v2f64, Legal); in SystemZTargetLowering()
595 setOperationAction(ISD::STRICT_FCEIL, MVT::v2f64, Legal); in SystemZTargetLowering()
596 setOperationAction(ISD::STRICT_FTRUNC, MVT::v2f64, Legal); in SystemZTargetLowering()
597 setOperationAction(ISD::STRICT_FROUND, MVT::v2f64, Legal); in SystemZTargetLowering()
611 setOperationAction(ISD::FADD, MVT::v4f32, Legal); in SystemZTargetLowering()
612 setOperationAction(ISD::FNEG, MVT::v4f32, Legal); in SystemZTargetLowering()
613 setOperationAction(ISD::FSUB, MVT::v4f32, Legal); in SystemZTargetLowering()
614 setOperationAction(ISD::FMUL, MVT::v4f32, Legal); in SystemZTargetLowering()
615 setOperationAction(ISD::FMA, MVT::v4f32, Legal); in SystemZTargetLowering()
616 setOperationAction(ISD::FDIV, MVT::v4f32, Legal); in SystemZTargetLowering()
617 setOperationAction(ISD::FABS, MVT::v4f32, Legal); in SystemZTargetLowering()
618 setOperationAction(ISD::FSQRT, MVT::v4f32, Legal); in SystemZTargetLowering()
619 setOperationAction(ISD::FRINT, MVT::v4f32, Legal); in SystemZTargetLowering()
620 setOperationAction(ISD::FNEARBYINT, MVT::v4f32, Legal); in SystemZTargetLowering()
621 setOperationAction(ISD::FFLOOR, MVT::v4f32, Legal); in SystemZTargetLowering()
622 setOperationAction(ISD::FCEIL, MVT::v4f32, Legal); in SystemZTargetLowering()
623 setOperationAction(ISD::FTRUNC, MVT::v4f32, Legal); in SystemZTargetLowering()
624 setOperationAction(ISD::FROUND, MVT::v4f32, Legal); in SystemZTargetLowering()
626 setOperationAction(ISD::FMAXNUM, MVT::f64, Legal); in SystemZTargetLowering()
627 setOperationAction(ISD::FMAXIMUM, MVT::f64, Legal); in SystemZTargetLowering()
628 setOperationAction(ISD::FMINNUM, MVT::f64, Legal); in SystemZTargetLowering()
629 setOperationAction(ISD::FMINIMUM, MVT::f64, Legal); in SystemZTargetLowering()
631 setOperationAction(ISD::FMAXNUM, MVT::v2f64, Legal); in SystemZTargetLowering()
632 setOperationAction(ISD::FMAXIMUM, MVT::v2f64, Legal); in SystemZTargetLowering()
633 setOperationAction(ISD::FMINNUM, MVT::v2f64, Legal); in SystemZTargetLowering()
634 setOperationAction(ISD::FMINIMUM, MVT::v2f64, Legal); in SystemZTargetLowering()
636 setOperationAction(ISD::FMAXNUM, MVT::f32, Legal); in SystemZTargetLowering()
637 setOperationAction(ISD::FMAXIMUM, MVT::f32, Legal); in SystemZTargetLowering()
638 setOperationAction(ISD::FMINNUM, MVT::f32, Legal); in SystemZTargetLowering()
639 setOperationAction(ISD::FMINIMUM, MVT::f32, Legal); in SystemZTargetLowering()
641 setOperationAction(ISD::FMAXNUM, MVT::v4f32, Legal); in SystemZTargetLowering()
642 setOperationAction(ISD::FMAXIMUM, MVT::v4f32, Legal); in SystemZTargetLowering()
643 setOperationAction(ISD::FMINNUM, MVT::v4f32, Legal); in SystemZTargetLowering()
644 setOperationAction(ISD::FMINIMUM, MVT::v4f32, Legal); in SystemZTargetLowering()
646 setOperationAction(ISD::FMAXNUM, MVT::f128, Legal); in SystemZTargetLowering()
647 setOperationAction(ISD::FMAXIMUM, MVT::f128, Legal); in SystemZTargetLowering()
648 setOperationAction(ISD::FMINNUM, MVT::f128, Legal); in SystemZTargetLowering()
649 setOperationAction(ISD::FMINIMUM, MVT::f128, Legal); in SystemZTargetLowering()
652 setOperationAction(ISD::STRICT_FADD, MVT::v4f32, Legal); in SystemZTargetLowering()
653 setOperationAction(ISD::STRICT_FSUB, MVT::v4f32, Legal); in SystemZTargetLowering()
654 setOperationAction(ISD::STRICT_FMUL, MVT::v4f32, Legal); in SystemZTargetLowering()
655 setOperationAction(ISD::STRICT_FMA, MVT::v4f32, Legal); in SystemZTargetLowering()
656 setOperationAction(ISD::STRICT_FDIV, MVT::v4f32, Legal); in SystemZTargetLowering()
657 setOperationAction(ISD::STRICT_FSQRT, MVT::v4f32, Legal); in SystemZTargetLowering()
658 setOperationAction(ISD::STRICT_FRINT, MVT::v4f32, Legal); in SystemZTargetLowering()
659 setOperationAction(ISD::STRICT_FNEARBYINT, MVT::v4f32, Legal); in SystemZTargetLowering()
660 setOperationAction(ISD::STRICT_FFLOOR, MVT::v4f32, Legal); in SystemZTargetLowering()
661 setOperationAction(ISD::STRICT_FCEIL, MVT::v4f32, Legal); in SystemZTargetLowering()
662 setOperationAction(ISD::STRICT_FROUND, MVT::v4f32, Legal); in SystemZTargetLowering()
663 setOperationAction(ISD::STRICT_FTRUNC, MVT::v4f32, Legal); in SystemZTargetLowering()
666 setOperationAction(ISD::STRICT_FMAXNUM, VT, Legal); in SystemZTargetLowering()
667 setOperationAction(ISD::STRICT_FMINNUM, VT, Legal); in SystemZTargetLowering()
668 setOperationAction(ISD::STRICT_FMAXIMUM, VT, Legal); in SystemZTargetLowering()
669 setOperationAction(ISD::STRICT_FMINIMUM, VT, Legal); in SystemZTargetLowering()