Lines Matching refs:OpA
483 Instruction *OpA = dyn_cast<Instruction>(GTIA.getOperand()); in lookThroughComplexAddresses() local
485 if (!OpA || !OpB || OpA->getOpcode() != OpB->getOpcode() || in lookThroughComplexAddresses()
486 OpA->getType() != OpB->getType()) in lookThroughComplexAddresses()
493 std::swap(OpA, OpB); in lookThroughComplexAddresses()
498 unsigned IdxBitWidth = OpA->getType()->getScalarSizeInBits(); in lookThroughComplexAddresses()
502 if (!isa<SExtInst>(OpA) && !isa<ZExtInst>(OpA)) in lookThroughComplexAddresses()
505 bool Signed = isa<SExtInst>(OpA); in lookThroughComplexAddresses()
508 Value *ValA = OpA->getOperand(0); in lookThroughComplexAddresses()
526 OpA = dyn_cast<Instruction>(ValA); in lookThroughComplexAddresses()
527 if (!Safe && OpA && OpA->getOpcode() == Instruction::Add && in lookThroughComplexAddresses()
528 OpB->getOpcode() == Instruction::Add && checkNoWrapFlags(OpA, Signed) && in lookThroughComplexAddresses()
537 Safe = checkIfSafeAddSequence(IdxDiff, OpA, MatchingOpIdxA, OpB, in lookThroughComplexAddresses()