Home
last modified time | relevance | path

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

/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/InstCombine/
DInstCombineSelect.cpp1898 BinaryOperator *TrueBO; in visitSelectInst() local
1899 if (match(TrueVal, m_OneUse(m_BinOp(TrueBO))) && in visitSelectInst()
1900 canMergeSelectThroughBinop(TrueBO)) { in visitSelectInst()
1901 if (auto *TrueBOSI = dyn_cast<SelectInst>(TrueBO->getOperand(0))) { in visitSelectInst()
1903 TrueBO->setOperand(0, TrueBOSI->getTrueValue()); in visitSelectInst()
1904 Worklist.Add(TrueBO); in visitSelectInst()
1908 if (auto *TrueBOSI = dyn_cast<SelectInst>(TrueBO->getOperand(1))) { in visitSelectInst()
1910 TrueBO->setOperand(1, TrueBOSI->getTrueValue()); in visitSelectInst()
1911 Worklist.Add(TrueBO); in visitSelectInst()