ghc-9.0.0.20201227: The GHC API
Safe HaskellSafe-Inferred
LanguageHaskell2010

GHC.Driver.Backend

Description

Code generation backends

Synopsis

Documentation

data Backend Source #

Backend

Constructors

NCG

Native code generator backend

LLVM

LLVM backend

ViaC

Via-C backend

Interpreter

Interpreter

Instances

Instances details
Eq Backend # 
Instance details

Defined in GHC.Driver.Backend

Methods

(==) :: Backend -> Backend -> Bool #

(/=) :: Backend -> Backend -> Bool #

Ord Backend # 
Instance details

Defined in GHC.Driver.Backend

Read Backend # 
Instance details

Defined in GHC.Driver.Backend

Show Backend # 
Instance details

Defined in GHC.Driver.Backend

platformDefaultBackend :: Platform -> Backend Source #

Default backend to use for the given platform.

platformNcgSupported :: Platform -> Bool Source #

Is the platform supported by the Native Code Generator?