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.cpp821 Instruction *TheNeg = dyn_cast<Instruction>(U); in NegateValue() local
825 if (match(TheNeg, m_BinOp(m_Constant(C), m_Value())) && in NegateValue()
830 if (!TheNeg || in NegateValue()
831 TheNeg->getParent()->getParent() != BI->getParent()->getParent()) in NegateValue()
841 InsertPt = TheNeg->getFunction() in NegateValue()
850 if (TheNeg->getParent() != InsertPt->getParent()) in NegateValue()
851 TheNeg->dropLocation(); in NegateValue()
852 TheNeg->moveBefore(*InsertPt->getParent(), InsertPt); in NegateValue()
854 if (TheNeg->getOpcode() == Instruction::Sub) { in NegateValue()
855 TheNeg->setHasNoUnsignedWrap(false); in NegateValue()
[all …]