Home
last modified time | relevance | path

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

/freebsd-12.1/contrib/llvm/lib/Transforms/InstCombine/
H A DInstCombineShifts.cpp380 Instruction *TrOp = dyn_cast<Instruction>(TI->getOperand(0)); in FoldShiftByConstant() local
386 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()