Lines Matching refs:instr
41 HInstruction* instr = it.Current();
42 if (instr->IsArithmeticBinaryOperation()) {
43 if (instr->representation().IsInteger32()) {
44 if (instr->HasAtLeastOneUseWithFlagAndNoneWithout(
46 instr->SetFlag(HInstruction::kAllUsesTruncatingToInt32);
48 } else if (instr->representation().IsSmi()) {
49 if (instr->HasAtLeastOneUseWithFlagAndNoneWithout(
51 instr->SetFlag(HInstruction::kAllUsesTruncatingToSmi);
52 } else if (instr->HasAtLeastOneUseWithFlagAndNoneWithout(
55 instr->SetFlag(HInstruction::kAllUsesTruncatingToInt32);
71 HInstruction* instr = it.Current();
72 HValue* value = instr->Canonicalize();
73 if (value != instr) instr->DeleteAndReplaceWith(value);