Searched refs:TrOp (Results 1 – 1 of 1) sorted by relevance
380 Instruction *TrOp = dyn_cast<Instruction>(TI->getOperand(0)); in FoldShiftByConstant() local386 if (TrOp && I.isLogicalShift() && TrOp->isShift() && in FoldShiftByConstant()387 isa<ConstantInt>(TrOp->getOperand(1))) { in FoldShiftByConstant()390 ConstantExpr::getZExt(cast<Constant>(Op1), TrOp->getType()); in FoldShiftByConstant()392 Value *NSh = Builder.CreateBinOp(I.getOpcode(), TrOp, ShAmt, I.getName()); in FoldShiftByConstant()398 unsigned SrcSize = TrOp->getType()->getScalarSizeInBits(); in FoldShiftByConstant()