Searched refs:insn1 (Results 1 – 1 of 1) sorted by relevance
1013 static bool IsSameSizeConstant(const HInstruction* insn1, const HInstruction* insn2) { in IsSameSizeConstant() argument1014 return insn1->IsConstant() in IsSameSizeConstant()1016 && DataType::Is64BitType(insn1->GetType()) == DataType::Is64BitType(insn2->GetType()); in IsSameSizeConstant()1019 static bool IsConstantEquivalent(const HInstruction* insn1, in IsConstantEquivalent() argument1022 if (insn1->IsPhi() && insn1->AsPhi()->IsVRegEquivalentOf(insn2)) { in IsConstantEquivalent()1023 HConstInputsRef insn1_inputs = insn1->GetInputs(); in IsConstantEquivalent()1030 if (visited->IsBitSet(insn1->GetId())) { in IsConstantEquivalent()1033 visited->SetBit(insn1->GetId()); in IsConstantEquivalent()1041 } else if (IsSameSizeConstant(insn1, insn2)) { in IsConstantEquivalent()1042 return insn1->AsConstant()->GetValueAsUint64() == insn2->AsConstant()->GetValueAsUint64(); in IsConstantEquivalent()