LlvmCodeGen

ghc-8.8.1: The GHC API

Safe Haskell | None
Language | Haskell2010

LlvmCodeGen

Description

This is the top-level module in the LLVM code generator.

Synopsis

- data LlvmVersion
  - = LlvmVersion Int
  - | LlvmVersionOld Int Int
- llvmCodeGen :: DynFlags -> Handle -> UniqSupply -> Stream IO RawCmmGroup () -> IO ()
- llvmFixupAsm :: DynFlags -> FilePath -> FilePath -> IO ()

# Documentation

data LlvmVersion Source #

LLVM Version Number

Constructors

LlvmVersion Int |
LlvmVersionOld Int Int |

#### Instances

Instances details

Eq LlvmVersion # |
Instance details Defined in LlvmCodeGen.Base Methods (==) :: LlvmVersion -> LlvmVersion -> Bool # (/=) :: LlvmVersion -> LlvmVersion -> Bool #
Show LlvmVersion # |
Instance details Defined in LlvmCodeGen.Base Methods showsPrec :: Int -> LlvmVersion -> ShowS Source # show :: LlvmVersion -> String Source # showList :: [LlvmVersion] -> ShowS Source #

llvmCodeGen :: DynFlags -> Handle -> UniqSupply -> Stream IO RawCmmGroup () -> IO () Source #

Top-level of the LLVM Code generator

llvmFixupAsm :: DynFlags -> FilePath -> FilePath -> IO () Source #

Read in assembly file and process