Home
last modified time | relevance | path

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

/llvm-project-15.0.7/llvm/lib/Transforms/InstCombine/
H A DInstCombineSelect.cpp3075 BinaryOperator *TrueBO; in visitSelectInst() local
3076 if (match(TrueVal, m_OneUse(m_BinOp(TrueBO))) && in visitSelectInst()
3077 canMergeSelectThroughBinop(TrueBO)) { in visitSelectInst()
3078 if (auto *TrueBOSI = dyn_cast<SelectInst>(TrueBO->getOperand(0))) { in visitSelectInst()
3080 replaceOperand(*TrueBO, 0, TrueBOSI->getTrueValue()); in visitSelectInst()
3081 Worklist.push(TrueBO); in visitSelectInst()
3085 if (auto *TrueBOSI = dyn_cast<SelectInst>(TrueBO->getOperand(1))) { in visitSelectInst()
3087 replaceOperand(*TrueBO, 1, TrueBOSI->getTrueValue()); in visitSelectInst()
3088 Worklist.push(TrueBO); in visitSelectInst()