Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DReassociate.cpp830 Instruction *TheNeg = dyn_cast<Instruction>(U); in NegateValue() local
834 if (match(TheNeg, m_BinOp(m_Constant(C), m_Value())) && in NegateValue()
839 if (!TheNeg || in NegateValue()
840 TheNeg->getParent()->getParent() != BI->getParent()->getParent()) in NegateValue()
850 InsertPt = TheNeg->getFunction() in NegateValue()
859 if (TheNeg->getParent() != InsertPt->getParent()) in NegateValue()
860 TheNeg->dropLocation(); in NegateValue()
861 TheNeg->moveBefore(*InsertPt->getParent(), InsertPt); in NegateValue()
863 if (TheNeg->getOpcode() == Instruction::Sub) { in NegateValue()
864 TheNeg->setHasNoUnsignedWrap(false); in NegateValue()
[all …]