/external/swiftshader/third_party/llvm-7.0/llvm/utils/PerfectShuffle/ |
D | PerfectShuffle.cpp | 127 unsigned short getTransformedMask(unsigned short LHSMask, unsigned RHSMask) { in getTransformedMask() 136 ResElt = getMaskElt(RHSMask, SrcElt-4); in getTransformedMask()
|
/external/swiftshader/third_party/LLVM/utils/PerfectShuffle/ |
D | PerfectShuffle.cpp | 127 unsigned short getTransformedMask(unsigned short LHSMask, unsigned RHSMask) { in getTransformedMask() 136 ResElt = getMaskElt(RHSMask, SrcElt-4); in getTransformedMask()
|
/external/llvm/utils/PerfectShuffle/ |
D | PerfectShuffle.cpp | 127 unsigned short getTransformedMask(unsigned short LHSMask, unsigned RHSMask) { in getTransformedMask() 136 ResElt = getMaskElt(RHSMask, SrcElt-4); in getTransformedMask()
|
/external/llvm/lib/Transforms/InstCombine/ |
D | InstCombineVectorOps.cpp | 1179 SmallVector<int, 16> RHSMask; in visitShuffleVectorInst() local 1183 RHSMask = RHSShuffle->getShuffleMask(); in visitShuffleVectorInst() 1219 eltMask = RHSMask[Mask[i]-LHSWidth]; in visitShuffleVectorInst() 1252 if (isSplat || newMask == LHSMask || newMask == RHSMask || newMask == Mask) { in visitShuffleVectorInst()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/InstCombine/ |
D | InstCombineAndOrXor.cpp | 578 unsigned LHSMask, unsigned RHSMask, in foldLogOpOfMaskedICmpsAsymmetric() argument 589 RHSMask = conjugateICmpMask(RHSMask); in foldLogOpOfMaskedICmpsAsymmetric() 591 if ((LHSMask & Mask_NotAllZeros) && (RHSMask & BMask_Mixed)) { in foldLogOpOfMaskedICmpsAsymmetric() 597 } else if ((LHSMask & BMask_Mixed) && (RHSMask & Mask_NotAllZeros)) { in foldLogOpOfMaskedICmpsAsymmetric() 620 unsigned RHSMask = MaskPair->second; in foldLogOpOfMaskedICmps() local 621 unsigned Mask = LHSMask & RHSMask; in foldLogOpOfMaskedICmps() 626 LHS, RHS, IsAnd, A, B, C, D, E, PredL, PredR, LHSMask, RHSMask, in foldLogOpOfMaskedICmps()
|
D | InstCombineVectorOps.cpp | 1613 SmallVector<int, 16> RHSMask; in visitShuffleVectorInst() local 1617 RHSMask = RHSShuffle->getShuffleMask(); in visitShuffleVectorInst() 1653 eltMask = RHSMask[Mask[i]-LHSWidth]; in visitShuffleVectorInst() 1686 if (isSplat || newMask == LHSMask || newMask == RHSMask || newMask == Mask) { in visitShuffleVectorInst()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AMDGPU/ |
D | SIISelLowering.cpp | 6492 uint32_t RHSMask = getPermuteMask(DAG, RHS); in performAndCombine() local 6493 if (LHSMask != ~0u && RHSMask != ~0u) { in performAndCombine() 6496 if (LHSMask > RHSMask) { in performAndCombine() 6497 std::swap(LHSMask, RHSMask); in performAndCombine() 6504 uint32_t RHSUsedLanes = ~(RHSMask & 0x0c0c0c0c) & 0x0c0c0c0c; in performAndCombine() 6516 uint32_t Mask = LHSMask & RHSMask; in performAndCombine() 6519 if ((LHSMask & ByteSel) == 0x0c || (RHSMask & ByteSel) == 0x0c) in performAndCombine() 6589 uint32_t RHSMask = getPermuteMask(DAG, RHS); in performOrCombine() local 6590 if (LHSMask != ~0u && RHSMask != ~0u) { in performOrCombine() 6593 if (LHSMask > RHSMask) { in performOrCombine() [all …]
|
/external/swiftshader/third_party/LLVM/lib/CodeGen/SelectionDAG/ |
D | DAGCombiner.cpp | 2845 const APInt &RHSMask = in visitOR() local 2848 if (DAG.MaskedValueIsZero(N0.getOperand(0), RHSMask&~LHSMask) && in visitOR() 2849 DAG.MaskedValueIsZero(N1.getOperand(0), LHSMask&~RHSMask)) { in visitOR() 2853 DAG.getConstant(LHSMask | RHSMask, VT)); in visitOR() 2908 SDValue RHSMask; // AND value if any. in MatchRotate() local 2909 if (!MatchRotateHalf(RHS, RHSShift, RHSMask)) in MatchRotate() 2922 std::swap(LHSMask , RHSMask ); in MatchRotate() 2946 if (LHSMask.getNode() || RHSMask.getNode()) { in MatchRotate() 2953 if (RHSMask.getNode()) { in MatchRotate() 2955 Mask &= cast<ConstantSDNode>(RHSMask)->getAPIntValue() | LHSBits; in MatchRotate() [all …]
|
/external/llvm/lib/CodeGen/SelectionDAG/ |
D | DAGCombiner.cpp | 3680 const APInt &RHSMask = N1O1C->getAPIntValue(); in visitORLike() local 3682 if (DAG.MaskedValueIsZero(N0.getOperand(0), RHSMask&~LHSMask) && in visitORLike() 3683 DAG.MaskedValueIsZero(N1.getOperand(0), LHSMask&~RHSMask)) { in visitORLike() 3688 DAG.getConstant(LHSMask | RHSMask, DL, VT)); in visitORLike() 4036 SDValue RHSMask; // AND value if any. in MatchRotate() local 4037 if (!MatchRotateHalf(RHS, RHSShift, RHSMask)) in MatchRotate() 4050 std::swap(LHSMask, RHSMask); in MatchRotate() 4071 if (LHSMask.getNode() || RHSMask.getNode()) { in MatchRotate() 4081 if (RHSMask.getNode()) { in MatchRotate() 4084 DAG.getNode(ISD::OR, DL, VT, RHSMask, in MatchRotate() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/SelectionDAG/ |
D | DAGCombiner.cpp | 4971 const APInt &RHSMask = N1O1C->getAPIntValue(); in visitORLike() local 4973 if (DAG.MaskedValueIsZero(N0.getOperand(0), RHSMask&~LHSMask) && in visitORLike() 4974 DAG.MaskedValueIsZero(N1.getOperand(0), LHSMask&~RHSMask)) { in visitORLike() 4978 DAG.getConstant(LHSMask | RHSMask, DL, VT)); in visitORLike() 5467 SDValue RHSMask; // AND value if any. in MatchRotate() local 5468 matchRotateHalf(DAG, RHS, RHSShift, RHSMask); in MatchRotate() 5485 extractShiftForRotate(DAG, LHSShift, RHS, RHSMask, DL)) in MatchRotate() 5509 std::swap(LHSMask, RHSMask); in MatchRotate() 5529 if (LHSMask.getNode() || RHSMask.getNode()) { in MatchRotate() 5538 if (RHSMask.getNode()) { in MatchRotate() [all …]
|