Searched refs:TheNeg (Results 1 – 1 of 1) sorted by relevance
830 Instruction *TheNeg = dyn_cast<Instruction>(U); in NegateValue() local834 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 …]