Lines Matching refs:WhichResult
4806 static bool isVTRNMask(ArrayRef<int> M, EVT VT, unsigned &WhichResult) { in isVTRNMask() argument
4812 WhichResult = (M[0] == 0 ? 0 : 1); in isVTRNMask()
4814 if ((M[i] >= 0 && (unsigned) M[i] != i + WhichResult) || in isVTRNMask()
4815 (M[i+1] >= 0 && (unsigned) M[i+1] != i + NumElts + WhichResult)) in isVTRNMask()
4824 static bool isVTRN_v_undef_Mask(ArrayRef<int> M, EVT VT, unsigned &WhichResult){ in isVTRN_v_undef_Mask() argument
4830 WhichResult = (M[0] == 0 ? 0 : 1); in isVTRN_v_undef_Mask()
4832 if ((M[i] >= 0 && (unsigned) M[i] != i + WhichResult) || in isVTRN_v_undef_Mask()
4833 (M[i+1] >= 0 && (unsigned) M[i+1] != i + WhichResult)) in isVTRN_v_undef_Mask()
4839 static bool isVUZPMask(ArrayRef<int> M, EVT VT, unsigned &WhichResult) { in isVUZPMask() argument
4845 WhichResult = (M[0] == 0 ? 0 : 1); in isVUZPMask()
4848 if ((unsigned) M[i] != 2 * i + WhichResult) in isVUZPMask()
4862 static bool isVUZP_v_undef_Mask(ArrayRef<int> M, EVT VT, unsigned &WhichResult){ in isVUZP_v_undef_Mask() argument
4868 WhichResult = (M[0] == 0 ? 0 : 1); in isVUZP_v_undef_Mask()
4870 unsigned Idx = WhichResult; in isVUZP_v_undef_Mask()
4886 static bool isVZIPMask(ArrayRef<int> M, EVT VT, unsigned &WhichResult) { in isVZIPMask() argument
4892 WhichResult = (M[0] == 0 ? 0 : 1); in isVZIPMask()
4893 unsigned Idx = WhichResult * NumElts / 2; in isVZIPMask()
4911 static bool isVZIP_v_undef_Mask(ArrayRef<int> M, EVT VT, unsigned &WhichResult){ in isVZIP_v_undef_Mask() argument
4917 WhichResult = (M[0] == 0 ? 0 : 1); in isVZIP_v_undef_Mask()
4918 unsigned Idx = WhichResult * NumElts / 2; in isVZIP_v_undef_Mask()
5349 unsigned Imm, WhichResult; in isShuffleMaskLegal() local
5359 isVTRNMask(M, VT, WhichResult) || in isShuffleMaskLegal()
5360 isVUZPMask(M, VT, WhichResult) || in isShuffleMaskLegal()
5361 isVZIPMask(M, VT, WhichResult) || in isShuffleMaskLegal()
5362 isVTRN_v_undef_Mask(M, VT, WhichResult) || in isShuffleMaskLegal()
5363 isVUZP_v_undef_Mask(M, VT, WhichResult) || in isShuffleMaskLegal()
5364 isVZIP_v_undef_Mask(M, VT, WhichResult) || in isShuffleMaskLegal()
5555 unsigned WhichResult; in LowerVECTOR_SHUFFLE() local
5556 if (isVTRNMask(ShuffleMask, VT, WhichResult)) in LowerVECTOR_SHUFFLE()
5558 V1, V2).getValue(WhichResult); in LowerVECTOR_SHUFFLE()
5559 if (isVUZPMask(ShuffleMask, VT, WhichResult)) in LowerVECTOR_SHUFFLE()
5561 V1, V2).getValue(WhichResult); in LowerVECTOR_SHUFFLE()
5562 if (isVZIPMask(ShuffleMask, VT, WhichResult)) in LowerVECTOR_SHUFFLE()
5564 V1, V2).getValue(WhichResult); in LowerVECTOR_SHUFFLE()
5566 if (isVTRN_v_undef_Mask(ShuffleMask, VT, WhichResult)) in LowerVECTOR_SHUFFLE()
5568 V1, V1).getValue(WhichResult); in LowerVECTOR_SHUFFLE()
5569 if (isVUZP_v_undef_Mask(ShuffleMask, VT, WhichResult)) in LowerVECTOR_SHUFFLE()
5571 V1, V1).getValue(WhichResult); in LowerVECTOR_SHUFFLE()
5572 if (isVZIP_v_undef_Mask(ShuffleMask, VT, WhichResult)) in LowerVECTOR_SHUFFLE()
5574 V1, V1).getValue(WhichResult); in LowerVECTOR_SHUFFLE()