Home
last modified time | relevance | path

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

/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/
DNewGVN.cpp2740 PHINode *OpPHI = nullptr; in makePossiblePHIOfOps() local
2751 OpPHI = cast<PHINode>(Op); in makePossiblePHIOfOps()
2753 SamePHIBlock = getBlockForValue(OpPHI); in makePossiblePHIOfOps()
2754 } else if (SamePHIBlock != getBlockForValue(OpPHI)) { in makePossiblePHIOfOps()
2761 if (OpPHI->getNumOperands() == 1) { in makePossiblePHIOfOps()
2762 OpPHI = nullptr; in makePossiblePHIOfOps()
2767 if (!OpPHI) in makePossiblePHIOfOps()
2772 auto *PHIBlock = getBlockForValue(OpPHI); in makePossiblePHIOfOps()
2774 for (unsigned PredNum = 0; PredNum < OpPHI->getNumOperands(); ++PredNum) { in makePossiblePHIOfOps()
2775 auto *PredBB = OpPHI->getIncomingBlock(PredNum); in makePossiblePHIOfOps()
[all …]