Home
last modified time | relevance | path

Searched refs:RHSShift (Results 1 – 2 of 2) sorted by relevance

/external/mesa3d/src/gallium/drivers/radeon/
DAMDILPeepholeOptimizer.cpp496 Constant *LHSShift = NULL, *RHSShift = NULL; in optimizeBitInsert() local
511 if (!setupBitInsert(RHS, RHSSrc, RHSMask, RHSShift)) { in optimizeBitInsert()
518 if (RHSShift) { RHSShift->dump(); } in optimizeBitInsert()
533 dbgs() << "RHS Shift: "; if (RHSShift) { RHSShift->dump(); } else { dbgs() << "(None)\n"; } in optimizeBitInsert()
547 rhsShiftVal = (int32_t)(RHSShift in optimizeBitInsert()
548 ? dyn_cast<ConstantInt>(RHSShift)->getZExtValue() : 0); in optimizeBitInsert()
558 dbgs() << (RHSShift ? " << F)\'\n" : ")\'\n"); in optimizeBitInsert()
623 if (!RHSShift) { in optimizeBitInsert()
/external/llvm/lib/CodeGen/SelectionDAG/
DDAGCombiner.cpp3987 SDValue RHSShift; // The shift. in MatchRotate() local
3989 if (!MatchRotateHalf(RHS, RHSShift, RHSMask)) in MatchRotate()
3992 if (LHSShift.getOperand(0) != RHSShift.getOperand(0)) in MatchRotate()
3995 if (LHSShift.getOpcode() == RHSShift.getOpcode()) in MatchRotate()
3999 if (RHSShift.getOpcode() == ISD::SHL) { in MatchRotate()
4001 std::swap(LHSShift, RHSShift); in MatchRotate()
4008 SDValue RHSShiftArg = RHSShift.getOperand(0); in MatchRotate()
4009 SDValue RHSShiftAmt = RHSShift.getOperand(1); in MatchRotate()