Lines Matching refs:R1
204 reg_id_t R1;
209 // base for R1.
211 R1 = opnd_get_base(op);
213 // Otherwise, we need to compute the addr into R1.
216 R1 = DR_REG_XAX;
218 CHECK(reg_is_pointer_sized(R1)); // otherwise R2 may be wrong.
220 // Pick R2 that's not R1 or used by the operand. It's OK if the instr uses
227 unused_registers.erase(R1);
234 CHECK(R1 != R2);
236 // Save the current values of R1 and R2.
237 dr_save_reg(drcontext, bb, instr, R1, SPILL_SLOT_1);
242 CHECK(drutil_insert_get_mem_addr(drcontext, bb, instr, op, R1, R2));
245 PRE(instr, and(drcontext, opnd_create_reg(R1), opnd_create_reg(R2)));
252 mov_st(drcontext, opnd_create_base_disp(R1, DR_REG_NULL, 0, 0, op_size),
258 mov_st(drcontext, OPND_CREATE_MEM32(R1, ofs), OPND_CREATE_INT32(0)));
263 dr_restore_reg(drcontext, bb, instr, R1, SPILL_SLOT_1);