LLVM.FFI.Core

Modules

data Module

type ModuleRef

Module providers

data ModuleProvider

type ModuleProviderRef

Types

data Type

type TypeRef

getTypeKind

data TypeKind

Integer types

Real types

Function types

Other types

Array, pointer, and vector types

Struct types

Type handles

Values

data Value

type ValueRef

Constants

Global variables, functions, and aliases (globals)

data Linkage

fromLinkage

toLinkage

data Visibility

fromVisibility

toVisibility

Global variables

Functions

Phi nodes

Calling conventions

data CallingConvention

fromCallingConvention

toCallingConvention

Constants

Scalar constants

Composite constants

Constant expressions

Basic blocks

type BasicBlock

type BasicBlockRef

Instruction building

data Builder

type BuilderRef

Terminators

Arithmetic

Memory

Casts

Misc

Comparisons

Miscellaneous instructions

Other helpers

Memory buffers

data MemoryBuffer

type MemoryBufferRef

Error handling

Parameter passing

data Attribute

fromAttribute

toAttribute

Pass manager

data PassManager

type PassManagerRef

Context functions

data Context

type ContextRef

Debug

Misc

Context functions

Build instruction from opcode

Use

data OpaqueUse

type UseRef