llvm_hiwrap.types

Members

Enums

LxCallConv
enum LxCallConv

LLVM-4.0 See: llvm-c/Core.h

LxDiagnosticSeverity
enum LxDiagnosticSeverity

LLVM-4.0 See: llvm-c/Core.h

LxIntPredicate
enum LxIntPredicate

LLVM-4.0 See: llvm-c/Core.h

LxOpcode
enum LxOpcode

LLVM-4.0 See: llvm-c/Core.h

LxRealPredicate
enum LxRealPredicate

LLVM-4.0 See: llvm-c/Core.h

LxTypeKind
enum LxTypeKind

LLVM-4.0 See: llvm-c/Core.h

LxValueKind
enum LxValueKind

LLVM-4.0 See: llvm-c/Core.h

LxVerifierFailureAction
enum LxVerifierFailureAction

LLVM-4.0 See: llvm-c/Analysis.h

Functions

toCallConv
LxCallConv toCallConv(LLVMCallConv v)

Convert a llvm.LLVMCallConv.

Structs

LxAttribute
struct LxAttribute
Undocumented in source.
LxBasicBlock
struct LxBasicBlock
Undocumented in source.
LxCompositeConstantValue
struct LxCompositeConstantValue
Undocumented in source.
LxConstantGlobalValue
struct LxConstantGlobalValue
Undocumented in source.
LxConstantValue
struct LxConstantValue
Undocumented in source.
LxEntryBasicBlock
struct LxEntryBasicBlock

The entry block in a function.

LxFunctionValue
struct LxFunctionValue
Undocumented in source.
LxGlobalAliasValue
struct LxGlobalAliasValue
Undocumented in source.
LxGlobalValue
struct LxGlobalValue
Undocumented in source.
LxInstructionAllocaValue
struct LxInstructionAllocaValue
Undocumented in source.
LxInstructionCallValue
struct LxInstructionCallValue
Undocumented in source.
LxInstructionElementPtrValue
struct LxInstructionElementPtrValue
Undocumented in source.
LxInstructionTerminatorValue
struct LxInstructionTerminatorValue
Undocumented in source.
LxInstructionValue
struct LxInstructionValue
Undocumented in source.
LxMessage
struct LxMessage

ptr to a null terminated array of null terminated C strings.

LxMetadataNodeValue
struct LxMetadataNodeValue

Unnamed node

LxMetadataStringValue
struct LxMetadataStringValue
Undocumented in source.
LxNamedMetadataNodeValue
struct LxNamedMetadataNodeValue
Undocumented in source.
LxNamedMetadataValue
struct LxNamedMetadataValue
Undocumented in source.
LxOperandValue
struct LxOperandValue
Undocumented in source.
LxResolvedNamedMetadataValue
struct LxResolvedNamedMetadataValue
Undocumented in source.
LxScalarConstantValue
struct LxScalarConstantValue
Undocumented in source.
LxType
struct LxType
Undocumented in source.
LxUseValue
struct LxUseValue

Each LLVMUseRef (which corresponds to a llvm::Use instance) holds a llvm::User and llvm::Value.

LxUserValue
struct LxUserValue
Undocumented in source.
LxValue
struct LxValue

Represents an individual value in LLVM IR.

Meta

Authors

Joakim Brännström (joakim.brannstrom@gmx.com)

This file contains the simple type representation of llvm values and types. It is meant to, when appropriate, reconstruct the llvm hierarchy in D.

The complex functions and other manipulation that are possible are found in the .type and .value submodules.

The _simple_ types reflect the hierarchy. They are prefixed with Lx. The comlex types add operations. This allows compositions of operations.