Safe Haskell | None |
---|---|
Language | Haskell2010 |
Llvm code generator configuration
Synopsis
- data LlvmCgConfig = LlvmCgConfig {}
- data LlvmConfig = LlvmConfig {
- llvmTargets :: [(String, LlvmTarget)]
- llvmPasses :: [(Int, String)]
- data LlvmTarget = LlvmTarget {
- lDataLayout :: String
- lCPU :: String
- lAttributes :: [String]
- initLlvmConfig :: FilePath -> IO LlvmConfig
- newtype LlvmVersion = LlvmVersion {}
- supportedLlvmVersionLowerBound :: LlvmVersion
- supportedLlvmVersionUpperBound :: LlvmVersion
- parseLlvmVersion :: String -> Maybe LlvmVersion
- llvmVersionSupported :: LlvmVersion -> Bool
- llvmVersionStr :: LlvmVersion -> String
- llvmVersionList :: LlvmVersion -> [Int]
Documentation
data LlvmCgConfig Source #
LlvmCgConfig | |
|
data LlvmConfig Source #
LlvmConfig | |
|
data LlvmTarget Source #
LlvmTarget | |
|
initLlvmConfig :: FilePath -> IO LlvmConfig Source #
LLVM version
newtype LlvmVersion Source #
Instances
Eq LlvmVersion Source # | |
Defined in GHC.CmmToLlvm.Config (==) :: LlvmVersion -> LlvmVersion -> Bool # (/=) :: LlvmVersion -> LlvmVersion -> Bool # | |
Ord LlvmVersion Source # | |
Defined in GHC.CmmToLlvm.Config compare :: LlvmVersion -> LlvmVersion -> Ordering # (<) :: LlvmVersion -> LlvmVersion -> Bool # (<=) :: LlvmVersion -> LlvmVersion -> Bool # (>) :: LlvmVersion -> LlvmVersion -> Bool # (>=) :: LlvmVersion -> LlvmVersion -> Bool # max :: LlvmVersion -> LlvmVersion -> LlvmVersion # min :: LlvmVersion -> LlvmVersion -> LlvmVersion # |
supportedLlvmVersionLowerBound :: LlvmVersion Source #
The (inclusive) lower bound on the LLVM Version that is currently supported.
supportedLlvmVersionUpperBound :: LlvmVersion Source #
The (not-inclusive) upper bound bound on the LLVM Version that is currently supported.
llvmVersionStr :: LlvmVersion -> String Source #
llvmVersionList :: LlvmVersion -> [Int] Source #