Home
last modified time | relevance | path

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

/art/compiler/optimizing/
Dloop_optimization.cc340 static bool HasReductionFormat(HInstruction* reduction, HInstruction* phi) { in HasReductionFormat() argument
341 if (reduction->IsAdd()) { in HasReductionFormat()
342 return (reduction->InputAt(0) == phi && reduction->InputAt(1) != phi) || in HasReductionFormat()
343 (reduction->InputAt(0) != phi && reduction->InputAt(1) == phi); in HasReductionFormat()
344 } else if (reduction->IsSub()) { in HasReductionFormat()
345 return (reduction->InputAt(0) == phi && reduction->InputAt(1) != phi); in HasReductionFormat()
351 static HVecReduce::ReductionKind GetReductionKind(HVecOperation* reduction) { in GetReductionKind() argument
352 if (reduction->IsVecAdd() || in GetReductionKind()
353 reduction->IsVecSub() || in GetReductionKind()
354 reduction->IsVecSADAccumulate() || in GetReductionKind()
[all …]
Dloop_optimization.h198 void GenerateVecReductionPhiInputs(HPhi* phi, HInstruction* reduction);