Lines Matching refs:true_val
218 int32_t true_val, int32_t false_val, RegStorage rs_dest, in GenSelectConst32() argument
222 DCHECK(InexpensiveConstantInt(true_val)); in GenSelectConst32()
225 if ((true_val == 0 && code == kCondEq) || in GenSelectConst32()
230 LoadConstant(rs_dest, code == kCondEq ? false_val : true_val); in GenSelectConst32()
237 LoadConstant(rs_dest, true_val); // .eq case - load true in GenSelectConst32()
254 int true_val = mir->dalvikInsn.vB; in GenSelect() local
260 std::swap(true_val, false_val); in GenSelect()
263 if (cheap_false_val && ccode == kCondEq && (true_val == 0 || true_val == -1)) { in GenSelect()
264 OpRegRegImm(kOpSub, rl_result.reg, rl_src.reg, -true_val); in GenSelect()
266 LIR* it = OpIT(true_val == 0 ? kCondNe : kCondUge, ""); in GenSelect()
269 } else if (cheap_false_val && ccode == kCondEq && true_val == 1) { in GenSelect()
275 } else if (cheap_false_val && InexpensiveConstantInt(true_val)) { in GenSelect()
278 LoadConstant(rl_result.reg, true_val); in GenSelect()
285 LoadConstant(t_reg1, true_val); in GenSelect()