Searched refs:WhichResult (Results 1 – 4 of 4) sorted by relevance
| /freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/ |
| H A D | AArch64PerfectShuffle.h | 6632 unsigned WhichResult = 2; in isZIPMask() local 6635 WhichResult = ((unsigned)M[i * 2] == i ? 0 : 1); in isZIPMask() 6638 WhichResult = ((unsigned)M[i * 2 + 1] == NumElts + i ? 0 : 1); in isZIPMask() 6642 if (WhichResult == 2) in isZIPMask() 6646 unsigned Idx = WhichResult * NumElts / 2; in isZIPMask() 6653 WhichResultOut = WhichResult; in isZIPMask() 6663 unsigned WhichResult = 2; in isUZPMask() local 6666 WhichResult = ((unsigned)M[i] == i * 2 ? 0 : 1); in isUZPMask() 6670 if (WhichResult == 2) in isUZPMask() 6677 if ((unsigned)M[i] != 2 * i + WhichResult) in isUZPMask() [all …]
|
| H A D | AArch64ISelLowering.cpp | 13410 static bool isZIP_v_undef_Mask(ArrayRef<int> M, EVT VT, unsigned &WhichResult) { in isZIP_v_undef_Mask() argument 13414 WhichResult = (M[0] == 0 ? 0 : 1); in isZIP_v_undef_Mask() 13415 unsigned Idx = WhichResult * NumElts / 2; in isZIP_v_undef_Mask() 13429 static bool isUZP_v_undef_Mask(ArrayRef<int> M, EVT VT, unsigned &WhichResult) { in isUZP_v_undef_Mask() argument 13431 WhichResult = (M[0] == 0 ? 0 : 1); in isUZP_v_undef_Mask() 13433 unsigned Idx = WhichResult; in isUZP_v_undef_Mask() 13448 static bool isTRN_v_undef_Mask(ArrayRef<int> M, EVT VT, unsigned &WhichResult) { in isTRN_v_undef_Mask() argument 13452 WhichResult = (M[0] == 0 ? 0 : 1); in isTRN_v_undef_Mask() 13454 if ((M[i] >= 0 && (unsigned)M[i] != i + WhichResult) || in isTRN_v_undef_Mask() 13455 (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 | 192 unsigned WhichResult; in matchTRN() local 196 if (!isTRNMask(ShuffleMask, NumElts, WhichResult)) in matchTRN() 198 unsigned Opc = (WhichResult == 0) ? AArch64::G_TRN1 : AArch64::G_TRN2; in matchTRN() 213 unsigned WhichResult; in matchUZP() local 217 if (!isUZPMask(ShuffleMask, NumElts, WhichResult)) in matchUZP() 219 unsigned Opc = (WhichResult == 0) ? AArch64::G_UZP1 : AArch64::G_UZP2; in matchUZP() 229 unsigned WhichResult; in matchZip() local 233 if (!isZIPMask(ShuffleMask, NumElts, WhichResult)) in matchZip() 235 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 | 7406 static bool isVTRNMask(ArrayRef<int> M, EVT VT, unsigned &WhichResult) { in isVTRNMask() argument 7421 WhichResult = SelectPairHalf(NumElts, M, i); in isVTRNMask() 7423 if ((M[i+j] >= 0 && (unsigned) M[i+j] != j + WhichResult) || in isVTRNMask() 7424 (M[i+j+1] >= 0 && (unsigned) M[i+j+1] != j + NumElts + WhichResult)) in isVTRNMask() 7430 WhichResult = 0; in isVTRNMask() 7438 static bool isVTRN_v_undef_Mask(ArrayRef<int> M, EVT VT, unsigned &WhichResult){ in isVTRN_v_undef_Mask() argument 7448 WhichResult = SelectPairHalf(NumElts, M, i); in isVTRN_v_undef_Mask() 7450 if ((M[i+j] >= 0 && (unsigned) M[i+j] != j + WhichResult) || in isVTRN_v_undef_Mask() 7451 (M[i+j+1] >= 0 && (unsigned) M[i+j+1] != j + WhichResult)) in isVTRN_v_undef_Mask() 7457 WhichResult = 0; in isVTRN_v_undef_Mask() [all …]
|