Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombinePHI.cpp1480 Instruction *PHIUser = cast<Instruction>(PN.user_back()); in visitPHINode() local
1481 if (PHINode *PU = dyn_cast<PHINode>(PHIUser)) { in visitPHINode()
1494 if (PHIUser->hasOneUse() && in visitPHINode()
1495 (isa<BinaryOperator>(PHIUser) || isa<UnaryOperator>(PHIUser) || in visitPHINode()
1496 isa<GetElementPtrInst>(PHIUser)) && in visitPHINode()
1497 PHIUser->user_back() == &PN) { in visitPHINode()
H A DInstCombineVectorOps.cpp107 Instruction *PHIUser = nullptr; in scalarizePHI() local
114 } else if (!PHIUser) { in scalarizePHI()
115 PHIUser = cast<Instruction>(U); in scalarizePHI()
121 if (!PHIUser) in scalarizePHI()
127 if (!PHIUser->hasOneUse() || !(PHIUser->user_back() == PN) || in scalarizePHI()
128 !(isa<BinaryOperator>(PHIUser)) || in scalarizePHI()
129 !cheapToScalarize(PHIUser, EI.getIndexOperand())) in scalarizePHI()
142 if (PHIInVal == PHIUser) { in scalarizePHI()
146 BinaryOperator *B0 = cast<BinaryOperator>(PHIUser); in scalarizePHI()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DDFAJumpThreading.cpp510 PHINode *PHIUser = dyn_cast<PHINode>(SIUse); in isValidSelectInst() local
511 if (PHIUser && PHIUser->getIncomingBlock(*SI->use_begin()) != SIBB) in isValidSelectInst()
H A DSROA.cpp4941 for (PHINode *PHIUser : PHIUsers) in rewritePartition()
4942 SpeculatablePHIs.insert(PHIUser); in rewritePartition()