Home
last modified time | relevance | path

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

/external/llvm-project/llvm/lib/Transforms/InstCombine/
DInstCombineVectorOps.cpp2216 auto *Shuffle0 = dyn_cast<ShuffleVectorInst>(Shuf.getOperand(0)); in foldIdentityPaddedShuffles() local
2218 if (!Shuffle0 || !Shuffle0->isIdentityWithPadding() || in foldIdentityPaddedShuffles()
2227 Value *X = Shuffle0->getOperand(0); in foldIdentityPaddedShuffles()
2232 cast<FixedVectorType>(Shuffle0->getType())->getNumElements()) || in foldIdentityPaddedShuffles()
2236 assert(isa<UndefValue>(Shuffle0->getOperand(1)) && in foldIdentityPaddedShuffles()
2245 int WideElts = cast<FixedVectorType>(Shuffle0->getType())->getNumElements(); in foldIdentityPaddedShuffles()
2257 if (Shuffle0->getMaskValue(Mask[i]) == -1) in foldIdentityPaddedShuffles()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/
DInstCombineVectorOps.cpp1839 auto *Shuffle0 = dyn_cast<ShuffleVectorInst>(Shuf.getOperand(0)); in foldIdentityPaddedShuffles() local
1841 if (!Shuffle0 || !Shuffle0->isIdentityWithPadding() || in foldIdentityPaddedShuffles()
1850 Value *X = Shuffle0->getOperand(0); in foldIdentityPaddedShuffles()
1854 !isPowerOf2_32(Shuffle0->getType()->getVectorNumElements()) || in foldIdentityPaddedShuffles()
1858 assert(isa<UndefValue>(Shuffle0->getOperand(1)) && in foldIdentityPaddedShuffles()
1867 int WideElts = Shuffle0->getType()->getVectorNumElements(); in foldIdentityPaddedShuffles()
1880 if (Shuffle0->getMaskValue(Mask[i]) == -1) in foldIdentityPaddedShuffles()