Home
last modified time | relevance | path

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

/external/llvm/lib/Target/X86/
DX86ISelLowering.cpp25367 int OpRatio = std::max<int>(1, RootMask.size() / OpMask.size()); in combineX86ShufflesRecursively() local
25368 assert(((RootRatio == 1 && OpRatio == 1) || in combineX86ShufflesRecursively()
25369 (RootRatio == 1) != (OpRatio == 1)) && in combineX86ShufflesRecursively()
25388 int OpIdx = RootMaskedIdx / OpRatio; in combineX86ShufflesRecursively()
25397 Mask.push_back(OpMask[OpIdx] * OpRatio + in combineX86ShufflesRecursively()
25398 RootMaskedIdx % OpRatio); in combineX86ShufflesRecursively()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/X86/
DX86ISelLowering.cpp30240 unsigned OpRatio = std::max<unsigned>(1, RootMask.size() >> OpMaskSizeLog2); in combineX86ShufflesRecursively() local
30241 assert((RootRatio == 1 || OpRatio == 1) && in combineX86ShufflesRecursively()
30246 assert(isPowerOf2_32(OpRatio) && "Non-power-of-2 shuffle mask sizes"); in combineX86ShufflesRecursively()
30248 unsigned OpRatioLog2 = countTrailingZeros(OpRatio); in combineX86ShufflesRecursively()
30288 OpRatio == 1 in combineX86ShufflesRecursively()
30290 : (OpMask[OpIdx] << OpRatioLog2) + (RootMaskedIdx & (OpRatio - 1)); in combineX86ShufflesRecursively()