Searched refs:reduction (Results 1 – 2 of 2) sorted by relevance
340 static bool HasReductionFormat(HInstruction* reduction, HInstruction* phi) { in HasReductionFormat() argument341 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() argument352 if (reduction->IsVecAdd() || in GetReductionKind()353 reduction->IsVecSub() || in GetReductionKind()354 reduction->IsVecSADAccumulate() || in GetReductionKind()[all …]
198 void GenerateVecReductionPhiInputs(HPhi* phi, HInstruction* reduction);