Lines Matching refs:MVT
72 bool EmitLoad(MVT VT, unsigned &ResultReg, Address &Addr,
74 bool EmitStore(MVT VT, unsigned SrcReg, Address &Addr,
80 bool isTypeLegal(Type *Ty, MVT &VT);
81 bool isLoadTypeLegal(Type *Ty, MVT &VT);
83 unsigned MaterializeFP(const ConstantFP *CFP, MVT VT);
84 unsigned MaterializeGV(const GlobalValue *GV, MVT VT);
85 unsigned MaterializeInt(const Constant *C, MVT VT);
119 bool MipsFastISel::isTypeLegal(Type *Ty, MVT &VT) { in isTypeLegal()
122 if (evt == MVT::Other || !evt.isSimple()) in isTypeLegal()
131 bool MipsFastISel::isLoadTypeLegal(Type *Ty, MVT &VT) { in isLoadTypeLegal()
137 if (VT == MVT::i8 || VT == MVT::i16) in isLoadTypeLegal()
155 bool MipsFastISel::EmitLoad(MVT VT, unsigned &ResultReg, Address &Addr, in EmitLoad()
162 case MVT::i32: { in EmitLoad()
167 case MVT::i16: { in EmitLoad()
172 case MVT::i8: { in EmitLoad()
177 case MVT::f32: { in EmitLoad()
182 case MVT::f64: { in EmitLoad()
202 MVT VT = CEVT.getSimpleVT(); in TargetMaterializeConstant()
214 bool MipsFastISel::EmitStore(MVT VT, unsigned SrcReg, Address &Addr, in EmitStore()
221 case MVT::i8: in EmitStore()
224 case MVT::i16: in EmitStore()
227 case MVT::i32: in EmitStore()
230 case MVT::f32: in EmitStore()
233 case MVT::f64: in EmitStore()
249 MVT VT; in SelectLoad()
274 MVT VT; in SelectStore()
322 unsigned MipsFastISel::MaterializeFP(const ConstantFP *CFP, MVT VT) { in MaterializeFP()
324 if (VT == MVT::f32) { in MaterializeFP()
330 } else if (VT == MVT::f64) { in MaterializeFP()
342 unsigned MipsFastISel::MaterializeGV(const GlobalValue *GV, MVT VT) { in MaterializeGV()
344 if (VT != MVT::i32) in MaterializeGV()
357 unsigned MipsFastISel::MaterializeInt(const Constant *C, MVT VT) { in MaterializeInt()
358 if (VT != MVT::i32 && VT != MVT::i16 && VT != MVT::i8 && VT != MVT::i1) in MaterializeInt()