Lines Matching refs:Custom

247   setOperationAction(ISD::BRCOND, MVT::Other, Custom);  in RISCVTargetLowering()
253 setCondCodeAction(ISD::SETGT, XLenVT, Custom); in RISCVTargetLowering()
256 setCondCodeAction(ISD::SETUGT, XLenVT, Custom); in RISCVTargetLowering()
264 setOperationAction(ISD::VASTART, MVT::Other, Custom); in RISCVTargetLowering()
269 setOperationAction(ISD::EH_DWARF_CFA, MVT::i32, Custom); in RISCVTargetLowering()
275 setOperationAction(ISD::EH_DWARF_CFA, MVT::i64, Custom); in RISCVTargetLowering()
278 setOperationAction(ISD::LOAD, MVT::i32, Custom); in RISCVTargetLowering()
280 MVT::i32, Custom); in RISCVTargetLowering()
281 setOperationAction(ISD::SADDO, MVT::i32, Custom); in RISCVTargetLowering()
283 MVT::i32, Custom); in RISCVTargetLowering()
297 setOperationAction(ISD::MUL, MVT::i128, Custom); in RISCVTargetLowering()
299 setOperationAction(ISD::MUL, MVT::i32, Custom); in RISCVTargetLowering()
301 setOperationAction(ISD::MUL, MVT::i64, Custom); in RISCVTargetLowering()
313 {MVT::i8, MVT::i16, MVT::i32}, Custom); in RISCVTargetLowering()
328 Custom); in RISCVTargetLowering()
332 setOperationAction({ISD::ROTL, ISD::ROTR}, MVT::i32, Custom); in RISCVTargetLowering()
335 setOperationAction({ISD::ROTL, ISD::ROTR}, MVT::i32, Custom); in RISCVTargetLowering()
336 setOperationAction({ISD::ROTL, ISD::ROTR}, XLenVT, Custom); in RISCVTargetLowering()
365 Subtarget.hasStdExtZbkb() ? Custom : Expand); in RISCVTargetLowering()
379 setOperationAction({ISD::CTTZ, ISD::CTTZ_ZERO_UNDEF}, MVT::i32, Custom); in RISCVTargetLowering()
398 setOperationAction({ISD::CTLZ, ISD::CTLZ_ZERO_UNDEF}, MVT::i32, Custom); in RISCVTargetLowering()
408 setOperationAction(ISD::ABS, MVT::i32, Custom); in RISCVTargetLowering()
415 setOperationAction(ISD::SELECT, XLenVT, Custom); in RISCVTargetLowering()
442 setOperationAction(ISD::BITCAST, MVT::i16, Custom); in RISCVTargetLowering()
456 setOperationAction(ISD::BITCAST, MVT::i16, Custom); in RISCVTargetLowering()
457 setOperationAction(ISD::BITCAST, MVT::bf16, Custom); in RISCVTargetLowering()
458 setOperationAction(ISD::FP_ROUND, MVT::bf16, Custom); in RISCVTargetLowering()
459 setOperationAction(ISD::FP_EXTEND, MVT::f32, Custom); in RISCVTargetLowering()
460 setOperationAction(ISD::FP_EXTEND, MVT::f64, Custom); in RISCVTargetLowering()
475 Subtarget.hasStdExtZfa() ? Legal : Custom); in RISCVTargetLowering()
476 setOperationAction(ISD::SELECT, MVT::f16, Custom); in RISCVTargetLowering()
477 setOperationAction(ISD::IS_FPCLASS, MVT::f16, Custom); in RISCVTargetLowering()
512 setOperationAction(ISD::FPOWI, MVT::i32, Custom); in RISCVTargetLowering()
515 setOperationAction({ISD::FMAXIMUM, ISD::FMINIMUM}, MVT::f16, Custom); in RISCVTargetLowering()
521 Subtarget.hasStdExtZfa() ? Legal : Custom); in RISCVTargetLowering()
524 setOperationAction(ISD::SELECT, MVT::f32, Custom); in RISCVTargetLowering()
531 setOperationAction(ISD::IS_FPCLASS, MVT::f32, Custom); in RISCVTargetLowering()
532 setOperationAction(ISD::BF16_TO_FP, MVT::f32, Custom); in RISCVTargetLowering()
534 Subtarget.isSoftFPABI() ? LibCall : Custom); in RISCVTargetLowering()
535 setOperationAction(ISD::FP_TO_FP16, MVT::f32, Custom); in RISCVTargetLowering()
536 setOperationAction(ISD::FP16_TO_FP, MVT::f32, Custom); in RISCVTargetLowering()
541 setOperationAction({ISD::FMAXIMUM, ISD::FMINIMUM}, MVT::f32, Custom); in RISCVTargetLowering()
545 setOperationAction(ISD::BITCAST, MVT::i32, Custom); in RISCVTargetLowering()
553 setOperationAction(ISD::BITCAST, MVT::i64, Custom); in RISCVTargetLowering()
554 setOperationAction(ISD::BITCAST, MVT::f64, Custom); in RISCVTargetLowering()
557 setOperationAction(FPRndMode, MVT::f64, Custom); in RISCVTargetLowering()
559 setOperationAction({ISD::FMAXIMUM, ISD::FMINIMUM}, MVT::f64, Custom); in RISCVTargetLowering()
566 setOperationAction(ISD::SELECT, MVT::f64, Custom); in RISCVTargetLowering()
575 setOperationAction(ISD::IS_FPCLASS, MVT::f64, Custom); in RISCVTargetLowering()
576 setOperationAction(ISD::BF16_TO_FP, MVT::f64, Custom); in RISCVTargetLowering()
578 Subtarget.isSoftFPABI() ? LibCall : Custom); in RISCVTargetLowering()
579 setOperationAction(ISD::FP_TO_FP16, MVT::f64, Custom); in RISCVTargetLowering()
586 MVT::i32, Custom); in RISCVTargetLowering()
587 setOperationAction(ISD::LROUND, MVT::i32, Custom); in RISCVTargetLowering()
592 Custom); in RISCVTargetLowering()
603 setOperationAction(ISD::GET_ROUNDING, XLenVT, Custom); in RISCVTargetLowering()
604 setOperationAction(ISD::SET_ROUNDING, MVT::Other, Custom); in RISCVTargetLowering()
609 XLenVT, Custom); in RISCVTargetLowering()
611 setOperationAction(ISD::GlobalTLSAddress, XLenVT, Custom); in RISCVTargetLowering()
614 setOperationAction(ISD::Constant, MVT::i64, Custom); in RISCVTargetLowering()
619 Subtarget.is64Bit() ? Legal : Custom); in RISCVTargetLowering()
622 setOperationAction(ISD::INTRINSIC_WO_CHAIN, MVT::Other, Custom); in RISCVTargetLowering()
624 setOperationAction(ISD::INTRINSIC_WO_CHAIN, MVT::i32, Custom); in RISCVTargetLowering()
639 setOperationAction(ISD::ATOMIC_FENCE, MVT::Other, Custom); in RISCVTargetLowering()
646 setOperationAction(ISD::VSCALE, XLenVT, Custom); in RISCVTargetLowering()
648 setOperationAction(ISD::VSCALE, MVT::i32, Custom); in RISCVTargetLowering()
654 {MVT::i8, MVT::i16}, Custom); in RISCVTargetLowering()
657 MVT::i32, Custom); in RISCVTargetLowering()
660 MVT::i64, Custom); in RISCVTargetLowering()
663 MVT::Other, Custom); in RISCVTargetLowering()
706 MVT::i64, Custom); in RISCVTargetLowering()
708 setOperationAction(IntegerVecReduceOps, MVT::i64, Custom); in RISCVTargetLowering()
714 MVT::i64, Custom); in RISCVTargetLowering()
721 setOperationAction(ISD::SPLAT_VECTOR, VT, Custom); in RISCVTargetLowering()
727 VT, Custom); in RISCVTargetLowering()
730 Custom); in RISCVTargetLowering()
732 setOperationAction(ISD::SELECT, VT, Custom); in RISCVTargetLowering()
737 setOperationAction({ISD::VP_AND, ISD::VP_OR, ISD::VP_XOR}, VT, Custom); in RISCVTargetLowering()
741 Custom); in RISCVTargetLowering()
745 Custom); in RISCVTargetLowering()
755 VT, Custom); in RISCVTargetLowering()
757 Custom); in RISCVTargetLowering()
769 VT, Custom); in RISCVTargetLowering()
771 setOperationAction(ISD::VECTOR_DEINTERLEAVE, VT, Custom); in RISCVTargetLowering()
772 setOperationAction(ISD::VECTOR_INTERLEAVE, VT, Custom); in RISCVTargetLowering()
774 setOperationAction(ISD::VECTOR_REVERSE, VT, Custom); in RISCVTargetLowering()
776 setOperationAction(ISD::EXPERIMENTAL_VP_SPLICE, VT, Custom); in RISCVTargetLowering()
777 setOperationAction(ISD::EXPERIMENTAL_VP_REVERSE, VT, Custom); in RISCVTargetLowering()
789 setOperationAction(ISD::SPLAT_VECTOR_PARTS, VT, Custom); in RISCVTargetLowering()
803 VT, Custom); in RISCVTargetLowering()
813 VT, Custom); in RISCVTargetLowering()
815 Custom); in RISCVTargetLowering()
816 setOperationAction({ISD::LRINT, ISD::LLRINT}, VT, Custom); in RISCVTargetLowering()
823 setOperationAction(ISD::TRUNCATE, VT, Custom); in RISCVTargetLowering()
827 Custom); in RISCVTargetLowering()
831 setOperationAction(IntegerVecReduceOps, VT, Custom); in RISCVTargetLowering()
833 setOperationAction(IntegerVPOps, VT, Custom); in RISCVTargetLowering()
835 setOperationAction({ISD::LOAD, ISD::STORE}, VT, Custom); in RISCVTargetLowering()
838 VT, Custom); in RISCVTargetLowering()
843 VT, Custom); in RISCVTargetLowering()
847 VT, Custom); in RISCVTargetLowering()
849 setOperationAction(ISD::SELECT, VT, Custom); in RISCVTargetLowering()
852 setOperationAction({ISD::STEP_VECTOR, ISD::VECTOR_REVERSE}, VT, Custom); in RISCVTargetLowering()
860 setOperationAction(ISD::VECTOR_DEINTERLEAVE, VT, Custom); in RISCVTargetLowering()
861 setOperationAction(ISD::VECTOR_INTERLEAVE, VT, Custom); in RISCVTargetLowering()
864 setOperationAction(ISD::VECTOR_SPLICE, VT, Custom); in RISCVTargetLowering()
868 setOperationAction(ISD::VP_BSWAP, VT, Custom); in RISCVTargetLowering()
876 setOperationAction(ISD::VP_BITREVERSE, VT, Custom); in RISCVTargetLowering()
879 VT, Custom); in RISCVTargetLowering()
894 VT, Custom); in RISCVTargetLowering()
941 setOperationAction({ISD::FP_ROUND, ISD::FP_EXTEND}, VT, Custom); in RISCVTargetLowering()
944 Custom); in RISCVTargetLowering()
949 setOperationAction({ISD::FMAXIMUM, ISD::FMINIMUM}, VT, Custom); in RISCVTargetLowering()
954 VT, Custom); in RISCVTargetLowering()
956 setOperationAction(FloatingPointVecReduceOps, VT, Custom); in RISCVTargetLowering()
973 setOperationAction({ISD::LOAD, ISD::STORE}, VT, Custom); in RISCVTargetLowering()
976 VT, Custom); in RISCVTargetLowering()
981 VT, Custom); in RISCVTargetLowering()
983 setOperationAction(ISD::SELECT, VT, Custom); in RISCVTargetLowering()
988 VT, Custom); in RISCVTargetLowering()
990 setOperationAction(ISD::VECTOR_DEINTERLEAVE, VT, Custom); in RISCVTargetLowering()
991 setOperationAction(ISD::VECTOR_INTERLEAVE, VT, Custom); in RISCVTargetLowering()
993 setOperationAction({ISD::VECTOR_REVERSE, ISD::VECTOR_SPLICE}, VT, Custom); in RISCVTargetLowering()
995 setOperationAction(FloatingPointVPOps, VT, Custom); in RISCVTargetLowering()
998 Custom); in RISCVTargetLowering()
1006 VT, Custom); in RISCVTargetLowering()
1029 setOperationAction({ISD::FP_ROUND, ISD::FP_EXTEND}, VT, Custom); in RISCVTargetLowering()
1031 Custom); in RISCVTargetLowering()
1032 setOperationAction({ISD::VP_FP_ROUND, ISD::VP_FP_EXTEND}, VT, Custom); in RISCVTargetLowering()
1034 Custom); in RISCVTargetLowering()
1038 VT, Custom); in RISCVTargetLowering()
1041 VT, Custom); in RISCVTargetLowering()
1042 setOperationAction(ISD::SPLAT_VECTOR, VT, Custom); in RISCVTargetLowering()
1044 setOperationAction({ISD::LOAD, ISD::STORE}, VT, Custom); in RISCVTargetLowering()
1048 setOperationAction(ZvfhminPromoteOps, VT, Custom); in RISCVTargetLowering()
1049 setOperationAction(ZvfhminPromoteVPOps, VT, Custom); in RISCVTargetLowering()
1094 setOperationAction(ISD::UNDEF, VT, Custom); in RISCVTargetLowering()
1098 Custom); in RISCVTargetLowering()
1101 Custom); in RISCVTargetLowering()
1104 VT, Custom); in RISCVTargetLowering()
1106 setOperationAction(ISD::SCALAR_TO_VECTOR, VT, Custom); in RISCVTargetLowering()
1108 setOperationAction({ISD::LOAD, ISD::STORE}, VT, Custom); in RISCVTargetLowering()
1110 setOperationAction(ISD::SETCC, VT, Custom); in RISCVTargetLowering()
1112 setOperationAction(ISD::SELECT, VT, Custom); in RISCVTargetLowering()
1114 setOperationAction(ISD::TRUNCATE, VT, Custom); in RISCVTargetLowering()
1116 setOperationAction(ISD::BITCAST, VT, Custom); in RISCVTargetLowering()
1120 Custom); in RISCVTargetLowering()
1124 Custom); in RISCVTargetLowering()
1137 VT, Custom); in RISCVTargetLowering()
1139 Custom); in RISCVTargetLowering()
1141 setOperationAction(ISD::VECTOR_SHUFFLE, VT, Custom); in RISCVTargetLowering()
1147 VT, Custom); in RISCVTargetLowering()
1151 VT, Custom); in RISCVTargetLowering()
1153 setOperationAction(ISD::EXPERIMENTAL_VP_SPLICE, VT, Custom); in RISCVTargetLowering()
1154 setOperationAction(ISD::EXPERIMENTAL_VP_REVERSE, VT, Custom); in RISCVTargetLowering()
1165 setOperationAction(ISD::SPLAT_VECTOR_PARTS, VT, Custom); in RISCVTargetLowering()
1169 {ISD::MLOAD, ISD::MSTORE, ISD::MGATHER, ISD::MSCATTER}, VT, Custom); in RISCVTargetLowering()
1175 VT, Custom); in RISCVTargetLowering()
1180 VT, Custom); in RISCVTargetLowering()
1183 {ISD::SMIN, ISD::SMAX, ISD::UMIN, ISD::UMAX, ISD::ABS}, VT, Custom); in RISCVTargetLowering()
1187 setOperationAction({ISD::MULHS, ISD::MULHU}, VT, Custom); in RISCVTargetLowering()
1191 VT, Custom); in RISCVTargetLowering()
1193 setOperationAction(ISD::VSELECT, VT, Custom); in RISCVTargetLowering()
1197 {ISD::ANY_EXTEND, ISD::SIGN_EXTEND, ISD::ZERO_EXTEND}, VT, Custom); in RISCVTargetLowering()
1204 VT, Custom); in RISCVTargetLowering()
1206 setOperationAction(IntegerVPOps, VT, Custom); in RISCVTargetLowering()
1209 setOperationAction({ISD::BSWAP, ISD::ROTL, ISD::ROTR}, VT, Custom); in RISCVTargetLowering()
1214 VT, Custom); in RISCVTargetLowering()
1222 Custom); in RISCVTargetLowering()
1242 setOperationAction(ISD::UNDEF, VT, Custom); in RISCVTargetLowering()
1246 setOperationAction({ISD::FP_ROUND, ISD::FP_EXTEND}, VT, Custom); in RISCVTargetLowering()
1248 Custom); in RISCVTargetLowering()
1249 setOperationAction({ISD::VP_FP_ROUND, ISD::VP_FP_EXTEND}, VT, Custom); in RISCVTargetLowering()
1252 Custom); in RISCVTargetLowering()
1255 VT, Custom); in RISCVTargetLowering()
1258 VT, Custom); in RISCVTargetLowering()
1259 setOperationAction({ISD::LOAD, ISD::STORE}, VT, Custom); in RISCVTargetLowering()
1260 setOperationAction(ISD::SPLAT_VECTOR, VT, Custom); in RISCVTargetLowering()
1274 Custom); in RISCVTargetLowering()
1279 VT, Custom); in RISCVTargetLowering()
1283 VT, Custom); in RISCVTargetLowering()
1289 VT, Custom); in RISCVTargetLowering()
1295 VT, Custom); in RISCVTargetLowering()
1297 setOperationAction({ISD::FP_ROUND, ISD::FP_EXTEND}, VT, Custom); in RISCVTargetLowering()
1301 VT, Custom); in RISCVTargetLowering()
1305 setOperationAction(ISD::SETCC, VT, Custom); in RISCVTargetLowering()
1306 setOperationAction({ISD::VSELECT, ISD::SELECT}, VT, Custom); in RISCVTargetLowering()
1309 setOperationAction(ISD::BITCAST, VT, Custom); in RISCVTargetLowering()
1311 setOperationAction(FloatingPointVecReduceOps, VT, Custom); in RISCVTargetLowering()
1313 setOperationAction(FloatingPointVPOps, VT, Custom); in RISCVTargetLowering()
1316 Custom); in RISCVTargetLowering()
1323 VT, Custom); in RISCVTargetLowering()
1328 Custom); in RISCVTargetLowering()
1330 setOperationAction(ISD::BITCAST, MVT::f16, Custom); in RISCVTargetLowering()
1332 setOperationAction(ISD::BITCAST, MVT::f32, Custom); in RISCVTargetLowering()
1334 setOperationAction(ISD::BITCAST, MVT::f64, Custom); in RISCVTargetLowering()