Lines Matching full:loc
38 RegLocation ArmMir2Lir::ArgLoc(RegLocation loc) {
39 int arg_num = InPosition(loc.s_reg_low);
40 if (loc.wide) {
43 loc.location = kLocInvalid;
45 loc.low_reg = rARM_ARG1 + arg_num;
46 loc.high_reg = loc.low_reg + 1;
47 loc.location = kLocPhysReg;
49 loc.location = kLocDalvikFrame;
53 loc.low_reg = rARM_ARG1 + arg_num;
54 loc.location = kLocPhysReg;
56 loc.location = kLocDalvikFrame;
59 return loc;
67 RegLocation ArmMir2Lir::LoadArg(RegLocation loc) {
68 if (loc.location == kLocDalvikFrame) {
69 int start = (InPosition(loc.s_reg_low) + 1) * sizeof(uint32_t);
70 loc.low_reg = AllocTemp();
71 LoadWordDisp(rARM_SP, start, loc.low_reg);
72 if (loc.wide) {
73 loc.high_reg = AllocTemp();
74 LoadWordDisp(rARM_SP, start + sizeof(uint32_t), loc.high_reg);
76 loc.location = kLocPhysReg;
78 return loc;