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.cpp1138 SmallVector<int, 16> LHSMask; in visitShuffleVectorInst() local
1141 LHSMask = LHSShuffle->getShuffleMask(); in visitShuffleVectorInst()
1162 eltMask = LHSMask[Mask[i]]; in visitShuffleVectorInst()
1212 if (isSplat || newMask == LHSMask || newMask == RHSMask || newMask == Mask) { in visitShuffleVectorInst()
/external/llvm/lib/CodeGen/SelectionDAG/
DDAGCombiner.cpp3432 const APInt &LHSMask = in visitORLike() local
3437 if (DAG.MaskedValueIsZero(N0.getOperand(0), RHSMask&~LHSMask) && in visitORLike()
3438 DAG.MaskedValueIsZero(N1.getOperand(0), LHSMask&~RHSMask)) { in visitORLike()
3442 DAG.getConstant(LHSMask | RHSMask, VT)); in visitORLike()
3773 SDValue LHSMask; // AND value if any. in MatchRotate() local
3774 if (!MatchRotateHalf(LHS, LHSShift, LHSMask)) in MatchRotate()
3792 std::swap(LHSMask , RHSMask ); in MatchRotate()
3814 if (LHSMask.getNode() || RHSMask.getNode()) { in MatchRotate()
3817 if (LHSMask.getNode()) { in MatchRotate()
3819 Mask &= cast<ConstantSDNode>(LHSMask)->getAPIntValue() | RHSBits; in MatchRotate()
[all …]