• Home
  • Raw
  • Download

Lines Matching refs:Legal

97   setIndexedLoadAction(ISD::PRE_INC, MVT::i1, Legal);  in PPCTargetLowering()
98 setIndexedLoadAction(ISD::PRE_INC, MVT::i8, Legal); in PPCTargetLowering()
99 setIndexedLoadAction(ISD::PRE_INC, MVT::i16, Legal); in PPCTargetLowering()
100 setIndexedLoadAction(ISD::PRE_INC, MVT::i32, Legal); in PPCTargetLowering()
101 setIndexedLoadAction(ISD::PRE_INC, MVT::i64, Legal); in PPCTargetLowering()
102 setIndexedLoadAction(ISD::PRE_INC, MVT::f32, Legal); in PPCTargetLowering()
103 setIndexedLoadAction(ISD::PRE_INC, MVT::f64, Legal); in PPCTargetLowering()
104 setIndexedStoreAction(ISD::PRE_INC, MVT::i1, Legal); in PPCTargetLowering()
105 setIndexedStoreAction(ISD::PRE_INC, MVT::i8, Legal); in PPCTargetLowering()
106 setIndexedStoreAction(ISD::PRE_INC, MVT::i16, Legal); in PPCTargetLowering()
107 setIndexedStoreAction(ISD::PRE_INC, MVT::i32, Legal); in PPCTargetLowering()
108 setIndexedStoreAction(ISD::PRE_INC, MVT::i64, Legal); in PPCTargetLowering()
109 setIndexedStoreAction(ISD::PRE_INC, MVT::f32, Legal); in PPCTargetLowering()
110 setIndexedStoreAction(ISD::PRE_INC, MVT::f64, Legal); in PPCTargetLowering()
178 setOperationAction(ISD::FMA , MVT::f64, Legal); in PPCTargetLowering()
184 setOperationAction(ISD::FMA , MVT::f32, Legal); in PPCTargetLowering()
200 setOperationAction(ISD::FCOPYSIGN, MVT::f64, Legal); in PPCTargetLowering()
201 setOperationAction(ISD::FCOPYSIGN, MVT::f32, Legal); in PPCTargetLowering()
208 setOperationAction(ISD::FFLOOR, MVT::f64, Legal); in PPCTargetLowering()
209 setOperationAction(ISD::FCEIL, MVT::f64, Legal); in PPCTargetLowering()
210 setOperationAction(ISD::FTRUNC, MVT::f64, Legal); in PPCTargetLowering()
211 setOperationAction(ISD::FROUND, MVT::f64, Legal); in PPCTargetLowering()
213 setOperationAction(ISD::FFLOOR, MVT::f32, Legal); in PPCTargetLowering()
214 setOperationAction(ISD::FCEIL, MVT::f32, Legal); in PPCTargetLowering()
215 setOperationAction(ISD::FTRUNC, MVT::f32, Legal); in PPCTargetLowering()
216 setOperationAction(ISD::FROUND, MVT::f32, Legal); in PPCTargetLowering()
226 setOperationAction(ISD::CTPOP, MVT::i32 , Legal); in PPCTargetLowering()
227 setOperationAction(ISD::CTPOP, MVT::i64 , Legal); in PPCTargetLowering()
267 setOperationAction(ISD::BITCAST, MVT::f32, Legal); in PPCTargetLowering()
268 setOperationAction(ISD::BITCAST, MVT::i32, Legal); in PPCTargetLowering()
269 setOperationAction(ISD::BITCAST, MVT::i64, Legal); in PPCTargetLowering()
270 setOperationAction(ISD::BITCAST, MVT::f64, Legal); in PPCTargetLowering()
304 setOperationAction(ISD::TRAP, MVT::Other, Legal); in PPCTargetLowering()
421 setOperationAction(ISD::ADD, VT, Legal); in PPCTargetLowering()
422 setOperationAction(ISD::SUB, VT, Legal); in PPCTargetLowering()
426 setOperationAction(ISD::CTPOP, VT, Legal); in PPCTargetLowering()
427 setOperationAction(ISD::CTLZ, VT, Legal); in PPCTargetLowering()
508 setOperationAction(ISD::AND , MVT::v4i32, Legal); in PPCTargetLowering()
509 setOperationAction(ISD::OR , MVT::v4i32, Legal); in PPCTargetLowering()
510 setOperationAction(ISD::XOR , MVT::v4i32, Legal); in PPCTargetLowering()
511 setOperationAction(ISD::LOAD , MVT::v4i32, Legal); in PPCTargetLowering()
513 Subtarget.useCRBits() ? Legal : Expand); in PPCTargetLowering()
514 setOperationAction(ISD::STORE , MVT::v4i32, Legal); in PPCTargetLowering()
515 setOperationAction(ISD::FP_TO_SINT, MVT::v4i32, Legal); in PPCTargetLowering()
516 setOperationAction(ISD::FP_TO_UINT, MVT::v4i32, Legal); in PPCTargetLowering()
517 setOperationAction(ISD::SINT_TO_FP, MVT::v4i32, Legal); in PPCTargetLowering()
518 setOperationAction(ISD::UINT_TO_FP, MVT::v4i32, Legal); in PPCTargetLowering()
519 setOperationAction(ISD::FFLOOR, MVT::v4f32, Legal); in PPCTargetLowering()
520 setOperationAction(ISD::FCEIL, MVT::v4f32, Legal); in PPCTargetLowering()
521 setOperationAction(ISD::FTRUNC, MVT::v4f32, Legal); in PPCTargetLowering()
522 setOperationAction(ISD::FNEARBYINT, MVT::v4f32, Legal); in PPCTargetLowering()
529 setOperationAction(ISD::MUL, MVT::v4f32, Legal); in PPCTargetLowering()
530 setOperationAction(ISD::FMA, MVT::v4f32, Legal); in PPCTargetLowering()
533 setOperationAction(ISD::FDIV, MVT::v4f32, Legal); in PPCTargetLowering()
534 setOperationAction(ISD::FSQRT, MVT::v4f32, Legal); in PPCTargetLowering()
538 setOperationAction(ISD::MUL, MVT::v4i32, Legal); in PPCTargetLowering()
560 setOperationAction(ISD::SCALAR_TO_VECTOR, MVT::v2f64, Legal); in PPCTargetLowering()
561 setOperationAction(ISD::EXTRACT_VECTOR_ELT, MVT::v2f64, Legal); in PPCTargetLowering()
563 setOperationAction(ISD::SCALAR_TO_VECTOR, MVT::v4f32, Legal); in PPCTargetLowering()
564 setOperationAction(ISD::EXTRACT_VECTOR_ELT, MVT::v4f32, Legal); in PPCTargetLowering()
567 setOperationAction(ISD::SCALAR_TO_VECTOR, MVT::v16i8, Legal); in PPCTargetLowering()
568 setOperationAction(ISD::SCALAR_TO_VECTOR, MVT::v8i16, Legal); in PPCTargetLowering()
569 setOperationAction(ISD::SCALAR_TO_VECTOR, MVT::v4i32, Legal); in PPCTargetLowering()
570 setOperationAction(ISD::SCALAR_TO_VECTOR, MVT::v2i64, Legal); in PPCTargetLowering()
571 setOperationAction(ISD::EXTRACT_VECTOR_ELT, MVT::v16i8, Legal); in PPCTargetLowering()
572 setOperationAction(ISD::EXTRACT_VECTOR_ELT, MVT::v8i16, Legal); in PPCTargetLowering()
573 setOperationAction(ISD::EXTRACT_VECTOR_ELT, MVT::v4i32, Legal); in PPCTargetLowering()
574 setOperationAction(ISD::EXTRACT_VECTOR_ELT, MVT::v2i64, Legal); in PPCTargetLowering()
576 setOperationAction(ISD::EXTRACT_VECTOR_ELT, MVT::v2f64, Legal); in PPCTargetLowering()
578 setOperationAction(ISD::FFLOOR, MVT::v2f64, Legal); in PPCTargetLowering()
579 setOperationAction(ISD::FCEIL, MVT::v2f64, Legal); in PPCTargetLowering()
580 setOperationAction(ISD::FTRUNC, MVT::v2f64, Legal); in PPCTargetLowering()
581 setOperationAction(ISD::FNEARBYINT, MVT::v2f64, Legal); in PPCTargetLowering()
582 setOperationAction(ISD::FROUND, MVT::v2f64, Legal); in PPCTargetLowering()
584 setOperationAction(ISD::FROUND, MVT::v4f32, Legal); in PPCTargetLowering()
586 setOperationAction(ISD::MUL, MVT::v2f64, Legal); in PPCTargetLowering()
587 setOperationAction(ISD::FMA, MVT::v2f64, Legal); in PPCTargetLowering()
589 setOperationAction(ISD::FDIV, MVT::v2f64, Legal); in PPCTargetLowering()
590 setOperationAction(ISD::FSQRT, MVT::v2f64, Legal); in PPCTargetLowering()
592 setOperationAction(ISD::VSELECT, MVT::v16i8, Legal); in PPCTargetLowering()
593 setOperationAction(ISD::VSELECT, MVT::v8i16, Legal); in PPCTargetLowering()
594 setOperationAction(ISD::VSELECT, MVT::v4i32, Legal); in PPCTargetLowering()
595 setOperationAction(ISD::VSELECT, MVT::v4f32, Legal); in PPCTargetLowering()
596 setOperationAction(ISD::VSELECT, MVT::v2f64, Legal); in PPCTargetLowering()
604 setOperationAction(ISD::LOAD, MVT::v2f64, Legal); in PPCTargetLowering()
605 setOperationAction(ISD::STORE, MVT::v2f64, Legal); in PPCTargetLowering()
607 setOperationAction(ISD::VECTOR_SHUFFLE, MVT::v2f64, Legal); in PPCTargetLowering()
619 setOperationAction(ISD::SHL, MVT::v2i64, Legal); in PPCTargetLowering()
620 setOperationAction(ISD::SRA, MVT::v2i64, Legal); in PPCTargetLowering()
621 setOperationAction(ISD::SRL, MVT::v2i64, Legal); in PPCTargetLowering()
623 setOperationAction(ISD::SETCC, MVT::v2i64, Legal); in PPCTargetLowering()
642 setOperationAction(ISD::VECTOR_SHUFFLE, MVT::v2i64, Legal); in PPCTargetLowering()
644 setOperationAction(ISD::SINT_TO_FP, MVT::v2i64, Legal); in PPCTargetLowering()
645 setOperationAction(ISD::UINT_TO_FP, MVT::v2i64, Legal); in PPCTargetLowering()
646 setOperationAction(ISD::FP_TO_SINT, MVT::v2i64, Legal); in PPCTargetLowering()
647 setOperationAction(ISD::FP_TO_UINT, MVT::v2i64, Legal); in PPCTargetLowering()
651 setOperationAction(ISD::SIGN_EXTEND_INREG, MVT::v2i64, Legal); in PPCTargetLowering()
652 setOperationAction(ISD::SIGN_EXTEND_INREG, MVT::v2i32, Legal); in PPCTargetLowering()
656 setOperationAction(ISD::FNEG, MVT::v4f32, Legal); in PPCTargetLowering()
657 setOperationAction(ISD::FNEG, MVT::v2f64, Legal); in PPCTargetLowering()
658 setOperationAction(ISD::FABS, MVT::v4f32, Legal); in PPCTargetLowering()
659 setOperationAction(ISD::FABS, MVT::v2f64, Legal); in PPCTargetLowering()
669 setOperationAction(ISD::INSERT_VECTOR_ELT, MVT::v4i32, Legal); in PPCTargetLowering()
670 setOperationAction(ISD::INSERT_VECTOR_ELT, MVT::v4f32, Legal); in PPCTargetLowering()
675 setOperationAction(ISD::FADD, MVT::v4f64, Legal); in PPCTargetLowering()
676 setOperationAction(ISD::FSUB, MVT::v4f64, Legal); in PPCTargetLowering()
677 setOperationAction(ISD::FMUL, MVT::v4f64, Legal); in PPCTargetLowering()
680 setOperationAction(ISD::FCOPYSIGN, MVT::v4f64, Legal); in PPCTargetLowering()
691 setOperationAction(ISD::VSELECT, MVT::v4f64, Legal); in PPCTargetLowering()
693 setOperationAction(ISD::EXTRACT_VECTOR_ELT , MVT::v4f64, Legal); in PPCTargetLowering()
698 setOperationAction(ISD::SCALAR_TO_VECTOR, MVT::v4f64, Legal); in PPCTargetLowering()
701 setOperationAction(ISD::FP_TO_SINT , MVT::v4f64, Legal); in PPCTargetLowering()
704 setOperationAction(ISD::FP_ROUND , MVT::v4f32, Legal); in PPCTargetLowering()
706 setOperationAction(ISD::FP_EXTEND, MVT::v4f64, Legal); in PPCTargetLowering()
708 setOperationAction(ISD::FNEG , MVT::v4f64, Legal); in PPCTargetLowering()
709 setOperationAction(ISD::FABS , MVT::v4f64, Legal); in PPCTargetLowering()
720 setOperationAction(ISD::FMINNUM, MVT::v4f64, Legal); in PPCTargetLowering()
721 setOperationAction(ISD::FMAXNUM, MVT::v4f64, Legal); in PPCTargetLowering()
723 setIndexedLoadAction(ISD::PRE_INC, MVT::v4f64, Legal); in PPCTargetLowering()
724 setIndexedStoreAction(ISD::PRE_INC, MVT::v4f64, Legal); in PPCTargetLowering()
728 setOperationAction(ISD::FADD, MVT::v4f32, Legal); in PPCTargetLowering()
729 setOperationAction(ISD::FSUB, MVT::v4f32, Legal); in PPCTargetLowering()
730 setOperationAction(ISD::FMUL, MVT::v4f32, Legal); in PPCTargetLowering()
733 setOperationAction(ISD::FCOPYSIGN, MVT::v4f32, Legal); in PPCTargetLowering()
741 setOperationAction(ISD::VSELECT, MVT::v4f32, Legal); in PPCTargetLowering()
743 setOperationAction(ISD::EXTRACT_VECTOR_ELT , MVT::v4f32, Legal); in PPCTargetLowering()
748 setOperationAction(ISD::SCALAR_TO_VECTOR, MVT::v4f32, Legal); in PPCTargetLowering()
751 setOperationAction(ISD::FP_TO_SINT , MVT::v4f32, Legal); in PPCTargetLowering()
754 setOperationAction(ISD::FNEG , MVT::v4f32, Legal); in PPCTargetLowering()
755 setOperationAction(ISD::FABS , MVT::v4f32, Legal); in PPCTargetLowering()
766 setOperationAction(ISD::FMINNUM, MVT::v4f32, Legal); in PPCTargetLowering()
767 setOperationAction(ISD::FMAXNUM, MVT::v4f32, Legal); in PPCTargetLowering()
769 setIndexedLoadAction(ISD::PRE_INC, MVT::v4f32, Legal); in PPCTargetLowering()
770 setIndexedStoreAction(ISD::PRE_INC, MVT::v4f32, Legal); in PPCTargetLowering()
774 setOperationAction(ISD::AND , MVT::v4i1, Legal); in PPCTargetLowering()
775 setOperationAction(ISD::OR , MVT::v4i1, Legal); in PPCTargetLowering()
776 setOperationAction(ISD::XOR , MVT::v4i1, Legal); in PPCTargetLowering()
780 setOperationAction(ISD::VSELECT, MVT::v4i1, Legal); in PPCTargetLowering()
798 setOperationAction(ISD::FFLOOR, MVT::v4f64, Legal); in PPCTargetLowering()
799 setOperationAction(ISD::FCEIL, MVT::v4f64, Legal); in PPCTargetLowering()
800 setOperationAction(ISD::FTRUNC, MVT::v4f64, Legal); in PPCTargetLowering()
801 setOperationAction(ISD::FROUND, MVT::v4f64, Legal); in PPCTargetLowering()
803 setOperationAction(ISD::FFLOOR, MVT::v4f32, Legal); in PPCTargetLowering()
804 setOperationAction(ISD::FCEIL, MVT::v4f32, Legal); in PPCTargetLowering()
805 setOperationAction(ISD::FTRUNC, MVT::v4f32, Legal); in PPCTargetLowering()
806 setOperationAction(ISD::FROUND, MVT::v4f32, Legal); in PPCTargetLowering()
816 setOperationAction(ISD::FDIV, MVT::v4f64, Legal); in PPCTargetLowering()
817 setOperationAction(ISD::FSQRT, MVT::v4f64, Legal); in PPCTargetLowering()
819 setOperationAction(ISD::FDIV, MVT::v4f32, Legal); in PPCTargetLowering()
820 setOperationAction(ISD::FSQRT, MVT::v4f32, Legal); in PPCTargetLowering()
831 setOperationAction(ISD::PREFETCH, MVT::Other, Legal); in PPCTargetLowering()
833 setOperationAction(ISD::READCYCLECOUNTER, MVT::i64, isPPC64 ? Legal : Custom); in PPCTargetLowering()