Use MachineBasicBlock::transferSuccessors.
[oota-llvm.git] / include / llvm / ADT / APFloat.h
index 65cb1e56bb859518a2df29f9a06e9dd50d69f07e..b3d3a061e5fcdfca08f85fefc1bfa4eaf5f2a4cf 100644 (file)
@@ -208,6 +208,8 @@ namespace llvm {
     opStatus convert(const fltSemantics &, roundingMode);
     opStatus convertToInteger(integerPart *, unsigned int, bool,
                               roundingMode) const;
+    opStatus convertFromAPInt(const APInt &,
+                              bool, roundingMode);
     opStatus convertFromSignExtendedInteger(const integerPart *, unsigned int,
                                             bool, roundingMode);
     opStatus convertFromZeroExtendedInteger(const integerPart *, unsigned int,
@@ -242,6 +244,7 @@ namespace llvm {
     bool isZero() const { return category == fcZero; }
     bool isNonZero() const { return category != fcZero; }
     bool isNaN() const { return category == fcNaN; }
+    bool isInfinity() const { return category == fcInfinity; }
     bool isNegative() const { return sign; }
     bool isPosZero() const { return isZero() && !isNegative(); }
     bool isNegZero() const { return isZero() && isNegative(); }