/art/compiler/dex/ |
mir_optimization.cc | 50 if (mir->ssa_rep == nullptr) { 68 SetConstant(mir->ssa_rep->defs[0], vB); 71 SetConstant(mir->ssa_rep->defs[0], vB << 16); 75 SetConstantWide(mir->ssa_rep->defs[0], static_cast<int64_t>(vB)); 78 SetConstantWide(mir->ssa_rep->defs[0], d_insn->vB_wide); 81 SetConstantWide(mir->ssa_rep->defs[0], static_cast<int64_t>(vB) << 48); 91 for (i = 0; i < mir->ssa_rep->num_uses; i++) { 92 if (!is_constant_v_->IsBitSet(mir->ssa_rep->uses[i])) break; 95 if (i == mir->ssa_rep->num_uses) { 96 SetConstant(mir->ssa_rep->defs[0], constant_values_[mir->ssa_rep->uses[0]]) [all...] |
local_value_numbering.cc | 468 for (uint16_t i = 0u; i != mir->ssa_rep->num_uses; ++i) { 469 uint16_t value_name = lvn->GetOperandValue(mir->ssa_rep->uses[i]); [all...] |
vreg_analysis.cc | 125 SSARepresentation *ssa_rep = mir->ssa_rep; local 136 if (ssa_rep) { 138 const int* uses = ssa_rep->uses; 139 const int* defs = ssa_rep->defs; 267 SSARepresentation* tgt_rep = move_result_mir->ssa_rep; 292 ssa_rep->fp_use[i] = true; 293 ssa_rep->fp_use[i+1] = true; 310 ssa_rep->fp_use[i] = true; 326 for (int i = 0; ssa_rep->fp_use && i< ssa_rep->num_uses; i++) [all...] |
mir_dataflow.cc | 1018 mir->ssa_rep->num_uses = num_uses; 1020 if (mir->ssa_rep->num_uses_allocated < num_uses) { 1021 mir->ssa_rep->uses = static_cast<int*>(arena_->Alloc(sizeof(int) * num_uses, kArenaAllocDFInfo)); 1023 mir->ssa_rep->fp_use = static_cast<bool*>(arena_->Alloc(sizeof(bool) * num_uses, kArenaAllocDFInfo)); 1028 mir->ssa_rep->num_defs = num_defs; 1030 if (mir->ssa_rep->num_defs_allocated < num_defs) { 1031 mir->ssa_rep->defs = static_cast<int*>(arena_->Alloc(sizeof(int) * num_defs, 1033 mir->ssa_rep->fp_def = static_cast<bool*>(arena_->Alloc(sizeof(bool) * num_defs, 1047 HandleSSAUse(mir->ssa_rep->uses, d_insn->arg[i], i); 1060 HandleSSAUse(mir->ssa_rep->uses, d_insn->vC+i, i) [all...] |
mir_graph.cc | 1222 SSARepresentation* ssa_rep = mir->ssa_rep; local 2078 SSARepresentation *ssa_rep = mir->ssa_rep; local [all...] |
global_value_numbering.cc | 128 int s_reg = pred_bb->last_mir_insn->ssa_rep->uses[0]; 208 int s_reg = pred_bb->last_mir_insn->ssa_rep->uses[0];
|
mir_graph.h | 353 SSARepresentation* ssa_rep; member in struct:art::MIR 372 next(nullptr), ssa_rep(nullptr) { 770 DCHECK(num < mir->ssa_rep->num_uses); 771 RegLocation res = reg_location_[mir->ssa_rep->uses[num]]; 776 DCHECK_GT(mir->ssa_rep->num_defs, 0); 777 RegLocation res = reg_location_[mir->ssa_rep->defs[0]]; [all...] |
local_value_numbering_test.cc | 149 mir->ssa_rep = &ssa_reps_[i]; 150 mir->ssa_rep->num_uses = def->num_uses; 151 mir->ssa_rep->uses = const_cast<int32_t*>(def->uses); // Not modified by LVN. 152 mir->ssa_rep->fp_use = nullptr; // Not used by LVN. 153 mir->ssa_rep->num_defs = def->num_defs; 154 mir->ssa_rep->defs = const_cast<int32_t*>(def->defs); // Not modified by LVN. 155 mir->ssa_rep->fp_def = nullptr; // Not used by LVN.
|
ssa_transformation.cc | 552 int ssa_reg = mir->ssa_rep->defs[0]; 560 int* uses = mir->ssa_rep->uses;
|
global_value_numbering_test.cc | 257 mir->ssa_rep = &ssa_reps_[i]; 258 mir->ssa_rep->num_uses = def->num_uses; 259 mir->ssa_rep->uses = const_cast<int32_t*>(def->uses); // Not modified by LVN. 260 mir->ssa_rep->fp_use = nullptr; // Not used by LVN. 261 mir->ssa_rep->num_defs = def->num_defs; 262 mir->ssa_rep->defs = const_cast<int32_t*>(def->defs); // Not modified by LVN. 263 mir->ssa_rep->fp_def = nullptr; // Not used by LVN. [all...] |
mir_optimization_test.cc | 171 mir->ssa_rep = nullptr;
|
/art/compiler/dex/quick/ |
mir_to_lir.cc | 1184 SSARepresentation* ssa_rep = work_half->ssa_rep; local [all...] |
/art/compiler/dex/portable/ |
mir_to_gbc.cc | 1734 SSARepresentation* ssa_rep = work_half->ssa_rep; local [all...] |
/art/compiler/dex/quick/arm/ |
int_arm.cc | 239 if (mir->ssa_rep->num_uses == 1) { 282 RegLocation rl_true = mir_graph_->reg_location_[mir->ssa_rep->uses[1]]; 283 RegLocation rl_false = mir_graph_->reg_location_[mir->ssa_rep->uses[2]]; [all...] |
/art/compiler/dex/quick/arm64/ |
int_arm64.cc | 192 if (mir->ssa_rep->num_uses == 1) { 198 RegLocation rl_true = mir_graph_->reg_location_[mir->ssa_rep->uses[1]]; 199 RegLocation rl_false = mir_graph_->reg_location_[mir->ssa_rep->uses[2]]; [all...] |
/art/compiler/dex/quick/x86/ |
int_x86.cc | 280 const bool is_constant_case = (mir->ssa_rep->num_uses == 1); [all...] |