Home
last modified time | relevance | path

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

/external/llvm/lib/Transforms/Scalar/
DIndVarSimplify.cpp1751 PHINode *BestPhi = nullptr; in FindLoopCounter() local
1801 if (BestPhi && !AlmostDeadIV(BestPhi, LatchBlock, Cond)) { in FindLoopCounter()
1815 else if (PhiWidth <= SE->getTypeSizeInBits(BestPhi->getType())) in FindLoopCounter()
1818 BestPhi = Phi; in FindLoopCounter()
1821 return BestPhi; in FindLoopCounter()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/
DIndVarSimplify.cpp2037 PHINode *BestPhi = nullptr; in FindLoopCounter() local
2087 if (BestPhi && !AlmostDeadIV(BestPhi, LatchBlock, Cond)) { in FindLoopCounter()
2101 else if (PhiWidth <= SE->getTypeSizeInBits(BestPhi->getType())) in FindLoopCounter()
2104 BestPhi = Phi; in FindLoopCounter()
2107 return BestPhi; in FindLoopCounter()