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

References

lib/Transforms/InstCombine/InstCombinePHI.cpp
  284   Instruction *FirstInst = cast<Instruction>(PN.getIncomingValue(0));
  294   for (unsigned i = 1; i != PN.getNumIncomingValues(); ++i) {
  295     Instruction *I = dyn_cast<Instruction>(PN.getIncomingValue(i));
  326     NewLHS = PHINode::Create(LHSType, PN.getNumIncomingValues(),
  328     NewLHS->addIncoming(InLHS, PN.getIncomingBlock(0));
  329     InsertNewInstBefore(NewLHS, PN);
  334     NewRHS = PHINode::Create(RHSType, PN.getNumIncomingValues(),
  336     NewRHS->addIncoming(InRHS, PN.getIncomingBlock(0));
  337     InsertNewInstBefore(NewRHS, PN);
  343     for (unsigned i = 1, e = PN.getNumIncomingValues(); i != e; ++i) {
  344       Instruction *InInst = cast<Instruction>(PN.getIncomingValue(i));
  347         NewLHS->addIncoming(NewInLHS, PN.getIncomingBlock(i));
  351         NewRHS->addIncoming(NewInRHS, PN.getIncomingBlock(i));
  359     PHIArgMergedDebugLoc(NewCI, PN);
  367   NewBinOp->copyIRFlags(PN.getIncomingValue(0));
  369   for (unsigned i = 1, e = PN.getNumIncomingValues(); i != e; ++i)
  370     NewBinOp->andIRFlags(PN.getIncomingValue(i));
  372   PHIArgMergedDebugLoc(NewBinOp, PN);