ghc-9.10.3: The GHC API

Safe Haskell | None
Language | GHC2021

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.Version.Type Methods (==) :: LlvmVersion -> LlvmVersion -> Bool # (/=) :: LlvmVersion -> LlvmVersion -> Bool #
Ord LlvmVersion Source # |
Instance details Defined in GHC.CmmToLlvm.Version.Type 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