Searched refs:type_conversion (Results 1 – 2 of 2) sorted by relevance
124 HTypeConversion* type_conversion = nullptr; in AddTypeConversionIfNecessary() local128 type_conversion = new (GetGraph()->GetAllocator()) HTypeConversion( in AddTypeConversionIfNecessary()130 instruction->GetBlock()->InsertInstructionBefore(type_conversion, instruction); in AddTypeConversionIfNecessary()132 return type_conversion; in AddTypeConversionIfNecessary()164 void TryToReuseTypeConversion(HInstruction* type_conversion, size_t index) { in TryToReuseTypeConversion() argument181 type_conversion->GetBlock()->Dominates(load2->GetBlock()) && in TryToReuseTypeConversion()184 (load2->GetBlock() == type_conversion->GetBlock() || in TryToReuseTypeConversion()187 DCHECK(type_conversion->StrictlyDominates(load2)); in TryToReuseTypeConversion()188 load2->ReplaceWith(type_conversion); in TryToReuseTypeConversion()191 substitute_instructions_for_loads_[j] = type_conversion; in TryToReuseTypeConversion()[all …]
1086 static bool IsTypeConversionForStoringIntoNoWiderFieldOnly(HTypeConversion* type_conversion) { in IsTypeConversionForStoringIntoNoWiderFieldOnly() argument1087 if (type_conversion->HasEnvironmentUses()) { in IsTypeConversionForStoringIntoNoWiderFieldOnly()1090 DataType::Type input_type = type_conversion->GetInputType(); in IsTypeConversionForStoringIntoNoWiderFieldOnly()1091 DataType::Type result_type = type_conversion->GetResultType(); in IsTypeConversionForStoringIntoNoWiderFieldOnly()1109 for (const HUseListNode<HInstruction*>& use : type_conversion->GetUses()) { in IsTypeConversionForStoringIntoNoWiderFieldOnly()1113 DCHECK_EQ(instruction->AsInstanceFieldSet()->GetValue(), type_conversion); in IsTypeConversionForStoringIntoNoWiderFieldOnly()1118 DCHECK_EQ(instruction->AsStaticFieldSet()->GetValue(), type_conversion); in IsTypeConversionForStoringIntoNoWiderFieldOnly()1124 instruction->AsArraySet()->GetIndex() != type_conversion) { in IsTypeConversionForStoringIntoNoWiderFieldOnly()1125 DCHECK_EQ(instruction->AsArraySet()->GetValue(), type_conversion); in IsTypeConversionForStoringIntoNoWiderFieldOnly()1412 HTypeConversion* type_conversion = new (GetGraph()->GetAllocator()) HTypeConversion( in VisitAnd() local[all …]