Home
last modified time | relevance | path

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

/external/mesa3d/src/gallium/drivers/radeon/
DAMDILPeepholeOptimizer.cpp495 Constant *LHSMask = NULL, *RHSMask = NULL; in optimizeBitInsert() local
499 if (!setupBitInsert(LHS, LHSSrc, LHSMask, LHSShift)) { in optimizeBitInsert()
505 if (LHSMask) { LHSMask->dump(); } in optimizeBitInsert()
528 dbgs() << "LHS Mask: "; if (LHSMask) { LHSMask->dump(); } else { dbgs() << "(None)\n"; } in optimizeBitInsert()
541 lhsMaskVal = (int32_t)(LHSMask in optimizeBitInsert()
542 ? dyn_cast<ConstantInt>(LHSMask)->getZExtValue() : 0); in optimizeBitInsert()
555 dbgs() << "Found pattern: \'((A" << (LHSMask ? " & B)" : ")"); in optimizeBitInsert()
/external/llvm/utils/PerfectShuffle/
DPerfectShuffle.cpp127 unsigned short getTransformedMask(unsigned short LHSMask, unsigned RHSMask) { in getTransformedMask()
134 ResElt = getMaskElt(LHSMask, SrcElt); in getTransformedMask()
/external/llvm/lib/Transforms/InstCombine/
DInstCombineVectorOps.cpp1089 SmallVector<int, 16> LHSMask; in visitShuffleVectorInst() local
1092 LHSMask = LHSShuffle->getShuffleMask(); in visitShuffleVectorInst()
1113 eltMask = LHSMask[Mask[i]]; in visitShuffleVectorInst()
1163 if (isSplat || newMask == LHSMask || newMask == RHSMask || newMask == Mask) { in visitShuffleVectorInst()
/external/llvm/lib/CodeGen/SelectionDAG/
DDAGCombiner.cpp3642 const APInt &LHSMask = N0O1C->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()
3983 SDValue LHSMask; // AND value if any. in MatchRotate() local
3984 if (!MatchRotateHalf(LHS, LHSShift, LHSMask)) in MatchRotate()
4002 std::swap(LHSMask, RHSMask); in MatchRotate()
4023 if (LHSMask.getNode() || RHSMask.getNode()) { in MatchRotate()
4027 if (LHSMask.getNode()) { in MatchRotate()
4030 DAG.getNode(ISD::OR, DL, VT, LHSMask, in MatchRotate()
[all …]