Home
last modified time | relevance | path

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

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
DJumpThreading.cpp2465 PHINode *CondPHI = dyn_cast<PHINode>(SI->getCondition()); in TryToUnfoldSelect() local
2467 if (!CondPHI || CondPHI->getParent() != BB) in TryToUnfoldSelect()
2470 for (unsigned I = 0, E = CondPHI->getNumIncomingValues(); I != E; ++I) { in TryToUnfoldSelect()
2471 BasicBlock *Pred = CondPHI->getIncomingBlock(I); in TryToUnfoldSelect()
2472 SelectInst *PredSI = dyn_cast<SelectInst>(CondPHI->getIncomingValue(I)); in TryToUnfoldSelect()
2484 UnfoldSelectInstr(Pred, BB, PredSI, CondPHI, I); in TryToUnfoldSelect()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/
DInstCombineSelect.cpp1531 const PHINode *CondPHI = cast<PHINode>(SI.getCondition()); in canSelectOperandBeMappingIntoPredBlock() local
1534 if (VP->getParent() == CondPHI->getParent()) in canSelectOperandBeMappingIntoPredBlock()
1539 if (SI.getParent() == CondPHI->getParent() && in canSelectOperandBeMappingIntoPredBlock()
1540 I->getParent() != CondPHI->getParent()) in canSelectOperandBeMappingIntoPredBlock()