Home
last modified time | relevance | path

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

/llvm-project-15.0.7/llvm/lib/Transforms/Vectorize/
H A DLoadStoreVectorizer.cpp419 Instruction *OtherInstrB = dyn_cast<Instruction>(OtherOperandB); in checkIfSafeAddSequence() local
421 if (OtherInstrB && OtherInstrB->getOpcode() == Instruction::Add && in checkIfSafeAddSequence()
422 checkNoWrapFlags(OtherInstrB, Signed) && in checkIfSafeAddSequence()
423 isa<ConstantInt>(OtherInstrB->getOperand(1))) { in checkIfSafeAddSequence()
425 cast<ConstantInt>(OtherInstrB->getOperand(1))->getSExtValue(); in checkIfSafeAddSequence()
426 if (OtherInstrB->getOperand(0) == OtherOperandA && in checkIfSafeAddSequence()
442 if (OtherInstrA && OtherInstrB && in checkIfSafeAddSequence()
444 OtherInstrB->getOpcode() == Instruction::Add && in checkIfSafeAddSequence()
446 checkNoWrapFlags(OtherInstrB, Signed) && in checkIfSafeAddSequence()
448 isa<ConstantInt>(OtherInstrB->getOperand(1))) { in checkIfSafeAddSequence()
[all …]