Searched refs:PHIUser (Results 1 – 7 of 7) sorted by relevance
74 Instruction *PHIUser = nullptr; in scalarizePHI() local81 } else if (!PHIUser) { in scalarizePHI()82 PHIUser = cast<Instruction>(U); in scalarizePHI()88 if (!PHIUser) in scalarizePHI()94 if (!PHIUser->hasOneUse() || !(PHIUser->user_back() == PN) || in scalarizePHI()95 !(isa<BinaryOperator>(PHIUser)) || !cheapToScalarize(PHIUser, true)) in scalarizePHI()108 if (PHIInVal == PHIUser) { in scalarizePHI()112 BinaryOperator *B0 = cast<BinaryOperator>(PHIUser); in scalarizePHI()
889 Instruction *PHIUser = cast<Instruction>(PN.user_back()); in visitPHINode() local890 if (PHINode *PU = dyn_cast<PHINode>(PHIUser)) { in visitPHINode()903 if (PHIUser->hasOneUse() && in visitPHINode()904 (isa<BinaryOperator>(PHIUser) || isa<GetElementPtrInst>(PHIUser)) && in visitPHINode()905 PHIUser->user_back() == &PN) { in visitPHINode()916 auto *CmpInst = dyn_cast<ICmpInst>(PHIUser); in visitPHINode()
814 Instruction *PHIUser = cast<Instruction>(PN.use_back()); in visitPHINode() local815 if (PHINode *PU = dyn_cast<PHINode>(PHIUser)) { in visitPHINode()828 if (PHIUser->hasOneUse() && in visitPHINode()829 (isa<BinaryOperator>(PHIUser) || isa<GetElementPtrInst>(PHIUser)) && in visitPHINode()830 PHIUser->use_back() == &PN) { in visitPHINode()
1147 Instruction *PHIUser = cast<Instruction>(PN.user_back()); in visitPHINode() local1148 if (PHINode *PU = dyn_cast<PHINode>(PHIUser)) { in visitPHINode()1161 if (PHIUser->hasOneUse() && in visitPHINode()1162 (isa<BinaryOperator>(PHIUser) || isa<GetElementPtrInst>(PHIUser)) && in visitPHINode()1163 PHIUser->user_back() == &PN) { in visitPHINode()1174 auto *CmpInst = dyn_cast<ICmpInst>(PHIUser); in visitPHINode()
97 Instruction *PHIUser = nullptr; in scalarizePHI() local104 } else if (!PHIUser) { in scalarizePHI()105 PHIUser = cast<Instruction>(U); in scalarizePHI()111 if (!PHIUser) in scalarizePHI()117 if (!PHIUser->hasOneUse() || !(PHIUser->user_back() == PN) || in scalarizePHI()118 !(isa<BinaryOperator>(PHIUser)) || !cheapToScalarize(PHIUser, true)) in scalarizePHI()131 if (PHIInVal == PHIUser) { in scalarizePHI()135 BinaryOperator *B0 = cast<BinaryOperator>(PHIUser); in scalarizePHI()
4133 for (PHINode *PHIUser : PHIUsers) in rewritePartition()4134 SpeculatablePHIs.insert(PHIUser); in rewritePartition()
3926 for (PHINode *PHIUser : PHIUsers) in rewritePartition()3927 SpeculatablePHIs.insert(PHIUser); in rewritePartition()