Lines Matching refs:OpB
484 Instruction *OpB = dyn_cast<Instruction>(GTIB.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()
509 OpB = dyn_cast<Instruction>(OpB->getOperand(0)); in lookThroughComplexAddresses()
510 if (!OpB || ValA->getType() != OpB->getType()) in lookThroughComplexAddresses()
518 if (OpB->getOpcode() == Instruction::Add && in lookThroughComplexAddresses()
519 isa<ConstantInt>(OpB->getOperand(1)) && in lookThroughComplexAddresses()
520 IdxDiff.sle(cast<ConstantInt>(OpB->getOperand(1))->getSExtValue()) && in lookThroughComplexAddresses()
521 checkNoWrapFlags(OpB, Signed)) in lookThroughComplexAddresses()
528 OpB->getOpcode() == Instruction::Add && checkNoWrapFlags(OpA, Signed) && in lookThroughComplexAddresses()
529 checkNoWrapFlags(OpB, Signed)) { in lookThroughComplexAddresses()
537 Safe = checkIfSafeAddSequence(IdxDiff, OpA, MatchingOpIdxA, OpB, in lookThroughComplexAddresses()
549 computeKnownBits(ValA, Known, DL, 0, &AC, OpB, &DT); in lookThroughComplexAddresses()
558 const SCEV *OffsetSCEVB = SE.getSCEV(OpB); in lookThroughComplexAddresses()