Home | History | Annotate | Download | only in optimizing

Lines Matching refs:insn1

668 static bool IsSameSizeConstant(const HInstruction* insn1, const HInstruction* insn2) {
669 return insn1->IsConstant()
671 && Primitive::Is64BitType(insn1->GetType()) == Primitive::Is64BitType(insn2->GetType());
674 static bool IsConstantEquivalent(const HInstruction* insn1,
677 if (insn1->IsPhi() &&
678 insn1->AsPhi()->IsVRegEquivalentOf(insn2)) {
679 HConstInputsRef insn1_inputs = insn1->GetInputs();
686 if (visited->IsBitSet(insn1->GetId())) {
689 visited->SetBit(insn1->GetId());
697 } else if (IsSameSizeConstant(insn1, insn2)) {
698 return insn1->AsConstant()->GetValueAsUint64() == insn2->AsConstant()->GetValueAsUint64();