Home
last modified time | relevance | path

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

/art/compiler/optimizing/
Dinstruction_simplifier_shared.cc343 HInstruction* last_sub_right = last_sub->GetRight(); in TryReplaceSubSubWithSubAdd() local
345 if (last_sub_right->GetUses().HasExactlyOneElement()) { in TryReplaceSubSubWithSubAdd()
347 HInstruction* a = last_sub_right->InputAt(0); in TryReplaceSubSubWithSubAdd()
348 HInstruction* b = last_sub_right->InputAt(1); in TryReplaceSubSubWithSubAdd()
349 last_sub_right->ReplaceInput(b, 0); in TryReplaceSubSubWithSubAdd()
350 last_sub_right->ReplaceInput(a, 1); in TryReplaceSubSubWithSubAdd()
353 HAdd* add = new (allocator) HAdd(last_sub->GetType(), last_sub_left, last_sub_right); in TryReplaceSubSubWithSubAdd()