Home
last modified time | relevance | path

Searched refs:type_conversion (Results 1 – 2 of 2) sorted by relevance

/art/compiler/optimizing/
Dload_store_elimination.cc123 HTypeConversion* type_conversion = nullptr; in AddTypeConversionIfNecessary() local
127 type_conversion = new (GetGraph()->GetAllocator()) HTypeConversion( in AddTypeConversionIfNecessary()
129 instruction->GetBlock()->InsertInstructionBefore(type_conversion, instruction); in AddTypeConversionIfNecessary()
131 return type_conversion; in AddTypeConversionIfNecessary()
163 void TryToReuseTypeConversion(HInstruction* type_conversion, size_t index) { in TryToReuseTypeConversion() argument
178 type_conversion->GetBlock()->Dominates(load2->GetBlock()) && in TryToReuseTypeConversion()
181 (load2->GetBlock() == type_conversion->GetBlock() || in TryToReuseTypeConversion()
184 DCHECK(type_conversion->StrictlyDominates(load2)); in TryToReuseTypeConversion()
185 load2->ReplaceWith(type_conversion); in TryToReuseTypeConversion()
188 substitute_instructions_for_loads_[j] = type_conversion; in TryToReuseTypeConversion()
[all …]
Dinstruction_simplifier.cc1108 static bool IsTypeConversionForStoringIntoNoWiderFieldOnly(HTypeConversion* type_conversion) { in IsTypeConversionForStoringIntoNoWiderFieldOnly() argument
1109 if (type_conversion->HasEnvironmentUses()) { in IsTypeConversionForStoringIntoNoWiderFieldOnly()
1112 DataType::Type input_type = type_conversion->GetInputType(); in IsTypeConversionForStoringIntoNoWiderFieldOnly()
1113 DataType::Type result_type = type_conversion->GetResultType(); in IsTypeConversionForStoringIntoNoWiderFieldOnly()
1131 for (const HUseListNode<HInstruction*>& use : type_conversion->GetUses()) { in IsTypeConversionForStoringIntoNoWiderFieldOnly()
1135 DCHECK_EQ(instruction->AsInstanceFieldSet()->GetValue(), type_conversion); in IsTypeConversionForStoringIntoNoWiderFieldOnly()
1140 DCHECK_EQ(instruction->AsStaticFieldSet()->GetValue(), type_conversion); in IsTypeConversionForStoringIntoNoWiderFieldOnly()
1146 instruction->AsArraySet()->GetIndex() != type_conversion) { in IsTypeConversionForStoringIntoNoWiderFieldOnly()
1147 DCHECK_EQ(instruction->AsArraySet()->GetValue(), type_conversion); in IsTypeConversionForStoringIntoNoWiderFieldOnly()
1444 HTypeConversion* type_conversion = new (GetGraph()->GetAllocator()) HTypeConversion( in VisitAnd() local
[all …]