Lines Matching refs:AVG
21806 case X86ISD::AVG: {
21807 // Legalize types for X86ISD::AVG by expanding vectors.
21831 SDValue Res = DAG.getNode(X86ISD::AVG, dl, RegVT, InVec0, InVec1);
22321 case X86ISD::AVG: return "X86ISD::AVG";
28658 /// This function detects the AVG pattern between vectors of unsigned i8/i16,
28660 /// X86ISD::AVG instruction.
28674 // InScalarVT is the intermediate type in AVG pattern and it should be greater
28743 // demote it and emit X86ISD::AVG instruction.
28747 return DAG.getNode(X86ISD::AVG, DL, VT, Operands[0].getOperand(0),
28771 // The pattern is detected, emit X86ISD::AVG instruction.
28772 return DAG.getNode(X86ISD::AVG, DL, VT, Operands[0].getOperand(0),
29209 // Check if we can detect an AVG pattern from the truncation. If yes,
29210 // replace the trunc store by a normal store with the result of X86ISD::AVG
29212 if (SDValue Avg = detectAVGPattern(St->getValue(), St->getMemoryVT(), DAG,
29214 return DAG.getStore(St->getChain(), dl, Avg, St->getBasePtr(),
29718 // Try to detect AVG pattern first.
29719 if (SDValue Avg = detectAVGPattern(Src, VT, DAG, Subtarget, DL))
29720 return Avg;