Home
last modified time | relevance | path

Searched refs:OtherInstrA (Results 1 – 1 of 1) sorted by relevance

/llvm-project-15.0.7/llvm/lib/Transforms/Vectorize/
H A DLoadStoreVectorizer.cpp418 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()
[all …]