Skip to content

Latest commit

 

History

History
1250 lines (807 loc) · 22.4 KB

Coverage.md

File metadata and controls

1250 lines (807 loc) · 22.4 KB

Coverage

Analysis

  • LLVMVerifyModule

    Module.verify()

  • LLVMVerifyFunction

    Function.isWellFormed()

  • LLVMViewFunctionCFG

  • LLVMViewFunctionCFGOnly

Bit Writer

  • LLVMWriteBitcodeToFile

    Module.writeBitcode()

  • LLVMWriteBitcodeToFD

  • LLVMWriteBitcodeToMemoryBuffer

Core

Comdats

  • LLVMGetOrInsertComdat
  • LLVMGetComdat
  • LLVMSetComdat
  • LLVMGetComdatSelectionKind
  • LLVMSetComdatSelectionKind

Contexts

  • LLVMContextCreate

    Module.init(_:)

  • LLVMGetGlobalContext

  • LLVMContextSetDiagnosticHandler

  • LLVMContextGetDiagnosticHandler

  • LLVMContextGetDiagnosticContext

  • LLVMContextSetYieldCallback

  • LLVMContextShouldDiscardValueNames

  • LLVMContextSetDiscardValueNames

  • LLVMContextRef

  • LLVMGetDiagInfoDescription

  • LLVMGetDiagInfoSeverity

  • LLVMGetMDKindIDInContext

  • LLVMGetMDKindID

  • LLVMGetEnumAttributeKindForName

    Function.AttributeName.id

  • LLVMGetLastEnumAttributeKind

  • LLVMCreateEnumAttribute

    Attribute.init(_:_:in:)

  • LLVMGetEnumAttributeKind

    Implemented by Module.removeAttribute(_:from:).

  • LLVMGetEnumAttributeValue

    Attribute.value

  • LLVMCreateTypeAttribute

  • LLVMGetTypeAttributeValue

  • LLVMCreateStringAttribute

  • LLVMGetStringAttributeKind

  • LLVMGetStringAttributeValue

  • LLVMIsEnumAttribute

  • LLVMIsStringAttribute

  • LLVMIsTypeAttribute

  • LLVMGetTypeByName2

    Module.type(named:)

Linker

  • LLVMLinkModules2

Modules

  • LLVMModuleCreateWithName

  • LLVMModuleCreateWithNameInContext

  • LLVMCloneModule

  • LLVMDisposeModule

  • LLVMGetModuleIdentifier

    Module.name

  • LLVMSetModuleIdentifier

    Module.name

  • LLVMGetSourceFileName

  • LLVMSetSourceFileName

  • LLVMGetDataLayoutStr

    Module.layout

  • LLVMGetDataLayout

  • LLVMSetDataLayout

    Module.layout

  • LLVMGetTarget

  • Target

  • LLVMCopyModuleFlagsMetadata

  • LLVMDisposeModuleFlagsMetadata

  • LLVMModuleFlagEntriesGetFlagBehavior

  • LLVMModuleFlagEntriesGetKey

  • LLVMModuleFlagEntriesGetMetadata

  • LLVMGetModuleFlag

  • LLVMAddModuleFlag

  • LLVMDumpModule

  • LLVMPrintModuleToFile

  • LLVMPrintModuleToString

  • LLVMGetModuleInlineAsm

  • LLVMSetModuleInlineAsm2

  • LLVMAppendModuleInlineAsm

  • LLVMGetInlineAsm

  • LLVMGetModuleContext

  • LLVMGetTypeByName

  • LLVMGetFirstNamedMetadata

  • LLVMGetLastNamedMetadata

  • LLVMGetNextNamedMetadata

  • LLVMGetPreviousNamedMetadata

  • LLVMGetNamedMetadata

  • LLVMGetOrInsertNamedMetadata

  • LLVMGetNamedMetadataName

  • LLVMGetNamedMetadataNumOperands

  • LLVMGetNamedMetadataOperands

  • LLVMAddNamedMetadataOperand

  • LLVMGetDebugLocDirectory

  • LLVMGetDebugLocFilename

  • LLVMGetDebugLocLine

  • LLVMGetDebugLocColumn

  • LLVMAddFunction

  • LLVMGetNamedFunction

    Module.function(named:)

  • LLVMGetFirstFunction

  • LLVMGetLastFunction

  • LLVMGetNextFunction

  • LLVMGetPreviousFunction

  • LLVMSetModuleInlineAsm

Basic Blocks

  • LLVMBasicBlockAsValue

  • LLVMValueIsBasicBlock

  • LLVMValueAsBasicBlock

  • LLVMGetBasicBlockName

  • LLVMGetBasicBlockParent

  • LLVMGetBasicBlockTerminator

  • LLVMCountBasicBlocks

    Implemented as the count property of Function.basicBlocks.

  • LLVMGetBasicBlocks

    Function.basicBlocks

  • LLVMGetFirstBasicBlock

  • LLVMGetLastBasicBlock

  • LLVMGetNextBasicBlock

  • LLVMGetPreviousBasicBlock

  • LLVMGetEntryBasicBlock

    Function.entry

  • LLVMInsertExistingBasicBlockAfterInsertBlock

  • LLVMAppendExistingBasicBlock

  • LLVMCreateBasicBlockInContext

  • LLVMAppendBasicBlockInContext

    Module.appendBlock(named:to:)

  • LLVMAppendBasicBlock

  • LLVMInsertBasicBlockInContext

  • LLVMInsertBasicBlock

  • LLVMDeleteBasicBlock

  • LLVMRemoveBasicBlockFromParent

  • LLVMMoveBasicBlockBefore

  • LLVMMoveBasicBlockAfter

  • LLVMGetFirstInstruction

  • LLVMGetLastInstruction

Instructions

  • LLVMHasMetadata

  • LLVMGetMetadata

  • LLVMSetMetadata

  • LLVMInstructionGetAllMetadataOtherThanDebugLoc

  • LLVMGetInstructionParent

  • LLVMGetNextInstruction

  • LLVMGetPreviousInstruction

  • LLVMInstructionRemoveFromParent

  • LLVMInstructionEraseFromParent

  • LLVMDeleteInstruction

  • LLVMGetInstructionOpcode

  • LLVMGetICmpPredicate

  • LLVMGetFCmpPredicate

  • LLVMInstructionClone

  • LLVMIsATerminatorInst

    IRValue.isTerminator

Call Sites and Invocations

  • LLVMGetNumArgOperands
  • LLVMSetInstructionCallConv
  • LLVMGetInstructionCallConv
  • LLVMSetInstrParamAlignment
  • LLVMAddCallSiteAttribute
  • LLVMGetCallSiteAttributeCount
  • LLVMGetCallSiteAttributes
  • LLVMGetCallSiteEnumAttribute
  • LLVMGetCallSiteStringAttribute
  • LLVMRemoveCallSiteEnumAttribute
  • LLVMRemoveCallSiteStringAttribute
  • LLVMGetCalledFunctionType
  • LLVMGetCalledValue
  • LLVMIsTailCall
  • LLVMSetTailCall
  • LLVMGetNormalDest
  • LLVMGetUnwindDest
  • LLVMSetNormalDest
  • LLVMSetUnwindDest

Allocas

  • LLVMGetAllocatedType

    Alloca.allocatedType

GEPs

  • LLVMIsInBounds
  • LLVMSetIsInBounds
  • LLVMGetGEPSourceElementType (LLVMValueRef GEP)

InsertValue

  • LLVMGetNumIndices
  • LLVMGetIndices

PHI Nodes

  • LLVMAddIncoming
  • LLVMCountIncoming
  • LLVMGetIncomingValue
  • LLVMGetIncomingBlock (LLVMValueRef PhiNode, unsigned Index)

Values

  • LLVMTypeOf

    IRValue.type

  • LLVMGetValueKind

  • LLVMGetValueName2

    IRValue.name

  • LLVMSetValueName2

    IRValue.name

  • LLVMDumpValue

  • LLVMPrintValueToString

    IRValue.description

  • LLVMReplaceAllUsesWith

  • LLVMIsConstant

    IRValue.isConstant

  • LLVMIsUndef

    Undefined.init?(_:)

  • LLVMIsPoison

    Poison.init?(_:)

  • LLVMIsAMDNode

  • LLVMIsAValueAsMetadata

  • LLVMIsAMDString

Usage

  • LLVMGetFirstUse
  • LLVMGetNextUse
  • LLVMGetUser
  • LLVMGetUsedValue

Constants

  • LLVMConstNull

    IRType.null

    FloatingPointType.zero

    IntegerType.zero

  • LLVMConstAllOnes

  • LLVMGetUndef

    Undefined.init()

  • LLVMGetPoison

    Poison.init()

  • LLVMIsNull

    IRValue.isNull

  • LLVMConstPointerNull

Composite Constants
  • LLVMConstStringInContext

    StringConstant.init()

  • LLVMConstString

  • LLVMIsConstantString

    StringConstant.init?()

  • LLVMGetAsString

    StringConstant.value

  • LLVMConstStructInContext

    StructConstant.init(aggregating:packed:in:)

  • LLVMConstStruct

  • LLVMConstArray

    ArrayConstant.init(of:containing:in:)

  • LLVMConstArray2

  • LLVMConstNamedStruct

    StructConstant.init(of:aggregating:in:)

  • LLVMGetAggregateElement

    AggregateConstant.subscript[_:]

  • LLVMConstVector

Global Values
  • LLVMGetGlobalParent

  • LLVMIsDeclaration

  • LLVMGetLinkage

    Global.linkage

  • LLVMSetLinkage

    Module.setLinkage(_:for:)

  • LLVMGetSection

  • LLVMSetSection

  • LLVMGetVisibility

  • LLVMSetVisibility

  • LLVMGetDLLStorageClass

  • LLVMSetDLLStorageClass

  • LLVMGetUnnamedAddress

  • LLVMSetUnnamedAddress

  • LLVMGlobalGetValueType

    Global.valueType

  • LLVMHasUnnamedAddr

  • LLVMSetUnnamedAddr

  • LLVMGetAlignment

    Alloca.alignment

  • LLVMSetAlignment

    Module.setAlignment(_:for:)

  • LLVMGlobalSetMetadata

  • LLVMGlobalEraseMetadata

  • LLVMGlobalClearMetadata

  • LLVMGlobalCopyAllMetadata

  • LLVMDisposeValueMetadataEntries

  • LLVMValueMetadataEntriesGetKind

  • LLVMValueMetadataEntriesGetMetadata

Scalar Constants
  • LLVMConstInt

    IntegerType.constant(_:)

  • LLVMConstIntOfArbitraryPrecision

    IntegerType.constant(words:)

  • LLVMConstIntOfString

  • LLVMConstIntOfStringAndSize

    IntegerType.constant(_:radix:)

  • LLVMConstIntGetZExtValue

    IntegerConstant.zext

  • LLVMConstIntGetSExtValue

    IntegerConstant.sext

  • LLVMConstReal

    FloatingPointType.constant(_:)

  • LLVMConstRealOfString

  • LLVMConstRealOfStringAndSize

    FloatingPointType.constant(_:)

  • LLVMConstRealGetDouble

    FloatingPointConstant.value()

Function Values
  • LLVMDeleteFunction

  • LLVMHasPersonalityFn

  • LLVMGetPersonalityFn

  • LLVMSetPersonalityFn

  • LLVMLookupIntrinsicID

    Module.intrinsic(named:for:)

  • LLVMGetIntrinsicID

    Intrinsic.identifier

  • LLVMGetIntrinsicDeclaration

    Module.intrinsic(named:for:)

  • LLVMIntrinsicGetType

  • LLVMIntrinsicGetName

    Intrinsic.name

  • LLVMIntrinsicCopyOverloadedName

  • LLVMIntrinsicCopyOverloadedName2

  • LLVMIntrinsicIsOverloaded

    Intrinsic.isOverloaded

  • LLVMGetFunctionCallConv

  • LLVMSetFunctionCallConv

  • LLVMGetGC

  • LLVMSetGC

  • LLVMAddAttributeAtIndex

    Module.addAttribute(_:_:to:)

  • LLVMGetAttributeCountAtIndex

    Implemented as the count property of Function.attributes.

  • LLVMGetAttributesAtIndex

    Implemented by Function.attributes.

  • LLVMGetEnumAttributeAtIndex

  • LLVMGetStringAttributeAtIndex

  • LLVMRemoveEnumAttributeAtIndex

    Module.removeAttribute(_:from:)

  • LLVMRemoveStringAttributeAtIndex

  • LLVMAddTargetDependentFunctionAttr

Function Parameters
  • LLVMCountParams

    Function.Parameters.count

  • LLVMGetParams

  • LLVMGetParam

    Function.Parameters[_:]

  • LLVMGetParamParent

    Parameter.parent

  • LLVMGetFirstParam

  • LLVMGetLastParam

  • LLVMGetNextParam

  • LLVMGetPreviousParam

  • LLVMSetParamAlignment

Global Variables
  • LLVMAddGlobal

  • LLVMAddGlobalInAddressSpace

    Module.declareGlobal(_:_:inAddressSpace:)

  • LLVMGetNamedGlobal

    Module.global(named:)

  • LLVMGetFirstGlobal

  • LLVMGetLastGlobal

  • LLVMGetNextGlobal

  • LLVMGetPreviousGlobal

  • LLVMDeleteGlobal

  • LLVMGetInitializer

    GlobalVariable.initializer

  • LLVMSetInitializer

    Module.setInitializer(_:for:)

  • LLVMIsThreadLocal

  • LLVMSetThreadLocal

  • LLVMIsGlobalConstant

    GlobalVariable.isGlobalConstant

  • LLVMSetGlobalConstant

    Module.setGlobalConstant(_:for:)

  • LLVMGetThreadLocalMode

  • LLVMSetThreadLocalMode

  • LLVMIsExternallyInitialized

    GlobalVariable.isExternallyInitialized

  • LLVMSetExternallyInitialized

    Module.setExternallyInitialized(_:for:)

Types

  • LLVMGetTypeKind

    Implemented as a fallible initializer on all wrapped types.

  • LLVMTypeIsSized

    IRType.isSized

  • LLVMGetTypeContext

  • LLVMDumpType

  • LLVMPrintTypeToString

    IRType.description

Integer Types

  • LLVMInt1TypeInContext

    Module.i1

  • LLVMInt8TypeInContext

    Module.i8

  • LLVMInt16TypeInContext

    Module.i16

  • LLVMInt32TypeInContext

    Module.i32

  • LLVMInt64TypeInContext

    Module.i64

  • LLVMInt128TypeInContext

    Module.i128

  • LLVMIntTypeInContext

    IntegerType.init(_:in:)

  • LLVMInt1Type

  • LLVMInt8Type

  • LLVMInt16Type

  • LLVMInt32Type

  • LLVMInt64Type

  • LLVMInt128Type

  • LLVMIntType

  • LLVMGetIntTypeWidth

    IntegerType.bitWidth

Floating-point Types

  • LLVMHalfTypeInContext

    FloatingPointType.half(in:)

  • LLVMBFloatTypeInContext

  • LLVMFloatTypeInContext

    FloatingPointType.float(in:)

  • LLVMDoubleTypeInContext

    FloatingPointType.double(in:)

  • LLVMX86FP80TypeInContext

  • LLVMFP128TypeInContext

    FloatingPointType.fp128(in:)

  • LLVMPPCFP128TypeInContext

  • LLVMHalfType

  • LLVMBFloatType

  • LLVMFloatType

  • LLVMDoubleType

  • LLVMX86FP80Type

  • LLVMFP128Type

  • LLVMPPCFP128Type

Function Types

  • LLVMFunctionType

    FunctionType.init(from:to:in:)

  • LLVMIsFunctionVarArg

  • LLVMGetReturnType

    FunctionType.returnType

  • LLVMCountParamTypes

    Implemented as the count property of FunctionType.parameters.

  • LLVMGetParamTypes

    FunctionType.parameters

Structure Types

  • LLVMStructTypeInContext

    StructType.init(_:packed:in:)

  • LLVMStructType

  • LLVMStructCreateNamed

    StructType.init(named:_:packed:in:)

  • LLVMGetStructName

    StructType.name

  • LLVMStructSetBody

    StructType.init(_:packed:in:)

  • LLVMCountStructElementTypes

    StructType.Fields.count

  • LLVMGetStructElementTypes

  • LLVMStructGetTypeAtIndex

    StructType.Fields[_:]

  • LLVMIsPackedStruct

    StructType.isPacked

  • LLVMIsOpaqueStruct

    StructType.isOpaque

  • LLVMIsLiteralStruct

    StructType.isLiteral

Sequential Types

  • LLVMGetElementType

    ArrayType.element

  • LLVMGetSubtypes

  • LLVMGetNumContainedTypes

  • LLVMArrayType

    ArrayType.init(_:_:in:)

  • LLVMArrayType2

  • LLVMGetArrayLength

    ArrayType.count

  • LLVMGetArrayLength2

  • LLVMPointerType

  • LLVMPointerTypeIsOpaque

  • LLVMPointerTypeInContext

    PointerType.init(inAddressSpace:in:)

  • LLVMGetPointerAddressSpace

    PointerType.addressSpace

  • LLVMVectorType

  • LLVMScalableVectorType

  • LLVMGetVectorSize

Other Types

  • LLVMVoidTypeInContext

    VoidType.init(in:)

  • LLVMLabelTypeInContext

  • LLVMX86MMXTypeInContext

  • LLVMX86AMXTypeInContext

  • LLVMTokenTypeInContext

  • LLVMMetadataTypeInContext

  • LLVMVoidType

  • LLVMLabelType

  • LLVMX86MMXType

  • LLVMX86AMXType

  • LLVMTargetExtTypeInContext

Metadata

  • LLVMMDStringInContext2
  • LLVMMDNodeInContext2
  • LLVMMetadataAsValue
  • LLVMValueAsMetadata
  • LLVMGetMDString
  • LLVMGetMDNodeNumOperands
  • LLVMGetMDNodeOperands
  • LLVMReplaceMDNodeOperandWith

Instruction Builders

  • LLVMCreateBuilderInContext

    Module.endOf(_:in:)

  • LLVMCreateBuilder

  • LLVMPositionBuilder

  • LLVMPositionBuilderBefore

    Module.before(_:in:)

  • LLVMPositionBuilderAtEnd

    InsertionPoint.atEndOf(_:in:)

  • LLVMGetInsertBlock

  • LLVMClearInsertionPosition

  • LLVMInsertIntoBuilder

  • LLVMInsertIntoBuilderWithName

  • LLVMDisposeBuilder

    Implemented by InsertionPoint.wrapped.

  • LLVMGetCurrentDebugLocation2

  • LLVMSetCurrentDebugLocation2

  • LLVMSetInstDebugLocation

  • LLVMAddMetadataToInst

  • LLVMBuilderGetDefaultFPMathTag

  • LLVMBuilderSetDefaultFPMathTag

  • LLVMSetCurrentDebugLocation

  • LLVMGetCurrentDebugLocation

  • LLVMBuildRetVoid

Module.insertReturn(at:)

  • LLVMBuildRet

Module.insertReturn(_:at:)

  • LLVMBuildAggregateRet

  • LLVMBuildBr

    Module.insertBr(to:at:)

  • LLVMBuildCondBr

    Module.insertConBr(if:then:else:at:)

  • LLVMBuildSwitch

    Module.insertSwitch(on:cases:default:at:)

  • LLVMBuildIndirectBr

  • LLVMBuildInvoke2

  • LLVMBuildUnreachable

    Module.insertUnreachable(at:)

  • LLVMBuildResume

  • LLVMBuildLandingPad

  • LLVMBuildCleanupRet

  • LLVMBuildCatchRet

  • LLVMBuildCatchPad

  • LLVMBuildCleanupPad

  • LLVMBuildCatchSwitch

  • LLVMAddCase

    Module.insertSwitch(on:cases:default:at:)

  • LLVMAddDestination

  • LLVMGetNumClauses

  • LLVMGetClause

  • LLVMAddClause

  • LLVMIsCleanup

  • LLVMSetCleanup

  • LLVMAddHandler

  • LLVMGetNumHandlers

  • LLVMGetHandlers

  • LLVMGetArgOperand

  • LLVMSetArgOperand

  • LLVMGetParentCatchSwitch

  • LLVMSetParentCatchSwitch

  • LLVMBuildAdd

    Module.insertAdd(overflow:_:_:at:)

  • LLVMBuildNSWAdd

    Module.insertAdd(overflow:_:_:at:)

  • LLVMBuildNUWAdd

    Module.insertAdd(overflow:_:_:at:)

  • LLVMBuildFAdd

    Module.insertFAdd(_:_:at:)

  • LLVMBuildSub

    Module.insertSub(overflow:_:_:at:)

  • LLVMBuildNSWSub

    Module.insertSub(overflow:_:_:at:)

  • LLVMBuildNUWSub

    Module.insertSub(overflow:_:_:at:)

  • LLVMBuildFSub

    Module.insertFSub(_:_:at:)

  • LLVMBuildMul

    Module.insertMul(overflow:_:_:at:)

  • LLVMBuildNSWMul

    Module.insertMul(overflow:_:_:at:)

  • LLVMBuildNUWMul

    Module.insertMul(overflow:_:_:at:)

  • LLVMBuildFMul

    Module.insertFMul(_:_:at:)

  • LLVMBuildUDiv

    Module.insertUnsignedDiv(exact:_:_:at:)

  • LLVMBuildExactUDiv

    Module.insertUnsignedDiv(exact:_:_:at:)

  • LLVMBuildSDiv

    Module.insertSignedDiv(exact:_:_:at:)

  • LLVMBuildExactSDiv

    Module.insertSignedDiv(exact:_:_:at:)

  • LLVMBuildFDiv

    Module.insertFDiv(_:_:at:)

  • LLVMBuildURem

    Module.insertUnsignedRem(_:_:at:)

  • LLVMBuildSRem

    Module.insertSignedRem(_:_:at:)

  • LLVMBuildFRem

    Module.insertFRem(_:_:at:)

  • LLVMBuildShl

    Module.insertShl(_:_:at:)

  • LLVMBuildLShr

    Module.insertLShr(_:_:at:)

  • LLVMBuildAShr

    Module.insertAShr(_:_:at:)

  • LLVMBuildAnd

    Module.insertBitwiseAnd(_:_:at:)

  • LLVMBuildOr

    Module.insertBitwiseOr(_:_:at:)

  • LLVMBuildXor

    Module.insertBitwiseXor(_:_:at:)

  • LLVMBuildBinOp

  • LLVMBuildNeg

  • LLVMBuildNSWNeg

  • LLVMBuildNUWNeg

  • LLVMBuildFNeg

  • LLVMBuildNot

  • LLVMBuildMalloc

  • LLVMBuildArrayMalloc

  • LLVMBuildMemSet

  • LLVMBuildMemCpy

  • LLVMBuildMemMove

  • LLVMBuildAlloca

    Module.insertAlloca(_:at:)

  • LLVMBuildArrayAlloca

  • LLVMBuildFree

  • LLVMBuildLoad2

    Module.insertLoad(_:_:at:)

  • LLVMBuildStore

    Module.insertStore(_:_:at:)

  • LLVMBuildGEP2

    Module.insertGetElementPointer(of:typed:indices:at:)

  • LLVMBuildInBoundsGEP2

    Module.insertGetElementPointerInBounds(of:typed:indices:at:)

  • LLVMBuildStructGEP2

    Module.insertGetStructElementPointer(of:typed:index:at:)

  • LLVMBuildGlobalString

  • LLVMBuildGlobalStringPtr

  • LLVMGetVolatile

  • LLVMSetVolatile

  • LLVMGetWeak

  • LLVMSetWeak

  • LLVMGetOrdering

  • LLVMSetOrdering

  • LLVMGetAtomicRMWBinOp

  • LLVMSetAtomicRMWBinOp

  • LLVMBuildTrunc

    Module.insertTrunc(_:to:at:)

  • LLVMBuildZExt

    Module.insertZeroExtend(_:to:at:)

  • LLVMBuildSExt

    Module.insertSignedExtend(_:to:at:)

  • LLVMBuildFPToUI

  • LLVMBuildFPToSI

  • LLVMBuildUIToFP

  • LLVMBuildSIToFP

  • LLVMBuildFPTrunc

    Module.insertFPTrunc(_:to:at:)

  • LLVMBuildFPExt

    Module.insertFPExt(_:to:at:)

  • LLVMBuildPtrToInt

    Module.insertPtrToInt(_:to:at:)

  • LLVMBuildIntToPtr

    Module.insertIntToPtr(_:to:at:)

  • LLVMBuildBitCast

  • LLVMBuildAddrSpaceCast

  • LLVMBuildZExtOrBitCast

  • LLVMBuildSExtOrBitCast

  • LLVMBuildTruncOrBitCast

  • LLVMBuildCast

  • LLVMBuildPointerCast

  • LLVMBuildIntCast2

  • LLVMBuildFPCast

  • LLVMBuildIntCast

  • LLVMGetCastOpcode

  • LLVMBuildICmp

    Module.insertIntegerComparison(_:_:_:at:)

  • LLVMBuildFCmp

    Module.insertFloatingPointComparison(_:_:_:at:)

  • LLVMBuildPhi

  • LLVMBuildCall2

    Module.insertCall(_:typed:on:at:) Module.insertCall(_:on:at:)

  • LLVMBuildSelect

  • LLVMBuildVAArg

  • LLVMBuildExtractElement

  • LLVMBuildInsertElement

  • LLVMBuildShuffleVector

  • LLVMBuildExtractValue

    Module.insertExtractValue(from:at:at:)

  • LLVMBuildInsertValue

    Module.insertInserValue(_:at:into:at:)

  • LLVMBuildFreeze

  • LLVMBuildIsNull

  • LLVMBuildIsNotNull

  • LLVMBuildPtrDiff2

  • LLVMBuildFence

  • LLVMBuildAtomicRMW

  • LLVMBuildAtomicCmpXchg

  • LLVMGetNumMaskElements

  • LLVMGetUndefMaskElem

  • LLVMGetMaskValue

  • LLVMIsAtomicSingleThread

  • LLVMSetAtomicSingleThread

  • LLVMGetCmpXchgSuccessOrdering

  • LLVMSetCmpXchgSuccessOrdering

  • LLVMGetCmpXchgFailureOrdering

  • LLVMSetCmpXchgFailureOrdering

Memory Buffers

  • LLVMCreateMemoryBufferWithContentsOfFile

    MemoryBuffer.init(contentsOf:)

  • LLVMCreateMemoryBufferWithSTDIN

  • LLVMCreateMemoryBufferWithMemoryRange

    MemoryBuffer.withInstanceBorrowing(_:named:_:)

  • LLVMCreateMemoryBufferWithMemoryRangeCopy

    MemoryBuffer.init(copying:named:)

  • LLVMGetBufferStart

    MemoryBuffer.withUnsafeBytes

  • LLVMGetBufferSize

    MemoryBuffer.count

  • LLVMDisposeMemoryBuffer

    Implemented by MemoryBuffer.wrapped.

Target Information

  • LLVMInitializeAllTargetInfos

  • LLVMInitializeAllTargets

  • LLVMInitializeAllTargetMCs

  • LLVMInitializeAllAsmPrinters

  • LLVMInitializeAllAsmParsers

  • LLVMInitializeAllDisassemblers

  • LLVMInitializeNativeTarget

    Target.host()

  • LLVMInitializeNativeAsmParser

    Target.host()

  • LLVMInitializeNativeAsmPrinter

    Target.host()

  • LLVMInitializeNativeDisassembler

    Target.host()

  • LLVMGetModuleDataLayout

  • LLVMSetModuleDataLayout

  • LLVMCreateTargetData

  • LLVMDisposeTargetData

    Implemented by DataLayout.wrapped

  • LLVMAddTargetLibraryInfo

  • LLVMCopyStringRepOfTargetData

    DataLayout.description

  • LLVMByteOrder

  • LLVMPointerSize

  • LLVMPointerSizeForAS

  • LLVMIntPtrType

  • LLVMIntPtrTypeForAS

  • LLVMIntPtrTypeInContext

  • LLVMIntPtrTypeForASInContext

  • LLVMSizeOfTypeInBits

  • LLVMStoreSizeOfType

    DataLayout.storageSize(of:)

  • LLVMABISizeOfType

  • LLVMABIAlignmentOfType

    DataLayout.abiAlignment(of:)

  • LLVMCallFrameAlignmentOfType

  • LLVMPreferredAlignmentOfType

    DataLayout.preferredAlignment(of:)

  • LLVMPreferredAlignmentOfGlobal

  • LLVMElementAtOffset

    DataLayout.element(at:in:)

  • LLVMOffsetOfElement

    DataLayout.offset(of:in:)

  • LLVMGetFirstTarget

  • LLVMGetNextTarget

  • LLVMGetTargetFromName

  • LLVMGetTargetFromTriple

    Target.host()

  • LLVMGetTargetName

    Target.name

  • LLVMGetTargetDescription

    Target.description

  • LLVMTargetHasJIT

    Target.hasJIT

  • LLVMTargetHasTargetMachine

  • LLVMTargetHasAsmBackend

    Target.hasAssemblyBackEnd

  • LLVMCreateTargetMachine

    TargetMachine.init(for:cpu:features:optimization:relocation:code:)

  • LLVMDisposeTargetMachine

    Implemented by TargetMachine.wrapped.

  • LLVMGetTargetMachineTarget

    Target.init(of:)

  • LLVMGetTargetMachineTriple

    TargetMachine.triple

  • LLVMGetTargetMachineCPU

    TargetMachine.cpu

  • LLVMGetTargetMachineFeatureString

    TargetMachine.features

  • LLVMCreateTargetDataLayout

    DataLayout.init(of:)

  • LLVMSetTargetMachineAsmVerbosity

  • LLVMTargetMachineEmitToFile

    Module.write(_:for:to:)

  • LLVMTargetMachineEmitToMemoryBuffer

    Module.compile(_:for:)

  • LLVMGetDefaultTargetTriple

    Target.host()

  • LLVMNormalizeTargetTriple

  • LLVMGetHostCPUName

  • LLVMGetHostCPUFeatures

  • LLVMAddAnalysisPasses