Home | History | Annotate | Download | only in InstCombine

Lines Matching full:shiftop

524   BinaryOperator *ShiftOp = dyn_cast<BinaryOperator>(Op0);
525 if (ShiftOp && !ShiftOp->isShift())
526 ShiftOp = 0;
528 if (ShiftOp && isa<ConstantInt>(ShiftOp->getOperand(1))) {
542 ConstantInt *ShiftAmt1C = cast<ConstantInt>(ShiftOp->getOperand(1));
547 Value *X = ShiftOp->getOperand(0);
552 if (I.getOpcode() == ShiftOp->getOpcode()) {
569 ShiftOp->getOpcode() == Instruction::Shl) {
581 ShiftOp->getOpcode() != Instruction::Shl &&
582 ShiftOp->isExact()) {
583 assert(ShiftOp->getOpcode() == Instruction::LShr ||
584 ShiftOp->getOpcode() == Instruction::AShr);
595 ShiftOp->getOpcode() == Instruction::Shl) {
598 if (ShiftOp->hasNoUnsignedWrap()) {
614 ShiftOp->getOpcode() == Instruction::Shl) {
615 if (ShiftOp->hasNoSignedWrap()) {
632 ShiftOp->getOpcode() != Instruction::Shl &&
633 ShiftOp->isExact()) {
635 BinaryOperator *NewShr = BinaryOperator::Create(ShiftOp->getOpcode(),
643 ShiftOp->getOpcode() == Instruction::Shl) {
645 if (ShiftOp->hasNoUnsignedWrap()) {
662 ShiftOp->getOpcode() == Instruction::Shl) {
663 if (ShiftOp->hasNoSignedWrap()) {