Home
last modified time | relevance | path

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

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