ghc-9.6.3: The GHC API

Safe Haskell | Safe-Inferred
Language | Haskell2010

GHC.CmmToLlvm

Description

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

Synopsis

- data LlvmVersion
- llvmVersionList :: LlvmVersion -> [Int]
- llvmCodeGen :: Logger -> LlvmCgConfig -> Handle -> Stream IO RawCmmGroup a -> IO a
- llvmFixupAsm :: Platform -> FilePath -> FilePath -> IO ()

# Documentation

data LlvmVersion Source #

#### Instances

Instances details

Eq LlvmVersion Source # |
Instance details Defined in GHC.CmmToLlvm.Config Methods (==) :: LlvmVersion -> LlvmVersion -> Bool # (/=) :: LlvmVersion -> LlvmVersion -> Bool #
Ord LlvmVersion Source # |
Instance details Defined in GHC.CmmToLlvm.Config Methods compare :: LlvmVersion -> LlvmVersion -> Ordering # (<) :: LlvmVersion -> LlvmVersion -> Bool # (<=) :: LlvmVersion -> LlvmVersion -> Bool # (>) :: LlvmVersion -> LlvmVersion -> Bool # (>=) :: LlvmVersion -> LlvmVersion -> Bool # max :: LlvmVersion -> LlvmVersion -> LlvmVersion # min :: LlvmVersion -> LlvmVersion -> LlvmVersion #

llvmVersionList :: LlvmVersion -> [Int] Source #

llvmCodeGen :: Logger -> LlvmCgConfig -> Handle -> Stream IO RawCmmGroup a -> IO a Source #

Top-level of the LLVM Code generator

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

Read in assembly file and process