Home
last modified time | relevance | path

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

/external/llvm/lib/Transforms/InstCombine/
DInstCombineVectorOps.cpp74 Instruction *PHIUser = nullptr; in scalarizePHI() local
81 } 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()
DInstCombinePHI.cpp889 Instruction *PHIUser = cast<Instruction>(PN.user_back()); in visitPHINode() local
890 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()
/external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/
DInstCombinePHI.cpp814 Instruction *PHIUser = cast<Instruction>(PN.use_back()); in visitPHINode() local
815 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()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/InstCombine/
DInstCombinePHI.cpp1147 Instruction *PHIUser = cast<Instruction>(PN.user_back()); in visitPHINode() local
1148 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()
DInstCombineVectorOps.cpp97 Instruction *PHIUser = nullptr; in scalarizePHI() local
104 } 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()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/
DSROA.cpp4133 for (PHINode *PHIUser : PHIUsers) in rewritePartition()
4134 SpeculatablePHIs.insert(PHIUser); in rewritePartition()
/external/llvm/lib/Transforms/Scalar/
DSROA.cpp3926 for (PHINode *PHIUser : PHIUsers) in rewritePartition()
3927 SpeculatablePHIs.insert(PHIUser); in rewritePartition()