™p      !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~      !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~      !"#$%&'()*+,-./01 2 3 4 5 6 7 8 9 : ; < = > ? @ A B C DEF G H I J KLMN O P Q R S T U V W X Y Z [ \ ] ^ _ ` a b c d e f g h i j k l m n o 5Fixed sized vector, the array size is encoded in the n parameter. 5Fixed sized arrays, the array size is encoded in the n parameter. 128 bit floating point. !Variable sized unsigned integer.  The n parameter should belong to PosI. Variable sized signed integer.  The n parameter should belong to PosI. p      requires GHC 6.8, LLVM experimentalbos@serpentine.com!Get the type of a sequential type' s elements. .Fill out an array with the types of a function's fixed  parameters. ;Give the number of fixed parameters that a function takes. Give a function's return type. +Indicate whether a function takes varargs. Create a function type. $An integer type of the given width. 1  !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~      !"#$%&'()*+,-./0123456789:;<=187?;6543;"! AB@>LKJIF=<C21*)0#(-1$).!&  QRPO+0/.-,9:NM:9('2%*,3&%/"'+~}|{zyxwvutsrqponmlkjihgfedcba`_^]\[ZYXWVUTS$#HGED     <=876451  !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~           "!  !"#$%&'()*+0/.-,,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQQPONMLKJIHGFEDCBA@?>>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijkkhg\[^VZYfe_UTSRjidcXba]W`RSTUVWXYZ[\]^_`abcdefghijklmnopqrrqponmllmnopqrsttsstuvvuuv wManage compile passes. xKA module provider is used by the code generator to get access to a module. yType of top level modules. zYFree all storage related to a module. *Note*, this is a dangerous call, since referring V to the module after this call is an error. The reason for the explicit call to free O the module instead of an automatic lifetime management is that modules have a P somewhat complicated ownership. Handing a module to a module provider changes [ the ownership of the module, and the module provider will free the module when necessary. {Write a module to a file. |Read a module from a file. }&Turn a module into a module provider. ~Create a pass manager. $Create a pass manager for a module. =Add a control flow graph simplification pass to the manager. 0Add a constant propagation pass to the manager. 2Add a global value numbering pass to the manager. ;qrwstuvwxyxz{y|}~z{|}~9wststuvwxyxyxz{z{y|}|}~z{|}~   Function type. Types with a fixed size. IFirst class types, i.e., the types that can be passed as arguments, etc. Primitive types. Floating types. Integral types. 5Arithmetic types, i.e., integral and floating types. GType descriptor, used to convey type information through the LLVM API. The > class classifies all types that have an LLVM representation.  ;An enumeration for the kinds of linkage for global values. 7Stand-in functions for streaming fns from BC files !ExternalWeak linkage description #Function to be accessible from DLL !Function to be imported from DLL 2Rename collisions when linking (static functions) /Special purpose, only applies to global arrays 4Keep one copy of named function when linking (weak) 0Keep one copy of function when linking (inline) Externally visible function eA basic block is a sequence of non-branching instructions, terminated by a control flow instruction. )This class is just to simplify contexts. 0A function is simply a pointer to the function. Create a new module. 'Create a new explicitely named module. Give the body for a module. )Create a new module with the given body. Create a new named function. Create a new function. Use 3 to create a function with external linkage, since  it needs a known name. _Define a function body. The basic block returned by the function is the function entry point. +Create a new function with the given body. +Create a new function with the given body. KAdd attributes to a value. Beware, what attributes are allowed depends on  what kind of value it is. QCreate a reference to an external function while code generating for a function. $Create a new named global variable. Create a new global variable. +Give a global variable a (constant) value. %Create and define a global variable. +Create and define a named global variable. HMake a constant vector. Replicates or truncates the list to get length n. GMake a constant array. Replicates or truncates the list to get length n. G     ; GAcceptable single index to getElementPointer. Acceptable arguments to getElementPointer. 0Acceptable argument to array memory allocation. Acceptable arguments to %. 0Acceptable operands to comparison instructions. Always true (always folded) True if unordered or not equal 'True if unordered, less than, or equal True if unordered or less than *True if unordered, greater than, or equal "True if unordered or greater than True if unordered or equal 'True if unordered: isnan(X) | isnan(Y) True if ordered (no nans) )True if ordered and operands are unequal 'True if ordered and less than or equal True if ordered and less than *True if ordered and greater than or equal !True if ordered and greater than True if ordered and equal Always false (always folded) signed less or equal signed less than signed greater or equal signed greater than unsigned less or equal unsigned less than unsigned greater or equal unsigned greater than  not equal equal 8Acceptable arguments to arithmetic binary instructions. Acceptable arguments to the  instruction. {Return from the current function with the given value. Use () as the return value for what would be a void function is C. ]Branch to the first basic block if the boolean is true, otherwise to the second basic block. 1Unconditionally branch to the given basic block. Branch table instruction. ;Unwind the call stack until a function call performed with & is reached. $ I.e., throw a non-local exception. ?Inform the code generator that this code can never be reached.  Floating point division.  Floating point remainder. Get a value from a vector. .Insert a value into a vector, nondescructive. Permute vector. )Truncate a value to a shorter bit width. &Zero extend a value to a wider width. $Sign extend a value to wider width. !Truncate a floating point value. Extend a floating point value. 7Convert a floating point value to an unsigned integer. 4Convert a floating point value to a signed integer. 7Convert an unsigned integer to a floating point value. 4Convert a signed integer to a floating point value. !Convert a pointer to an integer.  !Convert an integer to a pointer. !LConvert between to values of the same size by just copying the bit pattern. "Compare integers. #Compare floating point values. $2Select between two values depending on a boolean. %/Call a function with the given arguments. The %8 instruction is variadic, i.e., the number of arguments ! it takes depends on the type of f. &)Call a function with exception handling. 'QJoin several variables (virtual registers) from different basic blocks into one. 8 All of the variables in the list are joined. See also (. (/Add additional inputs to an existing phi node. M The reason for this instruction is that sometimes the structure of the code ^ makes it impossible to have all variables in scope at the point where you need the phi node. )Allocate heap memory. *Allocate heap (array) memory. +Allocate stack memory. ,Allocate stack (array) memory. -Free heap memory. .Load a value from memory. /Store a value in memory 0+Address arithmetic. See LLVM description. ) The index is a nested tuple of the form (i1,(i2,( ... ()))). T (This is without a doubt the most confusing LLVM instruction, but the types help.) ]      !"#$%&'()*+,-./0Z       !"#$%&'()*+,-./03MThe LLVM execution engine is encapsulated so it cannot be accessed directly. D The reason is that (currently) there must only ever be one engine, ' so access to it is wrapped ina monad. 123456 123456 789:;<=>?@ABC 7 89:;<=>?@A89:;<=>?@ABCDEDEDE FGHIJJIHGFFGHIJKPrint a value. LPrint a type. MGet the name of a . p      wxyz{|}~      !"#$%&'()*+,-./0DEKLMyzx}w~{|&     )*+,-./0 !"#$'(% DE     KLMKLM PIClass of LLVM function types that can be translated to the corresponding  Haskell type. Q3Generate a Haskell function from an LLVM function. RITranslate a function to Haskell code. This is a simplified interface to , the execution engine and module mechanism. SCombine R  and O . 123456789:;<=>?@ABCNOPQRS23465P1QNORS789:;<=>?@ABCNOOPQRS TUVTUVTUV WXYZWXYZWXYZ ` Synonym for CodeGenFunction r (Value a). bComparison functions. g Lazy and. h Lazy or. iYConditional, returns first element of the pair when condition is true, otherwise second. kReturn a value from an m . lUse x < - set $ ... to make a binding. mUnlift a function with TValue to have Value arguments. nLift a function from having Value arguments to having TValue arguments. oDefine a recursive m +, gets pased itself as the first argument. [\]^_`abcdefghijklmno`^_abefcdghijkl]m\no[[\]^__`abcdefghijklmno !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~      !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~HJIJ~^<:D      !"#$%&'()*+,-./0p12bb`_3\WTRQP4567 8 9 : ; <= > ? @ A B C D E F G H I J K L M N O P Q R S T U V W X Y Z [ \ ] ^ _`ab`cd`ef:88gHhJijklmn>opqrstu(,Fvwxyz{|}~:D|zfq llvm-0.6.2.0 LLVM.CoreLLVM.Util.Foreign LLVM.FFI.CoreLLVM.FFI.TargetLLVM.FFI.ExecutionEngineLLVM.FFI.Transforms.ScalarLLVM.FFI.BitWriterLLVM.FFI.BitReaderLLVM.ExecutionEngineLLVM.FFI.AnalysisLLVM.Util.FileLLVM.Util.LoopLLVM.Util.ArithmeticLLVM.Core.DataLLVM.Core.UtilLLVM.Core.CodeGenMonadLLVM.Core.TypeLLVM.Core.CodeGenLLVM.Core.InstructionsLLVM.ExecutionEngine.EngineLLVM.ExecutionEngine.TargetLLVM.Core.VectorVectorArrayFP128WordNIntNwithalloca withArrayLen setTailCallremoveInstrAttributeremoveAttribute isTailCalladdInstrAttribute addAttributesetParamAlignmentsetInstrParamAlignmentrunPassManagerrunFunctionPassManagerpositionBuilder opaqueType labelTypeinitializeFunctionPassManagergetPreviousParamgetPreviousInstructiongetPreviousGlobalgetPreviousFunctiongetPreviousBasicBlockgetParamParent getNextParamgetNextInstruction getNextGlobalgetNextFunctiongetNextBasicBlock getLastParamgetLastInstruction getLastGlobalgetLastFunctiongetLastBasicBlockgetInstructionParentgetInsertBlockgetGlobalParent getFirstParamgetFirstInstructiongetFirstGlobalgetFirstFunctiongetFirstBasicBlockgetBasicBlockParentfinalizeFunctionPassManager dumpModuleptrDisposePassManagercreatePassManagercreateFunctionPassManagerconstRealOfStringsizeOf setTargetresolveTypeHandle refineType getVectorSize getTargetgetPointerAddressSpacegetIntTypeWidthgetArrayLengthdisposeTypeHandledisposeMessagedisposeMemoryBuffercreateTypeHandlecreateMemoryBufferWithSTDIN$createMemoryBufferWithContentsOfFileisPackedStructgetStructElementTypescountStructElementTypes structTypesetInstructionCallConvgetInstructionCallConvgetIncomingBlockgetIncomingValue addIncoming countIncomingaddCasebuildShuffleVectorbuildInsertElementbuildExtractElement buildVAArg buildSelect buildCallbuildPhi buildFCmp buildICmp buildBitCast buildIntToPtr buildPtrToInt buildFPExt buildFPTrunc buildSIToFP buildUIToFP buildFPToSI buildFPToUI buildSExt buildZExt buildTruncbuildGEP buildStore buildLoad buildFreebuildArrayAlloca buildAllocabuildArrayMalloc buildMallocbuildNotbuildNegbuildXorbuildOrbuildAnd buildAShr buildLShrbuildShl buildFRem buildSRem buildURem buildFDiv buildSDiv buildUDivbuildMulbuildSubbuildAddbuildUnreachable buildUnwind buildInvoke buildSwitch buildCondBrbuildBrbuildRet buildRetVoid positionAtEndpositionBeforeptrDisposeBuilder createBuilderdeleteBasicBlockinsertBasicBlockappendBasicBlockgetEntryBasicBlockgetBasicBlockscountBasicBlocksvalueAsBasicBlockvalueIsBasicBlockbasicBlockAsValueconstShuffleVectorconstInsertElementconstExtractElement constSelect constBitCast constIntToPtr constPtrToInt constFPToSI constFPToUI constSIToFP constUIToFP constFPExt constFPTrunc constZExt constSExt constTruncconstGEP constAShr constLShrconstShl constFCmp constICmpconstXorconstOrconstAnd constFRem constSRem constURem constFDiv constSDiv constUDivconstMulconstSubconstAddconstNotconstNeg constVector constStruct constString constRealconstInt setAlignment getAlignment setVisibility getVisibility setSection getSection setLinkage getLinkage isDeclarationsetGCgetGCsetFunctionCallConvgetFunctionCallConvgetIntrinsicID getParamsgetParam countParamsdeleteFunction addFunctiongetNamedFunctionisUndefisNullgetUndef isConstant constNull constArray constAllOnes dumpValue setValueName getValueNametypeOfsetGlobalConstantisGlobalConstantsetThreadLocal isThreadLocalgetInitializergetNamedGlobalsetInitializer deleteGlobal addGlobalgetElementTypedeleteTypeName addTypeName vectorType pointerType arrayType getParamTypescountParamTypes getReturnTypeisFunctionVarArg functionTypevoidType ppcFP128Type fp128Type x86FP80Type doubleType floatType integerType int64Type int32Type int16Typeint8Typeint1TypeptrDisposeModuleProvider%createModuleProviderForExistingModule setDataLayout getDataLayoutptrDisposeModule disposeModulemoduleCreateWithNamePassManagerRef PassManager AttributeReadOnlyAttributeReadNoneAttribute NestAttributeByValAttributeNoAliasAttributeNoUnwindAttributeStructRetAttributeInRegAttributeNoReturnAttribute SExtAttribute ZExtAttributeTypeKindVectorTypeKindOpaqueTypeKindPointerTypeKind ArrayTypeKindStructTypeKindFunctionTypeKindIntegerTypeKind LabelTypeKindPPC_FP128TypeKind FP128TypeKindX86_FP80TypeKindDoubleTypeKind FloatTypeKind VoidTypeKindMemoryBufferRef MemoryBuffer BuilderRefBuilder BasicBlockRef BasicBlock VisibilityLinkageCallingConvention X86FastCall X86StdCallColdFastCValueRefValueTypeRefTypeModuleProviderRefModuleProvider ModuleRefModulefromCallingConventiontoCallingConvention getTypeKind fromAttribute toAttributestoreSizeOfTypesizeOfTypeInBitspreferredAlignmentOfTypepreferredAlignmentOfGlobal pointerSizeoffsetOfElementinvalidateStructLayout intPtrTypeelementAtOffsetdisposeTargetDatacreateTargetDatacopyStringRepOfTargetDatacallFrameAlignmentOfType byteOrder addTargetData aBISizeOfTypeaBIAlignmentOfType TargetDataRef TargetData ByteOrderinggetPointerToGlobaladdGlobalMappinggetExecutionEngineTargetDatarunFunctionAsMainremoveModuleProvidergenericValueToPointergenericValueIntWidthfreeMachineCodeForFunction findFunctioncreateJITCompilercreateInterpretercreateGenericValueOfPointeraddModuleProvider runFunctionptrDisposeGenericValuegenericValueToFloatcreateGenericValueOfFloatgenericValueToIntcreateGenericValueOfIntrunStaticDestructorsrunStaticConstructorsptrDisposeExecutionEnginecreateExecutionEngineGenericValueRef GenericValueExecutionEngineaddReassociatePassaddPromoteMemoryToRegisterPassaddInstructionCombiningPass addGVNPassaddDemoteMemoryToRegisterPassaddConstantPropagationPassaddCFGSimplificationPasswriteBitcodeToFileHandlewriteBitcodeToFile parseBitcodegetBitcodeModuleProvider destroyModulereadBitcodeFromFileCodeGenFunction CodeGenModule IsFunctionIsSized IsFirstClass IsPrimitive IsFloating IsInteger IsArithmeticTypeDesc TDFunctionTDPtrTDVectorTDArrayTDIntTDVoidTDFP128TDDoubleTDFloatIsTypetypeDesc IsPowerOf2typeReftypeNameisSigned isFloating GhostLinkageExternalWeakLinkageDLLExportLinkageDLLImportLinkageInternalLinkageAppendingLinkage WeakLinkageLinkOnceLinkageExternalLinkageTGlobal TFunctionGlobal FunctionRet FunctionArgsFunctionIsConst ConstValue ModuleValue newModulenewNamedModule defineModule createModulegetModuleValuescastModuleValuevalueOfvaluezeroallOnesundefnewNamedFunction newFunctiondefineFunctioncreateFunctioncreateNamedFunction addAttributescreateBasicBlock newBasicBlocknewNamedBasicBlockdefineBasicBlockgetCurrentBasicBlockexternFunctionnewNamedGlobal newGlobal defineGlobal createGlobalcreateNamedGlobal createStringcreateStringNul IsIndexArg GetElementPtrAllocArgCallArgsCmpRetCmpOp FPPredicateFPTFPUNEFPULEFPULTFPUGEFPUGTFPUEQFPUNOFPORDFPONEFPOLEFPOLTFPOGEFPOGTFPOEQFPFalse IntPredicateIntSLEIntSLTIntSGEIntSGTIntULEIntULTIntUGEIntUGTIntNEIntEQABinOpRet TerminateretcondBrbrswitchunwind unreachableaddsubmuludivsdivuremsremfdivfremshllshrashrandorxorneginvextractelement insertelement shufflevectortrunczextsextfptruncfpextfptouifptosiuitofpsitofpptrtointinttoptrbitcasticmpfcmpselectcallinvokephi addPhiInputsmalloc arrayMalloc arrayAllocafreeloadstore getElementPtrGeneric EngineAccessrunEngineAccessgetPointerToFunction addModule littleEndian ourTargetDatatargetDataFromStringtoVector fromVectorviewFunctionCFGOnlyviewFunctionCFG verifyModuleverifyFunctionVerifierFailureActiondumpTypeUnsafe unsafePurify TranslatablegenerateFunctionsimpleFunctionunsafeGenerateFunctionwriteCodeGenModuleoptimizeFunctionoptimizeFunctionCGPhiforLoop mapVector mapVector2 CallIntrinsic UnwrapArgs ArithFunctionCmpcmpTValue%==%/=%>%>=%<%<=%&&%||???retrnset arithFunctiontoArithFunctionrecursiveFunctionbaseGHC.PtrPtrForeign.C.StringCStringForeign.Marshal.ArrayfromPassManager fromBuilderfromModuleProvider fromModule withModule valueHasType showTypeOfwithModuleProvider withBuilderconstStringNulmakeCall makeInvoke buildEmptyPhiwithEmptyCString addPhiInswithPassManager getValueNameU mtl-1.1.0.2Control.Monad.TransliftIOgenMSym getModulerunCodeGenModulegenFSym getFunction getBuildergetFunctionModule getExterns putExternsrunCodeGenFunctionconstOfunValuewithCurrentBuilder toGeneric fromGenericgetRunFunctionMkVector