Searched refs:IIOperand (Results 1 – 1 of 1) sorted by relevance
| /openbsd-src/gnu/llvm/llvm/lib/Transforms/InstCombine/ |
| H A D | InstCombineCalls.cpp | 1275 Value *IIOperand = II->getArgOperand(0); in visitCallInst() local 1281 if (match(IIOperand, m_Neg(m_Value(X)))) in visitCallInst() 1283 if (match(IIOperand, m_Select(m_Value(), m_Value(X), m_Neg(m_Deferred(X))))) in visitCallInst() 1285 if (match(IIOperand, m_Select(m_Value(), m_Neg(m_Value(X)), m_Deferred(X)))) in visitCallInst() 1288 if (std::optional<bool> Sign = getKnownSign(IIOperand, II, DL, &AC, &DT)) { in visitCallInst() 1291 return replaceInstUsesWith(*II, IIOperand); in visitCallInst() 1295 return BinaryOperator::CreateNSWNeg(IIOperand); in visitCallInst() 1296 return BinaryOperator::CreateNeg(IIOperand); in visitCallInst() 1301 if (match(IIOperand, m_OneUse(m_SExt(m_Value(X))))) { in visitCallInst() 1310 if (match(IIOperand, m_SRem(m_Value(X), m_APInt(C))) && *C == 2) in visitCallInst() [all …]
|