Searched refs:OtherInstrB (Results 1 – 1 of 1) sorted by relevance
1123 Instruction *OtherInstrB = dyn_cast<Instruction>(OtherOperandB); in checkIfSafeAddSequence() local1125 if (OtherInstrB && OtherInstrB->getOpcode() == Instruction::Add && in checkIfSafeAddSequence()1126 checkNoWrapFlags(OtherInstrB, Signed) && in checkIfSafeAddSequence()1127 isa<ConstantInt>(OtherInstrB->getOperand(1))) { in checkIfSafeAddSequence()1129 cast<ConstantInt>(OtherInstrB->getOperand(1))->getSExtValue(); in checkIfSafeAddSequence()1130 if (OtherInstrB->getOperand(0) == OtherOperandA && in checkIfSafeAddSequence()1146 if (OtherInstrA && OtherInstrB && in checkIfSafeAddSequence()1148 OtherInstrB->getOpcode() == Instruction::Add && in checkIfSafeAddSequence()1150 checkNoWrapFlags(OtherInstrB, Signed) && in checkIfSafeAddSequence()1152 isa<ConstantInt>(OtherInstrB->getOperand(1))) { in checkIfSafeAddSequence()[all …]