Searched refs:insn1 (Results 1 – 1 of 1) sorted by relevance
776 static bool IsSameSizeConstant(const HInstruction* insn1, const HInstruction* insn2) { in IsSameSizeConstant() argument777 return insn1->IsConstant() in IsSameSizeConstant()779 && DataType::Is64BitType(insn1->GetType()) == DataType::Is64BitType(insn2->GetType()); in IsSameSizeConstant()782 static bool IsConstantEquivalent(const HInstruction* insn1, in IsConstantEquivalent() argument785 if (insn1->IsPhi() && in IsConstantEquivalent()786 insn1->AsPhi()->IsVRegEquivalentOf(insn2)) { in IsConstantEquivalent()787 HConstInputsRef insn1_inputs = insn1->GetInputs(); in IsConstantEquivalent()794 if (visited->IsBitSet(insn1->GetId())) { in IsConstantEquivalent()797 visited->SetBit(insn1->GetId()); in IsConstantEquivalent()805 } else if (IsSameSizeConstant(insn1, insn2)) { in IsConstantEquivalent()[all …]