LLVM.FFI.Core

Boolean values

data Bool

false

true

consBool

deconsBool

Error handling

Context functions

data Context

type ContextRef

Modules

data Module

type ModuleRef

defaultTargetTriple

hostTriple

Types

data Type

type TypeRef

data TypeKind

getTypeKind

Integer types

Real types

Function types

Struct types

Array, pointer, and vector types

Other types

Values

data Value

type ValueRef

Uses

data OpaqueUse

type UseRef

Users

Constants

Metadata

Scalar constants

Composite constants

Constant Expressions

Floating point attributes

Support operations and types

data Linkage

fromLinkage

toLinkage

data Visibility

fromVisibility

toVisibility

Global variables, functions, and aliases (globals)

Global variables

Aliases

Parameter passing

data Attribute

fromAttribute

toAttribute

Calling conventions

data CallingConvention

fromCallingConvention

toCallingConvention

Functions

Parameters

Basic blocks

type BasicBlock

type BasicBlockRef

Instructions

Call Sites

Call Instructions (only)

Switch Instructions (only)

Phi nodes

Instruction building

data Builder

type BuilderRef

Metadata

Terminators

Arithmetic

Memory

Casts

Comparisons

Miscellaneous instructions

Memory buffers

data MemoryBuffer

type MemoryBufferRef

PassRegistry

data PassRegistry

type PassRegistryRef

Pass manager

data PassManager

type PassManagerRef

Functions from extras.cpp