Lines Matching refs:OtherInstrB
419 Instruction *OtherInstrB = dyn_cast<Instruction>(OtherOperandB); in checkIfSafeAddSequence() local
421 if (OtherInstrB && OtherInstrB->getOpcode() == Instruction::Add && in checkIfSafeAddSequence()
422 checkNoWrapFlags(OtherInstrB, Signed) && in checkIfSafeAddSequence()
423 isa<ConstantInt>(OtherInstrB->getOperand(1))) { in checkIfSafeAddSequence()
425 cast<ConstantInt>(OtherInstrB->getOperand(1))->getSExtValue(); in checkIfSafeAddSequence()
426 if (OtherInstrB->getOperand(0) == OtherOperandA && in checkIfSafeAddSequence()
442 if (OtherInstrA && OtherInstrB && in checkIfSafeAddSequence()
444 OtherInstrB->getOpcode() == Instruction::Add && in checkIfSafeAddSequence()
446 checkNoWrapFlags(OtherInstrB, Signed) && in checkIfSafeAddSequence()
448 isa<ConstantInt>(OtherInstrB->getOperand(1))) { in checkIfSafeAddSequence()
452 cast<ConstantInt>(OtherInstrB->getOperand(1))->getSExtValue(); in checkIfSafeAddSequence()
453 if (OtherInstrA->getOperand(0) == OtherInstrB->getOperand(0) && in checkIfSafeAddSequence()