Home
last modified time | relevance | path

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

/external/llvm/lib/Transforms/Scalar/
DReassociate.cpp940 BinaryOperator *TheNeg = cast<BinaryOperator>(U); in NegateValue() local
943 if (TheNeg->getParent()->getParent() != BI->getParent()->getParent()) in NegateValue()
955 InsertPt = TheNeg->getParent()->getParent()->getEntryBlock().begin(); in NegateValue()
957 TheNeg->moveBefore(&*InsertPt); in NegateValue()
958 if (TheNeg->getOpcode() == Instruction::Sub) { in NegateValue()
959 TheNeg->setHasNoUnsignedWrap(false); in NegateValue()
960 TheNeg->setHasNoSignedWrap(false); in NegateValue()
962 TheNeg->andIRFlags(BI); in NegateValue()
964 ToRedo.insert(TheNeg); in NegateValue()
965 return TheNeg; in NegateValue()