Home | History | Annotate | Download | only in InstCombine

Lines Matching full:shiftop

517   BinaryOperator *ShiftOp = dyn_cast<BinaryOperator>(Op0);
518 if (ShiftOp && !ShiftOp->isShift())
519 ShiftOp = 0;
521 if (ShiftOp && isa<ConstantInt>(ShiftOp->getOperand(1))) {
522 ConstantInt *ShiftAmt1C = cast<ConstantInt>(ShiftOp->getOperand(1));
527 Value *X = ShiftOp->getOperand(0);
534 if (I.getOpcode() == ShiftOp->getOpcode()) {
550 ShiftOp->getOpcode() != Instruction::Shl) {
557 ShiftOp->getOpcode() == Instruction::Shl) {
567 ShiftOp->getOpcode() != Instruction::Shl) {
568 assert(ShiftOp->getOpcode() == Instruction::LShr ||
569 ShiftOp->getOpcode() == Instruction::AShr);
579 ShiftOp->getOpcode() == Instruction::Shl) {
580 assert(ShiftOp->getOpcode() == Instruction::Shl);
595 ShiftOp->getOpcode() != Instruction::Shl) {
596 Value *Shift = Builder->CreateBinOp(ShiftOp->getOpcode(), X,
606 ShiftOp->getOpcode() == Instruction::Shl) {