llvm-party-12.1.1: General purpose LLVM bindings
Safe HaskellSafe-Inferred
LanguageHaskell2010

LLVM.AST.Typed

Description

Querying the type of LLVM expressions

Synopsis

Documentation

class Typed a where Source #

Instances

Instances details
Typed Constant Source # 
Instance details

Defined in LLVM.AST.Typed

Typed SomeFloat Source # 
Instance details

Defined in LLVM.AST.Typed

Typed Global Source # 
Instance details

Defined in LLVM.AST.Typed

Typed Parameter Source # 
Instance details

Defined in LLVM.AST.Typed

Typed CallableOperand Source # 
Instance details

Defined in LLVM.AST.Typed

Typed Operand Source # 
Instance details

Defined in LLVM.AST.Typed

Typed [Int32] Source # 
Instance details

Defined in LLVM.AST.Typed

indexTypeByConstants :: (HasCallStack, MonadModuleBuilder m) => Type -> [Constant] -> m (Either String Type) Source #

Index into a type using a list of Constant values. Returns a pointer type whose referent is the indexed type, or an error message if indexing was not possible.

indexTypeByOperands :: (HasCallStack, MonadModuleBuilder m) => Type -> [Operand] -> m (Either String Type) Source #

Index into a type using a list of Operand values. Returns a pointer type whose referent is the indexed type, or an error message if indexing was not possible.