Searched refs:OtherInstrA (Results 1 – 1 of 1) sorted by relevance
1138 Instruction *OtherInstrA = dyn_cast<Instruction>(OtherOperandA); in checkIfSafeAddSequence() local1151 if (OtherInstrA && OtherInstrA->getOpcode() == Instruction::Add && in checkIfSafeAddSequence()1152 checkNoWrapFlags(OtherInstrA, Signed) && in checkIfSafeAddSequence()1153 isa<ConstantInt>(OtherInstrA->getOperand(1))) { in checkIfSafeAddSequence()1155 cast<ConstantInt>(OtherInstrA->getOperand(1))->getSExtValue(); in checkIfSafeAddSequence()1156 if (OtherInstrA->getOperand(0) == OtherOperandB && in checkIfSafeAddSequence()1162 if (OtherInstrA && OtherInstrB && in checkIfSafeAddSequence()1163 OtherInstrA->getOpcode() == Instruction::Add && in checkIfSafeAddSequence()1165 checkNoWrapFlags(OtherInstrA, Signed) && in checkIfSafeAddSequence()1167 isa<ConstantInt>(OtherInstrA->getOperand(1)) && in checkIfSafeAddSequence()[all …]