summaryrefslogtreecommitdiff
path: root/compiler/llvmGen/Llvm.hs
diff options
context:
space:
mode:
authorSylvain Henry <sylvain@haskus.fr>2020-02-17 16:21:11 +0100
committerMarge Bot <ben+marge-bot@smart-cactus.org>2020-02-18 20:18:12 -0500
commit1500f0898e85316c7c97a2f759d83278a072ab0e (patch)
tree7246f4905a279679b1c5106ba6989d6e0e637f6b /compiler/llvmGen/Llvm.hs
parent192caf58ca1fc42806166872260d30bdb34dbace (diff)
downloadhaskell-1500f0898e85316c7c97a2f759d83278a072ab0e.tar.gz
Modules: Llvm (#13009)
Diffstat (limited to 'compiler/llvmGen/Llvm.hs')
-rw-r--r--compiler/llvmGen/Llvm.hs64
1 files changed, 0 insertions, 64 deletions
diff --git a/compiler/llvmGen/Llvm.hs b/compiler/llvmGen/Llvm.hs
deleted file mode 100644
index 8104a3a61e..0000000000
--- a/compiler/llvmGen/Llvm.hs
+++ /dev/null
@@ -1,64 +0,0 @@
--- ----------------------------------------------------------------------------
--- | This module supplies bindings to generate Llvm IR from Haskell
--- (<http://www.llvm.org/docs/LangRef.html>).
---
--- Note: this module is developed in a demand driven way. It is no complete
--- LLVM binding library in Haskell, but enough to generate code for GHC.
---
--- This code is derived from code taken from the Essential Haskell Compiler
--- (EHC) project (<http://www.cs.uu.nl/wiki/Ehc/WebHome>).
---
-
-module Llvm (
-
- -- * Modules, Functions and Blocks
- LlvmModule(..),
-
- LlvmFunction(..), LlvmFunctionDecl(..),
- LlvmFunctions, LlvmFunctionDecls,
- LlvmStatement(..), LlvmExpression(..),
- LlvmBlocks, LlvmBlock(..), LlvmBlockId,
- LlvmParamAttr(..), LlvmParameter,
-
- -- * Atomic operations
- LlvmAtomicOp(..),
-
- -- * Fence synchronization
- LlvmSyncOrdering(..),
-
- -- * Call Handling
- LlvmCallConvention(..), LlvmCallType(..), LlvmParameterListType(..),
- LlvmLinkageType(..), LlvmFuncAttr(..),
-
- -- * Operations and Comparisons
- LlvmCmpOp(..), LlvmMachOp(..), LlvmCastOp(..),
-
- -- * Variables and Type System
- LlvmVar(..), LlvmStatic(..), LlvmLit(..), LlvmType(..),
- LlvmAlias, LMGlobal(..), LMString, LMSection, LMAlign,
- LMConst(..),
-
- -- ** Some basic types
- i64, i32, i16, i8, i1, i8Ptr, llvmWord, llvmWordPtr,
-
- -- ** Metadata types
- MetaExpr(..), MetaAnnot(..), MetaDecl(..), MetaId(..),
-
- -- ** Operations on the type system.
- isGlobal, getLitType, getVarType,
- getLink, getStatType, pVarLift, pVarLower,
- pLift, pLower, isInt, isFloat, isPointer, isVector, llvmWidthInBits,
-
- -- * Pretty Printing
- ppLit, ppName, ppPlainName,
- ppLlvmModule, ppLlvmComments, ppLlvmComment, ppLlvmGlobals,
- ppLlvmGlobal, ppLlvmFunctionDecls, ppLlvmFunctionDecl, ppLlvmFunctions,
- ppLlvmFunction, ppLlvmAlias, ppLlvmAliases, ppLlvmMetas, ppLlvmMeta,
-
- ) where
-
-import Llvm.AbsSyn
-import Llvm.MetaData
-import Llvm.PpLlvm
-import Llvm.Types
-