Lines Matching refs:GetReg
91 res = RawLIR(current_dalvik_offset_, opcode, r_dest.GetReg(), r_src.GetReg()); in OpFpRegCopy()
93 res = RawLIR(current_dalvik_offset_, opcode, r_src.GetReg(), r_dest.GetReg()); in OpFpRegCopy()
142 res = NewLIR2(kMipsMove, r_dest.GetReg(), rZERO); in LoadConstantNoClobber()
145 res = NewLIR3(kMipsOri, r_dest.GetReg(), rZERO, value); in LoadConstantNoClobber()
148 res = NewLIR3(kMipsAddiu, r_dest.GetReg(), rZERO, value); in LoadConstantNoClobber()
150 res = NewLIR2(kMipsLui, r_dest.GetReg(), value >> 16); in LoadConstantNoClobber()
152 NewLIR3(kMipsOri, r_dest.GetReg(), r_dest.GetReg(), value); in LoadConstantNoClobber()
156 NewLIR2(kMipsMtc1, r_dest.GetReg(), r_dest_save.GetReg()); in LoadConstantNoClobber()
177 res = NewLIR3(kMipsOri, r_dest.GetReg(), rZEROd, value); in LoadConstantWideNoClobber()
179 res = NewLIR3(kMips64Daddiu, r_dest.GetReg(), rZEROd, value); in LoadConstantWideNoClobber()
181 res = NewLIR2(kMipsLui, r_dest.GetReg(), value >> 16); in LoadConstantWideNoClobber()
184 res = NewLIR2(kMipsLui, r_dest.GetReg(), value >> 16); in LoadConstantWideNoClobber()
185 NewLIR3(kMipsOri, r_dest.GetReg(), r_dest.GetReg(), value); in LoadConstantWideNoClobber()
187 res = NewLIR3(kMipsOri, r_dest.GetReg(), rZEROd, value); in LoadConstantWideNoClobber()
188 NewLIR2(kMips64Dahi, r_dest.GetReg(), value >> 32); in LoadConstantWideNoClobber()
190 res = NewLIR3(kMipsOri, r_dest.GetReg(), rZEROd, value); in LoadConstantWideNoClobber()
191 NewLIR2(kMips64Dati, r_dest.GetReg(), value >> 48); in LoadConstantWideNoClobber()
194 res = NewLIR2(kMipsLui, r_dest.GetReg(), value >> 16); in LoadConstantWideNoClobber()
195 NewLIR2(kMips64Dahi, r_dest.GetReg(), (value >> 32) + bit31); in LoadConstantWideNoClobber()
197 res = NewLIR2(kMipsLui, r_dest.GetReg(), value >> 16); in LoadConstantWideNoClobber()
198 NewLIR2(kMips64Dati, r_dest.GetReg(), (value >> 48) + bit31); in LoadConstantWideNoClobber()
208 res = NewLIR3(kMipsOri, r_dest.GetReg(), rZEROd, tmp); in LoadConstantWideNoClobber()
209 NewLIR3((shift_cnt < 32) ? kMips64Dsll : kMips64Dsll32, r_dest.GetReg(), r_dest.GetReg(), in LoadConstantWideNoClobber()
212 res = NewLIR3(kMips64Daddiu, r_dest.GetReg(), rZEROd, tmp); in LoadConstantWideNoClobber()
213 NewLIR3((shift_cnt < 32) ? kMips64Dsll : kMips64Dsll32, r_dest.GetReg(), r_dest.GetReg(), in LoadConstantWideNoClobber()
217 res = NewLIR2(kMipsLui, r_dest.GetReg(), tmp >> 16); in LoadConstantWideNoClobber()
218 NewLIR3(kMipsOri, r_dest.GetReg(), r_dest.GetReg(), tmp); in LoadConstantWideNoClobber()
219 NewLIR3((shift_cnt < 32) ? kMips64Dsll : kMips64Dsll32, r_dest.GetReg(), r_dest.GetReg(), in LoadConstantWideNoClobber()
230 res = NewLIR3(kMipsOri, r_dest.GetReg(), rZEROd, tmp); in LoadConstantWideNoClobber()
231 NewLIR3((shift_cnt < 32) ? kMips64Dsll : kMips64Dsll32, r_dest.GetReg(), r_dest.GetReg(), in LoadConstantWideNoClobber()
233 NewLIR3(kMipsOri, r_dest.GetReg(), r_dest.GetReg(), value); in LoadConstantWideNoClobber()
235 res = NewLIR3(kMips64Daddiu, r_dest.GetReg(), rZEROd, tmp); in LoadConstantWideNoClobber()
236 NewLIR3((shift_cnt < 32) ? kMips64Dsll : kMips64Dsll32, r_dest.GetReg(), r_dest.GetReg(), in LoadConstantWideNoClobber()
238 NewLIR3(kMipsOri, r_dest.GetReg(), r_dest.GetReg(), value); in LoadConstantWideNoClobber()
243 res = NewLIR2(kMipsLui, r_dest.GetReg(), tmp2 >> 16); in LoadConstantWideNoClobber()
247 NewLIR3(kMipsOri, r_dest.GetReg(), r_dest.GetReg(), tmp2); in LoadConstantWideNoClobber()
249 res = NewLIR3(kMipsOri, r_dest.GetReg(), rZEROd, tmp2); in LoadConstantWideNoClobber()
255 NewLIR2(kMips64Dahi, r_dest.GetReg(), tmp2 >> 32); in LoadConstantWideNoClobber()
261 NewLIR2(kMips64Dati, r_dest.GetReg(), tmp2 >> 48); in LoadConstantWideNoClobber()
268 NewLIR2(kMips64Dmtc1, r_dest.GetReg(), r_dest_save.GetReg()); in LoadConstantWideNoClobber()
287 return NewLIR2(kMipsJalr, rZERO, r_dest_src.GetReg()); in OpReg()
292 return NewLIR2(opcode, cu_->target64 ? rRAd : rRA, r_dest_src.GetReg()); in OpReg()
343 return NewLIR3(opcode, r_dest.GetReg(), r_src1.GetReg(), r_src2.GetReg()); in OpRegRegReg()
446 res = NewLIR3(opcode, r_dest.GetReg(), r_src1.GetReg(), value); in OpRegRegImm()
450 NewLIR3(opcode, r_dest.GetReg(), r_src1.GetReg(), r_dest.GetReg()); in OpRegRegImm()
460 NewLIR3(opcode, r_dest.GetReg(), r_src1.GetReg(), r_scratch.GetReg()); in OpRegRegImm()
474 return NewLIR3(kMipsNor, r_dest_src1.GetReg(), r_src2.GetReg(), rZERO); in OpRegReg()
477 return NewLIR3(kMips64Dsubu, r_dest_src1.GetReg(), rZEROd, r_src2.GetReg()); in OpRegReg()
479 return NewLIR3(kMipsSubu, r_dest_src1.GetReg(), rZERO, r_src2.GetReg()); in OpRegReg()
490 res = NewLIR2(kMipsSeb, r_dest_src1.GetReg(), r_src2.GetReg()); in OpRegReg()
494 res = NewLIR2(kMipsSeb, r_dest_src1.GetReg(), r_src2.GetReg()); in OpRegReg()
503 res = NewLIR2(kMipsSeh, r_dest_src1.GetReg(), r_src2.GetReg()); in OpRegReg()
507 res = NewLIR2(kMipsSeh, r_dest_src1.GetReg(), r_src2.GetReg()); in OpRegReg()
515 return NewLIR3(kMipsAndi, r_dest_src1.GetReg(), r_src2.GetReg(), 0xFFFF); in OpRegReg()
520 return NewLIR2(opcode, r_dest_src1.GetReg(), r_src2.GetReg()); in OpRegReg()
562 NewLIR2(kMipsMthc1, r_temp.GetReg(), r_dest.GetReg()); in LoadConstantWide()
589 first = NewLIR3(kMips64Daddu, t_reg.GetReg() , r_base.GetReg(), r_index.GetReg()); in LoadBaseIndexed()
591 first = NewLIR3(kMipsAddu, t_reg.GetReg() , r_base.GetReg(), r_index.GetReg()); in LoadBaseIndexed()
595 NewLIR3(kMips64Daddu, t_reg.GetReg() , r_base.GetReg(), t_reg.GetReg()); in LoadBaseIndexed()
599 first = NewLIR3(kMipsAddu, t_reg.GetReg() , r_base.GetReg(), r_index.GetReg()); in LoadBaseIndexed()
602 NewLIR3(kMipsAddu, t_reg.GetReg() , r_base.GetReg(), t_reg.GetReg()); in LoadBaseIndexed()
637 res = NewLIR3(opcode, r_dest.GetReg(), 0, t_reg.GetReg()); in LoadBaseIndexed()
660 first = NewLIR3(add_opcode, t_reg.GetReg() , r_base.GetReg(), r_index.GetReg()); in StoreBaseIndexed()
663 NewLIR3(add_opcode, t_reg.GetReg() , r_base.GetReg(), t_reg.GetReg()); in StoreBaseIndexed()
685 NewLIR3(opcode, r_src.GetReg(), 0, t_reg.GetReg()); in StoreBaseIndexed()
761 load = res = NewLIR3(opcode, r_dest.GetReg(), displacement, r_base.GetReg()); in LoadBaseDispBody()
765 load = NewLIR3(opcode, r_dest.GetReg(), 0, r_tmp.GetReg()); in LoadBaseDispBody()
779 load = res = NewLIR3(opcode, r_dest.GetReg(), displacement, r_base.GetReg()); in LoadBaseDispBody()
784 r_base.GetReg()); in LoadBaseDispBody()
785 load2 = NewLIR3(opcode, r_dest.GetHighReg(), displacement + HIWORD_OFFSET, r_base.GetReg()); in LoadBaseDispBody()
791 load = res = NewLIR3(kMipsFlwc1, r_dest.GetReg(), displacement + LOWORD_OFFSET, in LoadBaseDispBody()
792 r_base.GetReg()); in LoadBaseDispBody()
793 load2 = NewLIR3(kMipsLw, r_tmp.GetReg(), displacement + HIWORD_OFFSET, r_base.GetReg()); in LoadBaseDispBody()
794 NewLIR2(kMipsMthc1, r_tmp.GetReg(), r_dest.GetReg()); in LoadBaseDispBody()
802 load = NewLIR3(opcode, r_dest.GetReg(), 0, r_tmp.GetReg()); in LoadBaseDispBody()
810 load = NewLIR3(opcode, r_dest.GetLowReg(), LOWORD_OFFSET, r_tmp.GetReg()); in LoadBaseDispBody()
811 load2 = NewLIR3(opcode, r_dest.GetHighReg(), HIWORD_OFFSET, r_tmp.GetReg()); in LoadBaseDispBody()
815 load = res = NewLIR3(kMipsFlwc1, r_dest.GetReg(), LOWORD_OFFSET, r_tmp.GetReg()); in LoadBaseDispBody()
816 load2 = NewLIR3(kMipsLw, r_tmp.GetReg(), HIWORD_OFFSET, r_tmp.GetReg()); in LoadBaseDispBody()
817 NewLIR2(kMipsMthc1, r_tmp.GetReg(), r_dest.GetReg()); in LoadBaseDispBody()
933 store = res = NewLIR3(opcode, r_src.GetReg(), displacement, r_base.GetReg()); in StoreBaseDispBody()
937 store = NewLIR3(opcode, r_src.GetReg(), 0, r_scratch.GetReg()); in StoreBaseDispBody()
950 store = res = NewLIR3(opcode, r_src.GetReg(), displacement, r_base.GetReg()); in StoreBaseDispBody()
955 r_base.GetReg()); in StoreBaseDispBody()
956 store2 = NewLIR3(opcode, r_src.GetHighReg(), displacement + HIWORD_OFFSET, r_base.GetReg()); in StoreBaseDispBody()
961 store = res = NewLIR3(kMipsFswc1, r_src.GetReg(), displacement + LOWORD_OFFSET, in StoreBaseDispBody()
962 r_base.GetReg()); in StoreBaseDispBody()
963 NewLIR2(kMipsMfhc1, r_tmp.GetReg(), r_src.GetReg()); in StoreBaseDispBody()
964 store2 = NewLIR3(kMipsSw, r_tmp.GetReg(), displacement + HIWORD_OFFSET, r_base.GetReg()); in StoreBaseDispBody()
972 store = NewLIR3(opcode, r_src.GetReg(), 0, r_scratch.GetReg()); in StoreBaseDispBody()
976 store = NewLIR3(opcode, r_src.GetLowReg(), LOWORD_OFFSET, r_scratch.GetReg()); in StoreBaseDispBody()
977 store2 = NewLIR3(opcode, r_src.GetHighReg(), HIWORD_OFFSET, r_scratch.GetReg()); in StoreBaseDispBody()
982 store = NewLIR3(kMipsFswc1, r_src.GetReg(), LOWORD_OFFSET, r_scratch.GetReg()); in StoreBaseDispBody()
983 NewLIR2(kMipsMfhc1, r_tmp.GetReg(), r_src.GetReg()); in StoreBaseDispBody()
984 store2 = NewLIR3(kMipsSw, r_tmp.GetReg(), HIWORD_OFFSET, r_scratch.GetReg()); in StoreBaseDispBody()