Searched refs:reduction (Results 1 – 2 of 2) sorted by relevance
342 static bool HasReductionFormat(HInstruction* reduction, HInstruction* phi) { in HasReductionFormat() argument343 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() argument354 if (reduction->IsVecAdd() || in GetReductionKind()355 reduction->IsVecSub() || in GetReductionKind()356 reduction->IsVecSADAccumulate() || in GetReductionKind()[all …]
206 void GenerateVecReductionPhiInputs(HPhi* phi, HInstruction* reduction);