Home
last modified time | relevance | path

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

/external/llvm/lib/Transforms/Scalar/
DReassociate.cpp839 BinaryOperator *TheNeg = cast<BinaryOperator>(U); in NegateValue() local
842 if (TheNeg->getParent()->getParent() != BI->getParent()->getParent()) in NegateValue()
854 InsertPt = TheNeg->getParent()->getParent()->getEntryBlock().begin(); in NegateValue()
856 TheNeg->moveBefore(&*InsertPt); in NegateValue()
857 if (TheNeg->getOpcode() == Instruction::Sub) { in NegateValue()
858 TheNeg->setHasNoUnsignedWrap(false); in NegateValue()
859 TheNeg->setHasNoSignedWrap(false); in NegateValue()
861 TheNeg->andIRFlags(BI); in NegateValue()
863 ToRedo.insert(TheNeg); in NegateValue()
864 return TheNeg; in NegateValue()
/external/swiftshader/third_party/LLVM/lib/Transforms/Scalar/
DReassociate.cpp441 BinaryOperator *TheNeg = cast<BinaryOperator>(U); in NegateValue() local
444 if (TheNeg->getParent()->getParent() != BI->getParent()->getParent()) in NegateValue()
457 InsertPt = TheNeg->getParent()->getParent()->getEntryBlock().begin(); in NegateValue()
459 TheNeg->moveBefore(InsertPt); in NegateValue()
460 return TheNeg; in NegateValue()