Searched refs:OtherInstrB (Results 1 – 1 of 1) sorted by relevance
420 Instruction *OtherInstrB = dyn_cast<Instruction>(OtherOperandB); in checkIfSafeAddSequence() local422 if (OtherInstrB && OtherInstrB->getOpcode() == Instruction::Add && in checkIfSafeAddSequence()423 checkNoWrapFlags(OtherInstrB, Signed) && in checkIfSafeAddSequence()424 isa<ConstantInt>(OtherInstrB->getOperand(1))) { in checkIfSafeAddSequence()426 cast<ConstantInt>(OtherInstrB->getOperand(1))->getSExtValue(); in checkIfSafeAddSequence()427 if (OtherInstrB->getOperand(0) == OtherOperandA && in checkIfSafeAddSequence()443 if (OtherInstrA && OtherInstrB && in checkIfSafeAddSequence()445 OtherInstrB->getOpcode() == Instruction::Add && in checkIfSafeAddSequence()447 checkNoWrapFlags(OtherInstrB, Signed) && in checkIfSafeAddSequence()449 isa<ConstantInt>(OtherInstrB->getOperand(1))) { in checkIfSafeAddSequence()[all …]