Home
last modified time | relevance | path

Searched refs:WhichResult (Results 1 – 2 of 2) sorted by relevance

/external/llvm/lib/Target/ARM/
DARMISelLowering.cpp5095 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()
[all …]
/external/llvm/lib/Target/AArch64/
DAArch64ISelLowering.cpp5127 static bool isZIPMask(ArrayRef<int> M, EVT VT, unsigned &WhichResult) { in isZIPMask() argument
5129 WhichResult = (M[0] == 0 ? 0 : 1); in isZIPMask()
5130 unsigned Idx = WhichResult * NumElts / 2; in isZIPMask()
5141 static bool isUZPMask(ArrayRef<int> M, EVT VT, unsigned &WhichResult) { in isUZPMask() argument
5143 WhichResult = (M[0] == 0 ? 0 : 1); in isUZPMask()
5147 if ((unsigned)M[i] != 2 * i + WhichResult) in isUZPMask()
5154 static bool isTRNMask(ArrayRef<int> M, EVT VT, unsigned &WhichResult) { in isTRNMask() argument
5156 WhichResult = (M[0] == 0 ? 0 : 1); in isTRNMask()
5158 if ((M[i] >= 0 && (unsigned)M[i] != i + WhichResult) || in isTRNMask()
5159 (M[i + 1] >= 0 && (unsigned)M[i + 1] != i + NumElts + WhichResult)) in isTRNMask()
[all …]