Home
last modified time | relevance | path

Searched refs:LHSShuffle (Results 1 – 3 of 3) sorted by relevance

/external/llvm/lib/Transforms/InstCombine/
DInstCombineVectorOps.cpp1127 ShuffleVectorInst* LHSShuffle = dyn_cast<ShuffleVectorInst>(LHS); in visitShuffleVectorInst() local
1129 if (LHSShuffle) in visitShuffleVectorInst()
1130 if (!isa<UndefValue>(LHSShuffle->getOperand(1)) && !isa<UndefValue>(RHS)) in visitShuffleVectorInst()
1131 LHSShuffle = nullptr; in visitShuffleVectorInst()
1135 if (!LHSShuffle && !RHSShuffle) in visitShuffleVectorInst()
1143 if (LHSShuffle) { in visitShuffleVectorInst()
1144 LHSOp0 = LHSShuffle->getOperand(0); in visitShuffleVectorInst()
1145 LHSOp1 = LHSShuffle->getOperand(1); in visitShuffleVectorInst()
1154 if (LHSShuffle) { in visitShuffleVectorInst()
1181 LHSMask = LHSShuffle->getShuffleMask(); in visitShuffleVectorInst()
/external/llvm-project/llvm/lib/Transforms/InstCombine/
DInstCombineVectorOps.cpp2512 ShuffleVectorInst* LHSShuffle = dyn_cast<ShuffleVectorInst>(LHS); in visitShuffleVectorInst() local
2514 if (LHSShuffle) in visitShuffleVectorInst()
2515 if (!isa<UndefValue>(LHSShuffle->getOperand(1)) && !isa<UndefValue>(RHS)) in visitShuffleVectorInst()
2516 LHSShuffle = nullptr; in visitShuffleVectorInst()
2520 if (!LHSShuffle && !RHSShuffle) in visitShuffleVectorInst()
2528 if (LHSShuffle) { in visitShuffleVectorInst()
2529 LHSOp0 = LHSShuffle->getOperand(0); in visitShuffleVectorInst()
2530 LHSOp1 = LHSShuffle->getOperand(1); in visitShuffleVectorInst()
2539 if (LHSShuffle) { in visitShuffleVectorInst()
2566 LHSMask = LHSShuffle->getShuffleMask(); in visitShuffleVectorInst()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/
DInstCombineVectorOps.cpp2101 ShuffleVectorInst* LHSShuffle = dyn_cast<ShuffleVectorInst>(LHS); in visitShuffleVectorInst() local
2103 if (LHSShuffle) in visitShuffleVectorInst()
2104 if (!isa<UndefValue>(LHSShuffle->getOperand(1)) && !isa<UndefValue>(RHS)) in visitShuffleVectorInst()
2105 LHSShuffle = nullptr; in visitShuffleVectorInst()
2109 if (!LHSShuffle && !RHSShuffle) in visitShuffleVectorInst()
2117 if (LHSShuffle) { in visitShuffleVectorInst()
2118 LHSOp0 = LHSShuffle->getOperand(0); in visitShuffleVectorInst()
2119 LHSOp1 = LHSShuffle->getOperand(1); in visitShuffleVectorInst()
2128 if (LHSShuffle) { in visitShuffleVectorInst()
2155 LHSMask = LHSShuffle->getShuffleMask(); in visitShuffleVectorInst()