Home
last modified time | relevance | path

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

/external/llvm/lib/Transforms/InstCombine/
DInstCombineShifts.cpp371 Instruction *TrOp = dyn_cast<Instruction>(TI->getOperand(0)); in FoldShiftByConstant() local
377 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()