Lines Matching refs:MVT
95 unsigned PPCMaterializeFP(const ConstantFP *CFP, MVT VT);
96 unsigned PPCMaterializeInt(const Constant *C, MVT VT);
117 unsigned PPCFastISel::PPCMaterializeFP(const ConstantFP *CFP, MVT VT) {
119 if (VT != MVT::f32 && VT != MVT::f64)
132 (VT == MVT::f32) ? 4 : 8, Align);
141 unsigned Opc = (VT == MVT::f32) ? PPC::LFS : PPC::LFD;
245 unsigned PPCFastISel::PPCMaterializeInt(const Constant *C, MVT VT) {
247 if (VT != MVT::i64 && VT != MVT::i32 && VT != MVT::i16 &&
248 VT != MVT::i8 && VT != MVT::i1)
251 const TargetRegisterClass *RC = ((VT == MVT::i64) ? &PPC::G8RCRegClass :
257 unsigned Opc = (VT == MVT::i64) ? PPC::LI8 : PPC::LI;
267 if (VT == MVT::i64)
269 else if (VT == MVT::i32)
282 MVT VT = CEVT.getSimpleVT();