Searched refs:WhichResult (Results 1 – 4 of 4) sorted by relevance
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/ |
H A D | AArch64PerfectShuffle.h | 6631 unsigned WhichResult = 2; in isZIPMask() local 6634 WhichResult = ((unsigned)M[i * 2] == i ? 0 : 1); in isZIPMask() 6637 WhichResult = ((unsigned)M[i * 2 + 1] == NumElts + i ? 0 : 1); in isZIPMask() 6641 if (WhichResult == 2) in isZIPMask() 6645 unsigned Idx = WhichResult * NumElts / 2; in isZIPMask() 6652 WhichResultOut = WhichResult; in isZIPMask() 6662 unsigned WhichResult = 2; in isUZPMask() local 6665 WhichResult = ((unsigned)M[i] == i * 2 ? 0 : 1); in isUZPMask() 6669 if (WhichResult == 2) in isUZPMask() 6676 if ((unsigned)M[i] != 2 * i + WhichResult) in isUZPMask() [all …]
|
H A D | AArch64ISelLowering.cpp | 12541 static bool isZIP_v_undef_Mask(ArrayRef<int> M, EVT VT, unsigned &WhichResult) { in isZIP_v_undef_Mask() argument 12545 WhichResult = (M[0] == 0 ? 0 : 1); in isZIP_v_undef_Mask() 12546 unsigned Idx = WhichResult * NumElts / 2; in isZIP_v_undef_Mask() 12560 static bool isUZP_v_undef_Mask(ArrayRef<int> M, EVT VT, unsigned &WhichResult) { in isUZP_v_undef_Mask() argument 12562 WhichResult = (M[0] == 0 ? 0 : 1); in isUZP_v_undef_Mask() 12564 unsigned Idx = WhichResult; in isUZP_v_undef_Mask() 12579 static bool isTRN_v_undef_Mask(ArrayRef<int> M, EVT VT, unsigned &WhichResult) { in isTRN_v_undef_Mask() argument 12583 WhichResult = (M[0] == 0 ? 0 : 1); in isTRN_v_undef_Mask() 12585 if ((M[i] >= 0 && (unsigned)M[i] != i + WhichResult) || in isTRN_v_undef_Mask() 12586 (M[i + 1] >= 0 && (unsigned)M[i + 1] != i + WhichResult)) in isTRN_v_undef_Mask() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/GISel/ |
H A D | AArch64PostLegalizerLowering.cpp | 196 unsigned WhichResult; in matchTRN() local 200 if (!isTRNMask(ShuffleMask, NumElts, WhichResult)) in matchTRN() 202 unsigned Opc = (WhichResult == 0) ? AArch64::G_TRN1 : AArch64::G_TRN2; in matchTRN() 217 unsigned WhichResult; in matchUZP() local 221 if (!isUZPMask(ShuffleMask, NumElts, WhichResult)) in matchUZP() 223 unsigned Opc = (WhichResult == 0) ? AArch64::G_UZP1 : AArch64::G_UZP2; in matchUZP() 233 unsigned WhichResult; in matchZip() local 237 if (!isZIPMask(ShuffleMask, NumElts, WhichResult)) in matchZip() 239 unsigned Opc = (WhichResult == 0) ? AArch64::G_ZIP1 : AArch64::G_ZIP2; in matchZip()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/ARM/ |
H A D | ARMISelLowering.cpp | 7356 static bool isVTRNMask(ArrayRef<int> M, EVT VT, unsigned &WhichResult) { in isVTRNMask() argument 7371 WhichResult = SelectPairHalf(NumElts, M, i); in isVTRNMask() 7373 if ((M[i+j] >= 0 && (unsigned) M[i+j] != j + WhichResult) || in isVTRNMask() 7374 (M[i+j+1] >= 0 && (unsigned) M[i+j+1] != j + NumElts + WhichResult)) in isVTRNMask() 7380 WhichResult = 0; in isVTRNMask() 7388 static bool isVTRN_v_undef_Mask(ArrayRef<int> M, EVT VT, unsigned &WhichResult){ in isVTRN_v_undef_Mask() argument 7398 WhichResult = SelectPairHalf(NumElts, M, i); in isVTRN_v_undef_Mask() 7400 if ((M[i+j] >= 0 && (unsigned) M[i+j] != j + WhichResult) || in isVTRN_v_undef_Mask() 7401 (M[i+j+1] >= 0 && (unsigned) M[i+j+1] != j + WhichResult)) in isVTRN_v_undef_Mask() 7407 WhichResult = 0; in isVTRN_v_undef_Mask() [all …]
|