Home
last modified time | relevance | path

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

/external/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()
/external/llvm/lib/Transforms/InstCombine/
DInstCombineSelect.cpp632 const PHINode *CondPHI = cast<PHINode>(SI.getCondition()); in CanSelectOperandBeMappingIntoPredBlock() local
635 if (VP->getParent() == CondPHI->getParent()) in CanSelectOperandBeMappingIntoPredBlock()
640 if (SI.getParent() == CondPHI->getParent() && in CanSelectOperandBeMappingIntoPredBlock()
641 I->getParent() != CondPHI->getParent()) in CanSelectOperandBeMappingIntoPredBlock()
/external/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()