Searched refs:TrOp (Results 1 – 1 of 1) sorted by relevance
371 Instruction *TrOp = dyn_cast<Instruction>(TI->getOperand(0)); in FoldShiftByConstant() local377 if (TrOp && I.isLogicalShift() && TrOp->isShift() && in FoldShiftByConstant()378 isa<ConstantInt>(TrOp->getOperand(1))) { in FoldShiftByConstant()380 Constant *ShAmt = ConstantExpr::getZExt(COp1, TrOp->getType()); in FoldShiftByConstant()382 Value *NSh = Builder->CreateBinOp(I.getOpcode(), TrOp, ShAmt,I.getName()); in FoldShiftByConstant()388 unsigned SrcSize = TrOp->getType()->getScalarSizeInBits(); in FoldShiftByConstant()