reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

lib/Transforms/Scalar/Reassociate.cpp
  976   Constant *MulCst = ConstantInt::get(Shl->getType(), 1);
  977   MulCst = ConstantExpr::getShl(MulCst, cast<Constant>(Shl->getOperand(1)));
  980     BinaryOperator::CreateMul(Shl->getOperand(0), MulCst, "", Shl);
  980     BinaryOperator::CreateMul(Shl->getOperand(0), MulCst, "", Shl);
  981   Shl->setOperand(0, UndefValue::get(Shl->getType())); // Drop use of op.
  981   Shl->setOperand(0, UndefValue::get(Shl->getType())); // Drop use of op.
  982   Mul->takeName(Shl);
  985   Shl->replaceAllUsesWith(Mul);
  986   Mul->setDebugLoc(Shl->getDebugLoc());
  991   bool NSW = cast<BinaryOperator>(Shl)->hasNoSignedWrap();
  992   bool NUW = cast<BinaryOperator>(Shl)->hasNoUnsignedWrap();