Lines Matching refs:WhichResult

5095 static bool isVTRNMask(ArrayRef<int> M, EVT VT, unsigned &WhichResult) {  in isVTRNMask()  argument
5111 WhichResult = i / NumElts; in isVTRNMask()
5113 WhichResult = M[i] == 0 ? 0 : 1; in isVTRNMask()
5115 if ((M[i+j] >= 0 && (unsigned) M[i+j] != j + WhichResult) || in isVTRNMask()
5116 (M[i+j+1] >= 0 && (unsigned) M[i+j+1] != j + NumElts + WhichResult)) in isVTRNMask()
5122 WhichResult = 0; in isVTRNMask()
5130 static bool isVTRN_v_undef_Mask(ArrayRef<int> M, EVT VT, unsigned &WhichResult){ in isVTRN_v_undef_Mask() argument
5141 WhichResult = i / NumElts; in isVTRN_v_undef_Mask()
5143 WhichResult = M[i] == 0 ? 0 : 1; in isVTRN_v_undef_Mask()
5145 if ((M[i+j] >= 0 && (unsigned) M[i+j] != j + WhichResult) || in isVTRN_v_undef_Mask()
5146 (M[i+j+1] >= 0 && (unsigned) M[i+j+1] != j + WhichResult)) in isVTRN_v_undef_Mask()
5152 WhichResult = 0; in isVTRN_v_undef_Mask()
5165 static bool isVUZPMask(ArrayRef<int> M, EVT VT, unsigned &WhichResult) { in isVUZPMask() argument
5175 WhichResult = M[i] == 0 ? 0 : 1; in isVUZPMask()
5177 if (M[i+j] >= 0 && (unsigned) M[i+j] != 2 * j + WhichResult) in isVUZPMask()
5183 WhichResult = 0; in isVUZPMask()
5195 static bool isVUZP_v_undef_Mask(ArrayRef<int> M, EVT VT, unsigned &WhichResult){ in isVUZP_v_undef_Mask() argument
5206 WhichResult = M[i] == 0 ? 0 : 1; in isVUZP_v_undef_Mask()
5208 unsigned Idx = WhichResult; in isVUZP_v_undef_Mask()
5219 WhichResult = 0; in isVUZP_v_undef_Mask()
5236 static bool isVZIPMask(ArrayRef<int> M, EVT VT, unsigned &WhichResult) { in isVZIPMask() argument
5246 WhichResult = M[i] == 0 ? 0 : 1; in isVZIPMask()
5247 unsigned Idx = WhichResult * NumElts / 2; in isVZIPMask()
5257 WhichResult = 0; in isVZIPMask()
5269 static bool isVZIP_v_undef_Mask(ArrayRef<int> M, EVT VT, unsigned &WhichResult){ in isVZIP_v_undef_Mask() argument
5279 WhichResult = M[i] == 0 ? 0 : 1; in isVZIP_v_undef_Mask()
5280 unsigned Idx = WhichResult * NumElts / 2; in isVZIP_v_undef_Mask()
5290 WhichResult = 0; in isVZIP_v_undef_Mask()
5302 unsigned &WhichResult, in isNEONTwoResultShuffleMask() argument
5305 if (isVTRNMask(ShuffleMask, VT, WhichResult)) in isNEONTwoResultShuffleMask()
5307 if (isVUZPMask(ShuffleMask, VT, WhichResult)) in isNEONTwoResultShuffleMask()
5309 if (isVZIPMask(ShuffleMask, VT, WhichResult)) in isNEONTwoResultShuffleMask()
5313 if (isVTRN_v_undef_Mask(ShuffleMask, VT, WhichResult)) in isNEONTwoResultShuffleMask()
5315 if (isVUZP_v_undef_Mask(ShuffleMask, VT, WhichResult)) in isNEONTwoResultShuffleMask()
5317 if (isVZIP_v_undef_Mask(ShuffleMask, VT, WhichResult)) in isNEONTwoResultShuffleMask()
5798 unsigned Imm, WhichResult; in isShuffleMaskLegal() local
5808 isNEONTwoResultShuffleMask(M, VT, WhichResult, isV_UNDEF) || in isShuffleMaskLegal()
5999 unsigned WhichResult; in LowerVECTOR_SHUFFLE() local
6002 ShuffleMask, VT, WhichResult, isV_UNDEF)) { in LowerVECTOR_SHUFFLE()
6006 .getValue(WhichResult); in LowerVECTOR_SHUFFLE()
6036 ShuffleMask, SubVT, WhichResult, isV_UNDEF)) { in LowerVECTOR_SHUFFLE()
6039 assert((WhichResult == 0) && in LowerVECTOR_SHUFFLE()