    module GHC.CmmToLlvm.Version.Type
      ( LlvmVersion(..)
      )
    where

    import GHC.Prelude

    import qualified Data.List.NonEmpty as NE

    newtype LlvmVersion = LlvmVersion { LlvmVersion -> NonEmpty Int
    llvmVersionNE :: NE.NonEmpty Int }
      deriving (LlvmVersion -> LlvmVersion -> Bool
    (LlvmVersion -> LlvmVersion -> Bool)
    -> (LlvmVersion -> LlvmVersion -> Bool) -> Eq LlvmVersion
    forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
    $c== :: LlvmVersion -> LlvmVersion -> Bool
    == :: LlvmVersion -> LlvmVersion -> Bool
    $c/= :: LlvmVersion -> LlvmVersion -> Bool
    /= :: LlvmVersion -> LlvmVersion -> Bool
    Eq, Eq LlvmVersion
    Eq LlvmVersion =>
    (LlvmVersion -> LlvmVersion -> Ordering)
    -> (LlvmVersion -> LlvmVersion -> Bool)
    -> (LlvmVersion -> LlvmVersion -> Bool)
    -> (LlvmVersion -> LlvmVersion -> Bool)
    -> (LlvmVersion -> LlvmVersion -> Bool)
    -> (LlvmVersion -> LlvmVersion -> LlvmVersion)
    -> (LlvmVersion -> LlvmVersion -> LlvmVersion)
    -> Ord LlvmVersion
    LlvmVersion -> LlvmVersion -> Bool
    LlvmVersion -> LlvmVersion -> Ordering
    LlvmVersion -> LlvmVersion -> LlvmVersion
    forall a.
    Eq a =>
    (a -> a -> Ordering)
    -> (a -> a -> Bool)
    -> (a -> a -> Bool)
    -> (a -> a -> Bool)
    -> (a -> a -> Bool)
    -> (a -> a -> a)
    -> (a -> a -> a)
    -> Ord a
    $ccompare :: LlvmVersion -> LlvmVersion -> Ordering
    compare :: LlvmVersion -> LlvmVersion -> Ordering
    $c< :: LlvmVersion -> LlvmVersion -> Bool
    < :: LlvmVersion -> LlvmVersion -> Bool
    $c<= :: LlvmVersion -> LlvmVersion -> Bool
    <= :: LlvmVersion -> LlvmVersion -> Bool
    $c> :: LlvmVersion -> LlvmVersion -> Bool
    > :: LlvmVersion -> LlvmVersion -> Bool
    $c>= :: LlvmVersion -> LlvmVersion -> Bool
    >= :: LlvmVersion -> LlvmVersion -> Bool
    $cmax :: LlvmVersion -> LlvmVersion -> LlvmVersion
    max :: LlvmVersion -> LlvmVersion -> LlvmVersion
    $cmin :: LlvmVersion -> LlvmVersion -> LlvmVersion
    min :: LlvmVersion -> LlvmVersion -> LlvmVersion
    Ord)