Home
last modified time | relevance | path

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

/external/mesa3d/src/gallium/drivers/radeon/
DAMDILPeepholeOptimizer.cpp495 Constant *LHSMask = NULL, *RHSMask = NULL; in optimizeBitInsert() local
511 if (!setupBitInsert(RHS, RHSSrc, RHSMask, RHSShift)) { in optimizeBitInsert()
517 if (RHSMask) { RHSMask->dump(); } in optimizeBitInsert()
532 dbgs() << "RHS Mask: "; if (RHSMask) { RHSMask->dump(); } else { dbgs() << "(None)\n"; } in optimizeBitInsert()
543 rhsMaskVal = (int32_t)(RHSMask in optimizeBitInsert()
544 ? dyn_cast<ConstantInt>(RHSMask)->getZExtValue() : 0); in optimizeBitInsert()
557 dbgs() << (RHSMask ? " & E)" : ")"); in optimizeBitInsert()
/external/llvm/utils/PerfectShuffle/
DPerfectShuffle.cpp127 unsigned short getTransformedMask(unsigned short LHSMask, unsigned RHSMask) { in getTransformedMask()
136 ResElt = getMaskElt(RHSMask, SrcElt-4); in getTransformedMask()
/external/llvm/lib/Transforms/InstCombine/
DInstCombineVectorOps.cpp1090 SmallVector<int, 16> RHSMask; in visitShuffleVectorInst() local
1094 RHSMask = RHSShuffle->getShuffleMask(); in visitShuffleVectorInst()
1130 eltMask = RHSMask[Mask[i]-LHSWidth]; in visitShuffleVectorInst()
1163 if (isSplat || newMask == LHSMask || newMask == RHSMask || newMask == Mask) { in visitShuffleVectorInst()
/external/llvm/lib/CodeGen/SelectionDAG/
DDAGCombiner.cpp3643 const APInt &RHSMask = N1O1C->getAPIntValue(); in visitORLike() local
3645 if (DAG.MaskedValueIsZero(N0.getOperand(0), RHSMask&~LHSMask) && in visitORLike()
3646 DAG.MaskedValueIsZero(N1.getOperand(0), LHSMask&~RHSMask)) { in visitORLike()
3651 DAG.getConstant(LHSMask | RHSMask, DL, VT)); in visitORLike()
3988 SDValue RHSMask; // AND value if any. in MatchRotate() local
3989 if (!MatchRotateHalf(RHS, RHSShift, RHSMask)) in MatchRotate()
4002 std::swap(LHSMask, RHSMask); in MatchRotate()
4023 if (LHSMask.getNode() || RHSMask.getNode()) { in MatchRotate()
4033 if (RHSMask.getNode()) { in MatchRotate()
4036 DAG.getNode(ISD::OR, DL, VT, RHSMask, in MatchRotate()
[all …]