Searched refs:OtherInstrB (Results 1 – 1 of 1) sorted by relevance
1124 Instruction *OtherInstrB = dyn_cast<Instruction>(OtherOperandB); in checkIfSafeAddSequence() local1126 if (OtherInstrB && OtherInstrB->getOpcode() == Instruction::Add && in checkIfSafeAddSequence()1127 checkNoWrapFlags(OtherInstrB, Signed) && in checkIfSafeAddSequence()1128 isa<ConstantInt>(OtherInstrB->getOperand(1))) { in checkIfSafeAddSequence()1130 cast<ConstantInt>(OtherInstrB->getOperand(1))->getSExtValue(); in checkIfSafeAddSequence()1131 if (OtherInstrB->getOperand(0) == OtherOperandA && in checkIfSafeAddSequence()1147 if (OtherInstrA && OtherInstrB && in checkIfSafeAddSequence()1149 OtherInstrB->getOpcode() == Instruction::Add && in checkIfSafeAddSequence()1151 checkNoWrapFlags(OtherInstrB, Signed) && in checkIfSafeAddSequence()1153 isa<ConstantInt>(OtherInstrB->getOperand(1))) { in checkIfSafeAddSequence()[all …]