Home
last modified time | relevance | path

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

/src/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineSelect.cpp3895 BinaryOperator *TrueBO; in visitSelectInst() local
3896 if (match(TrueVal, m_OneUse(m_BinOp(TrueBO))) && !TrueBO->isIntDivRem()) { in visitSelectInst()
3897 if (auto *TrueBOSI = dyn_cast<SelectInst>(TrueBO->getOperand(0))) { in visitSelectInst()
3899 replaceOperand(*TrueBO, 0, TrueBOSI->getTrueValue()); in visitSelectInst()
3900 Worklist.push(TrueBO); in visitSelectInst()
3904 if (auto *TrueBOSI = dyn_cast<SelectInst>(TrueBO->getOperand(1))) { in visitSelectInst()
3906 replaceOperand(*TrueBO, 1, TrueBOSI->getTrueValue()); in visitSelectInst()
3907 Worklist.push(TrueBO); in visitSelectInst()