Home
last modified time | relevance | path

Searched refs:MaskSize (Results 1 – 4 of 4) sorted by relevance

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/
DInstCombineVectorOps.cpp726 int MaskSize = Shuf.getMask()->getType()->getVectorNumElements(); in isShuffleEquivalentToSelect() local
730 if (MaskSize != VecSize) in isShuffleEquivalentToSelect()
735 for (int i = 0; i != MaskSize; ++i) { in isShuffleEquivalentToSelect()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/
DX86ISelDAGToDAG.cpp3557 uint64_t MaskSize = countPopulation(Mask); in matchBEXTRFromAndImm() local
3561 if (Shift == 8 && MaskSize == 8) in matchBEXTRFromAndImm()
3566 if (Shift + MaskSize > NVT.getSizeInBits()) in matchBEXTRFromAndImm()
3572 if (!PreferBEXTR && MaskSize <= 32) in matchBEXTRFromAndImm()
3583 Control = CurDAG->getTargetConstant(Shift + MaskSize, dl, NVT); in matchBEXTRFromAndImm()
3593 Control = CurDAG->getTargetConstant(Shift | (MaskSize << 8), dl, NVT); in matchBEXTRFromAndImm()
DX86ISelLowering.cpp7223 size_t MaskSize = std::max(SrcMask0.size(), SrcMask1.size()); in getFauxShuffleMask() local
7225 scaleShuffleMask<int>(MaskSize / SrcMask0.size(), SrcMask0, Mask0); in getFauxShuffleMask()
7226 scaleShuffleMask<int>(MaskSize / SrcMask1.size(), SrcMask1, Mask1); in getFauxShuffleMask()
7227 for (size_t i = 0; i != MaskSize; ++i) { in getFauxShuffleMask()
7235 Mask.push_back(Mask1[i] + (int)(MaskSize * SrcInputs0.size())); in getFauxShuffleMask()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/SelectionDAG/
DDAGCombiner.cpp19045 int MaskSize = Mask.size(); in getShuffleMaskIndexOfOneElementFromOp0IntoOp1() local
19051 for (int i = 0; i != MaskSize; ++i) { in getShuffleMaskIndexOfOneElementFromOp0IntoOp1()
19052 if (Mask[i] >= 0 && Mask[i] < MaskSize) { in getShuffleMaskIndexOfOneElementFromOp0IntoOp1()
19057 } else if (Mask[i] != i + MaskSize) { in getShuffleMaskIndexOfOneElementFromOp0IntoOp1()