Lines Matching refs:Legal

86   setIndexedLoadAction(ISD::PRE_INC, MVT::i1, Legal);  in PPCTargetLowering()
87 setIndexedLoadAction(ISD::PRE_INC, MVT::i8, Legal); in PPCTargetLowering()
88 setIndexedLoadAction(ISD::PRE_INC, MVT::i16, Legal); in PPCTargetLowering()
89 setIndexedLoadAction(ISD::PRE_INC, MVT::i32, Legal); in PPCTargetLowering()
90 setIndexedLoadAction(ISD::PRE_INC, MVT::i64, Legal); in PPCTargetLowering()
91 setIndexedLoadAction(ISD::PRE_INC, MVT::f32, Legal); in PPCTargetLowering()
92 setIndexedLoadAction(ISD::PRE_INC, MVT::f64, Legal); in PPCTargetLowering()
93 setIndexedStoreAction(ISD::PRE_INC, MVT::i1, Legal); in PPCTargetLowering()
94 setIndexedStoreAction(ISD::PRE_INC, MVT::i8, Legal); in PPCTargetLowering()
95 setIndexedStoreAction(ISD::PRE_INC, MVT::i16, Legal); in PPCTargetLowering()
96 setIndexedStoreAction(ISD::PRE_INC, MVT::i32, Legal); in PPCTargetLowering()
97 setIndexedStoreAction(ISD::PRE_INC, MVT::i64, Legal); in PPCTargetLowering()
98 setIndexedStoreAction(ISD::PRE_INC, MVT::f32, Legal); in PPCTargetLowering()
99 setIndexedStoreAction(ISD::PRE_INC, MVT::f64, Legal); in PPCTargetLowering()
167 setOperationAction(ISD::FMA , MVT::f64, Legal); in PPCTargetLowering()
173 setOperationAction(ISD::FMA , MVT::f32, Legal); in PPCTargetLowering()
189 setOperationAction(ISD::FCOPYSIGN, MVT::f64, Legal); in PPCTargetLowering()
190 setOperationAction(ISD::FCOPYSIGN, MVT::f32, Legal); in PPCTargetLowering()
197 setOperationAction(ISD::FFLOOR, MVT::f64, Legal); in PPCTargetLowering()
198 setOperationAction(ISD::FCEIL, MVT::f64, Legal); in PPCTargetLowering()
199 setOperationAction(ISD::FTRUNC, MVT::f64, Legal); in PPCTargetLowering()
200 setOperationAction(ISD::FROUND, MVT::f64, Legal); in PPCTargetLowering()
202 setOperationAction(ISD::FFLOOR, MVT::f32, Legal); in PPCTargetLowering()
203 setOperationAction(ISD::FCEIL, MVT::f32, Legal); in PPCTargetLowering()
204 setOperationAction(ISD::FTRUNC, MVT::f32, Legal); in PPCTargetLowering()
205 setOperationAction(ISD::FROUND, MVT::f32, Legal); in PPCTargetLowering()
219 setOperationAction(ISD::CTPOP, MVT::i32 , Legal); in PPCTargetLowering()
220 setOperationAction(ISD::CTPOP, MVT::i64 , Legal); in PPCTargetLowering()
290 setOperationAction(ISD::TRAP, MVT::Other, Legal); in PPCTargetLowering()
405 setOperationAction(ISD::ADD , VT, Legal); in PPCTargetLowering()
406 setOperationAction(ISD::SUB , VT, Legal); in PPCTargetLowering()
410 setOperationAction(ISD::CTPOP, VT, Legal); in PPCTargetLowering()
411 setOperationAction(ISD::CTLZ, VT, Legal); in PPCTargetLowering()
490 setOperationAction(ISD::AND , MVT::v4i32, Legal); in PPCTargetLowering()
491 setOperationAction(ISD::OR , MVT::v4i32, Legal); in PPCTargetLowering()
492 setOperationAction(ISD::XOR , MVT::v4i32, Legal); in PPCTargetLowering()
493 setOperationAction(ISD::LOAD , MVT::v4i32, Legal); in PPCTargetLowering()
495 Subtarget.useCRBits() ? Legal : Expand); in PPCTargetLowering()
496 setOperationAction(ISD::STORE , MVT::v4i32, Legal); in PPCTargetLowering()
497 setOperationAction(ISD::FP_TO_SINT, MVT::v4i32, Legal); in PPCTargetLowering()
498 setOperationAction(ISD::FP_TO_UINT, MVT::v4i32, Legal); in PPCTargetLowering()
499 setOperationAction(ISD::SINT_TO_FP, MVT::v4i32, Legal); in PPCTargetLowering()
500 setOperationAction(ISD::UINT_TO_FP, MVT::v4i32, Legal); in PPCTargetLowering()
501 setOperationAction(ISD::FFLOOR, MVT::v4f32, Legal); in PPCTargetLowering()
502 setOperationAction(ISD::FCEIL, MVT::v4f32, Legal); in PPCTargetLowering()
503 setOperationAction(ISD::FTRUNC, MVT::v4f32, Legal); in PPCTargetLowering()
504 setOperationAction(ISD::FNEARBYINT, MVT::v4f32, Legal); in PPCTargetLowering()
511 setOperationAction(ISD::MUL, MVT::v4f32, Legal); in PPCTargetLowering()
512 setOperationAction(ISD::FMA, MVT::v4f32, Legal); in PPCTargetLowering()
515 setOperationAction(ISD::FDIV, MVT::v4f32, Legal); in PPCTargetLowering()
516 setOperationAction(ISD::FSQRT, MVT::v4f32, Legal); in PPCTargetLowering()
521 setOperationAction(ISD::MUL, MVT::v4i32, Legal); in PPCTargetLowering()
543 setOperationAction(ISD::SCALAR_TO_VECTOR, MVT::v2f64, Legal); in PPCTargetLowering()
544 setOperationAction(ISD::EXTRACT_VECTOR_ELT, MVT::v2f64, Legal); in PPCTargetLowering()
546 setOperationAction(ISD::FFLOOR, MVT::v2f64, Legal); in PPCTargetLowering()
547 setOperationAction(ISD::FCEIL, MVT::v2f64, Legal); in PPCTargetLowering()
548 setOperationAction(ISD::FTRUNC, MVT::v2f64, Legal); in PPCTargetLowering()
549 setOperationAction(ISD::FNEARBYINT, MVT::v2f64, Legal); in PPCTargetLowering()
550 setOperationAction(ISD::FROUND, MVT::v2f64, Legal); in PPCTargetLowering()
552 setOperationAction(ISD::FROUND, MVT::v4f32, Legal); in PPCTargetLowering()
554 setOperationAction(ISD::MUL, MVT::v2f64, Legal); in PPCTargetLowering()
555 setOperationAction(ISD::FMA, MVT::v2f64, Legal); in PPCTargetLowering()
557 setOperationAction(ISD::FDIV, MVT::v2f64, Legal); in PPCTargetLowering()
558 setOperationAction(ISD::FSQRT, MVT::v2f64, Legal); in PPCTargetLowering()
560 setOperationAction(ISD::VSELECT, MVT::v16i8, Legal); in PPCTargetLowering()
561 setOperationAction(ISD::VSELECT, MVT::v8i16, Legal); in PPCTargetLowering()
562 setOperationAction(ISD::VSELECT, MVT::v4i32, Legal); in PPCTargetLowering()
563 setOperationAction(ISD::VSELECT, MVT::v4f32, Legal); in PPCTargetLowering()
564 setOperationAction(ISD::VSELECT, MVT::v2f64, Legal); in PPCTargetLowering()
572 setOperationAction(ISD::LOAD, MVT::v2f64, Legal); in PPCTargetLowering()
573 setOperationAction(ISD::STORE, MVT::v2f64, Legal); in PPCTargetLowering()
575 setOperationAction(ISD::VECTOR_SHUFFLE, MVT::v2f64, Legal); in PPCTargetLowering()
583 setOperationAction(ISD::SHL, MVT::v2i64, Legal); in PPCTargetLowering()
584 setOperationAction(ISD::SRA, MVT::v2i64, Legal); in PPCTargetLowering()
585 setOperationAction(ISD::SRL, MVT::v2i64, Legal); in PPCTargetLowering()
587 setOperationAction(ISD::SETCC, MVT::v2i64, Legal); in PPCTargetLowering()
606 setOperationAction(ISD::VECTOR_SHUFFLE, MVT::v2i64, Legal); in PPCTargetLowering()
608 setOperationAction(ISD::SINT_TO_FP, MVT::v2i64, Legal); in PPCTargetLowering()
609 setOperationAction(ISD::UINT_TO_FP, MVT::v2i64, Legal); in PPCTargetLowering()
610 setOperationAction(ISD::FP_TO_SINT, MVT::v2i64, Legal); in PPCTargetLowering()
611 setOperationAction(ISD::FP_TO_UINT, MVT::v2i64, Legal); in PPCTargetLowering()
615 setOperationAction(ISD::SIGN_EXTEND_INREG, MVT::v2i64, Legal); in PPCTargetLowering()
616 setOperationAction(ISD::SIGN_EXTEND_INREG, MVT::v2i32, Legal); in PPCTargetLowering()
628 setOperationAction(ISD::FADD, MVT::v4f64, Legal); in PPCTargetLowering()
629 setOperationAction(ISD::FSUB, MVT::v4f64, Legal); in PPCTargetLowering()
630 setOperationAction(ISD::FMUL, MVT::v4f64, Legal); in PPCTargetLowering()
633 setOperationAction(ISD::FCOPYSIGN, MVT::v4f64, Legal); in PPCTargetLowering()
644 setOperationAction(ISD::VSELECT, MVT::v4f64, Legal); in PPCTargetLowering()
646 setOperationAction(ISD::EXTRACT_VECTOR_ELT , MVT::v4f64, Legal); in PPCTargetLowering()
651 setOperationAction(ISD::SCALAR_TO_VECTOR, MVT::v4f64, Legal); in PPCTargetLowering()
654 setOperationAction(ISD::FP_TO_SINT , MVT::v4f64, Legal); in PPCTargetLowering()
657 setOperationAction(ISD::FP_ROUND , MVT::v4f32, Legal); in PPCTargetLowering()
659 setOperationAction(ISD::FP_EXTEND, MVT::v4f64, Legal); in PPCTargetLowering()
661 setOperationAction(ISD::FNEG , MVT::v4f64, Legal); in PPCTargetLowering()
662 setOperationAction(ISD::FABS , MVT::v4f64, Legal); in PPCTargetLowering()
673 setOperationAction(ISD::FMINNUM, MVT::v4f64, Legal); in PPCTargetLowering()
674 setOperationAction(ISD::FMAXNUM, MVT::v4f64, Legal); in PPCTargetLowering()
676 setIndexedLoadAction(ISD::PRE_INC, MVT::v4f64, Legal); in PPCTargetLowering()
677 setIndexedStoreAction(ISD::PRE_INC, MVT::v4f64, Legal); in PPCTargetLowering()
681 setOperationAction(ISD::FADD, MVT::v4f32, Legal); in PPCTargetLowering()
682 setOperationAction(ISD::FSUB, MVT::v4f32, Legal); in PPCTargetLowering()
683 setOperationAction(ISD::FMUL, MVT::v4f32, Legal); in PPCTargetLowering()
686 setOperationAction(ISD::FCOPYSIGN, MVT::v4f32, Legal); in PPCTargetLowering()
694 setOperationAction(ISD::VSELECT, MVT::v4f32, Legal); in PPCTargetLowering()
696 setOperationAction(ISD::EXTRACT_VECTOR_ELT , MVT::v4f32, Legal); in PPCTargetLowering()
701 setOperationAction(ISD::SCALAR_TO_VECTOR, MVT::v4f32, Legal); in PPCTargetLowering()
704 setOperationAction(ISD::FP_TO_SINT , MVT::v4f32, Legal); in PPCTargetLowering()
707 setOperationAction(ISD::FNEG , MVT::v4f32, Legal); in PPCTargetLowering()
708 setOperationAction(ISD::FABS , MVT::v4f32, Legal); in PPCTargetLowering()
719 setOperationAction(ISD::FMINNUM, MVT::v4f32, Legal); in PPCTargetLowering()
720 setOperationAction(ISD::FMAXNUM, MVT::v4f32, Legal); in PPCTargetLowering()
722 setIndexedLoadAction(ISD::PRE_INC, MVT::v4f32, Legal); in PPCTargetLowering()
723 setIndexedStoreAction(ISD::PRE_INC, MVT::v4f32, Legal); in PPCTargetLowering()
727 setOperationAction(ISD::AND , MVT::v4i1, Legal); in PPCTargetLowering()
728 setOperationAction(ISD::OR , MVT::v4i1, Legal); in PPCTargetLowering()
729 setOperationAction(ISD::XOR , MVT::v4i1, Legal); in PPCTargetLowering()
733 setOperationAction(ISD::VSELECT, MVT::v4i1, Legal); in PPCTargetLowering()
751 setOperationAction(ISD::FFLOOR, MVT::v4f64, Legal); in PPCTargetLowering()
752 setOperationAction(ISD::FCEIL, MVT::v4f64, Legal); in PPCTargetLowering()
753 setOperationAction(ISD::FTRUNC, MVT::v4f64, Legal); in PPCTargetLowering()
754 setOperationAction(ISD::FROUND, MVT::v4f64, Legal); in PPCTargetLowering()
756 setOperationAction(ISD::FFLOOR, MVT::v4f32, Legal); in PPCTargetLowering()
757 setOperationAction(ISD::FCEIL, MVT::v4f32, Legal); in PPCTargetLowering()
758 setOperationAction(ISD::FTRUNC, MVT::v4f32, Legal); in PPCTargetLowering()
759 setOperationAction(ISD::FROUND, MVT::v4f32, Legal); in PPCTargetLowering()
769 setOperationAction(ISD::FDIV, MVT::v4f64, Legal); in PPCTargetLowering()
770 setOperationAction(ISD::FSQRT, MVT::v4f64, Legal); in PPCTargetLowering()
772 setOperationAction(ISD::FDIV, MVT::v4f32, Legal); in PPCTargetLowering()
773 setOperationAction(ISD::FSQRT, MVT::v4f32, Legal); in PPCTargetLowering()
784 setOperationAction(ISD::PREFETCH, MVT::Other, Legal); in PPCTargetLowering()
786 setOperationAction(ISD::READCYCLECOUNTER, MVT::i64, isPPC64 ? Legal : Custom); in PPCTargetLowering()