reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

lib/Transforms/Scalar/LoopStrengthReduce.cpp
 2110     if (!PH) continue;
 2111     if (PH->getNumIncomingValues() != 2) continue;
 2116     const SCEVAddRecExpr *AR = dyn_cast<SCEVAddRecExpr>(SE.getSCEV(PH));
 2121     Type *SrcTy = PH->getType();
 2128     if (PH->getIncomingBlock(0) == L->getLoopPreheader()) {
 2136     ConstantInt *Init = dyn_cast<ConstantInt>(PH->getIncomingValue(Entry));
 2143       dyn_cast<BinaryOperator>(PH->getIncomingValue(Latch));
 2151     if (Incr->getOperand(0) == PH)
 2153     else if (Incr->getOperand(1) == PH)
 2165     PHINode *NewPH = PHINode::Create(DestTy, 2, "IV.S.", PH);
 2174     NewPH->addIncoming(NewInit, PH->getIncomingBlock(Entry));
 2175     NewPH->addIncoming(NewIncr, PH->getIncomingBlock(Latch));