Home
last modified time | relevance | path

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

/art/compiler/optimizing/
Dinstruction_simplifier_shared.cc125 HBinaryOperation* binop = use->AsBinaryOperation(); in TryCombineMultiplyAccumulate() local
126 HInstruction* binop_left = binop->GetLeft(); in TryCombineMultiplyAccumulate()
127 HInstruction* binop_right = binop->GetRight(); in TryCombineMultiplyAccumulate()
141 binop->GetKind(), in TryCombineMultiplyAccumulate()
146 binop->GetBlock()->ReplaceAndRemoveInstructionWith(binop, mulacc); in TryCombineMultiplyAccumulate()
Dinstruction_simplifier.cc60 bool TryMoveNegOnInputsAfterBinop(HBinaryOperation* binop);
172 bool InstructionSimplifierVisitor::TryMoveNegOnInputsAfterBinop(HBinaryOperation* binop) { in TryMoveNegOnInputsAfterBinop() argument
173 DCHECK(binop->IsAdd() || binop->IsSub()); in TryMoveNegOnInputsAfterBinop()
174 DCHECK(binop->GetLeft()->IsNeg() && binop->GetRight()->IsNeg()); in TryMoveNegOnInputsAfterBinop()
175 HNeg* left_neg = binop->GetLeft()->AsNeg(); in TryMoveNegOnInputsAfterBinop()
176 HNeg* right_neg = binop->GetRight()->AsNeg(); in TryMoveNegOnInputsAfterBinop()
191 if (!DataType::IsIntegralType(binop->GetType())) { in TryMoveNegOnInputsAfterBinop()
194 binop->ReplaceInput(left_neg->GetInput(), 0); in TryMoveNegOnInputsAfterBinop()
195 binop->ReplaceInput(right_neg->GetInput(), 1); in TryMoveNegOnInputsAfterBinop()
198 HNeg* neg = new (GetGraph()->GetAllocator()) HNeg(binop->GetType(), binop); in TryMoveNegOnInputsAfterBinop()
[all …]