Lines Matching refs:OtherInstrA
418 Instruction *OtherInstrA = dyn_cast<Instruction>(OtherOperandA); in checkIfSafeAddSequence() local
431 if (OtherInstrA && OtherInstrA->getOpcode() == Instruction::Add && in checkIfSafeAddSequence()
432 checkNoWrapFlags(OtherInstrA, Signed) && in checkIfSafeAddSequence()
433 isa<ConstantInt>(OtherInstrA->getOperand(1))) { in checkIfSafeAddSequence()
435 cast<ConstantInt>(OtherInstrA->getOperand(1))->getSExtValue(); in checkIfSafeAddSequence()
436 if (OtherInstrA->getOperand(0) == OtherOperandB && in checkIfSafeAddSequence()
442 if (OtherInstrA && OtherInstrB && in checkIfSafeAddSequence()
443 OtherInstrA->getOpcode() == Instruction::Add && in checkIfSafeAddSequence()
445 checkNoWrapFlags(OtherInstrA, Signed) && in checkIfSafeAddSequence()
447 isa<ConstantInt>(OtherInstrA->getOperand(1)) && in checkIfSafeAddSequence()
450 cast<ConstantInt>(OtherInstrA->getOperand(1))->getSExtValue(); in checkIfSafeAddSequence()
453 if (OtherInstrA->getOperand(0) == OtherInstrB->getOperand(0) && in checkIfSafeAddSequence()