Lines Matching refs:MVT
51 (int)MVT::i8, in InitAMDILLowering()
52 (int)MVT::i16, in InitAMDILLowering()
53 (int)MVT::i32, in InitAMDILLowering()
54 (int)MVT::f32, in InitAMDILLowering()
55 (int)MVT::f64, in InitAMDILLowering()
56 (int)MVT::i64, in InitAMDILLowering()
57 (int)MVT::v2i8, in InitAMDILLowering()
58 (int)MVT::v4i8, in InitAMDILLowering()
59 (int)MVT::v2i16, in InitAMDILLowering()
60 (int)MVT::v4i16, in InitAMDILLowering()
61 (int)MVT::v4f32, in InitAMDILLowering()
62 (int)MVT::v4i32, in InitAMDILLowering()
63 (int)MVT::v2f32, in InitAMDILLowering()
64 (int)MVT::v2i32, in InitAMDILLowering()
65 (int)MVT::v2f64, in InitAMDILLowering()
66 (int)MVT::v2i64 in InitAMDILLowering()
71 (int)MVT::i8, in InitAMDILLowering()
72 (int)MVT::i16, in InitAMDILLowering()
73 (int)MVT::i32, in InitAMDILLowering()
74 (int)MVT::i64 in InitAMDILLowering()
79 (int)MVT::f32, in InitAMDILLowering()
80 (int)MVT::f64 in InitAMDILLowering()
85 (int)MVT::v2i8, in InitAMDILLowering()
86 (int)MVT::v4i8, in InitAMDILLowering()
87 (int)MVT::v2i16, in InitAMDILLowering()
88 (int)MVT::v4i16, in InitAMDILLowering()
89 (int)MVT::v4f32, in InitAMDILLowering()
90 (int)MVT::v4i32, in InitAMDILLowering()
91 (int)MVT::v2f32, in InitAMDILLowering()
92 (int)MVT::v2i32, in InitAMDILLowering()
93 (int)MVT::v2f64, in InitAMDILLowering()
94 (int)MVT::v2i64 in InitAMDILLowering()
106 MVT::SimpleValueType VT = (MVT::SimpleValueType)types[x]; in InitAMDILLowering()
122 if (VT != MVT::i64 && VT != MVT::v2i64) { in InitAMDILLowering()
127 MVT::SimpleValueType VT = (MVT::SimpleValueType)FloatTypes[x]; in InitAMDILLowering()
142 MVT::SimpleValueType VT = (MVT::SimpleValueType)IntTypes[x]; in InitAMDILLowering()
163 MVT::SimpleValueType VT = (MVT::SimpleValueType)VectorTypes[ii]; in InitAMDILLowering()
174 setOperationAction(ISD::MULHU, MVT::i64, Expand); in InitAMDILLowering()
175 setOperationAction(ISD::MULHU, MVT::v2i64, Expand); in InitAMDILLowering()
176 setOperationAction(ISD::MULHS, MVT::i64, Expand); in InitAMDILLowering()
177 setOperationAction(ISD::MULHS, MVT::v2i64, Expand); in InitAMDILLowering()
178 setOperationAction(ISD::ADD, MVT::v2i64, Expand); in InitAMDILLowering()
179 setOperationAction(ISD::SREM, MVT::v2i64, Expand); in InitAMDILLowering()
180 setOperationAction(ISD::Constant , MVT::i64 , Legal); in InitAMDILLowering()
181 setOperationAction(ISD::SDIV, MVT::v2i64, Expand); in InitAMDILLowering()
182 setOperationAction(ISD::TRUNCATE, MVT::v2i64, Expand); in InitAMDILLowering()
183 setOperationAction(ISD::SIGN_EXTEND, MVT::v2i64, Expand); in InitAMDILLowering()
184 setOperationAction(ISD::ZERO_EXTEND, MVT::v2i64, Expand); in InitAMDILLowering()
185 setOperationAction(ISD::ANY_EXTEND, MVT::v2i64, Expand); in InitAMDILLowering()
189 setOperationAction(ISD::FADD, MVT::v2f64, Expand); in InitAMDILLowering()
190 setOperationAction(ISD::FSUB, MVT::v2f64, Expand); in InitAMDILLowering()
191 setOperationAction(ISD::FMUL, MVT::v2f64, Expand); in InitAMDILLowering()
192 setOperationAction(ISD::FP_ROUND_INREG, MVT::v2f64, Expand); in InitAMDILLowering()
193 setOperationAction(ISD::FP_EXTEND, MVT::v2f64, Expand); in InitAMDILLowering()
194 setOperationAction(ISD::ConstantFP , MVT::f64 , Legal); in InitAMDILLowering()
197 setOperationAction(ISD::TRUNCATE, MVT::v2f64, Expand); in InitAMDILLowering()
198 setOperationAction(ISD::SIGN_EXTEND, MVT::v2f64, Expand); in InitAMDILLowering()
199 setOperationAction(ISD::ZERO_EXTEND, MVT::v2f64, Expand); in InitAMDILLowering()
200 setOperationAction(ISD::ANY_EXTEND, MVT::v2f64, Expand); in InitAMDILLowering()
201 setOperationAction(ISD::FABS, MVT::f64, Expand); in InitAMDILLowering()
202 setOperationAction(ISD::FABS, MVT::v2f64, Expand); in InitAMDILLowering()
207 setOperationAction(ISD::UDIV, MVT::v2i8, Expand); in InitAMDILLowering()
208 setOperationAction(ISD::UDIV, MVT::v4i8, Expand); in InitAMDILLowering()
209 setOperationAction(ISD::UDIV, MVT::v2i16, Expand); in InitAMDILLowering()
210 setOperationAction(ISD::UDIV, MVT::v4i16, Expand); in InitAMDILLowering()
211 setOperationAction(ISD::SIGN_EXTEND_INREG, MVT::i1, Custom); in InitAMDILLowering()
212 setOperationAction(ISD::SUBC, MVT::Other, Expand); in InitAMDILLowering()
213 setOperationAction(ISD::ADDE, MVT::Other, Expand); in InitAMDILLowering()
214 setOperationAction(ISD::ADDC, MVT::Other, Expand); in InitAMDILLowering()
215 setOperationAction(ISD::BRCOND, MVT::Other, Custom); in InitAMDILLowering()
216 setOperationAction(ISD::BR_JT, MVT::Other, Expand); in InitAMDILLowering()
217 setOperationAction(ISD::BRIND, MVT::Other, Expand); in InitAMDILLowering()
218 setOperationAction(ISD::SIGN_EXTEND_INREG, MVT::Other, Expand); in InitAMDILLowering()
220 setOperationAction(ISD::BUILD_VECTOR, MVT::Other, Custom); in InitAMDILLowering()
223 setOperationAction(ISD::ConstantFP , MVT::f32 , Legal); in InitAMDILLowering()
224 setOperationAction(ISD::Constant , MVT::i32 , Legal); in InitAMDILLowering()
252 if (VT.getScalarType().getSimpleVT().SimpleTy == MVT::f32 in isFPImmLegal()
253 || VT.getScalarType().getSimpleVT().SimpleTy == MVT::f64) { in isFPImmLegal()
263 if (VT.getScalarType().getSimpleVT().SimpleTy == MVT::f32 in ShouldShrinkFPConstant()
264 || VT.getScalarType().getSimpleVT().SimpleTy == MVT::f64) { in ShouldShrinkFPConstant()
321 if (OVT.getScalarType() == MVT::i64) { in LowerSDIV()
323 } else if (OVT.getScalarType() == MVT::i32) { in LowerSDIV()
325 } else if (OVT.getScalarType() == MVT::i16 in LowerSDIV()
326 || OVT.getScalarType() == MVT::i8) { in LowerSDIV()
339 if (OVT.getScalarType() == MVT::i64) { in LowerSREM()
341 } else if (OVT.getScalarType() == MVT::i32) { in LowerSREM()
343 } else if (OVT.getScalarType() == MVT::i16) { in LowerSREM()
345 } else if (OVT.getScalarType() == MVT::i8) { in LowerSREM()
390 DAG.getConstant(7, MVT::i32)); in LowerBUILD_VECTOR()
401 DAG.getConstant(6, MVT::i32)); in LowerBUILD_VECTOR()
412 DAG.getConstant(5, MVT::i32)); in LowerBUILD_VECTOR()
460 return EVT(MVT::i64); in genIntType()
462 return EVT(MVT::getVectorVT(MVT::i64, vEle)); in genIntType()
466 return EVT(MVT::i32); in genIntType()
468 return EVT(MVT::getVectorVT(MVT::i32, vEle)); in genIntType()
495 MVT INTTY; in LowerSDIV24()
496 MVT FLTTY; in LowerSDIV24()
498 INTTY = MVT::i32; in LowerSDIV24()
499 FLTTY = MVT::f32; in LowerSDIV24()
501 INTTY = MVT::v2i32; in LowerSDIV24()
502 FLTTY = MVT::v2f32; in LowerSDIV24()
504 INTTY = MVT::v4i32; in LowerSDIV24()
505 FLTTY = MVT::v4f32; in LowerSDIV24()
555 if (INTTY == MVT::i32) { in LowerSDIV24()
599 DAG.getConstant(-1, MVT::i32), in LowerSDIV32()
600 DAG.getConstant(0, MVT::i32), in LowerSDIV32()
606 DAG.getConstant(-1, MVT::i32), in LowerSDIV32()
607 DAG.getConstant(0, MVT::i32), in LowerSDIV32()
647 MVT INTTY = MVT::i32; in LowerSREM8()
648 if (OVT == MVT::v2i8) { in LowerSREM8()
649 INTTY = MVT::v2i32; in LowerSREM8()
650 } else if (OVT == MVT::v4i8) { in LowerSREM8()
651 INTTY = MVT::v4i32; in LowerSREM8()
665 MVT INTTY = MVT::i32; in LowerSREM16()
666 if (OVT == MVT::v2i16) { in LowerSREM16()
667 INTTY = MVT::v2i32; in LowerSREM16()
668 } else if (OVT == MVT::v4i16) { in LowerSREM16()
669 INTTY = MVT::v4i32; in LowerSREM16()