Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstructionCombining.cpp1880 auto *Phi0 = dyn_cast<PHINode>(BO.getOperand(0)); in foldBinopWithPhiOperands() local
1882 if (!Phi0 || !Phi1 || !Phi0->hasOneUse() || !Phi1->hasOneUse() || in foldBinopWithPhiOperands()
1883 Phi0->getNumOperands() != Phi1->getNumOperands()) in foldBinopWithPhiOperands()
1887 if (BO.getParent() != Phi0->getParent() || in foldBinopWithPhiOperands()
1907 if (Phi0->getIncomingBlock(Phi0Use) != Phi1->getIncomingBlock(Phi1Use)) in foldBinopWithPhiOperands()
1920 if (all_of(zip(Phi0->operands(), Phi1->operands()), in foldBinopWithPhiOperands()
1923 PHINode::Create(Phi0->getType(), Phi0->getNumOperands()); in foldBinopWithPhiOperands()
1924 assert(NewIncomingValues.size() == Phi0->getNumOperands() && in foldBinopWithPhiOperands()
1927 for (unsigned I = 0; I < Phi0->getNumOperands(); I++) in foldBinopWithPhiOperands()
1928 NewPhi->addIncoming(NewIncomingValues[I], Phi0->getIncomingBlock(I)); in foldBinopWithPhiOperands()
[all …]