Home
last modified time | relevance | path

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

/art/compiler/optimizing/
Dinstruction_simplifier_shared.cc123 HBinaryOperation* binop = use->AsBinaryOperation(); in TryCombineMultiplyAccumulate() local
124 HInstruction* binop_left = binop->GetLeft(); in TryCombineMultiplyAccumulate()
125 HInstruction* binop_right = binop->GetRight(); in TryCombineMultiplyAccumulate()
139 binop->GetKind(), in TryCombineMultiplyAccumulate()
144 binop->GetBlock()->ReplaceAndRemoveInstructionWith(binop, mulacc); in TryCombineMultiplyAccumulate()
313 HVecBinaryOperation* binop = use->AsVecBinaryOperation(); in TryCombineVecMultiplyAccumulate() local
314 HInstruction* binop_left = binop->GetLeft(); in TryCombineVecMultiplyAccumulate()
315 HInstruction* binop_right = binop->GetRight(); in TryCombineVecMultiplyAccumulate()
334 binop->GetPackedType(), in TryCombineVecMultiplyAccumulate()
335 binop->GetVectorLength()); in TryCombineVecMultiplyAccumulate()
[all …]
Dinstruction_simplifier.cc59 bool TryMoveNegOnInputsAfterBinop(HBinaryOperation* binop);
163 bool InstructionSimplifierVisitor::TryMoveNegOnInputsAfterBinop(HBinaryOperation* binop) { in TryMoveNegOnInputsAfterBinop() argument
164 DCHECK(binop->IsAdd() || binop->IsSub()); in TryMoveNegOnInputsAfterBinop()
165 DCHECK(binop->GetLeft()->IsNeg() && binop->GetRight()->IsNeg()); in TryMoveNegOnInputsAfterBinop()
166 HNeg* left_neg = binop->GetLeft()->AsNeg(); in TryMoveNegOnInputsAfterBinop()
167 HNeg* right_neg = binop->GetRight()->AsNeg(); in TryMoveNegOnInputsAfterBinop()
182 if (!Primitive::IsIntegralType(binop->GetType())) { in TryMoveNegOnInputsAfterBinop()
185 binop->ReplaceInput(left_neg->GetInput(), 0); in TryMoveNegOnInputsAfterBinop()
186 binop->ReplaceInput(right_neg->GetInput(), 1); in TryMoveNegOnInputsAfterBinop()
189 HNeg* neg = new (GetGraph()->GetArena()) HNeg(binop->GetType(), binop); in TryMoveNegOnInputsAfterBinop()
[all …]