Lines Matching refs:mir

237       MIR* mir = &mirs_[i];  in DoPrepareMIRs()  local
240 bb->AppendMIR(mir); in DoPrepareMIRs()
241 mir->dalvikInsn.opcode = def->opcode; in DoPrepareMIRs()
242 mir->dalvikInsn.vB = static_cast<int32_t>(def->value); in DoPrepareMIRs()
243 mir->dalvikInsn.vB_wide = def->value; in DoPrepareMIRs()
246 mir->meta.ifield_lowering_info = def->field_info; in DoPrepareMIRs()
249 mir->meta.sfield_lowering_info = def->field_info; in DoPrepareMIRs()
251 mir->meta.phi_incoming = static_cast<BasicBlockId*>( in DoPrepareMIRs()
254 mir->meta.phi_incoming[i] = bb->predecessors->Get(i); in DoPrepareMIRs()
257 mir->ssa_rep = &ssa_reps_[i]; in DoPrepareMIRs()
258 mir->ssa_rep->num_uses = def->num_uses; in DoPrepareMIRs()
259 mir->ssa_rep->uses = const_cast<int32_t*>(def->uses); // Not modified by LVN. in DoPrepareMIRs()
260 mir->ssa_rep->fp_use = nullptr; // Not used by LVN. in DoPrepareMIRs()
261 mir->ssa_rep->num_defs = def->num_defs; in DoPrepareMIRs()
262 mir->ssa_rep->defs = const_cast<int32_t*>(def->defs); // Not modified by LVN. in DoPrepareMIRs()
263 mir->ssa_rep->fp_def = nullptr; // Not used by LVN. in DoPrepareMIRs()
264 mir->dalvikInsn.opcode = def->opcode; in DoPrepareMIRs()
265 mir->offset = i; // LVN uses offset only for debug output in DoPrepareMIRs()
266 mir->optimization_flags = 0u; in DoPrepareMIRs()
300 for (MIR* mir = bb->first_mir_insn; mir != nullptr; mir = mir->next) { in DoPerformGVN() local
301 value_names_[mir - mirs_] = lvn->GetValueNumber(mir); in DoPerformGVN()
318 for (MIR* mir = bb->first_mir_insn; mir != nullptr; mir = mir->next) { in PerformGVNCodeModifications() local
319 uint16_t value_name = lvn->GetValueNumber(mir); in PerformGVNCodeModifications()
320 ASSERT_EQ(value_name, value_names_[mir - mirs_]); in PerformGVNCodeModifications()