Class LLVMCore
- java.lang.Object
-
- org.lwjgl.llvm.LLVMCore
-
public class LLVMCore extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classLLVMCore.FunctionsContains the function pointers loaded from the LLVMSharedLibrary.
-
Field Summary
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static org.lwjgl.system.SharedLibrarygetLibrary()Returns the LLVMSharedLibrary.static longLLVMAddAlias(long M, long Ty, long Aliasee, java.lang.CharSequence Name)static longLLVMAddAlias(long M, long Ty, long Aliasee, java.nio.ByteBuffer Name)static voidLLVMAddAttributeAtIndex(long F, int Idx, long A)Add an attribute to a function.static voidLLVMAddCallSiteAttribute(long C, int Idx, long A)static voidLLVMAddCase(long Switch, long OnVal, long Dest)Add a case to theswitchinstructionstatic voidLLVMAddClause(long LandingPad, long ClauseVal)Add acatchorfilterclause to thelandingpadinstructionstatic voidLLVMAddDestination(long IndirectBr, long Dest)Add a destination to theindirectbrinstructionstatic longLLVMAddFunction(long M, java.lang.CharSequence Name, long FunctionTy)Add a function to a module under a specified name.static longLLVMAddFunction(long M, java.nio.ByteBuffer Name, long FunctionTy)Add a function to a module under a specified name.static longLLVMAddGlobal(long M, long Ty, java.lang.CharSequence Name)static longLLVMAddGlobal(long M, long Ty, java.nio.ByteBuffer Name)static longLLVMAddGlobalIFunc(long M, java.lang.CharSequence Name, long Ty, int AddrSpace, long Resolver)Add a global indirect function to a module under a specified name.static longLLVMAddGlobalIFunc(long M, java.nio.ByteBuffer Name, long Ty, int AddrSpace, long Resolver)Add a global indirect function to a module under a specified name.static longLLVMAddGlobalInAddressSpace(long M, long Ty, java.lang.CharSequence Name, int AddressSpace)static longLLVMAddGlobalInAddressSpace(long M, long Ty, java.nio.ByteBuffer Name, int AddressSpace)static voidLLVMAddHandler(long CatchSwitch, long Dest)Add a destination to thecatchswitchinstructionstatic voidLLVMAddIncoming(long PhiNode, org.lwjgl.PointerBuffer IncomingValues, org.lwjgl.PointerBuffer IncomingBlocks)Add an incoming value to the end of a PHI list.static voidLLVMAddModuleFlag(long M, int Behavior, java.lang.CharSequence Key, long Val)Add a module-level flag to the module-level flags metadata if it doesn't already exist.static voidLLVMAddModuleFlag(long M, int Behavior, java.nio.ByteBuffer Key, long Val)Add a module-level flag to the module-level flags metadata if it doesn't already exist.static voidLLVMAddNamedMetadataOperand(long M, java.lang.CharSequence Name, long Val)Add an operand to named metadata.static voidLLVMAddNamedMetadataOperand(long M, java.nio.ByteBuffer Name, long Val)Add an operand to named metadata.static voidLLVMAddTargetDependentFunctionAttr(long Fn, java.lang.CharSequence A, java.lang.CharSequence V)Add a target-dependent attribute to a functionstatic voidLLVMAddTargetDependentFunctionAttr(long Fn, java.nio.ByteBuffer A, java.nio.ByteBuffer V)Add a target-dependent attribute to a functionstatic longLLVMAliasGetAliasee(long Alias)Retrieve the target value of an alias.static voidLLVMAliasSetAliasee(long Alias, long Aliasee)Set the target value of an alias.static longLLVMAlignOf(long Ty)static longLLVMAppendBasicBlock(long Fn, java.lang.CharSequence Name)Append a basic block to the end of a function using the global context.static longLLVMAppendBasicBlock(long Fn, java.nio.ByteBuffer Name)Append a basic block to the end of a function using the global context.static longLLVMAppendBasicBlockInContext(long C, long Fn, java.lang.CharSequence Name)Append a basic block to the end of a function.static longLLVMAppendBasicBlockInContext(long C, long Fn, java.nio.ByteBuffer Name)Append a basic block to the end of a function.static voidLLVMAppendExistingBasicBlock(long Fn, long BB)Append the given basic block to the basic block list of the given function.static voidLLVMAppendModuleInlineAsm(long M, java.lang.CharSequence Asm)Append inline assembly to a module.static voidLLVMAppendModuleInlineAsm(long M, java.nio.ByteBuffer Asm)Append inline assembly to a module.static longLLVMArrayType(long ElementType, int ElementCount)Create a fixed size array type that refers to a specific type.static longLLVMBasicBlockAsValue(long BB)Convert a basic block instance to a value type.static longLLVMBFloatType()static longLLVMBFloatTypeInContext(long C)Obtain a 16-bit brain floating point type from a context.static longLLVMBlockAddress(long F, long BB)static longLLVMBuildAdd(long Builder, long LHS, long RHS, java.lang.CharSequence Name)Arithmeticstatic longLLVMBuildAdd(long Builder, long LHS, long RHS, java.nio.ByteBuffer Name)Arithmeticstatic longLLVMBuildAddrSpaceCast(long Builder, long Val, long DestTy, java.lang.CharSequence Name)static longLLVMBuildAddrSpaceCast(long Builder, long Val, long DestTy, java.nio.ByteBuffer Name)static longLLVMBuildAggregateRet(long Builder, org.lwjgl.PointerBuffer RetVals)static longLLVMBuildAlloca(long Builder, long Ty, java.lang.CharSequence Name)static longLLVMBuildAlloca(long Builder, long Ty, java.nio.ByteBuffer Name)static longLLVMBuildAnd(long Builder, long LHS, long RHS, java.lang.CharSequence Name)static longLLVMBuildAnd(long Builder, long LHS, long RHS, java.nio.ByteBuffer Name)static longLLVMBuildArrayAlloca(long Builder, long Ty, long Val, java.lang.CharSequence Name)static longLLVMBuildArrayAlloca(long Builder, long Ty, long Val, java.nio.ByteBuffer Name)static longLLVMBuildArrayMalloc(long Builder, long Ty, long Val, java.lang.CharSequence Name)static longLLVMBuildArrayMalloc(long Builder, long Ty, long Val, java.nio.ByteBuffer Name)static longLLVMBuildAShr(long Builder, long LHS, long RHS, java.lang.CharSequence Name)static longLLVMBuildAShr(long Builder, long LHS, long RHS, java.nio.ByteBuffer Name)static longLLVMBuildAtomicCmpXchg(long B, long Ptr, long Cmp, long New, int SuccessOrdering, int FailureOrdering, boolean SingleThread)static longLLVMBuildAtomicRMW(long B, int op, long PTR, long Val, int ordering, boolean singleThread)static longLLVMBuildBinOp(long B, int Op, long LHS, long RHS, java.lang.CharSequence Name)static longLLVMBuildBinOp(long B, int Op, long LHS, long RHS, java.nio.ByteBuffer Name)static longLLVMBuildBitCast(long Builder, long Val, long DestTy, java.lang.CharSequence Name)static longLLVMBuildBitCast(long Builder, long Val, long DestTy, java.nio.ByteBuffer Name)static longLLVMBuildBr(long Builder, long Dest)static longLLVMBuildCall(long Builder, long Fn, org.lwjgl.PointerBuffer Args, java.lang.CharSequence Name)static longLLVMBuildCall(long Builder, long Fn, org.lwjgl.PointerBuffer Args, java.nio.ByteBuffer Name)static longLLVMBuildCall2(long Builder, long Ty, long Fn, org.lwjgl.PointerBuffer Args, java.lang.CharSequence Name)static longLLVMBuildCall2(long Builder, long Ty, long Fn, org.lwjgl.PointerBuffer Args, java.nio.ByteBuffer Name)static longLLVMBuildCast(long B, int Op, long Val, long DestTy, java.lang.CharSequence Name)static longLLVMBuildCast(long B, int Op, long Val, long DestTy, java.nio.ByteBuffer Name)static longLLVMBuildCatchPad(long B, long ParentPad, org.lwjgl.PointerBuffer Args, java.lang.CharSequence Name)static longLLVMBuildCatchPad(long B, long ParentPad, org.lwjgl.PointerBuffer Args, java.nio.ByteBuffer Name)static longLLVMBuildCatchRet(long B, long CatchPad, long BB)static longLLVMBuildCatchSwitch(long B, long ParentPad, long UnwindBB, int NumHandlers, java.lang.CharSequence Name)static longLLVMBuildCatchSwitch(long B, long ParentPad, long UnwindBB, int NumHandlers, java.nio.ByteBuffer Name)static longLLVMBuildCleanupPad(long B, long ParentPad, org.lwjgl.PointerBuffer Args, java.lang.CharSequence Name)static longLLVMBuildCleanupPad(long B, long ParentPad, org.lwjgl.PointerBuffer Args, java.nio.ByteBuffer Name)static longLLVMBuildCleanupRet(long B, long CatchPad, long BB)static longLLVMBuildCondBr(long Builder, long If, long Then, long Else)static longLLVMBuilderGetDefaultFPMathTag(long Builder)Get the default floating-point math metadata for a given builder.static voidLLVMBuilderSetDefaultFPMathTag(long Builder, long FPMathTag)Set the default floating-point math metadata for the given builder.static longLLVMBuildExactSDiv(long Builder, long LHS, long RHS, java.lang.CharSequence Name)static longLLVMBuildExactSDiv(long Builder, long LHS, long RHS, java.nio.ByteBuffer Name)static longLLVMBuildExactUDiv(long Builder, long LHS, long RHS, java.lang.CharSequence Name)static longLLVMBuildExactUDiv(long Builder, long LHS, long RHS, java.nio.ByteBuffer Name)static longLLVMBuildExtractElement(long Builder, long VecVal, long Index, java.lang.CharSequence Name)static longLLVMBuildExtractElement(long Builder, long VecVal, long Index, java.nio.ByteBuffer Name)static longLLVMBuildExtractValue(long Builder, long AggVal, int Index, java.lang.CharSequence Name)static longLLVMBuildExtractValue(long Builder, long AggVal, int Index, java.nio.ByteBuffer Name)static longLLVMBuildFAdd(long Builder, long LHS, long RHS, java.lang.CharSequence Name)static longLLVMBuildFAdd(long Builder, long LHS, long RHS, java.nio.ByteBuffer Name)static longLLVMBuildFCmp(long Builder, int Op, long LHS, long RHS, java.lang.CharSequence Name)static longLLVMBuildFCmp(long Builder, int Op, long LHS, long RHS, java.nio.ByteBuffer Name)static longLLVMBuildFDiv(long Builder, long LHS, long RHS, java.lang.CharSequence Name)static longLLVMBuildFDiv(long Builder, long LHS, long RHS, java.nio.ByteBuffer Name)static longLLVMBuildFence(long B, int ordering, boolean singleThread, java.lang.CharSequence Name)static longLLVMBuildFence(long B, int ordering, boolean singleThread, java.nio.ByteBuffer Name)static longLLVMBuildFMul(long Builder, long LHS, long RHS, java.lang.CharSequence Name)static longLLVMBuildFMul(long Builder, long LHS, long RHS, java.nio.ByteBuffer Name)static longLLVMBuildFNeg(long Builder, long V, java.lang.CharSequence Name)static longLLVMBuildFNeg(long Builder, long V, java.nio.ByteBuffer Name)static longLLVMBuildFPCast(long Builder, long Val, long DestTy, java.lang.CharSequence Name)static longLLVMBuildFPCast(long Builder, long Val, long DestTy, java.nio.ByteBuffer Name)static longLLVMBuildFPExt(long Builder, long Val, long DestTy, java.lang.CharSequence Name)static longLLVMBuildFPExt(long Builder, long Val, long DestTy, java.nio.ByteBuffer Name)static longLLVMBuildFPToSI(long Builder, long Val, long DestTy, java.lang.CharSequence Name)static longLLVMBuildFPToSI(long Builder, long Val, long DestTy, java.nio.ByteBuffer Name)static longLLVMBuildFPToUI(long Builder, long Val, long DestTy, java.lang.CharSequence Name)static longLLVMBuildFPToUI(long Builder, long Val, long DestTy, java.nio.ByteBuffer Name)static longLLVMBuildFPTrunc(long Builder, long Val, long DestTy, java.lang.CharSequence Name)static longLLVMBuildFPTrunc(long Builder, long Val, long DestTy, java.nio.ByteBuffer Name)static longLLVMBuildFree(long Builder, long PointerVal)static longLLVMBuildFreeze(long Builder, long Val, java.lang.CharSequence Name)static longLLVMBuildFreeze(long Builder, long Val, java.nio.ByteBuffer Name)static longLLVMBuildFRem(long Builder, long LHS, long RHS, java.lang.CharSequence Name)static longLLVMBuildFRem(long Builder, long LHS, long RHS, java.nio.ByteBuffer Name)static longLLVMBuildFSub(long Builder, long LHS, long RHS, java.lang.CharSequence Name)static longLLVMBuildFSub(long Builder, long LHS, long RHS, java.nio.ByteBuffer Name)static longLLVMBuildGEP(long B, long Pointer, org.lwjgl.PointerBuffer Indices, java.lang.CharSequence Name)static longLLVMBuildGEP(long B, long Pointer, org.lwjgl.PointerBuffer Indices, java.nio.ByteBuffer Name)static longLLVMBuildGEP2(long B, long Ty, long Pointer, org.lwjgl.PointerBuffer Indices, java.lang.CharSequence Name)static longLLVMBuildGEP2(long B, long Ty, long Pointer, org.lwjgl.PointerBuffer Indices, java.nio.ByteBuffer Name)static longLLVMBuildGlobalString(long B, java.lang.CharSequence Str, java.lang.CharSequence Name)static longLLVMBuildGlobalString(long B, java.nio.ByteBuffer Str, java.nio.ByteBuffer Name)static longLLVMBuildGlobalStringPtr(long B, java.lang.CharSequence Str, java.lang.CharSequence Name)static longLLVMBuildGlobalStringPtr(long B, java.nio.ByteBuffer Str, java.nio.ByteBuffer Name)static longLLVMBuildICmp(long Builder, int Op, long LHS, long RHS, java.lang.CharSequence Name)Comparisonsstatic longLLVMBuildICmp(long Builder, int Op, long LHS, long RHS, java.nio.ByteBuffer Name)Comparisonsstatic longLLVMBuildInBoundsGEP(long B, long Pointer, org.lwjgl.PointerBuffer Indices, java.lang.CharSequence Name)static longLLVMBuildInBoundsGEP(long B, long Pointer, org.lwjgl.PointerBuffer Indices, java.nio.ByteBuffer Name)static longLLVMBuildInBoundsGEP2(long B, long Ty, long Pointer, org.lwjgl.PointerBuffer Indices, java.lang.CharSequence Name)static longLLVMBuildInBoundsGEP2(long B, long Ty, long Pointer, org.lwjgl.PointerBuffer Indices, java.nio.ByteBuffer Name)static longLLVMBuildIndirectBr(long B, long Addr, int NumDests)static longLLVMBuildInsertElement(long Builder, long VecVal, long EltVal, long Index, java.lang.CharSequence Name)static longLLVMBuildInsertElement(long Builder, long VecVal, long EltVal, long Index, java.nio.ByteBuffer Name)static longLLVMBuildInsertValue(long Builder, long AggVal, long EltVal, int Index, java.lang.CharSequence Name)static longLLVMBuildInsertValue(long Builder, long AggVal, long EltVal, int Index, java.nio.ByteBuffer Name)static longLLVMBuildIntCast(long Builder, long Val, long DestTy, java.lang.CharSequence Name)static longLLVMBuildIntCast(long Builder, long Val, long DestTy, java.nio.ByteBuffer Name)static longLLVMBuildIntToPtr(long Builder, long Val, long DestTy, java.lang.CharSequence Name)static longLLVMBuildIntToPtr(long Builder, long Val, long DestTy, java.nio.ByteBuffer Name)static longLLVMBuildInvoke(long Builder, long Fn, org.lwjgl.PointerBuffer Args, long Then, long Catch, java.lang.CharSequence Name)static longLLVMBuildInvoke(long Builder, long Fn, org.lwjgl.PointerBuffer Args, long Then, long Catch, java.nio.ByteBuffer Name)static longLLVMBuildInvoke2(long Builder, long Ty, long Fn, org.lwjgl.PointerBuffer Args, long Then, long Catch, java.lang.CharSequence Name)static longLLVMBuildInvoke2(long Builder, long Ty, long Fn, org.lwjgl.PointerBuffer Args, long Then, long Catch, java.nio.ByteBuffer Name)static longLLVMBuildIsNotNull(long Builder, long Val, java.lang.CharSequence Name)static longLLVMBuildIsNotNull(long Builder, long Val, java.nio.ByteBuffer Name)static longLLVMBuildIsNull(long Builder, long Val, java.lang.CharSequence Name)static longLLVMBuildIsNull(long Builder, long Val, java.nio.ByteBuffer Name)static longLLVMBuildLandingPad(long B, long Ty, long PersFn, int NumClauses, java.lang.CharSequence Name)static longLLVMBuildLandingPad(long B, long Ty, long PersFn, int NumClauses, java.nio.ByteBuffer Name)static longLLVMBuildLoad(long Builder, long PointerVal, java.lang.CharSequence Name)static longLLVMBuildLoad(long Builder, long PointerVal, java.nio.ByteBuffer Name)static longLLVMBuildLoad2(long Builder, long Ty, long PointerVal, java.lang.CharSequence Name)static longLLVMBuildLoad2(long Builder, long Ty, long PointerVal, java.nio.ByteBuffer Name)static longLLVMBuildLShr(long Builder, long LHS, long RHS, java.lang.CharSequence Name)static longLLVMBuildLShr(long Builder, long LHS, long RHS, java.nio.ByteBuffer Name)static longLLVMBuildMalloc(long Builder, long Ty, java.lang.CharSequence Name)Memorystatic longLLVMBuildMalloc(long Builder, long Ty, java.nio.ByteBuffer Name)Memorystatic longLLVMBuildMemCpy(long B, long Dst, int DstAlign, long Src, int SrcAlign, long Size)Creates and inserts a memcpy between the specified pointers.static longLLVMBuildMemMove(long B, long Dst, int DstAlign, long Src, int SrcAlign, long Size)Creates and inserts a memmove between the specified pointers.static longLLVMBuildMemSet(long B, long Ptr, long Val, long Len, int Align)Creates and inserts a memset to the specified pointer and the specified value.static longLLVMBuildMul(long Builder, long LHS, long RHS, java.lang.CharSequence Name)static longLLVMBuildMul(long Builder, long LHS, long RHS, java.nio.ByteBuffer Name)static longLLVMBuildNeg(long Builder, long V, java.lang.CharSequence Name)static longLLVMBuildNeg(long Builder, long V, java.nio.ByteBuffer Name)static longLLVMBuildNot(long Builder, long V, java.lang.CharSequence Name)static longLLVMBuildNot(long Builder, long V, java.nio.ByteBuffer Name)static longLLVMBuildNSWAdd(long Builder, long LHS, long RHS, java.lang.CharSequence Name)static longLLVMBuildNSWAdd(long Builder, long LHS, long RHS, java.nio.ByteBuffer Name)static longLLVMBuildNSWMul(long Builder, long LHS, long RHS, java.lang.CharSequence Name)static longLLVMBuildNSWMul(long Builder, long LHS, long RHS, java.nio.ByteBuffer Name)static longLLVMBuildNSWNeg(long B, long V, java.lang.CharSequence Name)static longLLVMBuildNSWNeg(long B, long V, java.nio.ByteBuffer Name)static longLLVMBuildNSWSub(long Builder, long LHS, long RHS, java.lang.CharSequence Name)static longLLVMBuildNSWSub(long Builder, long LHS, long RHS, java.nio.ByteBuffer Name)static longLLVMBuildNUWAdd(long Builder, long LHS, long RHS, java.lang.CharSequence Name)static longLLVMBuildNUWAdd(long Builder, long LHS, long RHS, java.nio.ByteBuffer Name)static longLLVMBuildNUWMul(long Builder, long LHS, long RHS, java.lang.CharSequence Name)static longLLVMBuildNUWMul(long Builder, long LHS, long RHS, java.nio.ByteBuffer Name)static longLLVMBuildNUWNeg(long B, long V, java.lang.CharSequence Name)static longLLVMBuildNUWNeg(long B, long V, java.nio.ByteBuffer Name)static longLLVMBuildNUWSub(long Builder, long LHS, long RHS, java.lang.CharSequence Name)static longLLVMBuildNUWSub(long Builder, long LHS, long RHS, java.nio.ByteBuffer Name)static longLLVMBuildOr(long Builder, long LHS, long RHS, java.lang.CharSequence Name)static longLLVMBuildOr(long Builder, long LHS, long RHS, java.nio.ByteBuffer Name)static longLLVMBuildPhi(long Builder, long Ty, java.lang.CharSequence Name)Miscellaneous instructionsstatic longLLVMBuildPhi(long Builder, long Ty, java.nio.ByteBuffer Name)Miscellaneous instructionsstatic longLLVMBuildPointerCast(long Builder, long Val, long DestTy, java.lang.CharSequence Name)static longLLVMBuildPointerCast(long Builder, long Val, long DestTy, java.nio.ByteBuffer Name)static longLLVMBuildPointerCast2(long Builder, long Val, long DestTy, boolean IsSigned, java.lang.CharSequence Name)static longLLVMBuildPointerCast2(long Builder, long Val, long DestTy, boolean IsSigned, java.nio.ByteBuffer Name)static longLLVMBuildPtrDiff(long Builder, long LHS, long RHS, java.lang.CharSequence Name)static longLLVMBuildPtrDiff(long Builder, long LHS, long RHS, java.nio.ByteBuffer Name)static longLLVMBuildPtrToInt(long Builder, long Val, long DestTy, java.lang.CharSequence Name)static longLLVMBuildPtrToInt(long Builder, long Val, long DestTy, java.nio.ByteBuffer Name)static longLLVMBuildResume(long B, long Exn)Exception Handlingstatic longLLVMBuildRet(long Builder, long V)static longLLVMBuildRetVoid(long Builder)Terminatorsstatic longLLVMBuildSDiv(long Builder, long LHS, long RHS, java.lang.CharSequence Name)static longLLVMBuildSDiv(long Builder, long LHS, long RHS, java.nio.ByteBuffer Name)static longLLVMBuildSelect(long Builder, long If, long Then, long Else, java.lang.CharSequence Name)static longLLVMBuildSelect(long Builder, long If, long Then, long Else, java.nio.ByteBuffer Name)static longLLVMBuildSExt(long Builder, long Val, long DestTy, java.lang.CharSequence Name)static longLLVMBuildSExt(long Builder, long Val, long DestTy, java.nio.ByteBuffer Name)static longLLVMBuildSExtOrBitCast(long Builder, long Val, long DestTy, java.lang.CharSequence Name)static longLLVMBuildSExtOrBitCast(long Builder, long Val, long DestTy, java.nio.ByteBuffer Name)static longLLVMBuildShl(long Builder, long LHS, long RHS, java.lang.CharSequence Name)static longLLVMBuildShl(long Builder, long LHS, long RHS, java.nio.ByteBuffer Name)static longLLVMBuildShuffleVector(long Builder, long V1, long V2, long Mask, java.lang.CharSequence Name)static longLLVMBuildShuffleVector(long Builder, long V1, long V2, long Mask, java.nio.ByteBuffer Name)static longLLVMBuildSIToFP(long Builder, long Val, long DestTy, java.lang.CharSequence Name)static longLLVMBuildSIToFP(long Builder, long Val, long DestTy, java.nio.ByteBuffer Name)static longLLVMBuildSRem(long Builder, long LHS, long RHS, java.lang.CharSequence Name)static longLLVMBuildSRem(long Builder, long LHS, long RHS, java.nio.ByteBuffer Name)static longLLVMBuildStore(long Builder, long Val, long Ptr)static longLLVMBuildStructGEP(long B, long Pointer, int Idx, java.lang.CharSequence Name)static longLLVMBuildStructGEP(long B, long Pointer, int Idx, java.nio.ByteBuffer Name)static longLLVMBuildStructGEP2(long B, long Ty, long Pointer, int Idx, java.lang.CharSequence Name)static longLLVMBuildStructGEP2(long B, long Ty, long Pointer, int Idx, java.nio.ByteBuffer Name)static longLLVMBuildSub(long Builder, long LHS, long RHS, java.lang.CharSequence Name)static longLLVMBuildSub(long Builder, long LHS, long RHS, java.nio.ByteBuffer Name)static longLLVMBuildSwitch(long Builder, long V, long Else, int NumCases)static longLLVMBuildTrunc(long Builder, long Val, long DestTy, java.lang.CharSequence Name)Castsstatic longLLVMBuildTrunc(long Builder, long Val, long DestTy, java.nio.ByteBuffer Name)Castsstatic longLLVMBuildTruncOrBitCast(long Builder, long Val, long DestTy, java.lang.CharSequence Name)static longLLVMBuildTruncOrBitCast(long Builder, long Val, long DestTy, java.nio.ByteBuffer Name)static longLLVMBuildUDiv(long Builder, long LHS, long RHS, java.lang.CharSequence Name)static longLLVMBuildUDiv(long Builder, long LHS, long RHS, java.nio.ByteBuffer Name)static longLLVMBuildUIToFP(long Builder, long Val, long DestTy, java.lang.CharSequence Name)static longLLVMBuildUIToFP(long Builder, long Val, long DestTy, java.nio.ByteBuffer Name)static longLLVMBuildUnreachable(long Builder)static longLLVMBuildURem(long Builder, long LHS, long RHS, java.lang.CharSequence Name)static longLLVMBuildURem(long Builder, long LHS, long RHS, java.nio.ByteBuffer Name)static longLLVMBuildVAArg(long Builder, long List, long Ty, java.lang.CharSequence Name)static longLLVMBuildVAArg(long Builder, long List, long Ty, java.nio.ByteBuffer Name)static longLLVMBuildXor(long Builder, long LHS, long RHS, java.lang.CharSequence Name)static longLLVMBuildXor(long Builder, long LHS, long RHS, java.nio.ByteBuffer Name)static longLLVMBuildZExt(long Builder, long Val, long DestTy, java.lang.CharSequence Name)static longLLVMBuildZExt(long Builder, long Val, long DestTy, java.nio.ByteBuffer Name)static longLLVMBuildZExtOrBitCast(long Builder, long Val, long DestTy, java.lang.CharSequence Name)static longLLVMBuildZExtOrBitCast(long Builder, long Val, long DestTy, java.nio.ByteBuffer Name)static voidLLVMClearInsertionPosition(long Builder)static longLLVMCloneModule(long M)Return an exact copy of the specified module.static longLLVMConstAdd(long LHSConstant, long RHSConstant)static longLLVMConstAddrSpaceCast(long ConstantVal, long ToType)static longLLVMConstAllOnes(long Ty)Obtain a constant value referring to the instance of a type consisting of all ones.static longLLVMConstAnd(long LHSConstant, long RHSConstant)static longLLVMConstArray(long ElementTy, org.lwjgl.PointerBuffer ConstantVals)Create aConstantArrayfrom values.static longLLVMConstAShr(long LHSConstant, long RHSConstant)static longLLVMConstBitCast(long ConstantVal, long ToType)static longLLVMConstExactSDiv(long LHSConstant, long RHSConstant)static longLLVMConstExactUDiv(long LHSConstant, long RHSConstant)static longLLVMConstExtractElement(long VectorConstant, long IndexConstant)static longLLVMConstExtractValue(long AggConstant, java.nio.IntBuffer IdxList)static longLLVMConstFAdd(long LHSConstant, long RHSConstant)static longLLVMConstFCmp(int Predicate, long LHSConstant, long RHSConstant)static longLLVMConstFDiv(long LHSConstant, long RHSConstant)static longLLVMConstFMul(long LHSConstant, long RHSConstant)static longLLVMConstFNeg(long ConstantVal)static longLLVMConstFPCast(long ConstantVal, long ToType)static longLLVMConstFPExt(long ConstantVal, long ToType)static longLLVMConstFPToSI(long ConstantVal, long ToType)static longLLVMConstFPToUI(long ConstantVal, long ToType)static longLLVMConstFPTrunc(long ConstantVal, long ToType)static longLLVMConstFRem(long LHSConstant, long RHSConstant)static longLLVMConstFSub(long LHSConstant, long RHSConstant)static longLLVMConstGEP(long ConstantVal, org.lwjgl.PointerBuffer ConstantIndices)static longLLVMConstGEP2(long Ty, long ConstantVal, org.lwjgl.PointerBuffer ConstantIndices)static longLLVMConstICmp(int Predicate, long LHSConstant, long RHSConstant)static longLLVMConstInBoundsGEP(long ConstantVal, org.lwjgl.PointerBuffer ConstantIndices)static longLLVMConstInBoundsGEP2(long Ty, long ConstantVal, org.lwjgl.PointerBuffer ConstantIndices)static longLLVMConstInlineAsm(long Ty, java.lang.CharSequence AsmString, java.lang.CharSequence Constraints, boolean HasSideEffects, boolean IsAlignStack)Deprecated: UseGetInlineAsminstead.static longLLVMConstInlineAsm(long Ty, java.nio.ByteBuffer AsmString, java.nio.ByteBuffer Constraints, boolean HasSideEffects, boolean IsAlignStack)Deprecated: UseGetInlineAsminstead.static longLLVMConstInsertElement(long VectorConstant, long ElementValueConstant, long IndexConstant)static longLLVMConstInsertValue(long AggConstant, long ElementValueConstant, java.nio.IntBuffer IdxList)static longLLVMConstInt(long IntTy, long N, boolean SignExtend)Obtain a constant value for an integer type.static longLLVMConstIntCast(long ConstantVal, long ToType, boolean isSigned)static longLLVMConstIntGetSExtValue(long ConstantVal)Obtain the sign extended value for an integer constant value.static longLLVMConstIntGetZExtValue(long ConstantVal)Obtain the zero extended value for an integer constant value.static longLLVMConstIntOfArbitraryPrecision(long IntTy, java.nio.LongBuffer Words)Obtain a constant value for an integer of arbitrary precision.static longLLVMConstIntOfString(long IntTy, java.lang.CharSequence Text, byte Radix)Obtain a constant value for an integer parsed from a string.static longLLVMConstIntOfString(long IntTy, java.nio.ByteBuffer Text, byte Radix)Obtain a constant value for an integer parsed from a string.static longLLVMConstIntOfStringAndSize(long IntTy, java.lang.CharSequence Text, byte Radix)Obtain a constant value for an integer parsed from a string with specified length.static longLLVMConstIntOfStringAndSize(long IntTy, java.nio.ByteBuffer Text, byte Radix)Obtain a constant value for an integer parsed from a string with specified length.static longLLVMConstIntToPtr(long ConstantVal, long ToType)static longLLVMConstLShr(long LHSConstant, long RHSConstant)static longLLVMConstMul(long LHSConstant, long RHSConstant)static longLLVMConstNamedStruct(long StructTy, org.lwjgl.PointerBuffer ConstantVals)Create a non-anonymousConstantStructfrom values.static longLLVMConstNeg(long ConstantVal)static longLLVMConstNot(long ConstantVal)static longLLVMConstNSWAdd(long LHSConstant, long RHSConstant)static longLLVMConstNSWMul(long LHSConstant, long RHSConstant)static longLLVMConstNSWNeg(long ConstantVal)static longLLVMConstNSWSub(long LHSConstant, long RHSConstant)static longLLVMConstNull(long Ty)Obtain a constant value referring to the null instance of a type.static longLLVMConstNUWAdd(long LHSConstant, long RHSConstant)static longLLVMConstNUWMul(long LHSConstant, long RHSConstant)static longLLVMConstNUWNeg(long ConstantVal)static longLLVMConstNUWSub(long LHSConstant, long RHSConstant)static longLLVMConstOr(long LHSConstant, long RHSConstant)static longLLVMConstPointerCast(long ConstantVal, long ToType)static longLLVMConstPointerNull(long Ty)Obtain a constant that is a constant pointer pointing to NULL for a specified type.static longLLVMConstPtrToInt(long ConstantVal, long ToType)static longLLVMConstReal(long RealTy, double N)Obtain a constant value referring to a double floating point value.static doubleLLVMConstRealGetDouble(long ConstantVal, java.nio.IntBuffer losesInfo)Obtain the double value for an floating point constant value.static longLLVMConstRealOfString(long RealTy, java.lang.CharSequence Text)Obtain a constant for a floating point value parsed from a string.static longLLVMConstRealOfString(long RealTy, java.nio.ByteBuffer Text)Obtain a constant for a floating point value parsed from a string.static longLLVMConstRealOfStringAndSize(long RealTy, java.lang.CharSequence Text)Obtain a constant for a floating point value parsed from a string.static longLLVMConstRealOfStringAndSize(long RealTy, java.nio.ByteBuffer Text)Obtain a constant for a floating point value parsed from a string.static longLLVMConstSDiv(long LHSConstant, long RHSConstant)static longLLVMConstSelect(long ConstantCondition, long ConstantIfTrue, long ConstantIfFalse)static longLLVMConstSExt(long ConstantVal, long ToType)static longLLVMConstSExtOrBitCast(long ConstantVal, long ToType)static longLLVMConstShl(long LHSConstant, long RHSConstant)static longLLVMConstShuffleVector(long VectorAConstant, long VectorBConstant, long MaskConstant)static longLLVMConstSIToFP(long ConstantVal, long ToType)static longLLVMConstSRem(long LHSConstant, long RHSConstant)static longLLVMConstString(java.lang.CharSequence Str, boolean DontNullTerminate)Create aConstantDataSequentialwith string content in the global context.static longLLVMConstString(java.nio.ByteBuffer Str, boolean DontNullTerminate)Create aConstantDataSequentialwith string content in the global context.static longLLVMConstStringInContext(long C, java.lang.CharSequence Str, boolean DontNullTerminate)Create aConstantDataSequentialand initialize it with a string.static longLLVMConstStringInContext(long C, java.nio.ByteBuffer Str, boolean DontNullTerminate)Create aConstantDataSequentialand initialize it with a string.static longLLVMConstStruct(org.lwjgl.PointerBuffer ConstantVals, boolean Packed)Create aConstantStructin the global Context.static longLLVMConstStructInContext(long C, org.lwjgl.PointerBuffer ConstantVals, boolean Packed)Create an anonymousConstantStructwith the specified values.static longLLVMConstSub(long LHSConstant, long RHSConstant)static longLLVMConstTrunc(long ConstantVal, long ToType)static longLLVMConstTruncOrBitCast(long ConstantVal, long ToType)static longLLVMConstUDiv(long LHSConstant, long RHSConstant)static longLLVMConstUIToFP(long ConstantVal, long ToType)static longLLVMConstURem(long LHSConstant, long RHSConstant)static longLLVMConstVector(org.lwjgl.PointerBuffer ScalarConstantVals)Create aConstantVectorfrom values.static longLLVMConstXor(long LHSConstant, long RHSConstant)static longLLVMConstZExt(long ConstantVal, long ToType)static longLLVMConstZExtOrBitCast(long ConstantVal, long ToType)static longLLVMContextCreate()Create a new context.static voidLLVMContextDispose(long C)Destroy a context instance.static longLLVMContextGetDiagnosticContext(long C)Get the diagnostic context of this context.static LLVMDiagnosticHandlerLLVMContextGetDiagnosticHandler(long C)Get the diagnostic handler of this context.static voidLLVMContextSetDiagnosticHandler(long C, LLVMDiagnosticHandlerI Handler, long DiagnosticContext)Set the diagnostic handler for this context.static voidLLVMContextSetDiscardValueNames(long C, boolean Discard)Set whether the given context discards all value names.static voidLLVMContextSetYieldCallback(long C, LLVMYieldCallbackI Callback, long OpaqueHandle)Set the yield callback function for this context.static booleanLLVMContextShouldDiscardValueNames(long C)Retrieve whether the given context is set to discard all value names.static longLLVMCopyModuleFlagsMetadata(long M, org.lwjgl.PointerBuffer Len)Returns the module flags as an array of flag-key-value triples.static intLLVMCountBasicBlocks(long Fn)Obtain the number of basic blocks in a function.static intLLVMCountIncoming(long PhiNode)Obtain the number of incoming basic blocks to a PHI node.static intLLVMCountParams(long Fn)Obtain the number of parameters in a function.static intLLVMCountParamTypes(long FunctionTy)Obtain the number of parameters this function accepts.static intLLVMCountStructElementTypes(long StructTy)Get the number of elements defined inside the structure.static longLLVMCreateBasicBlockInContext(long C, java.lang.CharSequence Name)Create a new basic block without inserting it into a function.static longLLVMCreateBasicBlockInContext(long C, java.nio.ByteBuffer Name)Create a new basic block without inserting it into a function.static longLLVMCreateBuilder()static longLLVMCreateBuilderInContext(long C)static longLLVMCreateEnumAttribute(long C, int KindID, long Val)Create an enum attribute.static longLLVMCreateFunctionPassManager(long MP)Deprecated: UseCreateFunctionPassManagerForModuleinstead.static longLLVMCreateFunctionPassManagerForModule(long M)Constructs a new function-by-function pass pipeline over the module provider.static booleanLLVMCreateMemoryBufferWithContentsOfFile(java.lang.CharSequence Path, org.lwjgl.PointerBuffer OutMemBuf, org.lwjgl.PointerBuffer OutMessage)static booleanLLVMCreateMemoryBufferWithContentsOfFile(java.nio.ByteBuffer Path, org.lwjgl.PointerBuffer OutMemBuf, org.lwjgl.PointerBuffer OutMessage)static longLLVMCreateMemoryBufferWithMemoryRange(java.nio.ByteBuffer InputData, java.lang.CharSequence BufferName, boolean RequiresNullTerminator)static longLLVMCreateMemoryBufferWithMemoryRange(java.nio.ByteBuffer InputData, java.nio.ByteBuffer BufferName, boolean RequiresNullTerminator)static longLLVMCreateMemoryBufferWithMemoryRangeCopy(java.nio.ByteBuffer InputData, java.lang.CharSequence BufferName)static longLLVMCreateMemoryBufferWithMemoryRangeCopy(java.nio.ByteBuffer InputData, java.nio.ByteBuffer BufferName)static booleanLLVMCreateMemoryBufferWithSTDIN(org.lwjgl.PointerBuffer OutMemBuf, org.lwjgl.PointerBuffer OutMessage)static java.lang.StringLLVMCreateMessage(java.lang.CharSequence Message)static java.lang.StringLLVMCreateMessage(java.nio.ByteBuffer Message)static longLLVMCreateModuleProviderForExistingModule(long M)Changes the type ofMso it can be passed toFunctionPassManagersand the JIT.static longLLVMCreatePassManager()Constructs a new whole-module pass pipeline.static longLLVMCreateStringAttribute(long C, java.lang.CharSequence K, java.lang.CharSequence V)Create a string attribute.static longLLVMCreateStringAttribute(long C, java.nio.ByteBuffer K, java.nio.ByteBuffer V)Create a string attribute.static longLLVMCreateTypeAttribute(long C, int KindID, long type_ref)Create a type attribute.static voidLLVMDeleteBasicBlock(long BB)Remove a basic block from a function and delete it.static voidLLVMDeleteFunction(long Fn)Remove a function from its containing module and deletes it.static voidLLVMDeleteGlobal(long GlobalVar)static voidLLVMDisposeBuilder(long Builder)static voidLLVMDisposeMemoryBuffer(long MemBuf)static voidLLVMDisposeMessage(java.nio.ByteBuffer Message)static voidLLVMDisposeModule(long M)Destroy a module instance.static voidLLVMDisposeModuleFlagsMetadata(long Entries)Destroys module flags metadata entries.static voidLLVMDisposeModuleProvider(long M)Destroys the moduleM.static voidLLVMDisposePassManager(long PM)Frees the memory of a pass pipeline.static voidLLVMDisposeValueMetadataEntries(long Entries)Destroys value metadata entries.static longLLVMDoubleType()static longLLVMDoubleTypeInContext(long C)Obtain a 64-bit floating point type from a context.static voidLLVMDumpModule(long M)Dump a representation of a module tostderr.static voidLLVMDumpType(long Val)Dump a representation of a type tostderr.static voidLLVMDumpValue(long Val)Dump a representation of a value to stderr.static voidLLVMEraseGlobalIFunc(long IFunc)Remove a global indirect function from its parent module and delete it.static booleanLLVMFinalizeFunctionPassManager(long FPM)Finalizes all of the function passes scheduled in the function pass manager.static longLLVMFloatType()static longLLVMFloatTypeInContext(long C)Obtain a 32-bit floating point type from a context.static longLLVMFP128Type()static longLLVMFP128TypeInContext(long C)Obtain a 128-bit floating point type (112-bit mantissa) from a context.static longLLVMFunctionType(long ReturnType, org.lwjgl.PointerBuffer ParamTypes, boolean IsVarArg)Obtain a function type consisting of a specified signature.static intLLVMGetAlignment(long V)Obtain the preferred alignment of the value.static longLLVMGetAllocatedType(long Alloca)Obtain the type that is being allocated by theallocainstruction.static longLLVMGetArgOperand(long Funclet, int i)Get the number offuncletpadarguments.static intLLVMGetArrayLength(long ArrayTy)Obtain the length of an array type.static java.lang.StringLLVMGetAsString(long c)Get the given constant data sequential as a string.static intLLVMGetAtomicRMWBinOp(long AtomicRMWInst)static intLLVMGetAttributeCountAtIndex(long F, int Idx)static voidLLVMGetAttributesAtIndex(long F, int Idx, org.lwjgl.PointerBuffer Attrs)static java.lang.StringLLVMGetBasicBlockName(long BB)Obtain the string name of a basic block.static longLLVMGetBasicBlockParent(long BB)Obtain the function to which a basic block belongs.static voidLLVMGetBasicBlocks(long Fn, org.lwjgl.PointerBuffer BasicBlocks)Obtain all of the basic blocks in a function.static longLLVMGetBasicBlockTerminator(long BB)Obtain the terminator instruction for a basic block.static longLLVMGetBufferSize(long MemBuf)static java.lang.StringLLVMGetBufferStart(long MemBuf)static longLLVMGetCalledFunctionType(long C)Obtain the function type called by this instruction.static longLLVMGetCalledValue(long Instr)Obtain the pointer to the function invoked by this instruction.static intLLVMGetCallSiteAttributeCount(long C, int Idx)static voidLLVMGetCallSiteAttributes(long C, int Idx, org.lwjgl.PointerBuffer Attrs)static longLLVMGetCallSiteEnumAttribute(long C, int Idx, int KindID)static longLLVMGetCallSiteStringAttribute(long C, int Idx, java.lang.CharSequence K)static longLLVMGetCallSiteStringAttribute(long C, int Idx, java.nio.ByteBuffer K)static longLLVMGetClause(long LandingPad, int Idx)Get the value of the clause at indexIdxon thelandingpadinstructionstatic intLLVMGetCmpXchgFailureOrdering(long CmpXchgInst)static intLLVMGetCmpXchgSuccessOrdering(long CmpXchgInst)static longLLVMGetCondition(long Branch)Return the condition of a branch instruction.static intLLVMGetConstOpcode(long ConstantVal)static longLLVMGetCurrentDebugLocation(long Builder)Deprecated: Returning theNULLlocation will crash.static longLLVMGetCurrentDebugLocation2(long Builder)Get location information used by debugging information.static java.lang.StringLLVMGetDataLayout(long M)static java.lang.StringLLVMGetDataLayoutStr(long M)Obtain the data layout for a module.static intLLVMGetDebugLocColumn(long Val)Return the column number of the debug location for this value, which must be anllvm::Instruction.static java.lang.StringLLVMGetDebugLocDirectory(long Val)Return the directory of the debug location for this value, which must be anllvm::Instruction,llvm::GlobalVariable, orllvm::Function.static java.lang.StringLLVMGetDebugLocFilename(long Val)Return the filename of the debug location for this value, which must be anllvm::Instruction,llvm::GlobalVariable, orllvm::Function.static intLLVMGetDebugLocLine(long Val)Return the line number of the debug location for this value, which must be anllvm::Instruction,llvm::GlobalVariable, orllvm::Function.static java.lang.StringLLVMGetDiagInfoDescription(long DI)Return a string representation of theDiagnosticInfo.static intLLVMGetDiagInfoSeverity(long DI)Return anenum LLVMDiagnosticSeverity.static intLLVMGetDLLStorageClass(long Global)static longLLVMGetElementAsConstant(long C, int idx)Get an element at specified index as a constant.static longLLVMGetElementType(long Ty)Obtain the type of elements within a sequential type.static longLLVMGetEntryBasicBlock(long Fn)Obtain the basic block that corresponds to the entry point of a function.static longLLVMGetEnumAttributeAtIndex(long F, int Idx, int KindID)static intLLVMGetEnumAttributeKind(long A)Get the unique id corresponding to the enum attribute passed as argument.static intLLVMGetEnumAttributeKindForName(java.lang.CharSequence Name)Return an unique id given the name of a enum attribute, or 0 if no attribute by that name exists.static intLLVMGetEnumAttributeKindForName(java.nio.ByteBuffer Name)Return an unique id given the name of a enum attribute, or 0 if no attribute by that name exists.static longLLVMGetEnumAttributeValue(long A)Get the enum attribute's value.static intLLVMGetFCmpPredicate(long Inst)Obtain the float predicate of an instruction.static longLLVMGetFirstBasicBlock(long Fn)Obtain the first basic block in a function.static longLLVMGetFirstFunction(long M)Obtain an iterator to the firstFunctionin aModule.static longLLVMGetFirstGlobal(long M)static longLLVMGetFirstGlobalAlias(long M)Obtain an iterator to the first GlobalAlias in a Module.static longLLVMGetFirstGlobalIFunc(long M)Obtain an iterator to the firstGlobalIFuncin aModule.static longLLVMGetFirstInstruction(long BB)Obtain the first instruction in a basic block.static longLLVMGetFirstNamedMetadata(long M)Obtain an iterator to the firstNamedMDNodein aModule.static longLLVMGetFirstParam(long Fn)Obtain the first parameter to a function.static longLLVMGetFirstUse(long Val)Obtain the first use of a value.static intLLVMGetFunctionCallConv(long Fn)Obtain the calling function of a function.static java.lang.StringLLVMGetGC(long Fn)Obtain the name of the garbage collector to use during code generation.static longLLVMGetGlobalContext()Obtain the global context instance.static longLLVMGetGlobalIFuncResolver(long IFunc)Retrieves the resolver function associated with this indirect function, orNULLif it doesn't not exist.static longLLVMGetGlobalParent(long Global)static longLLVMGetGlobalPassRegistry()Return the global pass registry, for use with initialization functions.static voidLLVMGetHandlers(long CatchSwitch, org.lwjgl.PointerBuffer Handlers)Obtain the basic blocks acting as handlers for acatchswitchinstruction.static intLLVMGetICmpPredicate(long Inst)Obtain the predicate of an instruction.static longLLVMGetIncomingBlock(long PhiNode, int Index)Obtain an incoming value to a PHI node as anLLVMBasicBlockRef.static longLLVMGetIncomingValue(long PhiNode, int Index)Obtain an incoming value to a PHI node as anLLVMValueRef.static java.nio.IntBufferLLVMGetIndices(long Inst, int Count)Obtain the indices as an array.static longLLVMGetInitializer(long GlobalVar)static longLLVMGetInlineAsm(long Ty, java.nio.ByteBuffer AsmString, java.nio.ByteBuffer Constraints, boolean HasSideEffects, boolean IsAlignStack, int Dialect, boolean CanThrow)Create the specified uniqued inline asm string.static longLLVMGetInsertBlock(long Builder)static intLLVMGetInstructionCallConv(long Instr)Obtain the calling convention for a call instruction.static intLLVMGetInstructionOpcode(long Inst)Obtain the code opcode for an individual instruction.static longLLVMGetInstructionParent(long Inst)Obtain the basic block to which an instruction belongs.static longLLVMGetIntrinsicDeclaration(long Mod, int ID, org.lwjgl.PointerBuffer ParamTypes)Create or insert the declaration of an intrinsic.static intLLVMGetIntrinsicID(long Fn)Obtain the ID number from a function instance.static intLLVMGetIntTypeWidth(long IntegerTy)static longLLVMGetLastBasicBlock(long Fn)Obtain the last basic block in a function.static intLLVMGetLastEnumAttributeKind()static longLLVMGetLastFunction(long M)Obtain an iterator to the lastFunctionin aModule.static longLLVMGetLastGlobal(long M)static longLLVMGetLastGlobalAlias(long M)Obtain an iterator to the last GlobalAlias in a Module.static longLLVMGetLastGlobalIFunc(long M)Obtain an iterator to the lastGlobalIFuncin aModule.static longLLVMGetLastInstruction(long BB)Obtain the last instruction in a basic block.static longLLVMGetLastNamedMetadata(long M)Obtain an iterator to the lastNamedMDNodein aModule.static longLLVMGetLastParam(long Fn)Obtain the last parameter to a function.static intLLVMGetLinkage(long Global)static intLLVMGetMaskValue(long ShuffleVectorInst, int Elt)Get the mask value at positionEltin the mask of aShuffleVectorinstruction.static intLLVMGetMDKindID(java.lang.CharSequence Name)static intLLVMGetMDKindID(java.nio.ByteBuffer Name)static intLLVMGetMDKindIDInContext(long C, java.lang.CharSequence Name)static intLLVMGetMDKindIDInContext(long C, java.nio.ByteBuffer Name)static intLLVMGetMDNodeNumOperands(long V)Obtain the number of operands from anMDNodevalue.static voidLLVMGetMDNodeOperands(long V, org.lwjgl.PointerBuffer Dest)Obtain the givenMDNode's operands.static java.lang.StringLLVMGetMDString(long V)Obtain the underlying string from aMDStringvalue.static longLLVMGetMetadata(long Val, int KindID)Return metadata associated with an instruction value.static longLLVMGetModuleContext(long M)Obtain the context to which this module is associated.static longLLVMGetModuleFlag(long M, java.lang.CharSequence Key)Add a module-level flag to the module-level flags metadata if it doesn't already exist.static longLLVMGetModuleFlag(long M, java.nio.ByteBuffer Key)Add a module-level flag to the module-level flags metadata if it doesn't already exist.static java.lang.StringLLVMGetModuleIdentifier(long M)Obtain the identifier of a module.static java.lang.StringLLVMGetModuleInlineAsm(long M)Get inline assembly for a module.static longLLVMGetNamedFunction(long M, java.lang.CharSequence Name)Obtain aFunctionvalue from aModuleby its name.static longLLVMGetNamedFunction(long M, java.nio.ByteBuffer Name)Obtain aFunctionvalue from aModuleby its name.static longLLVMGetNamedGlobal(long M, java.lang.CharSequence Name)static longLLVMGetNamedGlobal(long M, java.nio.ByteBuffer Name)static longLLVMGetNamedGlobalAlias(long M, java.lang.CharSequence Name)Obtain a GlobalAlias value from a Module by its name.static longLLVMGetNamedGlobalAlias(long M, java.nio.ByteBuffer Name)Obtain a GlobalAlias value from a Module by its name.static longLLVMGetNamedGlobalIFunc(long M, java.lang.CharSequence Name)Obtain aGlobalIFuncvalue from aModuleby its name.static longLLVMGetNamedGlobalIFunc(long M, java.nio.ByteBuffer Name)Obtain aGlobalIFuncvalue from aModuleby its name.static longLLVMGetNamedMetadata(long M, java.lang.CharSequence Name)Retrieve aNamedMDNodewith the given name, returningNULLif no such node exists.static longLLVMGetNamedMetadata(long M, java.nio.ByteBuffer Name)Retrieve aNamedMDNodewith the given name, returningNULLif no such node exists.static java.lang.StringLLVMGetNamedMetadataName(long NamedMD)Retrieve the name of aNamedMDNode.static intLLVMGetNamedMetadataNumOperands(long M, java.lang.CharSequence Name)Obtain the number of operands for named metadata in a module.static intLLVMGetNamedMetadataNumOperands(long M, java.nio.ByteBuffer Name)Obtain the number of operands for named metadata in a module.static voidLLVMGetNamedMetadataOperands(long M, java.lang.CharSequence Name, org.lwjgl.PointerBuffer Dest)Obtain the named metadata operands for a module.static voidLLVMGetNamedMetadataOperands(long M, java.nio.ByteBuffer Name, org.lwjgl.PointerBuffer Dest)Obtain the named metadata operands for a module.static longLLVMGetNextBasicBlock(long BB)Advance a basic block iterator.static longLLVMGetNextFunction(long Fn)Advance aFunctioniterator to the nextFunction.static longLLVMGetNextGlobal(long GlobalVar)static longLLVMGetNextGlobalAlias(long GA)Advance aGlobalAliasiterator to the nextGlobalAlias.static longLLVMGetNextGlobalIFunc(long IFunc)Advance aGlobalIFunciterator to the nextGlobalIFunc.static longLLVMGetNextInstruction(long Inst)Obtain the instruction that occurs after the one specified.static longLLVMGetNextNamedMetadata(long NamedMDNode)Advance aNamedMDNodeiterator to the nextNamedMDNode.static longLLVMGetNextParam(long Arg)Obtain the next parameter to a function.static longLLVMGetNextUse(long U)Obtain the next use of a value.static longLLVMGetNormalDest(long InvokeInst)Return the normal destination basic block.static intLLVMGetNumArgOperands(long Instr)Obtain the argument count for a call instruction.static intLLVMGetNumClauses(long LandingPad)Get the number of clauses on thelandingpadinstructionstatic intLLVMGetNumContainedTypes(long Tp)Return the number of types in the derived type.static intLLVMGetNumHandlers(long CatchSwitch)Get the number of handlers on thecatchswitchinstructionstatic intLLVMGetNumIndices(long Inst)Obtain the number of indices.static intLLVMGetNumMaskElements(long ShuffleVectorInst)Get the number of elements in the mask of aShuffleVectorinstruction.static intLLVMGetNumOperands(long Val)Obtain the number of operands in allvm::Uservalue.static intLLVMGetNumSuccessors(long Term)Return the number of successors that this terminator has.static longLLVMGetOperand(long Val, int Index)Obtain an operand at a specific index in allvm::Uservalue.static longLLVMGetOperandUse(long Val, int Index)Obtain the use of an operand at a specific index in allvm::Uservalue.static intLLVMGetOrdering(long MemoryAccessInst)static longLLVMGetOrInsertNamedMetadata(long M, java.lang.CharSequence Name)Retrieve aNamedMDNodewith the given name, creating a new node if no such node exists.static longLLVMGetOrInsertNamedMetadata(long M, java.nio.ByteBuffer Name)Retrieve aNamedMDNodewith the given name, creating a new node if no such node exists.static longLLVMGetParam(long Fn, int Index)Obtain the parameter at the specified index.static longLLVMGetParamParent(long Inst)Obtain the function to which this argument belongs.static voidLLVMGetParams(long Fn, org.lwjgl.PointerBuffer Params)Obtain the parameters in a function.static voidLLVMGetParamTypes(long FunctionTy, org.lwjgl.PointerBuffer Dest)Obtain the types of a function's parameters.static longLLVMGetParentCatchSwitch(long CatchPad)Get the parentcatchswitchinstruction of acatchpadinstruction.static longLLVMGetPersonalityFn(long Fn)Obtain the personality function attached to the function.static intLLVMGetPointerAddressSpace(long PointerTy)Obtain the address space of a pointer type.static longLLVMGetPoison(long Ty)Obtain a constant value referring to a poison value of a type.static longLLVMGetPreviousBasicBlock(long BB)Go backwards in a basic block iterator.static longLLVMGetPreviousFunction(long Fn)Decrement aFunctioniterator to the previousFunction.static longLLVMGetPreviousGlobal(long GlobalVar)static longLLVMGetPreviousGlobalAlias(long GA)Decrement aGlobalAliasiterator to the previousGlobalAlias.static longLLVMGetPreviousGlobalIFunc(long IFunc)Decrement aGlobalIFunciterator to the previousGlobalIFunc.static longLLVMGetPreviousInstruction(long Inst)Obtain the instruction that occurred before this one.static longLLVMGetPreviousNamedMetadata(long NamedMDNode)Decrement aNamedMDNodeiterator to the previousNamedMDNode.static longLLVMGetPreviousParam(long Arg)Obtain the previous parameter to a function.static longLLVMGetReturnType(long FunctionTy)Obtain the Type this function Type returns.static java.lang.StringLLVMGetSection(long Global)static java.lang.StringLLVMGetSourceFileName(long M)Obtain the module's original source file name.static longLLVMGetStringAttributeAtIndex(long F, int Idx, java.lang.CharSequence K)static longLLVMGetStringAttributeAtIndex(long F, int Idx, java.nio.ByteBuffer K)static java.lang.StringLLVMGetStringAttributeKind(long A)Get the string attribute's kind.static java.lang.StringLLVMGetStringAttributeValue(long A)Get the string attribute's value.static voidLLVMGetStructElementTypes(long StructTy, org.lwjgl.PointerBuffer Dest)Get the elements within a structure.static java.lang.StringLLVMGetStructName(long Ty)Obtain the name of a structure.static voidLLVMGetSubtypes(long Tp, org.lwjgl.PointerBuffer Arr)Returns type's subtypesstatic longLLVMGetSuccessor(long Term, int i)Return the specified successor.static longLLVMGetSwitchDefaultDest(long SwitchInstr)Obtain the default destination basic block of a switch instruction.static java.lang.StringLLVMGetTarget(long M)Obtain the target triple for a module.static intLLVMGetThreadLocalMode(long GlobalVar)static longLLVMGetTypeAttributeValue(long A)Get the type attribute's value.static longLLVMGetTypeByName(long M, java.lang.CharSequence Name)Deprecated: UseGetTypeByName2instead.static longLLVMGetTypeByName(long M, java.nio.ByteBuffer Name)Deprecated: UseGetTypeByName2instead.static longLLVMGetTypeByName2(long C, java.lang.CharSequence Name)Obtain a Type from a context by its registered name.static longLLVMGetTypeByName2(long C, java.nio.ByteBuffer Name)Obtain a Type from a context by its registered name.static longLLVMGetTypeContext(long Ty)Obtain the context to which this type instance is associated.static intLLVMGetTypeKind(long Ty)Obtain the enumerated type of aTypeinstance.static longLLVMGetUndef(long Ty)Obtain a constant value referring to an undefined value of a type.static intLLVMGetUndefMaskElem()Returns a constant that specifies that the result of aShuffleVectorInstis undefined.static intLLVMGetUnnamedAddress(long Global)static longLLVMGetUnwindDest(long InvokeInst)Return the unwind destination basic block.static longLLVMGetUsedValue(long U)Obtain the value this use corresponds to.static longLLVMGetUser(long U)Obtain the user value for a user.static intLLVMGetValueKind(long Val)Obtain the enumerated type of a Value instance.static java.lang.StringLLVMGetValueName(long Val)Deprecated: UseGetValueName2instead.static java.lang.StringLLVMGetValueName2(long Val)Obtain the string name of a value.static intLLVMGetVectorSize(long VectorTy)Obtain the (possibly scalable) number of elements in a vector type.static intLLVMGetVisibility(long Global)static booleanLLVMGetVolatile(long MemoryAccessInst)static booleanLLVMGetWeak(long CmpXchgInst)static voidLLVMGlobalClearMetadata(long Global)Removes all metadata attachments from this value.static longLLVMGlobalCopyAllMetadata(long Value, org.lwjgl.PointerBuffer NumEntries)Retrieves an array of metadata entries representing the metadata attached to this value.static voidLLVMGlobalEraseMetadata(long Global, int Kind)Erases a metadata attachment of the given kind if it exists.static longLLVMGlobalGetValueType(long Global)Returns the "value type" of a global value.static voidLLVMGlobalSetMetadata(long Global, int Kind, long MD)Sets a metadata attachment, erasing the existing metadata attachment if it already exists for the given kind.static longLLVMHalfType()static longLLVMHalfTypeInContext(long C)Obtain a 16-bit floating point type from a context.static booleanLLVMHasMetadata(long Val)Determine whether an instruction has any metadata attached.static booleanLLVMHasPersonalityFn(long Fn)Check whether the given function has a personality function.static booleanLLVMHasUnnamedAddr(long Global)Deprecated: UseGetUnnamedAddressinstead.static voidLLVMInitializeCore(long R)static booleanLLVMInitializeFunctionPassManager(long FPM)Initializes all of the function passes scheduled in the function pass manager.static longLLVMInsertBasicBlock(long InsertBeforeBB, java.lang.CharSequence Name)Insert a basic block in a function using the global context.static longLLVMInsertBasicBlock(long InsertBeforeBB, java.nio.ByteBuffer Name)Insert a basic block in a function using the global context.static longLLVMInsertBasicBlockInContext(long C, long BB, java.lang.CharSequence Name)Insert a basic block in a function before another basic block.static longLLVMInsertBasicBlockInContext(long C, long BB, java.nio.ByteBuffer Name)Insert a basic block in a function before another basic block.static voidLLVMInsertExistingBasicBlockAfterInsertBlock(long Builder, long BB)Insert the given basic block after the insertion point of the given builder.static voidLLVMInsertIntoBuilder(long Builder, long Instr)static voidLLVMInsertIntoBuilderWithName(long Builder, long Instr, java.lang.CharSequence Name)static voidLLVMInsertIntoBuilderWithName(long Builder, long Instr, java.nio.ByteBuffer Name)static longLLVMInstructionClone(long Inst)Create a copy of 'this' instruction that is identical in all ways except the following: The instruction has no parent The instruction has no namestatic voidLLVMInstructionEraseFromParent(long Inst)Remove and delete an instruction.static longLLVMInstructionGetAllMetadataOtherThanDebugLoc(long Instr, org.lwjgl.PointerBuffer NumEntries)Returns the metadata associated with an instruction value, but filters out all the debug locations.static voidLLVMInstructionRemoveFromParent(long Inst)Remove and delete an instruction.static longLLVMInt128Type()static longLLVMInt128TypeInContext(long C)static longLLVMInt16Type()static longLLVMInt16TypeInContext(long C)static longLLVMInt1Type()Obtain an integer type from the global context with a specified bit width.static longLLVMInt1TypeInContext(long C)Obtain an integer type from a context with specified bit width.static longLLVMInt32Type()static longLLVMInt32TypeInContext(long C)static longLLVMInt64Type()static longLLVMInt64TypeInContext(long C)static longLLVMInt8Type()static longLLVMInt8TypeInContext(long C)static java.lang.StringLLVMIntrinsicCopyOverloadedName(int ID, org.lwjgl.PointerBuffer ParamTypes)Deprecated: UseIntrinsicCopyOverloadedName2instead.static java.lang.StringLLVMIntrinsicCopyOverloadedName2(long Mod, int ID, org.lwjgl.PointerBuffer ParamTypes)Copies the name of an overloaded intrinsic identified by a given list of parameter types.static java.lang.StringLLVMIntrinsicGetName(int ID)Retrieves the name of an intrinsic.static longLLVMIntrinsicGetType(long Ctx, int ID, org.lwjgl.PointerBuffer ParamTypes)Retrieves the type of an intrinsic.static booleanLLVMIntrinsicIsOverloaded(int ID)Obtain if the intrinsic identified by the given ID is overloaded.static longLLVMIntType(int NumBits)static longLLVMIntTypeInContext(long C, int NumBits)static longLLVMIsAAddrSpaceCastInst(long Val)static longLLVMIsAAllocaInst(long Val)static longLLVMIsAArgument(long Val)static longLLVMIsABasicBlock(long Val)static longLLVMIsABinaryOperator(long Val)static longLLVMIsABitCastInst(long Val)static longLLVMIsABlockAddress(long Val)static longLLVMIsABranchInst(long Val)static longLLVMIsACallInst(long Val)static longLLVMIsACastInst(long Val)static longLLVMIsACatchPadInst(long Val)static longLLVMIsACatchReturnInst(long Val)static longLLVMIsACleanupPadInst(long Val)static longLLVMIsACleanupReturnInst(long Val)static longLLVMIsACmpInst(long Val)static longLLVMIsAConstant(long Val)static longLLVMIsAConstantAggregateZero(long Val)static longLLVMIsAConstantArray(long Val)static longLLVMIsAConstantDataArray(long Val)static longLLVMIsAConstantDataSequential(long Val)static longLLVMIsAConstantDataVector(long Val)static longLLVMIsAConstantExpr(long Val)static longLLVMIsAConstantFP(long Val)static longLLVMIsAConstantInt(long Val)static longLLVMIsAConstantPointerNull(long Val)static longLLVMIsAConstantStruct(long Val)static longLLVMIsAConstantTokenNone(long Val)static longLLVMIsAConstantVector(long Val)static longLLVMIsADbgDeclareInst(long Val)static longLLVMIsADbgInfoIntrinsic(long Val)static longLLVMIsADbgLabelInst(long Val)static longLLVMIsADbgVariableIntrinsic(long Val)static longLLVMIsAExtractElementInst(long Val)static longLLVMIsAExtractValueInst(long Val)static longLLVMIsAFCmpInst(long Val)static longLLVMIsAFPExtInst(long Val)static longLLVMIsAFPToSIInst(long Val)static longLLVMIsAFPToUIInst(long Val)static longLLVMIsAFPTruncInst(long Val)static longLLVMIsAFuncletPadInst(long Val)static longLLVMIsAFunction(long Val)static longLLVMIsAGetElementPtrInst(long Val)static longLLVMIsAGlobalAlias(long Val)static longLLVMIsAGlobalIFunc(long Val)static longLLVMIsAGlobalObject(long Val)static longLLVMIsAGlobalValue(long Val)static longLLVMIsAGlobalVariable(long Val)static longLLVMIsAICmpInst(long Val)static longLLVMIsAIndirectBrInst(long Val)static longLLVMIsAInlineAsm(long Val)static longLLVMIsAInsertElementInst(long Val)static longLLVMIsAInsertValueInst(long Val)static longLLVMIsAInstruction(long Val)static longLLVMIsAIntrinsicInst(long Val)static longLLVMIsAIntToPtrInst(long Val)static longLLVMIsAInvokeInst(long Val)static longLLVMIsALandingPadInst(long Val)static longLLVMIsALoadInst(long Val)static longLLVMIsAMDNode(long Val)static longLLVMIsAMDString(long Val)static longLLVMIsAMemCpyInst(long Val)static longLLVMIsAMemIntrinsic(long Val)static longLLVMIsAMemMoveInst(long Val)static longLLVMIsAMemSetInst(long Val)static longLLVMIsAPHINode(long Val)static longLLVMIsAPtrToIntInst(long Val)static longLLVMIsAResumeInst(long Val)static longLLVMIsAReturnInst(long Val)static longLLVMIsASelectInst(long Val)static longLLVMIsASExtInst(long Val)static longLLVMIsAShuffleVectorInst(long Val)static longLLVMIsASIToFPInst(long Val)static longLLVMIsAStoreInst(long Val)static longLLVMIsASwitchInst(long Val)static longLLVMIsATerminatorInst(long Inst)Determine whether an instruction is a terminator.static booleanLLVMIsAtomicSingleThread(long AtomicInst)static longLLVMIsATruncInst(long Val)static longLLVMIsAUIToFPInst(long Val)static longLLVMIsAUnaryInstruction(long Val)static longLLVMIsAUndefValue(long Val)static longLLVMIsAUnreachableInst(long Val)static longLLVMIsAUser(long Val)static longLLVMIsAVAArgInst(long Val)static longLLVMIsAZExtInst(long Val)static booleanLLVMIsCleanup(long LandingPad)Get the 'cleanup' flag in thelandingpadinstructionstatic booleanLLVMIsConditional(long Branch)Return if a branch is conditional.static booleanLLVMIsConstant(long Val)Determine whether the specified value instance is constant.static booleanLLVMIsConstantString(long c)Returns true if the specified constant is an array ofi8.static booleanLLVMIsDeclaration(long Global)static booleanLLVMIsEnumAttribute(long A)static booleanLLVMIsExternallyInitialized(long GlobalVar)static booleanLLVMIsFunctionVarArg(long FunctionTy)Returns whether a function type is variadic.static booleanLLVMIsGlobalConstant(long GlobalVar)static booleanLLVMIsInBounds(long GEP)Check whether the givenGEPinstruction is inbounds.static booleanLLVMIsLiteralStruct(long StructTy)Determine whether a structure is literal.static booleanLLVMIsMultithreaded()Check whether LLVM is executing in thread-safe mode or not.static booleanLLVMIsNull(long Val)Determine whether a value instance is null.static booleanLLVMIsOpaqueStruct(long StructTy)Determine whether a structure is opaque.static booleanLLVMIsPackedStruct(long StructTy)Determine whether a structure is packed.static booleanLLVMIsPoison(long Val)Determine whether a value instance is poisonous.static booleanLLVMIsStringAttribute(long A)static booleanLLVMIsTailCall(long CallInst)Obtain whether a call instruction is a tail call.static booleanLLVMIsThreadLocal(long GlobalVar)static booleanLLVMIsTypeAttribute(long A)static booleanLLVMIsUndef(long Val)Determine whether a value instance is undefined.static longLLVMLabelType()static longLLVMLabelTypeInContext(long C)Create a label type in a context.static voidLLVMLookupIntrinsicID(java.lang.CharSequence Name)Obtain the intrinsic ID number which matches the given function name.static voidLLVMLookupIntrinsicID(java.nio.ByteBuffer Name)Obtain the intrinsic ID number which matches the given function name.static longLLVMMDNode(org.lwjgl.PointerBuffer Vals)Deprecated: UseMDNodeInContext2instead.static longLLVMMDNodeInContext(long C, org.lwjgl.PointerBuffer Vals)Deprecated: UseMDNodeInContext2instead.static longLLVMMDNodeInContext2(long C, org.lwjgl.PointerBuffer MDs)Create anMDNodevalue with the given array of operands.static longLLVMMDString(java.lang.CharSequence Str)Deprecated: UseMDStringInContext2instead.static longLLVMMDString(java.nio.ByteBuffer Str)Deprecated: UseMDStringInContext2instead.static longLLVMMDStringInContext(long C, java.lang.CharSequence Str)Deprecated: UseMDStringInContext2instead.static longLLVMMDStringInContext(long C, java.nio.ByteBuffer Str)Deprecated: UseMDStringInContext2instead.static longLLVMMDStringInContext2(long C, java.lang.CharSequence Str)Create anMDStringvalue from a given string value.static longLLVMMDStringInContext2(long C, java.nio.ByteBuffer Str)Create anMDStringvalue from a given string value.static longLLVMMetadataAsValue(long C, long MD)Obtain aMetadataas a Value.static longLLVMMetadataTypeInContext(long C)Create a metadata type in a context.static longLLVMModuleCreateWithName(java.lang.CharSequence ModuleID)Create a new, empty module in the global context.static longLLVMModuleCreateWithName(java.nio.ByteBuffer ModuleID)Create a new, empty module in the global context.static longLLVMModuleCreateWithNameInContext(java.lang.CharSequence ModuleID, long C)Create a new, empty module in a specific context.static longLLVMModuleCreateWithNameInContext(java.nio.ByteBuffer ModuleID, long C)Create a new, empty module in a specific context.static intLLVMModuleFlagEntriesGetFlagBehavior(long Entries, int Index)Returns the flag behavior for a module flag entry at a specific index.static java.lang.StringLLVMModuleFlagEntriesGetKey(long Entries, int Index)Returns the key for a module flag entry at a specific index.static longLLVMModuleFlagEntriesGetMetadata(long Entries, int Index)Returns the metadata for a module flag entry at a specific index.static voidLLVMMoveBasicBlockAfter(long BB, long MovePos)Move a basic block to after another one.static voidLLVMMoveBasicBlockBefore(long BB, long MovePos)Move a basic block to before another one.static longLLVMPointerType(long ElementType, int AddressSpace)Create a pointer type that points to a defined type.static voidLLVMPositionBuilder(long Builder, long Block, long Instr)static voidLLVMPositionBuilderAtEnd(long Builder, long Block)static voidLLVMPositionBuilderBefore(long Builder, long Instr)static longLLVMPPCFP128Type()static longLLVMPPCFP128TypeInContext(long C)Obtain a 128-bit floating point type (two 64-bits) from a context.static booleanLLVMPrintModuleToFile(long M, java.lang.CharSequence Filename, org.lwjgl.PointerBuffer ErrorMessage)Print a representation of a module to a file.static booleanLLVMPrintModuleToFile(long M, java.nio.ByteBuffer Filename, org.lwjgl.PointerBuffer ErrorMessage)Print a representation of a module to a file.static java.lang.StringLLVMPrintModuleToString(long M)Return a string representation of the module.static java.lang.StringLLVMPrintTypeToString(long Val)Return a string representation of the type.static java.lang.StringLLVMPrintValueToString(long Val)Return a string representation of the value.static voidLLVMRemoveBasicBlockFromParent(long BB)Remove a basic block from a function.static voidLLVMRemoveCallSiteEnumAttribute(long C, int Idx, int KindID)static voidLLVMRemoveCallSiteStringAttribute(long C, int Idx, java.lang.CharSequence K)static voidLLVMRemoveCallSiteStringAttribute(long C, int Idx, java.nio.ByteBuffer K)static voidLLVMRemoveEnumAttributeAtIndex(long F, int Idx, int KindID)static voidLLVMRemoveGlobalIFunc(long IFunc)Remove a global indirect function from its parent module.static voidLLVMRemoveStringAttributeAtIndex(long F, int Idx, java.lang.CharSequence K)static voidLLVMRemoveStringAttributeAtIndex(long F, int Idx, java.nio.ByteBuffer K)static voidLLVMReplaceAllUsesWith(long OldVal, long NewVal)Replace all uses of a value with another one.static booleanLLVMRunFunctionPassManager(long FPM, long F)Executes all of the function passes scheduled in the function pass manager on the provided function.static booleanLLVMRunPassManager(long PM, long M)Initializes, executes on the provided module, and finalizes all of the passes scheduled in the pass manager.static longLLVMScalableVectorType(long ElementType, int ElementCount)Create a vector type that contains a defined type and has a scalable number of elements.static voidLLVMSetAlignment(long V, int Bytes)Set the preferred alignment of the value.static voidLLVMSetArgOperand(long Funclet, int i, long value)Set afuncletpadargument at the given index.static voidLLVMSetAtomicRMWBinOp(long AtomicRMWInst, int BinOp)static voidLLVMSetAtomicSingleThread(long AtomicInst, boolean SingleThread)static voidLLVMSetCleanup(long LandingPad, boolean Val)Set the 'cleanup' flag in thelandingpadinstructionstatic voidLLVMSetCmpXchgFailureOrdering(long CmpXchgInst, int Ordering)static voidLLVMSetCmpXchgSuccessOrdering(long CmpXchgInst, int Ordering)static voidLLVMSetCondition(long Branch, long Cond)Set the condition of a branch instruction.static voidLLVMSetCurrentDebugLocation(long Builder, long L)Deprecated: Passing theNULLlocation will crash.static voidLLVMSetCurrentDebugLocation2(long Builder, long Loc)Set location information used by debugging information.static voidLLVMSetDataLayout(long M, java.lang.CharSequence DataLayoutStr)Set the data layout for a module.static voidLLVMSetDataLayout(long M, java.nio.ByteBuffer DataLayoutStr)Set the data layout for a module.static voidLLVMSetDLLStorageClass(long Global, int Class)static voidLLVMSetExternallyInitialized(long GlobalVar, boolean IsExtInit)static voidLLVMSetFunctionCallConv(long Fn, int CC)Set the calling convention of a function.static voidLLVMSetGC(long Fn, java.lang.CharSequence Name)Define the garbage collector to use during code generation.static voidLLVMSetGC(long Fn, java.nio.ByteBuffer Name)Define the garbage collector to use during code generation.static voidLLVMSetGlobalConstant(long GlobalVar, boolean IsConstant)static voidLLVMSetGlobalIFuncResolver(long IFunc, long Resolver)Sets the resolver function associated with this indirect function.static voidLLVMSetInitializer(long GlobalVar, long ConstantVal)static voidLLVMSetInstDebugLocation(long Builder, long Inst)Attempts to set the debug location for the given instruction using the current debug location for the given builder.static voidLLVMSetInstrParamAlignment(long Instr, int index, int Align)static voidLLVMSetInstructionCallConv(long Instr, int CC)Set the calling convention for a call instruction.static voidLLVMSetIsInBounds(long GEP, boolean InBounds)Set the givenGEPinstruction to be inbounds or not.static voidLLVMSetLinkage(long Global, int Linkage)static voidLLVMSetMetadata(long Val, int KindID, long Node)Set metadata associated with an instruction value.static voidLLVMSetModuleIdentifier(long M, java.lang.CharSequence Ident)Set the identifier of a module to a stringIdentwith lengthLen.static voidLLVMSetModuleIdentifier(long M, java.nio.ByteBuffer Ident)Set the identifier of a module to a stringIdentwith lengthLen.static voidLLVMSetModuleInlineAsm(long M, java.lang.CharSequence Asm)Deprecated: UseSetModuleInlineAsm2instead.static voidLLVMSetModuleInlineAsm(long M, java.nio.ByteBuffer Asm)Deprecated: UseSetModuleInlineAsm2instead.static voidLLVMSetModuleInlineAsm2(long M, java.lang.CharSequence Asm)Set inline assembly for a module.static voidLLVMSetModuleInlineAsm2(long M, java.nio.ByteBuffer Asm)Set inline assembly for a module.static voidLLVMSetNormalDest(long InvokeInst, long B)Set the normal destination basic block.static voidLLVMSetOperand(long User, int Index, long Val)Set an operand at a specific index in allvm::Uservalue.static voidLLVMSetOrdering(long MemoryAccessInst, int Ordering)static voidLLVMSetParamAlignment(long Arg, int Align)Set the alignment for a function parameter.static voidLLVMSetParentCatchSwitch(long CatchPad, long CatchSwitch)Set the parentcatchswitchinstruction of acatchpadinstruction.static voidLLVMSetPersonalityFn(long Fn, long PersonalityFn)Set the personality function attached to the function.static voidLLVMSetSection(long Global, java.lang.CharSequence Section)static voidLLVMSetSection(long Global, java.nio.ByteBuffer Section)static voidLLVMSetSourceFileName(long M, java.lang.CharSequence Name)Set the original source file name of a module to a stringNamewith lengthLen.static voidLLVMSetSourceFileName(long M, java.nio.ByteBuffer Name)Set the original source file name of a module to a stringNamewith lengthLen.static voidLLVMSetSuccessor(long Term, int i, long block)Update the specified successor to point at the provided block.static voidLLVMSetTailCall(long CallInst, boolean IsTailCall)Set whether a call instruction is a tail call.static voidLLVMSetTarget(long M, java.lang.CharSequence Triple)Set the target triple for a module.static voidLLVMSetTarget(long M, java.nio.ByteBuffer Triple)Set the target triple for a module.static voidLLVMSetThreadLocal(long GlobalVar, boolean IsThreadLocal)static voidLLVMSetThreadLocalMode(long GlobalVar, int Mode)static voidLLVMSetUnnamedAddr(long Global, boolean HasUnnamedAddr)Deprecated: UseSetUnnamedAddressinstead.static voidLLVMSetUnnamedAddress(long Global, int UnnamedAddr)static voidLLVMSetUnwindDest(long InvokeInst, long B)Set the unwind destination basic block.static voidLLVMSetValueName(long Val, java.lang.CharSequence Name)Deprecated: UseSetValueName2instead.static voidLLVMSetValueName(long Val, java.nio.ByteBuffer Name)Deprecated: UseSetValueName2instead.static voidLLVMSetValueName2(long Val, java.lang.CharSequence Name)Set the string name of a value.static voidLLVMSetValueName2(long Val, java.nio.ByteBuffer Name)Set the string name of a value.static voidLLVMSetVisibility(long Global, int Viz)static voidLLVMSetVolatile(long MemoryAccessInst, boolean IsVolatile)static voidLLVMSetWeak(long CmpXchgInst, boolean IsWeak)static voidLLVMShutdown()Deallocate and destroy allManagedStaticvariables.static longLLVMSizeOf(long Ty)static booleanLLVMStartMultithreaded()Deprecated: Multi-threading can only be enabled/disabled with the compile time defineLLVM_ENABLE_THREADS.static voidLLVMStopMultithreaded()Deprecated: Multi-threading can only be enabled/disabled with the compile time defineLLVM_ENABLE_THREADS.static longLLVMStructCreateNamed(long C, java.lang.CharSequence Name)Create an empty structure in a context having a specified name.static longLLVMStructCreateNamed(long C, java.nio.ByteBuffer Name)Create an empty structure in a context having a specified name.static longLLVMStructGetTypeAtIndex(long StructTy, int i)Get the type of the element at a given index in the structure.static voidLLVMStructSetBody(long StructTy, org.lwjgl.PointerBuffer ElementTypes, boolean Packed)Set the contents of a structure type.static longLLVMStructType(org.lwjgl.PointerBuffer ElementTypes, boolean Packed)Create a new structure type in the global context.static longLLVMStructTypeInContext(long C, org.lwjgl.PointerBuffer ElementTypes, boolean Packed)Create a new structure type in a context.static longLLVMTokenTypeInContext(long C)Create a token type in a context.static booleanLLVMTypeIsSized(long Ty)Whether the type has a known size.static longLLVMTypeOf(long Val)Obtain the type of a value.static longLLVMValueAsBasicBlock(long Val)Convert anLLVMValueRefto anLLVMBasicBlockRefinstance.static longLLVMValueAsMetadata(long Val)Obtain aValueas aMetadata.static booleanLLVMValueIsBasicBlock(long Val)Determine whether anLLVMValueRefis itself a basic block.static intLLVMValueMetadataEntriesGetKind(long Entries, int Index)Returns the kind of a value metadata entry at a specific index.static longLLVMValueMetadataEntriesGetMetadata(long Entries, int Index)Returns the underlying metadata node of a value metadata entry at a specific index.static longLLVMVectorType(long ElementType, int ElementCount)Create a vector type that contains a defined type and has a specific number of elements.static longLLVMVoidType()These are similar to the above functions except they operate on the global context.static longLLVMVoidTypeInContext(long C)Create a void type in a context.static longLLVMX86AMXType()static longLLVMX86AMXTypeInContext(long C)Create a X86 AMX type in a context.static longLLVMX86FP80Type()static longLLVMX86FP80TypeInContext(long C)Obtain a 80-bit floating point type (X87) from a context.static longLLVMX86MMXType()static longLLVMX86MMXTypeInContext(long C)Create a X86 MMX type in a context.static longnLLVMAddAlias(long M, long Ty, long Aliasee, long Name)static longnLLVMAddFunction(long M, long Name, long FunctionTy)Unsafe version of:AddFunctionstatic longnLLVMAddGlobal(long M, long Ty, long Name)static longnLLVMAddGlobalIFunc(long M, long Name, long NameLen, long Ty, int AddrSpace, long Resolver)Unsafe version of:AddGlobalIFuncstatic longnLLVMAddGlobalInAddressSpace(long M, long Ty, long Name, int AddressSpace)static voidnLLVMAddIncoming(long PhiNode, long IncomingValues, long IncomingBlocks, int Count)Unsafe version of:AddIncomingstatic voidnLLVMAddModuleFlag(long M, int Behavior, long Key, long KeyLen, long Val)Unsafe version of:AddModuleFlagstatic voidnLLVMAddNamedMetadataOperand(long M, long Name, long Val)Unsafe version of:AddNamedMetadataOperandstatic voidnLLVMAddTargetDependentFunctionAttr(long Fn, long A, long V)Unsafe version of:AddTargetDependentFunctionAttrstatic longnLLVMAppendBasicBlock(long Fn, long Name)Unsafe version of:AppendBasicBlockstatic longnLLVMAppendBasicBlockInContext(long C, long Fn, long Name)Unsafe version of:AppendBasicBlockInContextstatic voidnLLVMAppendModuleInlineAsm(long M, long Asm, long Len)Unsafe version of:AppendModuleInlineAsmstatic longnLLVMBuildAdd(long Builder, long LHS, long RHS, long Name)Unsafe version of:BuildAddstatic longnLLVMBuildAddrSpaceCast(long Builder, long Val, long DestTy, long Name)static longnLLVMBuildAggregateRet(long Builder, long RetVals, int N)static longnLLVMBuildAlloca(long Builder, long Ty, long Name)static longnLLVMBuildAnd(long Builder, long LHS, long RHS, long Name)static longnLLVMBuildArrayAlloca(long Builder, long Ty, long Val, long Name)static longnLLVMBuildArrayMalloc(long Builder, long Ty, long Val, long Name)static longnLLVMBuildAShr(long Builder, long LHS, long RHS, long Name)static longnLLVMBuildBinOp(long B, int Op, long LHS, long RHS, long Name)static longnLLVMBuildBitCast(long Builder, long Val, long DestTy, long Name)static longnLLVMBuildCall(long Builder, long Fn, long Args, int NumArgs, long Name)static longnLLVMBuildCall2(long Builder, long Ty, long Fn, long Args, int NumArgs, long Name)Unsafe version of:BuildCall2static longnLLVMBuildCast(long B, int Op, long Val, long DestTy, long Name)static longnLLVMBuildCatchPad(long B, long ParentPad, long Args, int NumArgs, long Name)static longnLLVMBuildCatchSwitch(long B, long ParentPad, long UnwindBB, int NumHandlers, long Name)static longnLLVMBuildCleanupPad(long B, long ParentPad, long Args, int NumArgs, long Name)static longnLLVMBuildExactSDiv(long Builder, long LHS, long RHS, long Name)static longnLLVMBuildExactUDiv(long Builder, long LHS, long RHS, long Name)static longnLLVMBuildExtractElement(long Builder, long VecVal, long Index, long Name)static longnLLVMBuildExtractValue(long Builder, long AggVal, int Index, long Name)static longnLLVMBuildFAdd(long Builder, long LHS, long RHS, long Name)static longnLLVMBuildFCmp(long Builder, int Op, long LHS, long RHS, long Name)static longnLLVMBuildFDiv(long Builder, long LHS, long RHS, long Name)static longnLLVMBuildFence(long B, int ordering, int singleThread, long Name)static longnLLVMBuildFMul(long Builder, long LHS, long RHS, long Name)static longnLLVMBuildFNeg(long Builder, long V, long Name)static longnLLVMBuildFPCast(long Builder, long Val, long DestTy, long Name)static longnLLVMBuildFPExt(long Builder, long Val, long DestTy, long Name)static longnLLVMBuildFPToSI(long Builder, long Val, long DestTy, long Name)static longnLLVMBuildFPToUI(long Builder, long Val, long DestTy, long Name)static longnLLVMBuildFPTrunc(long Builder, long Val, long DestTy, long Name)static longnLLVMBuildFreeze(long Builder, long Val, long Name)Unsafe version of:BuildFreezestatic longnLLVMBuildFRem(long Builder, long LHS, long RHS, long Name)static longnLLVMBuildFSub(long Builder, long LHS, long RHS, long Name)static longnLLVMBuildGEP(long B, long Pointer, long Indices, int NumIndices, long Name)static longnLLVMBuildGEP2(long B, long Ty, long Pointer, long Indices, int NumIndices, long Name)Unsafe version of:BuildGEP2static longnLLVMBuildGlobalString(long B, long Str, long Name)static longnLLVMBuildGlobalStringPtr(long B, long Str, long Name)static longnLLVMBuildICmp(long Builder, int Op, long LHS, long RHS, long Name)Unsafe version of:BuildICmpstatic longnLLVMBuildInBoundsGEP(long B, long Pointer, long Indices, int NumIndices, long Name)static longnLLVMBuildInBoundsGEP2(long B, long Ty, long Pointer, long Indices, int NumIndices, long Name)Unsafe version of:BuildInBoundsGEP2static longnLLVMBuildInsertElement(long Builder, long VecVal, long EltVal, long Index, long Name)static longnLLVMBuildInsertValue(long Builder, long AggVal, long EltVal, int Index, long Name)static longnLLVMBuildIntCast(long Builder, long Val, long DestTy, long Name)static longnLLVMBuildIntToPtr(long Builder, long Val, long DestTy, long Name)static longnLLVMBuildInvoke(long Builder, long Fn, long Args, int NumArgs, long Then, long Catch, long Name)static longnLLVMBuildInvoke2(long Builder, long Ty, long Fn, long Args, int NumArgs, long Then, long Catch, long Name)Unsafe version of:BuildInvoke2static longnLLVMBuildIsNotNull(long Builder, long Val, long Name)static longnLLVMBuildIsNull(long Builder, long Val, long Name)static longnLLVMBuildLandingPad(long B, long Ty, long PersFn, int NumClauses, long Name)static longnLLVMBuildLoad(long Builder, long PointerVal, long Name)static longnLLVMBuildLoad2(long Builder, long Ty, long PointerVal, long Name)Unsafe version of:BuildLoad2static longnLLVMBuildLShr(long Builder, long LHS, long RHS, long Name)static longnLLVMBuildMalloc(long Builder, long Ty, long Name)Unsafe version of:BuildMallocstatic longnLLVMBuildMul(long Builder, long LHS, long RHS, long Name)static longnLLVMBuildNeg(long Builder, long V, long Name)static longnLLVMBuildNot(long Builder, long V, long Name)static longnLLVMBuildNSWAdd(long Builder, long LHS, long RHS, long Name)static longnLLVMBuildNSWMul(long Builder, long LHS, long RHS, long Name)static longnLLVMBuildNSWNeg(long B, long V, long Name)static longnLLVMBuildNSWSub(long Builder, long LHS, long RHS, long Name)static longnLLVMBuildNUWAdd(long Builder, long LHS, long RHS, long Name)static longnLLVMBuildNUWMul(long Builder, long LHS, long RHS, long Name)static longnLLVMBuildNUWNeg(long B, long V, long Name)static longnLLVMBuildNUWSub(long Builder, long LHS, long RHS, long Name)static longnLLVMBuildOr(long Builder, long LHS, long RHS, long Name)static longnLLVMBuildPhi(long Builder, long Ty, long Name)Unsafe version of:BuildPhistatic longnLLVMBuildPointerCast(long Builder, long Val, long DestTy, long Name)static longnLLVMBuildPointerCast2(long Builder, long Val, long DestTy, int IsSigned, long Name)Unsafe version of:BuildPointerCast2static longnLLVMBuildPtrDiff(long Builder, long LHS, long RHS, long Name)static longnLLVMBuildPtrToInt(long Builder, long Val, long DestTy, long Name)static longnLLVMBuildSDiv(long Builder, long LHS, long RHS, long Name)static longnLLVMBuildSelect(long Builder, long If, long Then, long Else, long Name)static longnLLVMBuildSExt(long Builder, long Val, long DestTy, long Name)static longnLLVMBuildSExtOrBitCast(long Builder, long Val, long DestTy, long Name)static longnLLVMBuildShl(long Builder, long LHS, long RHS, long Name)static longnLLVMBuildShuffleVector(long Builder, long V1, long V2, long Mask, long Name)static longnLLVMBuildSIToFP(long Builder, long Val, long DestTy, long Name)static longnLLVMBuildSRem(long Builder, long LHS, long RHS, long Name)static longnLLVMBuildStructGEP(long B, long Pointer, int Idx, long Name)static longnLLVMBuildStructGEP2(long B, long Ty, long Pointer, int Idx, long Name)Unsafe version of:BuildStructGEP2static longnLLVMBuildSub(long Builder, long LHS, long RHS, long Name)static longnLLVMBuildTrunc(long Builder, long Val, long DestTy, long Name)Unsafe version of:BuildTruncstatic longnLLVMBuildTruncOrBitCast(long Builder, long Val, long DestTy, long Name)static longnLLVMBuildUDiv(long Builder, long LHS, long RHS, long Name)static longnLLVMBuildUIToFP(long Builder, long Val, long DestTy, long Name)static longnLLVMBuildURem(long Builder, long LHS, long RHS, long Name)static longnLLVMBuildVAArg(long Builder, long List, long Ty, long Name)static longnLLVMBuildXor(long Builder, long LHS, long RHS, long Name)static longnLLVMBuildZExt(long Builder, long Val, long DestTy, long Name)static longnLLVMBuildZExtOrBitCast(long Builder, long Val, long DestTy, long Name)static longnLLVMConstArray(long ElementTy, long ConstantVals, int Length)Unsafe version of:ConstArraystatic longnLLVMConstExtractValue(long AggConstant, long IdxList, int NumIdx)static longnLLVMConstGEP(long ConstantVal, long ConstantIndices, int NumIndices)static longnLLVMConstGEP2(long Ty, long ConstantVal, long ConstantIndices, int NumIndices)Unsafe version of:ConstGEP2static longnLLVMConstInBoundsGEP(long ConstantVal, long ConstantIndices, int NumIndices)static longnLLVMConstInBoundsGEP2(long Ty, long ConstantVal, long ConstantIndices, int NumIndices)Unsafe version of:ConstInBoundsGEP2static longnLLVMConstInlineAsm(long Ty, long AsmString, long Constraints, int HasSideEffects, int IsAlignStack)Unsafe version of:ConstInlineAsmstatic longnLLVMConstInsertValue(long AggConstant, long ElementValueConstant, long IdxList, int NumIdx)static longnLLVMConstIntOfArbitraryPrecision(long IntTy, int NumWords, long Words)Unsafe version of:ConstIntOfArbitraryPrecisionstatic longnLLVMConstIntOfString(long IntTy, long Text, byte Radix)Unsafe version of:ConstIntOfStringstatic longnLLVMConstIntOfStringAndSize(long IntTy, long Text, int SLen, byte Radix)Unsafe version of:ConstIntOfStringAndSizestatic longnLLVMConstNamedStruct(long StructTy, long ConstantVals, int Count)Unsafe version of:ConstNamedStructstatic doublenLLVMConstRealGetDouble(long ConstantVal, long losesInfo)Unsafe version of:ConstRealGetDoublestatic longnLLVMConstRealOfString(long RealTy, long Text)Unsafe version of:ConstRealOfStringstatic longnLLVMConstRealOfStringAndSize(long RealTy, long Text, int SLen)Unsafe version of:ConstRealOfStringAndSizestatic longnLLVMConstString(long Str, int Length, int DontNullTerminate)Unsafe version of:ConstStringstatic longnLLVMConstStringInContext(long C, long Str, int Length, int DontNullTerminate)Unsafe version of:ConstStringInContextstatic longnLLVMConstStruct(long ConstantVals, int Count, int Packed)Unsafe version of:ConstStructstatic longnLLVMConstStructInContext(long C, long ConstantVals, int Count, int Packed)Unsafe version of:ConstStructInContextstatic longnLLVMConstVector(long ScalarConstantVals, int Size)Unsafe version of:ConstVectorstatic longnLLVMContextGetDiagnosticHandler(long C)Unsafe version of:ContextGetDiagnosticHandlerstatic voidnLLVMContextSetDiagnosticHandler(long C, long Handler, long DiagnosticContext)Unsafe version of:ContextSetDiagnosticHandlerstatic voidnLLVMContextSetYieldCallback(long C, long Callback, long OpaqueHandle)Unsafe version of:ContextSetYieldCallbackstatic longnLLVMCopyModuleFlagsMetadata(long M, long Len)Unsafe version of:CopyModuleFlagsMetadatastatic longnLLVMCreateBasicBlockInContext(long C, long Name)Unsafe version of:CreateBasicBlockInContextstatic intnLLVMCreateMemoryBufferWithContentsOfFile(long Path, long OutMemBuf, long OutMessage)static longnLLVMCreateMemoryBufferWithMemoryRange(long InputData, long InputDataLength, long BufferName, int RequiresNullTerminator)static longnLLVMCreateMemoryBufferWithMemoryRangeCopy(long InputData, long InputDataLength, long BufferName)static intnLLVMCreateMemoryBufferWithSTDIN(long OutMemBuf, long OutMessage)static longnLLVMCreateMessage(long Message)static longnLLVMCreateStringAttribute(long C, long K, int KLength, long V, int VLength)Unsafe version of:CreateStringAttributestatic voidnLLVMDisposeMessage(long Message)static longnLLVMFunctionType(long ReturnType, long ParamTypes, int ParamCount, int IsVarArg)Unsafe version of:FunctionTypestatic longnLLVMGetAsString(long c, long Length)Unsafe version of:GetAsStringstatic voidnLLVMGetAttributesAtIndex(long F, int Idx, long Attrs)static longnLLVMGetBasicBlockName(long BB)Unsafe version of:GetBasicBlockNamestatic voidnLLVMGetBasicBlocks(long Fn, long BasicBlocks)Unsafe version of:GetBasicBlocksstatic longnLLVMGetBufferStart(long MemBuf)static voidnLLVMGetCallSiteAttributes(long C, int Idx, long Attrs)static longnLLVMGetCallSiteStringAttribute(long C, int Idx, long K, int KLen)static longnLLVMGetDataLayout(long M)static longnLLVMGetDataLayoutStr(long M)Unsafe version of:GetDataLayoutStrstatic longnLLVMGetDebugLocDirectory(long Val, long Length)Unsafe version of:GetDebugLocDirectorystatic longnLLVMGetDebugLocFilename(long Val, long Length)Unsafe version of:GetDebugLocFilenamestatic longnLLVMGetDiagInfoDescription(long DI)Unsafe version of:GetDiagInfoDescriptionstatic intnLLVMGetEnumAttributeKindForName(long Name, long SLen)Unsafe version of:GetEnumAttributeKindForNamestatic longnLLVMGetGC(long Fn)Unsafe version of:GetGCstatic voidnLLVMGetHandlers(long CatchSwitch, long Handlers)Unsafe version of:GetHandlersstatic longnLLVMGetIndices(long Inst)Unsafe version of:GetIndicesstatic longnLLVMGetInlineAsm(long Ty, long AsmString, long AsmStringSize, long Constraints, long ConstraintsSize, int HasSideEffects, int IsAlignStack, int Dialect, int CanThrow)Unsafe version of:GetInlineAsmstatic longnLLVMGetIntrinsicDeclaration(long Mod, int ID, long ParamTypes, long ParamCount)Unsafe version of:GetIntrinsicDeclarationstatic intnLLVMGetMDKindID(long Name, int SLen)static intnLLVMGetMDKindIDInContext(long C, long Name, int SLen)static voidnLLVMGetMDNodeOperands(long V, long Dest)Unsafe version of:GetMDNodeOperandsstatic longnLLVMGetMDString(long V, long Length)Unsafe version of:GetMDStringstatic longnLLVMGetModuleFlag(long M, long Key, long KeyLen)Unsafe version of:GetModuleFlagstatic longnLLVMGetModuleIdentifier(long M, long Len)Unsafe version of:GetModuleIdentifierstatic longnLLVMGetModuleInlineAsm(long M, long Len)Unsafe version of:GetModuleInlineAsmstatic longnLLVMGetNamedFunction(long M, long Name)Unsafe version of:GetNamedFunctionstatic longnLLVMGetNamedGlobal(long M, long Name)static longnLLVMGetNamedGlobalAlias(long M, long Name, long NameLen)Unsafe version of:GetNamedGlobalAliasstatic longnLLVMGetNamedGlobalIFunc(long M, long Name, long NameLen)Unsafe version of:GetNamedGlobalIFuncstatic longnLLVMGetNamedMetadata(long M, long Name, long NameLen)Unsafe version of:GetNamedMetadatastatic longnLLVMGetNamedMetadataName(long NamedMD, long NameLen)Unsafe version of:GetNamedMetadataNamestatic intnLLVMGetNamedMetadataNumOperands(long M, long Name)Unsafe version of:GetNamedMetadataNumOperandsstatic voidnLLVMGetNamedMetadataOperands(long M, long Name, long Dest)Unsafe version of:GetNamedMetadataOperandsstatic longnLLVMGetOrInsertNamedMetadata(long M, long Name, long NameLen)Unsafe version of:GetOrInsertNamedMetadatastatic voidnLLVMGetParams(long Fn, long Params)Unsafe version of:GetParamsstatic voidnLLVMGetParamTypes(long FunctionTy, long Dest)Unsafe version of:GetParamTypesstatic longnLLVMGetSection(long Global)static longnLLVMGetSourceFileName(long M, long Len)Unsafe version of:GetSourceFileNamestatic longnLLVMGetStringAttributeAtIndex(long F, int Idx, long K, int KLen)static longnLLVMGetStringAttributeKind(long A, long Length)Unsafe version of:GetStringAttributeKindstatic longnLLVMGetStringAttributeValue(long A, long Length)Unsafe version of:GetStringAttributeValuestatic voidnLLVMGetStructElementTypes(long StructTy, long Dest)Unsafe version of:GetStructElementTypesstatic longnLLVMGetStructName(long Ty)Unsafe version of:GetStructNamestatic voidnLLVMGetSubtypes(long Tp, long Arr)Unsafe version of:GetSubtypesstatic longnLLVMGetTarget(long M)Unsafe version of:GetTargetstatic longnLLVMGetTypeByName(long M, long Name)Unsafe version of:GetTypeByNamestatic longnLLVMGetTypeByName2(long C, long Name)Unsafe version of:GetTypeByName2static longnLLVMGetValueName(long Val)Unsafe version of:GetValueNamestatic longnLLVMGetValueName2(long Val, long Length)Unsafe version of:GetValueName2static longnLLVMGlobalCopyAllMetadata(long Value, long NumEntries)Unsafe version of:GlobalCopyAllMetadatastatic longnLLVMInsertBasicBlock(long InsertBeforeBB, long Name)Unsafe version of:InsertBasicBlockstatic longnLLVMInsertBasicBlockInContext(long C, long BB, long Name)Unsafe version of:InsertBasicBlockInContextstatic voidnLLVMInsertIntoBuilderWithName(long Builder, long Instr, long Name)static longnLLVMInstructionGetAllMetadataOtherThanDebugLoc(long Instr, long NumEntries)Unsafe version of:InstructionGetAllMetadataOtherThanDebugLocstatic longnLLVMIntrinsicCopyOverloadedName(int ID, long ParamTypes, long ParamCount, long NameLength)Unsafe version of:IntrinsicCopyOverloadedNamestatic longnLLVMIntrinsicCopyOverloadedName2(long Mod, int ID, long ParamTypes, long ParamCount, long NameLength)Unsafe version of:IntrinsicCopyOverloadedName2static longnLLVMIntrinsicGetName(int ID, long NameLength)Unsafe version of:IntrinsicGetNamestatic longnLLVMIntrinsicGetType(long Ctx, int ID, long ParamTypes, long ParamCount)Unsafe version of:IntrinsicGetTypestatic voidnLLVMLookupIntrinsicID(long Name, long NameLen)Unsafe version of:LookupIntrinsicIDstatic longnLLVMMDNode(long Vals, int Count)Unsafe version of:MDNodestatic longnLLVMMDNodeInContext(long C, long Vals, int Count)Unsafe version of:MDNodeInContextstatic longnLLVMMDNodeInContext2(long C, long MDs, long Count)Unsafe version of:MDNodeInContext2static longnLLVMMDString(long Str, int SLen)Unsafe version of:MDStringstatic longnLLVMMDStringInContext(long C, long Str, int SLen)Unsafe version of:MDStringInContextstatic longnLLVMMDStringInContext2(long C, long Str, long SLen)Unsafe version of:MDStringInContext2static longnLLVMModuleCreateWithName(long ModuleID)Unsafe version of:ModuleCreateWithNamestatic longnLLVMModuleCreateWithNameInContext(long ModuleID, long C)Unsafe version of:ModuleCreateWithNameInContextstatic longnLLVMModuleFlagEntriesGetKey(long Entries, int Index, long Len)Unsafe version of:ModuleFlagEntriesGetKeystatic intnLLVMPrintModuleToFile(long M, long Filename, long ErrorMessage)Unsafe version of:PrintModuleToFilestatic longnLLVMPrintModuleToString(long M)Unsafe version of:PrintModuleToStringstatic longnLLVMPrintTypeToString(long Val)Unsafe version of:PrintTypeToStringstatic longnLLVMPrintValueToString(long Val)Unsafe version of:PrintValueToStringstatic voidnLLVMRemoveCallSiteStringAttribute(long C, int Idx, long K, int KLen)static voidnLLVMRemoveStringAttributeAtIndex(long F, int Idx, long K, int KLen)static voidnLLVMSetDataLayout(long M, long DataLayoutStr)Unsafe version of:SetDataLayoutstatic voidnLLVMSetGC(long Fn, long Name)Unsafe version of:SetGCstatic voidnLLVMSetModuleIdentifier(long M, long Ident, long Len)Unsafe version of:SetModuleIdentifierstatic voidnLLVMSetModuleInlineAsm(long M, long Asm)Unsafe version of:SetModuleInlineAsmstatic voidnLLVMSetModuleInlineAsm2(long M, long Asm, long Len)Unsafe version of:SetModuleInlineAsm2static voidnLLVMSetSection(long Global, long Section)static voidnLLVMSetSourceFileName(long M, long Name, long Len)Unsafe version of:SetSourceFileNamestatic voidnLLVMSetTarget(long M, long Triple)Unsafe version of:SetTargetstatic voidnLLVMSetValueName(long Val, long Name)Unsafe version of:SetValueNamestatic voidnLLVMSetValueName2(long Val, long Name, long NameLen)Unsafe version of:SetValueName2static longnLLVMStructCreateNamed(long C, long Name)Unsafe version of:StructCreateNamedstatic voidnLLVMStructSetBody(long StructTy, long ElementTypes, int ElementCount, int Packed)Unsafe version of:StructSetBodystatic longnLLVMStructType(long ElementTypes, int ElementCount, int Packed)Unsafe version of:StructTypestatic longnLLVMStructTypeInContext(long C, long ElementTypes, int ElementCount, int Packed)Unsafe version of:StructTypeInContext
-
-
-
Field Detail
-
LLVMRet, LLVMBr, LLVMSwitch, LLVMIndirectBr, LLVMInvoke, LLVMUnreachable, LLVMCallBr, LLVMFNeg, LLVMAdd, LLVMFAdd, LLVMSub, LLVMFSub, LLVMMul, LLVMFMul, LLVMUDiv, LLVMSDiv, LLVMFDiv, LLVMURem, LLVMSRem, LLVMFRem, LLVMShl, LLVMLShr, LLVMAShr, LLVMAnd, LLVMOr, LLVMXor, LLVMAlloca, LLVMLoad, LLVMStore, LLVMGetElementPtr, LLVMTrunc, LLVMZExt, LLVMSExt, LLVMFPToUI, LLVMFPToSI, LLVMUIToFP, LLVMSIToFP, LLVMFPTrunc, LLVMFPExt, LLVMPtrToInt, LLVMIntToPtr, LLVMBitCast, LLVMAddrSpaceCast, LLVMICmp, LLVMFCmp, LLVMPHI, LLVMCall, LLVMSelect, LLVMUserOp1, LLVMUserOp2, LLVMVAArg, LLVMExtractElement, LLVMInsertElement, LLVMShuffleVector, LLVMExtractValue, LLVMInsertValue, LLVMFreeze, LLVMFence, LLVMAtomicCmpXchg, LLVMAtomicRMW, LLVMResume, LLVMLandingPad, LLVMCleanupRet, LLVMCatchRet, LLVMCatchPad, LLVMCleanupPad, LLVMCatchSwitch
LLVMOpcodeEnum values:
RetBrSwitchIndirectBrInvokeUnreachableCallBrFNegAddFAddSubFSubMulFMulUDivSDivFDivURemSRemFRemShlLShrAShrAndOrXorAllocaLoadStoreGetElementPtrTruncZExtSExtFPToUIFPToSIUIToFPSIToFPFPTruncFPExtPtrToIntIntToPtrBitCastAddrSpaceCastICmpFCmpPHICallSelectUserOp1UserOp2VAArgExtractElementInsertElementShuffleVectorExtractValueInsertValueFreezeFenceAtomicCmpXchgAtomicRMWResumeLandingPadCleanupRetCatchRetCatchPadCleanupPadCatchSwitch
-
LLVMVoidTypeKind, LLVMHalfTypeKind, LLVMFloatTypeKind, LLVMDoubleTypeKind, LLVMX86_FP80TypeKind, LLVMFP128TypeKind, LLVMPPC_FP128TypeKind, LLVMLabelTypeKind, LLVMIntegerTypeKind, LLVMFunctionTypeKind, LLVMStructTypeKind, LLVMArrayTypeKind, LLVMPointerTypeKind, LLVMVectorTypeKind, LLVMMetadataTypeKind, LLVMX86_MMXTypeKind, LLVMTokenTypeKind, LLVMScalableVectorTypeKind, LLVMBFloatTypeKind, LLVMX86_AMXTypeKind
LLVMTypeKindEnum values:
VoidTypeKind- type with no sizeHalfTypeKind- 16 bit floating point typeFloatTypeKind- 32 bit floating point typeDoubleTypeKind- 64 bit floating point typeX86_FP80TypeKind- 80 bit floating point type (X87)FP128TypeKind- 128 bit floating point type (112-bit mantissa)PPC_FP128TypeKind- 128 bit floating point type (two 64-bits)LabelTypeKind- LabelsIntegerTypeKind- Arbitrary bit width integersFunctionTypeKind- FunctionsStructTypeKind- StructuresArrayTypeKind- ArraysPointerTypeKind- PointersVectorTypeKind- Fixed width SIMD vector typeMetadataTypeKind- MetadataX86_MMXTypeKind- X86 MMXTokenTypeKind- TokensScalableVectorTypeKind- Scalable SIMD vector typeBFloatTypeKind- 16 bit brain floating point typeX86_AMXTypeKind- X86 AMX
-
LLVMExternalLinkage, LLVMAvailableExternallyLinkage, LLVMLinkOnceAnyLinkage, LLVMLinkOnceODRLinkage, LLVMLinkOnceODRAutoHideLinkage, LLVMWeakAnyLinkage, LLVMWeakODRLinkage, LLVMAppendingLinkage, LLVMInternalLinkage, LLVMPrivateLinkage, LLVMDLLImportLinkage, LLVMDLLExportLinkage, LLVMExternalWeakLinkage, LLVMGhostLinkage, LLVMCommonLinkage, LLVMLinkerPrivateLinkage, LLVMLinkerPrivateWeakLinkage
LLVMLinkageEnum values:
ExternalLinkage- Externally visible functionAvailableExternallyLinkageLinkOnceAnyLinkage- Keep one copy of function when linking (inline)LinkOnceODRLinkage- Same, but only replaced by something equivalent.LinkOnceODRAutoHideLinkage- ObsoleteWeakAnyLinkage- Keep one copy of function when linking (weak)WeakODRLinkage- Same, but only replaced by something equivalent.AppendingLinkage- Special purpose, only applies to global arraysInternalLinkage- Rename collisions when linking (static functions)PrivateLinkage- Like Internal, but omit from symbol tableDLLImportLinkage- ObsoleteDLLExportLinkage- ObsoleteExternalWeakLinkage- ExternalWeak linkage descriptionGhostLinkage- ObsoleteCommonLinkage- Tentative definitionsLinkerPrivateLinkage- Like Private, but linker removes.LinkerPrivateWeakLinkage- Like LinkerPrivate, but is weak.
-
LLVMDefaultVisibility, LLVMHiddenVisibility, LLVMProtectedVisibility
LLVMVisibilityEnum values:
DefaultVisibility- The GV is visibleHiddenVisibility- The GV is hiddenProtectedVisibility- The GV is protected
-
LLVMNoUnnamedAddr, LLVMLocalUnnamedAddr, LLVMGlobalUnnamedAddr
LLVMUnnamedAddrEnum values:
NoUnnamedAddr- Address of the GV is significant.LocalUnnamedAddr- Address of the GV is locally insignificant.GlobalUnnamedAddr- Address of the GV is globally insignificant.
-
LLVMDefaultStorageClass, LLVMDLLImportStorageClass, LLVMDLLExportStorageClass
LLVMDLLStorageClassEnum values:
DefaultStorageClassDLLImportStorageClass- Function to be imported from DLL.DLLExportStorageClass- Function to be accessible from DLL.
-
LLVMCCallConv, LLVMFastCallConv, LLVMColdCallConv, LLVMGHCCallConv, LLVMHiPECallConv, LLVMWebKitJSCallConv, LLVMAnyRegCallConv, LLVMPreserveMostCallConv, LLVMPreserveAllCallConv, LLVMSwiftCallConv, LLVMCXXFASTTLSCallConv, LLVMX86StdcallCallConv, LLVMX86FastcallCallConv, LLVMARMAPCSCallConv, LLVMARMAAPCSCallConv, LLVMARMAAPCSVFPCallConv, LLVMMSP430INTRCallConv, LLVMX86ThisCallCallConv, LLVMPTXKernelCallConv, LLVMPTXDeviceCallConv, LLVMSPIRFUNCCallConv, LLVMSPIRKERNELCallConv, LLVMIntelOCLBICallConv, LLVMX8664SysVCallConv, LLVMWin64CallConv, LLVMX86VectorCallCallConv, LLVMHHVMCallConv, LLVMHHVMCCallConv, LLVMX86INTRCallConv, LLVMAVRINTRCallConv, LLVMAVRSIGNALCallConv, LLVMAVRBUILTINCallConv, LLVMAMDGPUVSCallConv, LLVMAMDGPUGSCallConv, LLVMAMDGPUPSCallConv, LLVMAMDGPUCSCallConv, LLVMAMDGPUKERNELCallConv, LLVMX86RegCallCallConv, LLVMAMDGPUHSCallConv, LLVMMSP430BUILTINCallConv, LLVMAMDGPULSCallConv, LLVMAMDGPUESCallConv
LLVMCallConvEnum values:
CCallConvFastCallConvColdCallConvGHCCallConvHiPECallConvWebKitJSCallConvAnyRegCallConvPreserveMostCallConvPreserveAllCallConvSwiftCallConvCXXFASTTLSCallConvX86StdcallCallConvX86FastcallCallConvARMAPCSCallConvARMAAPCSCallConvARMAAPCSVFPCallConvMSP430INTRCallConvX86ThisCallCallConvPTXKernelCallConvPTXDeviceCallConvSPIRFUNCCallConvSPIRKERNELCallConvIntelOCLBICallConvX8664SysVCallConvWin64CallConvX86VectorCallCallConvHHVMCallConvHHVMCCallConvX86INTRCallConvAVRINTRCallConvAVRSIGNALCallConvAVRBUILTINCallConvAMDGPUVSCallConvAMDGPUGSCallConvAMDGPUPSCallConvAMDGPUCSCallConvAMDGPUKERNELCallConvX86RegCallCallConvAMDGPUHSCallConvMSP430BUILTINCallConvAMDGPULSCallConvAMDGPUESCallConv
-
LLVMArgumentValueKind, LLVMBasicBlockValueKind, LLVMMemoryUseValueKind, LLVMMemoryDefValueKind, LLVMMemoryPhiValueKind, LLVMFunctionValueKind, LLVMGlobalAliasValueKind, LLVMGlobalIFuncValueKind, LLVMGlobalVariableValueKind, LLVMBlockAddressValueKind, LLVMConstantExprValueKind, LLVMConstantArrayValueKind, LLVMConstantStructValueKind, LLVMConstantVectorValueKind, LLVMUndefValueValueKind, LLVMConstantAggregateZeroValueKind, LLVMConstantDataArrayValueKind, LLVMConstantDataVectorValueKind, LLVMConstantIntValueKind, LLVMConstantFPValueKind, LLVMConstantPointerNullValueKind, LLVMConstantTokenNoneValueKind, LLVMMetadataAsValueValueKind, LLVMInlineAsmValueKind, LLVMInstructionValueKind, LLVMPoisonValueValueKind
LLVMValueKindEnum values:
ArgumentValueKindBasicBlockValueKindMemoryUseValueKindMemoryDefValueKindMemoryPhiValueKindFunctionValueKindGlobalAliasValueKindGlobalIFuncValueKindGlobalVariableValueKindBlockAddressValueKindConstantExprValueKindConstantArrayValueKindConstantStructValueKindConstantVectorValueKindUndefValueValueKindConstantAggregateZeroValueKindConstantDataArrayValueKindConstantDataVectorValueKindConstantIntValueKindConstantFPValueKindConstantPointerNullValueKindConstantTokenNoneValueKindMetadataAsValueValueKindInlineAsmValueKindInstructionValueKindPoisonValueValueKind
-
LLVMIntEQ, LLVMIntNE, LLVMIntUGT, LLVMIntUGE, LLVMIntULT, LLVMIntULE, LLVMIntSGT, LLVMIntSGE, LLVMIntSLT, LLVMIntSLE
LLVMIntPredicateEnum values:
-
LLVMRealPredicateFalse, LLVMRealOEQ, LLVMRealOGT, LLVMRealOGE, LLVMRealOLT, LLVMRealOLE, LLVMRealONE, LLVMRealORD, LLVMRealUNO, LLVMRealUEQ, LLVMRealUGT, LLVMRealUGE, LLVMRealULT, LLVMRealULE, LLVMRealUNE, LLVMRealPredicateTrue
LLVMRealPredicateEnum values:
RealPredicateFalse- Always false (always folded)RealOEQ- True if ordered and equalRealOGT- True if ordered and greater thanRealOGE- True if ordered and greater than or equalRealOLT- True if ordered and less thanRealOLE- True if ordered and less than or equalRealONE- True if ordered and operands are unequalRealORD- True if ordered (no nans)RealUNO- True if unordered: isnan(X) | isnan(Y)RealUEQ- True if unordered or equalRealUGT- True if unordered or greater thanRealUGE- True if unordered, greater than, or equalRealULT- True if unordered or less thanRealULE- True if unordered, less than, or equalRealUNE- True if unordered or not equalRealPredicateTrue- Always true (always folded)
-
LLVMLandingPadCatch, LLVMLandingPadFilter
LLVMLandingPadClauseTyEnum values:
LandingPadCatch- A catch clauseLandingPadFilter- A filter clause
-
LLVMNotThreadLocal, LLVMGeneralDynamicTLSModel, LLVMLocalDynamicTLSModel, LLVMInitialExecTLSModel, LLVMLocalExecTLSModel
LLVMThreadLocalModeEnum values:
-
LLVMAtomicOrderingNotAtomic, LLVMAtomicOrderingUnordered, LLVMAtomicOrderingMonotonic, LLVMAtomicOrderingAcquire, LLVMAtomicOrderingRelease, LLVMAtomicOrderingAcquireRelease, LLVMAtomicOrderingSequentiallyConsistent
LLVMAtomicOrderingEnum values:
AtomicOrderingNotAtomic- A load or store which is not atomicAtomicOrderingUnordered- Lowest level of atomicity, guarantees somewhat sane results, lock free.AtomicOrderingMonotonic- guarantees that if you take all the operations affecting a specific address, a consistent ordering existsAtomicOrderingAcquire- Acquire provides a barrier of the sort necessary to acquire a lock to access other memory with normal loads and stores.AtomicOrderingRelease- Release is similar to Acquire, but with a barrier of the sort necessary to release a lock.AtomicOrderingAcquireRelease- provides both an Acquire and a Release barrier (for fences and operations which both read and write memory).AtomicOrderingSequentiallyConsistent- provides Acquire semantics for loads and Release semantics for stores. Additionally, it guarantees that a total ordering exists between all SequentiallyConsistent operations.
-
LLVMAtomicRMWBinOpXchg, LLVMAtomicRMWBinOpAdd, LLVMAtomicRMWBinOpSub, LLVMAtomicRMWBinOpAnd, LLVMAtomicRMWBinOpNand, LLVMAtomicRMWBinOpOr, LLVMAtomicRMWBinOpXor, LLVMAtomicRMWBinOpMax, LLVMAtomicRMWBinOpMin, LLVMAtomicRMWBinOpUMax, LLVMAtomicRMWBinOpUMin, LLVMAtomicRMWBinOpFAdd, LLVMAtomicRMWBinOpFSub
LLVMAtomicRMWBinOpEnum values:
AtomicRMWBinOpXchg- Set the new value and return the one oldAtomicRMWBinOpAdd- Add a value and return the old oneAtomicRMWBinOpSub- Subtract a value and return the old oneAtomicRMWBinOpAnd- And a value and return the old oneAtomicRMWBinOpNand- Not-And a value and return the old oneAtomicRMWBinOpOr- OR a value and return the old oneAtomicRMWBinOpXor- Xor a value and return the old oneAtomicRMWBinOpMax- Sets the value if it's greater than the original using a signed comparison and return the old oneAtomicRMWBinOpMin- Sets the value if it's smaller than the original using a signed comparison and return the old oneAtomicRMWBinOpUMax- Sets the value if it's greater than the original using an unsigned comparison and return the old oneAtomicRMWBinOpUMin- Sets the value if it's greater than the original using an unsigned comparison and return the old oneAtomicRMWBinOpFAdd- Add a floating point value and return the old oneAtomicRMWBinOpFSub- Subtract a floating point value and return the old one
-
LLVMModuleFlagBehaviorError, LLVMModuleFlagBehaviorWarning, LLVMModuleFlagBehaviorRequire, LLVMModuleFlagBehaviorOverride, LLVMModuleFlagBehaviorAppend, LLVMModuleFlagBehaviorAppendUnique
LLVMModuleFlagBehaviorEnum values:
ModuleFlagBehaviorError- Emits an error if two values disagree, otherwise the resulting value is that of the operands.ModuleFlagBehaviorWarning- Emits a warning if two values disagree. The result value will be the operand for the flag from the first module being linked.ModuleFlagBehaviorRequire- Adds a requirement that another module flag be present and have a specified value after linking is performed. The value must be a metadata pair, where the first element of the pair is the ID of the module flag to be restricted, and the second element of the pair is the value the module flag should be restricted to. This behavior can be used to restrict the allowable results (via triggering of an error) of linking IDs with the Override** behavior.ModuleFlagBehaviorOverride- Uses the specified value, regardless of the behavior or value of the other module. If both modules specify **Override**, but the values differ, an error will be emitted.ModuleFlagBehaviorAppend- Appends the two values, which are required to be metadata nodes.ModuleFlagBehaviorAppendUnique- Appends the two values, which are required to be metadata nodes. However, duplicate entries in the second list are dropped during the append operation.
-
LLVMAttributeReturnIndex, LLVMAttributeFunctionIndex
Attribute index are eitherLLVMAttributeReturnIndex,LLVMAttributeFunctionIndexor a parameter number from 1 to N.Enum values:
AttributeReturnIndexAttributeFunctionIndex- ISO C restricts enumerator values to range of 'int' (4294967295 is too large)
-
-
Method Detail
-
getLibrary
public static org.lwjgl.system.SharedLibrary getLibrary()
Returns the LLVMSharedLibrary.
-
LLVMInitializeCore
public static void LLVMInitializeCore(long R)
-
LLVMShutdown
public static void LLVMShutdown()
Deallocate and destroy allManagedStaticvariables.
-
nLLVMCreateMessage
public static long nLLVMCreateMessage(long Message)
-
LLVMCreateMessage
public static java.lang.String LLVMCreateMessage(java.nio.ByteBuffer Message)
-
LLVMCreateMessage
public static java.lang.String LLVMCreateMessage(java.lang.CharSequence Message)
-
nLLVMDisposeMessage
public static void nLLVMDisposeMessage(long Message)
-
LLVMDisposeMessage
public static void LLVMDisposeMessage(java.nio.ByteBuffer Message)
-
LLVMContextCreate
public static long LLVMContextCreate()
Create a new context.Every call to this function should be paired with a call to
ContextDisposeor the context will leak memory.
-
LLVMGetGlobalContext
public static long LLVMGetGlobalContext()
Obtain the global context instance.
-
nLLVMContextSetDiagnosticHandler
public static void nLLVMContextSetDiagnosticHandler(long C, long Handler, long DiagnosticContext)Unsafe version of:ContextSetDiagnosticHandler
-
LLVMContextSetDiagnosticHandler
public static void LLVMContextSetDiagnosticHandler(long C, @Nullable LLVMDiagnosticHandlerI Handler, long DiagnosticContext)Set the diagnostic handler for this context.
-
nLLVMContextGetDiagnosticHandler
public static long nLLVMContextGetDiagnosticHandler(long C)
Unsafe version of:ContextGetDiagnosticHandler
-
LLVMContextGetDiagnosticHandler
@Nullable public static LLVMDiagnosticHandler LLVMContextGetDiagnosticHandler(long C)
Get the diagnostic handler of this context.
-
LLVMContextGetDiagnosticContext
public static long LLVMContextGetDiagnosticContext(long C)
Get the diagnostic context of this context.
-
nLLVMContextSetYieldCallback
public static void nLLVMContextSetYieldCallback(long C, long Callback, long OpaqueHandle)Unsafe version of:ContextSetYieldCallback
-
LLVMContextSetYieldCallback
public static void LLVMContextSetYieldCallback(long C, @Nullable LLVMYieldCallbackI Callback, long OpaqueHandle)Set the yield callback function for this context.
-
LLVMContextShouldDiscardValueNames
public static boolean LLVMContextShouldDiscardValueNames(long C)
Retrieve whether the given context is set to discard all value names.- Since:
- 8.0
-
LLVMContextSetDiscardValueNames
public static void LLVMContextSetDiscardValueNames(long C, boolean Discard)Set whether the given context discards all value names.If true, only the names of
GlobalValueobjects will be available in the IR. This can be used to save memory and runtime, especially in release mode.- Since:
- 8.0
-
LLVMContextDispose
public static void LLVMContextDispose(long C)
Destroy a context instance.This should be called for every call to
ContextCreateor memory will be leaked.
-
nLLVMGetDiagInfoDescription
public static long nLLVMGetDiagInfoDescription(long DI)
Unsafe version of:GetDiagInfoDescription
-
LLVMGetDiagInfoDescription
public static java.lang.String LLVMGetDiagInfoDescription(long DI)
Return a string representation of theDiagnosticInfo. UseDisposeMessageto free the string.
-
LLVMGetDiagInfoSeverity
public static int LLVMGetDiagInfoSeverity(long DI)
Return anenum LLVMDiagnosticSeverity.
-
nLLVMGetMDKindIDInContext
public static int nLLVMGetMDKindIDInContext(long C, long Name, int SLen)
-
LLVMGetMDKindIDInContext
public static int LLVMGetMDKindIDInContext(long C, java.nio.ByteBuffer Name)
-
LLVMGetMDKindIDInContext
public static int LLVMGetMDKindIDInContext(long C, java.lang.CharSequence Name)
-
nLLVMGetMDKindID
public static int nLLVMGetMDKindID(long Name, int SLen)
-
LLVMGetMDKindID
public static int LLVMGetMDKindID(java.nio.ByteBuffer Name)
-
LLVMGetMDKindID
public static int LLVMGetMDKindID(java.lang.CharSequence Name)
-
nLLVMGetEnumAttributeKindForName
public static int nLLVMGetEnumAttributeKindForName(long Name, long SLen)Unsafe version of:GetEnumAttributeKindForName
-
LLVMGetEnumAttributeKindForName
public static int LLVMGetEnumAttributeKindForName(java.nio.ByteBuffer Name) public static int LLVMGetEnumAttributeKindForName(java.lang.CharSequence Name)
Return an unique id given the name of a enum attribute, or 0 if no attribute by that name exists.See http://llvm.org/docs/LangRef.html#parameter-attributes and http://llvm.org/docs/LangRef.html#function-attributes for the list of available attributes.
NB: Attribute names and/or id are subject to change without going through the C API deprecation cycle.
-
LLVMGetLastEnumAttributeKind
public static int LLVMGetLastEnumAttributeKind()
-
LLVMCreateEnumAttribute
public static long LLVMCreateEnumAttribute(long C, int KindID, long Val)Create an enum attribute.
-
LLVMGetEnumAttributeKind
public static int LLVMGetEnumAttributeKind(long A)
Get the unique id corresponding to the enum attribute passed as argument.
-
LLVMGetEnumAttributeValue
public static long LLVMGetEnumAttributeValue(long A)
Get the enum attribute's value. 0 is returned if none exists.
-
LLVMCreateTypeAttribute
public static long LLVMCreateTypeAttribute(long C, int KindID, long type_ref)Create a type attribute.- Since:
- 12
-
LLVMGetTypeAttributeValue
public static long LLVMGetTypeAttributeValue(long A)
Get the type attribute's value.- Since:
- 12
-
nLLVMCreateStringAttribute
public static long nLLVMCreateStringAttribute(long C, long K, int KLength, long V, int VLength)Unsafe version of:CreateStringAttribute
-
LLVMCreateStringAttribute
public static long LLVMCreateStringAttribute(long C, java.nio.ByteBuffer K, java.nio.ByteBuffer V) public static long LLVMCreateStringAttribute(long C, java.lang.CharSequence K, java.lang.CharSequence V)Create a string attribute.
-
nLLVMGetStringAttributeKind
public static long nLLVMGetStringAttributeKind(long A, long Length)Unsafe version of:GetStringAttributeKind
-
LLVMGetStringAttributeKind
public static java.lang.String LLVMGetStringAttributeKind(long A)
Get the string attribute's kind.
-
nLLVMGetStringAttributeValue
public static long nLLVMGetStringAttributeValue(long A, long Length)Unsafe version of:GetStringAttributeValue
-
LLVMGetStringAttributeValue
public static java.lang.String LLVMGetStringAttributeValue(long A)
Get the string attribute's value.
-
LLVMIsEnumAttribute
public static boolean LLVMIsEnumAttribute(long A)
-
LLVMIsStringAttribute
public static boolean LLVMIsStringAttribute(long A)
-
LLVMIsTypeAttribute
public static boolean LLVMIsTypeAttribute(long A)
- Since:
- 12
-
nLLVMGetTypeByName2
public static long nLLVMGetTypeByName2(long C, long Name)Unsafe version of:GetTypeByName2
-
LLVMGetTypeByName2
public static long LLVMGetTypeByName2(long C, java.nio.ByteBuffer Name) public static long LLVMGetTypeByName2(long C, java.lang.CharSequence Name)Obtain a Type from a context by its registered name.- Since:
- 12
-
nLLVMModuleCreateWithName
public static long nLLVMModuleCreateWithName(long ModuleID)
Unsafe version of:ModuleCreateWithName
-
LLVMModuleCreateWithName
public static long LLVMModuleCreateWithName(java.nio.ByteBuffer ModuleID) public static long LLVMModuleCreateWithName(java.lang.CharSequence ModuleID)
Create a new, empty module in the global context.This is equivalent to calling
ModuleCreateWithNameInContextwithGetGlobalContextas the context parameter.Every invocation should be paired with
DisposeModuleor memory will be leaked.
-
nLLVMModuleCreateWithNameInContext
public static long nLLVMModuleCreateWithNameInContext(long ModuleID, long C)Unsafe version of:ModuleCreateWithNameInContext
-
LLVMModuleCreateWithNameInContext
public static long LLVMModuleCreateWithNameInContext(java.nio.ByteBuffer ModuleID, long C) public static long LLVMModuleCreateWithNameInContext(java.lang.CharSequence ModuleID, long C)Create a new, empty module in a specific context.Every invocation should be paired with
DisposeModuleor memory will be leaked.
-
LLVMCloneModule
public static long LLVMCloneModule(long M)
Return an exact copy of the specified module.
-
LLVMDisposeModule
public static void LLVMDisposeModule(long M)
Destroy a module instance.This must be called for every created module or memory will be leaked.
-
nLLVMGetModuleIdentifier
public static long nLLVMGetModuleIdentifier(long M, long Len)Unsafe version of:GetModuleIdentifier- Parameters:
Len- out parameter which holds the length of the returned string
-
LLVMGetModuleIdentifier
public static java.lang.String LLVMGetModuleIdentifier(long M)
Obtain the identifier of a module.- Parameters:
M- module to obtain identifier of- Returns:
- the identifier of
M
-
nLLVMSetModuleIdentifier
public static void nLLVMSetModuleIdentifier(long M, long Ident, long Len)Unsafe version of:SetModuleIdentifier- Parameters:
Len- length ofIdent
-
LLVMSetModuleIdentifier
public static void LLVMSetModuleIdentifier(long M, java.nio.ByteBuffer Ident) public static void LLVMSetModuleIdentifier(long M, java.lang.CharSequence Ident)Set the identifier of a module to a stringIdentwith lengthLen.- Parameters:
M- the module to set identifierIdent- the string to setM's identifier to
-
nLLVMGetSourceFileName
public static long nLLVMGetSourceFileName(long M, long Len)Unsafe version of:GetSourceFileName- Parameters:
Len- out parameter which holds the length of the returned string
-
LLVMGetSourceFileName
public static java.lang.String LLVMGetSourceFileName(long M)
Obtain the module's original source file name.- Parameters:
M- module to obtain the name of- Returns:
- the original source file name of
M
-
nLLVMSetSourceFileName
public static void nLLVMSetSourceFileName(long M, long Name, long Len)Unsafe version of:SetSourceFileName- Parameters:
Len- length ofName
-
LLVMSetSourceFileName
public static void LLVMSetSourceFileName(long M, java.nio.ByteBuffer Name) public static void LLVMSetSourceFileName(long M, java.lang.CharSequence Name)Set the original source file name of a module to a stringNamewith lengthLen.- Parameters:
M- the module to set the source file name ofName- the string to setM's source file name to
-
nLLVMGetDataLayoutStr
public static long nLLVMGetDataLayoutStr(long M)
Unsafe version of:GetDataLayoutStr
-
LLVMGetDataLayoutStr
public static java.lang.String LLVMGetDataLayoutStr(long M)
Obtain the data layout for a module.GetDataLayoutis DEPRECATED, as the name is not only incorrect, but match the name of another method on the module. Prefer the use ofLLVMGetDataLayoutStr, which is not ambiguous.
-
nLLVMGetDataLayout
public static long nLLVMGetDataLayout(long M)
-
LLVMGetDataLayout
public static java.lang.String LLVMGetDataLayout(long M)
-
nLLVMSetDataLayout
public static void nLLVMSetDataLayout(long M, long DataLayoutStr)Unsafe version of:SetDataLayout
-
LLVMSetDataLayout
public static void LLVMSetDataLayout(long M, java.nio.ByteBuffer DataLayoutStr) public static void LLVMSetDataLayout(long M, java.lang.CharSequence DataLayoutStr)Set the data layout for a module.
-
nLLVMGetTarget
public static long nLLVMGetTarget(long M)
Unsafe version of:GetTarget
-
LLVMGetTarget
public static java.lang.String LLVMGetTarget(long M)
Obtain the target triple for a module.
-
nLLVMSetTarget
public static void nLLVMSetTarget(long M, long Triple)Unsafe version of:SetTarget
-
LLVMSetTarget
public static void LLVMSetTarget(long M, java.nio.ByteBuffer Triple) public static void LLVMSetTarget(long M, java.lang.CharSequence Triple)Set the target triple for a module.
-
nLLVMCopyModuleFlagsMetadata
public static long nLLVMCopyModuleFlagsMetadata(long M, long Len)Unsafe version of:CopyModuleFlagsMetadata
-
LLVMCopyModuleFlagsMetadata
public static long LLVMCopyModuleFlagsMetadata(long M, org.lwjgl.PointerBuffer Len)Returns the module flags as an array of flag-key-value triples. The caller is responsible for freeing this array by calling{@link #LLVMDisposeModuleFlagsMetadata DisposeModuleFlagsMetadata}.
-
LLVMDisposeModuleFlagsMetadata
public static void LLVMDisposeModuleFlagsMetadata(long Entries)
Destroys module flags metadata entries.
-
LLVMModuleFlagEntriesGetFlagBehavior
public static int LLVMModuleFlagEntriesGetFlagBehavior(long Entries, int Index)Returns the flag behavior for a module flag entry at a specific index.
-
nLLVMModuleFlagEntriesGetKey
public static long nLLVMModuleFlagEntriesGetKey(long Entries, int Index, long Len)Unsafe version of:ModuleFlagEntriesGetKey
-
LLVMModuleFlagEntriesGetKey
public static java.lang.String LLVMModuleFlagEntriesGetKey(long Entries, int Index)Returns the key for a module flag entry at a specific index.
-
LLVMModuleFlagEntriesGetMetadata
public static long LLVMModuleFlagEntriesGetMetadata(long Entries, int Index)Returns the metadata for a module flag entry at a specific index.
-
nLLVMGetModuleFlag
public static long nLLVMGetModuleFlag(long M, long Key, long KeyLen)Unsafe version of:GetModuleFlag
-
LLVMGetModuleFlag
public static long LLVMGetModuleFlag(long M, java.nio.ByteBuffer Key) public static long LLVMGetModuleFlag(long M, java.lang.CharSequence Key)Add a module-level flag to the module-level flags metadata if it doesn't already exist.
-
nLLVMAddModuleFlag
public static void nLLVMAddModuleFlag(long M, int Behavior, long Key, long KeyLen, long Val)Unsafe version of:AddModuleFlag
-
LLVMAddModuleFlag
public static void LLVMAddModuleFlag(long M, int Behavior, java.nio.ByteBuffer Key, long Val) public static void LLVMAddModuleFlag(long M, int Behavior, java.lang.CharSequence Key, long Val)Add a module-level flag to the module-level flags metadata if it doesn't already exist.
-
LLVMDumpModule
public static void LLVMDumpModule(long M)
Dump a representation of a module tostderr.
-
nLLVMPrintModuleToFile
public static int nLLVMPrintModuleToFile(long M, long Filename, long ErrorMessage)Unsafe version of:PrintModuleToFile
-
LLVMPrintModuleToFile
public static boolean LLVMPrintModuleToFile(long M, java.nio.ByteBuffer Filename, org.lwjgl.PointerBuffer ErrorMessage) public static boolean LLVMPrintModuleToFile(long M, java.lang.CharSequence Filename, org.lwjgl.PointerBuffer ErrorMessage)Print a representation of a module to a file. TheErrorMessageneeds to be disposed withDisposeMessage.- Returns:
- 0 on success, 1 otherwise
-
nLLVMPrintModuleToString
public static long nLLVMPrintModuleToString(long M)
Unsafe version of:PrintModuleToString
-
LLVMPrintModuleToString
public static java.lang.String LLVMPrintModuleToString(long M)
Return a string representation of the module. UseDisposeMessageto free the string.
-
nLLVMGetModuleInlineAsm
public static long nLLVMGetModuleInlineAsm(long M, long Len)Unsafe version of:GetModuleInlineAsm
-
LLVMGetModuleInlineAsm
public static java.lang.String LLVMGetModuleInlineAsm(long M)
Get inline assembly for a module.
-
nLLVMSetModuleInlineAsm2
public static void nLLVMSetModuleInlineAsm2(long M, long Asm, long Len)Unsafe version of:SetModuleInlineAsm2
-
LLVMSetModuleInlineAsm2
public static void LLVMSetModuleInlineAsm2(long M, java.nio.ByteBuffer Asm) public static void LLVMSetModuleInlineAsm2(long M, java.lang.CharSequence Asm)Set inline assembly for a module.
-
nLLVMAppendModuleInlineAsm
public static void nLLVMAppendModuleInlineAsm(long M, long Asm, long Len)Unsafe version of:AppendModuleInlineAsm
-
LLVMAppendModuleInlineAsm
public static void LLVMAppendModuleInlineAsm(long M, java.nio.ByteBuffer Asm) public static void LLVMAppendModuleInlineAsm(long M, java.lang.CharSequence Asm)Append inline assembly to a module.
-
nLLVMGetInlineAsm
public static long nLLVMGetInlineAsm(long Ty, long AsmString, long AsmStringSize, long Constraints, long ConstraintsSize, int HasSideEffects, int IsAlignStack, int Dialect, int CanThrow)Unsafe version of:GetInlineAsm
-
LLVMGetInlineAsm
public static long LLVMGetInlineAsm(long Ty, java.nio.ByteBuffer AsmString, java.nio.ByteBuffer Constraints, boolean HasSideEffects, boolean IsAlignStack, int Dialect, boolean CanThrow)Create the specified uniqued inline asm string.
-
LLVMGetModuleContext
public static long LLVMGetModuleContext(long M)
Obtain the context to which this module is associated.
-
nLLVMGetTypeByName
public static long nLLVMGetTypeByName(long M, long Name)Unsafe version of:GetTypeByName
-
LLVMGetTypeByName
public static long LLVMGetTypeByName(long M, java.nio.ByteBuffer Name) public static long LLVMGetTypeByName(long M, java.lang.CharSequence Name)Deprecated: UseGetTypeByName2instead.
-
LLVMGetFirstNamedMetadata
public static long LLVMGetFirstNamedMetadata(long M)
Obtain an iterator to the firstNamedMDNodein aModule.
-
LLVMGetLastNamedMetadata
public static long LLVMGetLastNamedMetadata(long M)
Obtain an iterator to the lastNamedMDNodein aModule.
-
LLVMGetNextNamedMetadata
public static long LLVMGetNextNamedMetadata(long NamedMDNode)
Advance aNamedMDNodeiterator to the nextNamedMDNode.Returns
NULLif the iterator was already at the end and there are no more named metadata nodes.
-
LLVMGetPreviousNamedMetadata
public static long LLVMGetPreviousNamedMetadata(long NamedMDNode)
Decrement aNamedMDNodeiterator to the previousNamedMDNode.Returns
NULLif the iterator was already at the beginning and there are no previous named metadata nodes.
-
nLLVMGetNamedMetadata
public static long nLLVMGetNamedMetadata(long M, long Name, long NameLen)Unsafe version of:GetNamedMetadata
-
LLVMGetNamedMetadata
public static long LLVMGetNamedMetadata(long M, java.nio.ByteBuffer Name) public static long LLVMGetNamedMetadata(long M, java.lang.CharSequence Name)Retrieve aNamedMDNodewith the given name, returningNULLif no such node exists.
-
nLLVMGetOrInsertNamedMetadata
public static long nLLVMGetOrInsertNamedMetadata(long M, long Name, long NameLen)Unsafe version of:GetOrInsertNamedMetadata
-
LLVMGetOrInsertNamedMetadata
public static long LLVMGetOrInsertNamedMetadata(long M, java.nio.ByteBuffer Name) public static long LLVMGetOrInsertNamedMetadata(long M, java.lang.CharSequence Name)Retrieve aNamedMDNodewith the given name, creating a new node if no such node exists.
-
nLLVMGetNamedMetadataName
public static long nLLVMGetNamedMetadataName(long NamedMD, long NameLen)Unsafe version of:GetNamedMetadataName
-
LLVMGetNamedMetadataName
public static java.lang.String LLVMGetNamedMetadataName(long NamedMD)
Retrieve the name of aNamedMDNode.
-
nLLVMGetNamedMetadataNumOperands
public static int nLLVMGetNamedMetadataNumOperands(long M, long Name)Unsafe version of:GetNamedMetadataNumOperands
-
LLVMGetNamedMetadataNumOperands
public static int LLVMGetNamedMetadataNumOperands(long M, java.nio.ByteBuffer Name) public static int LLVMGetNamedMetadataNumOperands(long M, java.lang.CharSequence Name)Obtain the number of operands for named metadata in a module.
-
nLLVMGetNamedMetadataOperands
public static void nLLVMGetNamedMetadataOperands(long M, long Name, long Dest)Unsafe version of:GetNamedMetadataOperands
-
LLVMGetNamedMetadataOperands
public static void LLVMGetNamedMetadataOperands(long M, java.nio.ByteBuffer Name, org.lwjgl.PointerBuffer Dest) public static void LLVMGetNamedMetadataOperands(long M, java.lang.CharSequence Name, org.lwjgl.PointerBuffer Dest)Obtain the named metadata operands for a module.The passed
LLVMValueRefpointer should refer to an array ofLLVMValueRefat leastGetNamedMetadataNumOperandslong. This array will be populated with theLLVMValueRefinstances. Each instance corresponds to allvm::MDNode.
-
nLLVMAddNamedMetadataOperand
public static void nLLVMAddNamedMetadataOperand(long M, long Name, long Val)Unsafe version of:AddNamedMetadataOperand
-
LLVMAddNamedMetadataOperand
public static void LLVMAddNamedMetadataOperand(long M, java.nio.ByteBuffer Name, long Val) public static void LLVMAddNamedMetadataOperand(long M, java.lang.CharSequence Name, long Val)Add an operand to named metadata.
-
nLLVMGetDebugLocDirectory
public static long nLLVMGetDebugLocDirectory(long Val, long Length)Unsafe version of:GetDebugLocDirectory
-
LLVMGetDebugLocDirectory
@Nullable public static java.lang.String LLVMGetDebugLocDirectory(long Val)
Return the directory of the debug location for this value, which must be anllvm::Instruction,llvm::GlobalVariable, orllvm::Function.
-
nLLVMGetDebugLocFilename
public static long nLLVMGetDebugLocFilename(long Val, long Length)Unsafe version of:GetDebugLocFilename
-
LLVMGetDebugLocFilename
@Nullable public static java.lang.String LLVMGetDebugLocFilename(long Val)
Return the filename of the debug location for this value, which must be anllvm::Instruction,llvm::GlobalVariable, orllvm::Function.
-
LLVMGetDebugLocLine
public static int LLVMGetDebugLocLine(long Val)
Return the line number of the debug location for this value, which must be anllvm::Instruction,llvm::GlobalVariable, orllvm::Function.
-
LLVMGetDebugLocColumn
public static int LLVMGetDebugLocColumn(long Val)
Return the column number of the debug location for this value, which must be anllvm::Instruction.
-
nLLVMAddFunction
public static long nLLVMAddFunction(long M, long Name, long FunctionTy)Unsafe version of:AddFunction
-
LLVMAddFunction
public static long LLVMAddFunction(long M, java.nio.ByteBuffer Name, long FunctionTy) public static long LLVMAddFunction(long M, java.lang.CharSequence Name, long FunctionTy)Add a function to a module under a specified name.
-
nLLVMGetNamedFunction
public static long nLLVMGetNamedFunction(long M, long Name)Unsafe version of:GetNamedFunction
-
LLVMGetNamedFunction
public static long LLVMGetNamedFunction(long M, java.nio.ByteBuffer Name) public static long LLVMGetNamedFunction(long M, java.lang.CharSequence Name)Obtain aFunctionvalue from aModuleby its name.The returned value corresponds to a
llvm::Functionvalue.
-
LLVMGetFirstFunction
public static long LLVMGetFirstFunction(long M)
Obtain an iterator to the firstFunctionin aModule.
-
LLVMGetLastFunction
public static long LLVMGetLastFunction(long M)
Obtain an iterator to the lastFunctionin aModule.
-
LLVMGetNextFunction
public static long LLVMGetNextFunction(long Fn)
Advance aFunctioniterator to the nextFunction.Returns
NULLif the iterator was already at the end and there are no more functions.
-
LLVMGetPreviousFunction
public static long LLVMGetPreviousFunction(long Fn)
Decrement aFunctioniterator to the previousFunction.Returns
NULLif the iterator was already at the beginning and there are no previous functions.
-
nLLVMSetModuleInlineAsm
public static void nLLVMSetModuleInlineAsm(long M, long Asm)Unsafe version of:SetModuleInlineAsm
-
LLVMSetModuleInlineAsm
public static void LLVMSetModuleInlineAsm(long M, java.nio.ByteBuffer Asm) public static void LLVMSetModuleInlineAsm(long M, java.lang.CharSequence Asm)Deprecated: UseSetModuleInlineAsm2instead.
-
LLVMGetTypeKind
public static int LLVMGetTypeKind(long Ty)
Obtain the enumerated type of aTypeinstance.
-
LLVMTypeIsSized
public static boolean LLVMTypeIsSized(long Ty)
Whether the type has a known size.Things that don't have a size are abstract types, labels, and void.
-
LLVMGetTypeContext
public static long LLVMGetTypeContext(long Ty)
Obtain the context to which this type instance is associated.
-
LLVMDumpType
public static void LLVMDumpType(long Val)
Dump a representation of a type tostderr.
-
nLLVMPrintTypeToString
public static long nLLVMPrintTypeToString(long Val)
Unsafe version of:PrintTypeToString
-
LLVMPrintTypeToString
public static java.lang.String LLVMPrintTypeToString(long Val)
Return a string representation of the type. UseDisposeMessageto free the string.
-
LLVMInt1TypeInContext
public static long LLVMInt1TypeInContext(long C)
Obtain an integer type from a context with specified bit width.
-
LLVMInt8TypeInContext
public static long LLVMInt8TypeInContext(long C)
-
LLVMInt16TypeInContext
public static long LLVMInt16TypeInContext(long C)
-
LLVMInt32TypeInContext
public static long LLVMInt32TypeInContext(long C)
-
LLVMInt64TypeInContext
public static long LLVMInt64TypeInContext(long C)
-
LLVMInt128TypeInContext
public static long LLVMInt128TypeInContext(long C)
-
LLVMIntTypeInContext
public static long LLVMIntTypeInContext(long C, int NumBits)
-
LLVMInt1Type
public static long LLVMInt1Type()
Obtain an integer type from the global context with a specified bit width.
-
LLVMInt8Type
public static long LLVMInt8Type()
-
LLVMInt16Type
public static long LLVMInt16Type()
-
LLVMInt32Type
public static long LLVMInt32Type()
-
LLVMInt64Type
public static long LLVMInt64Type()
-
LLVMInt128Type
public static long LLVMInt128Type()
-
LLVMIntType
public static long LLVMIntType(int NumBits)
-
LLVMGetIntTypeWidth
public static int LLVMGetIntTypeWidth(long IntegerTy)
-
LLVMHalfTypeInContext
public static long LLVMHalfTypeInContext(long C)
Obtain a 16-bit floating point type from a context.
-
LLVMBFloatTypeInContext
public static long LLVMBFloatTypeInContext(long C)
Obtain a 16-bit brain floating point type from a context.- Since:
- 11
-
LLVMFloatTypeInContext
public static long LLVMFloatTypeInContext(long C)
Obtain a 32-bit floating point type from a context.
-
LLVMDoubleTypeInContext
public static long LLVMDoubleTypeInContext(long C)
Obtain a 64-bit floating point type from a context.
-
LLVMX86FP80TypeInContext
public static long LLVMX86FP80TypeInContext(long C)
Obtain a 80-bit floating point type (X87) from a context.
-
LLVMFP128TypeInContext
public static long LLVMFP128TypeInContext(long C)
Obtain a 128-bit floating point type (112-bit mantissa) from a context.
-
LLVMPPCFP128TypeInContext
public static long LLVMPPCFP128TypeInContext(long C)
Obtain a 128-bit floating point type (two 64-bits) from a context.
-
LLVMHalfType
public static long LLVMHalfType()
-
LLVMBFloatType
public static long LLVMBFloatType()
- Since:
- 11
-
LLVMFloatType
public static long LLVMFloatType()
-
LLVMDoubleType
public static long LLVMDoubleType()
-
LLVMX86FP80Type
public static long LLVMX86FP80Type()
-
LLVMFP128Type
public static long LLVMFP128Type()
-
LLVMPPCFP128Type
public static long LLVMPPCFP128Type()
-
nLLVMFunctionType
public static long nLLVMFunctionType(long ReturnType, long ParamTypes, int ParamCount, int IsVarArg)Unsafe version of:FunctionType
-
LLVMFunctionType
public static long LLVMFunctionType(long ReturnType, org.lwjgl.PointerBuffer ParamTypes, boolean IsVarArg)Obtain a function type consisting of a specified signature.The function is defined as a tuple of a return
Type, a list of parameter types, and whether the function is variadic.
-
LLVMIsFunctionVarArg
public static boolean LLVMIsFunctionVarArg(long FunctionTy)
Returns whether a function type is variadic.
-
LLVMGetReturnType
public static long LLVMGetReturnType(long FunctionTy)
Obtain the Type this function Type returns.
-
LLVMCountParamTypes
public static int LLVMCountParamTypes(long FunctionTy)
Obtain the number of parameters this function accepts.
-
nLLVMGetParamTypes
public static void nLLVMGetParamTypes(long FunctionTy, long Dest)Unsafe version of:GetParamTypes
-
LLVMGetParamTypes
public static void LLVMGetParamTypes(long FunctionTy, org.lwjgl.PointerBuffer Dest)Obtain the types of a function's parameters.The
Destparameter should point to a pre-allocated array ofLLVMTypeRefat leastCountParamTypeslarge. On return, the firstLLVMCountParamTypes()entries in the array will be populated withLLVMTypeRefinstances.- Parameters:
FunctionTy- the function type to operate onDest- memory address of an array to be filled with result
-
nLLVMStructTypeInContext
public static long nLLVMStructTypeInContext(long C, long ElementTypes, int ElementCount, int Packed)Unsafe version of:StructTypeInContext
-
LLVMStructTypeInContext
public static long LLVMStructTypeInContext(long C, org.lwjgl.PointerBuffer ElementTypes, boolean Packed)Create a new structure type in a context.A structure is specified by a list of inner elements/types and whether these can be packed together.
-
nLLVMStructType
public static long nLLVMStructType(long ElementTypes, int ElementCount, int Packed)Unsafe version of:StructType
-
LLVMStructType
public static long LLVMStructType(org.lwjgl.PointerBuffer ElementTypes, boolean Packed)Create a new structure type in the global context.
-
nLLVMStructCreateNamed
public static long nLLVMStructCreateNamed(long C, long Name)Unsafe version of:StructCreateNamed
-
LLVMStructCreateNamed
public static long LLVMStructCreateNamed(long C, java.nio.ByteBuffer Name) public static long LLVMStructCreateNamed(long C, java.lang.CharSequence Name)Create an empty structure in a context having a specified name.
-
nLLVMGetStructName
public static long nLLVMGetStructName(long Ty)
Unsafe version of:GetStructName
-
LLVMGetStructName
@Nullable public static java.lang.String LLVMGetStructName(long Ty)
Obtain the name of a structure.
-
nLLVMStructSetBody
public static void nLLVMStructSetBody(long StructTy, long ElementTypes, int ElementCount, int Packed)Unsafe version of:StructSetBody
-
LLVMStructSetBody
public static void LLVMStructSetBody(long StructTy, org.lwjgl.PointerBuffer ElementTypes, boolean Packed)Set the contents of a structure type.
-
LLVMCountStructElementTypes
public static int LLVMCountStructElementTypes(long StructTy)
Get the number of elements defined inside the structure.
-
nLLVMGetStructElementTypes
public static void nLLVMGetStructElementTypes(long StructTy, long Dest)Unsafe version of:GetStructElementTypes
-
LLVMGetStructElementTypes
public static void LLVMGetStructElementTypes(long StructTy, org.lwjgl.PointerBuffer Dest)Get the elements within a structure.The function is passed the address of a pre-allocated array of
LLVMTypeRefat leastCountStructElementTypeslong. After invocation, this array will be populated with the structure's elements. The objects in the destination array will have a lifetime of the structure type itself, which is the lifetime of the context it is contained in.
-
LLVMStructGetTypeAtIndex
public static long LLVMStructGetTypeAtIndex(long StructTy, int i)Get the type of the element at a given index in the structure.
-
LLVMIsPackedStruct
public static boolean LLVMIsPackedStruct(long StructTy)
Determine whether a structure is packed.
-
LLVMIsOpaqueStruct
public static boolean LLVMIsOpaqueStruct(long StructTy)
Determine whether a structure is opaque.
-
LLVMIsLiteralStruct
public static boolean LLVMIsLiteralStruct(long StructTy)
Determine whether a structure is literal.
-
LLVMGetElementType
public static long LLVMGetElementType(long Ty)
Obtain the type of elements within a sequential type.This works on array, vector, and pointer types.
-
nLLVMGetSubtypes
public static void nLLVMGetSubtypes(long Tp, long Arr)Unsafe version of:GetSubtypes
-
LLVMGetSubtypes
public static void LLVMGetSubtypes(long Tp, org.lwjgl.PointerBuffer Arr)Returns type's subtypes
-
LLVMGetNumContainedTypes
public static int LLVMGetNumContainedTypes(long Tp)
Return the number of types in the derived type.
-
LLVMArrayType
public static long LLVMArrayType(long ElementType, int ElementCount)Create a fixed size array type that refers to a specific type.The created type will exist in the context that its element type exists in.
-
LLVMGetArrayLength
public static int LLVMGetArrayLength(long ArrayTy)
Obtain the length of an array type.This only works on types that represent arrays.
-
LLVMPointerType
public static long LLVMPointerType(long ElementType, int AddressSpace)Create a pointer type that points to a defined type.The created type will exist in the context that its pointee type exists in.
-
LLVMGetPointerAddressSpace
public static int LLVMGetPointerAddressSpace(long PointerTy)
Obtain the address space of a pointer type.This only works on types that represent pointers.
-
LLVMVectorType
public static long LLVMVectorType(long ElementType, int ElementCount)Create a vector type that contains a defined type and has a specific number of elements.The created type will exist in the context thats its element type exists in.
-
LLVMScalableVectorType
public static long LLVMScalableVectorType(long ElementType, int ElementCount)Create a vector type that contains a defined type and has a scalable number of elements.The created type will exist in the context thats its element type exists in.
See
llvm::ScalableVectorType::get().- Since:
- 12
-
LLVMGetVectorSize
public static int LLVMGetVectorSize(long VectorTy)
Obtain the (possibly scalable) number of elements in a vector type.This only works on types that represent vectors (fixed or scalable).
See
llvm::VectorType::getNumElements().
-
LLVMVoidTypeInContext
public static long LLVMVoidTypeInContext(long C)
Create a void type in a context.
-
LLVMLabelTypeInContext
public static long LLVMLabelTypeInContext(long C)
Create a label type in a context.
-
LLVMX86MMXTypeInContext
public static long LLVMX86MMXTypeInContext(long C)
Create a X86 MMX type in a context.
-
LLVMX86AMXTypeInContext
public static long LLVMX86AMXTypeInContext(long C)
Create a X86 AMX type in a context.- Since:
- 12
-
LLVMTokenTypeInContext
public static long LLVMTokenTypeInContext(long C)
Create a token type in a context.
-
LLVMMetadataTypeInContext
public static long LLVMMetadataTypeInContext(long C)
Create a metadata type in a context.
-
LLVMVoidType
public static long LLVMVoidType()
These are similar to the above functions except they operate on the global context.
-
LLVMLabelType
public static long LLVMLabelType()
-
LLVMX86MMXType
public static long LLVMX86MMXType()
-
LLVMX86AMXType
public static long LLVMX86AMXType()
- Since:
- 12
-
LLVMTypeOf
public static long LLVMTypeOf(long Val)
Obtain the type of a value.
-
LLVMGetValueKind
public static int LLVMGetValueKind(long Val)
Obtain the enumerated type of a Value instance.
-
nLLVMGetValueName2
public static long nLLVMGetValueName2(long Val, long Length)Unsafe version of:GetValueName2
-
LLVMGetValueName2
public static java.lang.String LLVMGetValueName2(long Val)
Obtain the string name of a value.
-
nLLVMSetValueName2
public static void nLLVMSetValueName2(long Val, long Name, long NameLen)Unsafe version of:SetValueName2
-
LLVMSetValueName2
public static void LLVMSetValueName2(long Val, java.nio.ByteBuffer Name) public static void LLVMSetValueName2(long Val, java.lang.CharSequence Name)Set the string name of a value.
-
LLVMDumpValue
public static void LLVMDumpValue(long Val)
Dump a representation of a value to stderr.
-
nLLVMPrintValueToString
public static long nLLVMPrintValueToString(long Val)
Unsafe version of:PrintValueToString
-
LLVMPrintValueToString
public static java.lang.String LLVMPrintValueToString(long Val)
Return a string representation of the value. UseDisposeMessageto free the string.
-
LLVMReplaceAllUsesWith
public static void LLVMReplaceAllUsesWith(long OldVal, long NewVal)Replace all uses of a value with another one.
-
LLVMIsConstant
public static boolean LLVMIsConstant(long Val)
Determine whether the specified value instance is constant.
-
LLVMIsUndef
public static boolean LLVMIsUndef(long Val)
Determine whether a value instance is undefined.
-
LLVMIsPoison
public static boolean LLVMIsPoison(long Val)
Determine whether a value instance is poisonous.- Since:
- 12
-
LLVMIsAArgument
public static long LLVMIsAArgument(long Val)
-
LLVMIsABasicBlock
public static long LLVMIsABasicBlock(long Val)
-
LLVMIsAInlineAsm
public static long LLVMIsAInlineAsm(long Val)
-
LLVMIsAUser
public static long LLVMIsAUser(long Val)
-
LLVMIsAConstant
public static long LLVMIsAConstant(long Val)
-
LLVMIsABlockAddress
public static long LLVMIsABlockAddress(long Val)
-
LLVMIsAConstantAggregateZero
public static long LLVMIsAConstantAggregateZero(long Val)
-
LLVMIsAConstantArray
public static long LLVMIsAConstantArray(long Val)
-
LLVMIsAConstantDataSequential
public static long LLVMIsAConstantDataSequential(long Val)
-
LLVMIsAConstantDataArray
public static long LLVMIsAConstantDataArray(long Val)
-
LLVMIsAConstantDataVector
public static long LLVMIsAConstantDataVector(long Val)
-
LLVMIsAConstantExpr
public static long LLVMIsAConstantExpr(long Val)
-
LLVMIsAConstantFP
public static long LLVMIsAConstantFP(long Val)
-
LLVMIsAConstantInt
public static long LLVMIsAConstantInt(long Val)
-
LLVMIsAConstantPointerNull
public static long LLVMIsAConstantPointerNull(long Val)
-
LLVMIsAConstantStruct
public static long LLVMIsAConstantStruct(long Val)
-
LLVMIsAConstantTokenNone
public static long LLVMIsAConstantTokenNone(long Val)
-
LLVMIsAConstantVector
public static long LLVMIsAConstantVector(long Val)
-
LLVMIsAGlobalValue
public static long LLVMIsAGlobalValue(long Val)
-
LLVMIsAGlobalAlias
public static long LLVMIsAGlobalAlias(long Val)
-
LLVMIsAGlobalIFunc
public static long LLVMIsAGlobalIFunc(long Val)
-
LLVMIsAGlobalObject
public static long LLVMIsAGlobalObject(long Val)
-
LLVMIsAFunction
public static long LLVMIsAFunction(long Val)
-
LLVMIsAGlobalVariable
public static long LLVMIsAGlobalVariable(long Val)
-
LLVMIsAUndefValue
public static long LLVMIsAUndefValue(long Val)
-
LLVMIsAInstruction
public static long LLVMIsAInstruction(long Val)
-
LLVMIsABinaryOperator
public static long LLVMIsABinaryOperator(long Val)
-
LLVMIsACallInst
public static long LLVMIsACallInst(long Val)
-
LLVMIsAIntrinsicInst
public static long LLVMIsAIntrinsicInst(long Val)
-
LLVMIsADbgInfoIntrinsic
public static long LLVMIsADbgInfoIntrinsic(long Val)
-
LLVMIsADbgVariableIntrinsic
public static long LLVMIsADbgVariableIntrinsic(long Val)
-
LLVMIsADbgDeclareInst
public static long LLVMIsADbgDeclareInst(long Val)
-
LLVMIsADbgLabelInst
public static long LLVMIsADbgLabelInst(long Val)
-
LLVMIsAMemIntrinsic
public static long LLVMIsAMemIntrinsic(long Val)
-
LLVMIsAMemCpyInst
public static long LLVMIsAMemCpyInst(long Val)
-
LLVMIsAMemMoveInst
public static long LLVMIsAMemMoveInst(long Val)
-
LLVMIsAMemSetInst
public static long LLVMIsAMemSetInst(long Val)
-
LLVMIsACmpInst
public static long LLVMIsACmpInst(long Val)
-
LLVMIsAFCmpInst
public static long LLVMIsAFCmpInst(long Val)
-
LLVMIsAICmpInst
public static long LLVMIsAICmpInst(long Val)
-
LLVMIsAExtractElementInst
public static long LLVMIsAExtractElementInst(long Val)
-
LLVMIsAGetElementPtrInst
public static long LLVMIsAGetElementPtrInst(long Val)
-
LLVMIsAInsertElementInst
public static long LLVMIsAInsertElementInst(long Val)
-
LLVMIsAInsertValueInst
public static long LLVMIsAInsertValueInst(long Val)
-
LLVMIsALandingPadInst
public static long LLVMIsALandingPadInst(long Val)
-
LLVMIsAPHINode
public static long LLVMIsAPHINode(long Val)
-
LLVMIsASelectInst
public static long LLVMIsASelectInst(long Val)
-
LLVMIsAShuffleVectorInst
public static long LLVMIsAShuffleVectorInst(long Val)
-
LLVMIsAStoreInst
public static long LLVMIsAStoreInst(long Val)
-
LLVMIsABranchInst
public static long LLVMIsABranchInst(long Val)
-
LLVMIsAIndirectBrInst
public static long LLVMIsAIndirectBrInst(long Val)
-
LLVMIsAInvokeInst
public static long LLVMIsAInvokeInst(long Val)
-
LLVMIsAReturnInst
public static long LLVMIsAReturnInst(long Val)
-
LLVMIsASwitchInst
public static long LLVMIsASwitchInst(long Val)
-
LLVMIsAUnreachableInst
public static long LLVMIsAUnreachableInst(long Val)
-
LLVMIsAResumeInst
public static long LLVMIsAResumeInst(long Val)
-
LLVMIsACleanupReturnInst
public static long LLVMIsACleanupReturnInst(long Val)
-
LLVMIsACatchReturnInst
public static long LLVMIsACatchReturnInst(long Val)
-
LLVMIsAFuncletPadInst
public static long LLVMIsAFuncletPadInst(long Val)
-
LLVMIsACatchPadInst
public static long LLVMIsACatchPadInst(long Val)
-
LLVMIsACleanupPadInst
public static long LLVMIsACleanupPadInst(long Val)
-
LLVMIsAUnaryInstruction
public static long LLVMIsAUnaryInstruction(long Val)
-
LLVMIsAAllocaInst
public static long LLVMIsAAllocaInst(long Val)
-
LLVMIsACastInst
public static long LLVMIsACastInst(long Val)
-
LLVMIsAAddrSpaceCastInst
public static long LLVMIsAAddrSpaceCastInst(long Val)
-
LLVMIsABitCastInst
public static long LLVMIsABitCastInst(long Val)
-
LLVMIsAFPExtInst
public static long LLVMIsAFPExtInst(long Val)
-
LLVMIsAFPToSIInst
public static long LLVMIsAFPToSIInst(long Val)
-
LLVMIsAFPToUIInst
public static long LLVMIsAFPToUIInst(long Val)
-
LLVMIsAFPTruncInst
public static long LLVMIsAFPTruncInst(long Val)
-
LLVMIsAIntToPtrInst
public static long LLVMIsAIntToPtrInst(long Val)
-
LLVMIsAPtrToIntInst
public static long LLVMIsAPtrToIntInst(long Val)
-
LLVMIsASExtInst
public static long LLVMIsASExtInst(long Val)
-
LLVMIsASIToFPInst
public static long LLVMIsASIToFPInst(long Val)
-
LLVMIsATruncInst
public static long LLVMIsATruncInst(long Val)
-
LLVMIsAUIToFPInst
public static long LLVMIsAUIToFPInst(long Val)
-
LLVMIsAZExtInst
public static long LLVMIsAZExtInst(long Val)
-
LLVMIsAExtractValueInst
public static long LLVMIsAExtractValueInst(long Val)
-
LLVMIsALoadInst
public static long LLVMIsALoadInst(long Val)
-
LLVMIsAVAArgInst
public static long LLVMIsAVAArgInst(long Val)
-
LLVMIsAMDNode
public static long LLVMIsAMDNode(long Val)
-
LLVMIsAMDString
public static long LLVMIsAMDString(long Val)
-
nLLVMGetValueName
public static long nLLVMGetValueName(long Val)
Unsafe version of:GetValueName
-
LLVMGetValueName
public static java.lang.String LLVMGetValueName(long Val)
Deprecated: UseGetValueName2instead.
-
nLLVMSetValueName
public static void nLLVMSetValueName(long Val, long Name)Unsafe version of:SetValueName
-
LLVMSetValueName
public static void LLVMSetValueName(long Val, java.nio.ByteBuffer Name) public static void LLVMSetValueName(long Val, java.lang.CharSequence Name)Deprecated: UseSetValueName2instead.
-
LLVMGetFirstUse
public static long LLVMGetFirstUse(long Val)
Obtain the first use of a value.Uses are obtained in an iterator fashion. First, call this function to obtain a reference to the first use. Then, call
GetNextUseon that instance and all subsequently obtained instances untilGetNextUsereturnsNULL.
-
LLVMGetNextUse
public static long LLVMGetNextUse(long U)
Obtain the next use of a value.This effectively advances the iterator. It returns
NULLif you are on the final use and no more are available.
-
LLVMGetUser
public static long LLVMGetUser(long U)
Obtain the user value for a user.The returned value corresponds to a
llvm::Usertype.
-
LLVMGetUsedValue
public static long LLVMGetUsedValue(long U)
Obtain the value this use corresponds to.
-
LLVMGetOperand
public static long LLVMGetOperand(long Val, int Index)Obtain an operand at a specific index in allvm::Uservalue.
-
LLVMGetOperandUse
public static long LLVMGetOperandUse(long Val, int Index)Obtain the use of an operand at a specific index in allvm::Uservalue.
-
LLVMSetOperand
public static void LLVMSetOperand(long User, int Index, long Val)Set an operand at a specific index in allvm::Uservalue.
-
LLVMGetNumOperands
public static int LLVMGetNumOperands(long Val)
Obtain the number of operands in allvm::Uservalue.
-
LLVMConstNull
public static long LLVMConstNull(long Ty)
Obtain a constant value referring to the null instance of a type.
-
LLVMConstAllOnes
public static long LLVMConstAllOnes(long Ty)
Obtain a constant value referring to the instance of a type consisting of all ones.This is only valid for integer types.
-
LLVMGetUndef
public static long LLVMGetUndef(long Ty)
Obtain a constant value referring to an undefined value of a type.
-
LLVMGetPoison
public static long LLVMGetPoison(long Ty)
Obtain a constant value referring to a poison value of a type.- Since:
- 12
-
LLVMIsNull
public static boolean LLVMIsNull(long Val)
Determine whether a value instance is null.
-
LLVMConstPointerNull
public static long LLVMConstPointerNull(long Ty)
Obtain a constant that is a constant pointer pointing to NULL for a specified type.
-
LLVMConstInt
public static long LLVMConstInt(long IntTy, long N, boolean SignExtend)Obtain a constant value for an integer type.The returned value corresponds to a
llvm::ConstantInt.- Parameters:
IntTy- integer type to obtain value ofN- the value the returned instance should refer toSignExtend- whether to sign extend the produced value
-
nLLVMConstIntOfArbitraryPrecision
public static long nLLVMConstIntOfArbitraryPrecision(long IntTy, int NumWords, long Words)Unsafe version of:ConstIntOfArbitraryPrecision
-
LLVMConstIntOfArbitraryPrecision
public static long LLVMConstIntOfArbitraryPrecision(long IntTy, java.nio.LongBuffer Words)Obtain a constant value for an integer of arbitrary precision.
-
nLLVMConstIntOfString
public static long nLLVMConstIntOfString(long IntTy, long Text, byte Radix)Unsafe version of:ConstIntOfString
-
LLVMConstIntOfString
public static long LLVMConstIntOfString(long IntTy, java.nio.ByteBuffer Text, byte Radix) public static long LLVMConstIntOfString(long IntTy, java.lang.CharSequence Text, byte Radix)Obtain a constant value for an integer parsed from a string.A similar API,
ConstIntOfStringAndSizeis also available. If the string's length is available, it is preferred to call that function instead.
-
nLLVMConstIntOfStringAndSize
public static long nLLVMConstIntOfStringAndSize(long IntTy, long Text, int SLen, byte Radix)Unsafe version of:ConstIntOfStringAndSize
-
LLVMConstIntOfStringAndSize
public static long LLVMConstIntOfStringAndSize(long IntTy, java.nio.ByteBuffer Text, byte Radix) public static long LLVMConstIntOfStringAndSize(long IntTy, java.lang.CharSequence Text, byte Radix)Obtain a constant value for an integer parsed from a string with specified length.
-
LLVMConstReal
public static long LLVMConstReal(long RealTy, double N)Obtain a constant value referring to a double floating point value.
-
nLLVMConstRealOfString
public static long nLLVMConstRealOfString(long RealTy, long Text)Unsafe version of:ConstRealOfString
-
LLVMConstRealOfString
public static long LLVMConstRealOfString(long RealTy, java.nio.ByteBuffer Text) public static long LLVMConstRealOfString(long RealTy, java.lang.CharSequence Text)Obtain a constant for a floating point value parsed from a string.A similar API,
ConstRealOfStringAndSizeis also available. It should be used if the input string's length is known.
-
nLLVMConstRealOfStringAndSize
public static long nLLVMConstRealOfStringAndSize(long RealTy, long Text, int SLen)Unsafe version of:ConstRealOfStringAndSize
-
LLVMConstRealOfStringAndSize
public static long LLVMConstRealOfStringAndSize(long RealTy, java.nio.ByteBuffer Text) public static long LLVMConstRealOfStringAndSize(long RealTy, java.lang.CharSequence Text)Obtain a constant for a floating point value parsed from a string.
-
LLVMConstIntGetZExtValue
public static long LLVMConstIntGetZExtValue(long ConstantVal)
Obtain the zero extended value for an integer constant value.
-
LLVMConstIntGetSExtValue
public static long LLVMConstIntGetSExtValue(long ConstantVal)
Obtain the sign extended value for an integer constant value.
-
nLLVMConstRealGetDouble
public static double nLLVMConstRealGetDouble(long ConstantVal, long losesInfo)Unsafe version of:ConstRealGetDouble
-
LLVMConstRealGetDouble
public static double LLVMConstRealGetDouble(long ConstantVal, java.nio.IntBuffer losesInfo)Obtain the double value for an floating point constant value.losesInfoindicates if some precision was lost in the conversion.
-
nLLVMConstStringInContext
public static long nLLVMConstStringInContext(long C, long Str, int Length, int DontNullTerminate)Unsafe version of:ConstStringInContext
-
LLVMConstStringInContext
public static long LLVMConstStringInContext(long C, java.nio.ByteBuffer Str, boolean DontNullTerminate) public static long LLVMConstStringInContext(long C, java.lang.CharSequence Str, boolean DontNullTerminate)Create aConstantDataSequentialand initialize it with a string.
-
nLLVMConstString
public static long nLLVMConstString(long Str, int Length, int DontNullTerminate)Unsafe version of:ConstString
-
LLVMConstString
public static long LLVMConstString(java.nio.ByteBuffer Str, boolean DontNullTerminate) public static long LLVMConstString(java.lang.CharSequence Str, boolean DontNullTerminate)Create aConstantDataSequentialwith string content in the global context.This is the same as
ConstStringInContextexcept it operates on the global context.
-
LLVMIsConstantString
public static boolean LLVMIsConstantString(long c)
Returns true if the specified constant is an array ofi8.
-
nLLVMGetAsString
public static long nLLVMGetAsString(long c, long Length)Unsafe version of:GetAsString
-
LLVMGetAsString
public static java.lang.String LLVMGetAsString(long c)
Get the given constant data sequential as a string.
-
nLLVMConstStructInContext
public static long nLLVMConstStructInContext(long C, long ConstantVals, int Count, int Packed)Unsafe version of:ConstStructInContext
-
LLVMConstStructInContext
public static long LLVMConstStructInContext(long C, org.lwjgl.PointerBuffer ConstantVals, boolean Packed)Create an anonymousConstantStructwith the specified values.
-
nLLVMConstStruct
public static long nLLVMConstStruct(long ConstantVals, int Count, int Packed)Unsafe version of:ConstStruct
-
LLVMConstStruct
public static long LLVMConstStruct(org.lwjgl.PointerBuffer ConstantVals, boolean Packed)Create aConstantStructin the global Context.This is the same as
ConstStructInContextexcept it operates on the global Context.
-
nLLVMConstArray
public static long nLLVMConstArray(long ElementTy, long ConstantVals, int Length)Unsafe version of:ConstArray
-
LLVMConstArray
public static long LLVMConstArray(long ElementTy, org.lwjgl.PointerBuffer ConstantVals)Create aConstantArrayfrom values.
-
nLLVMConstNamedStruct
public static long nLLVMConstNamedStruct(long StructTy, long ConstantVals, int Count)Unsafe version of:ConstNamedStruct
-
LLVMConstNamedStruct
public static long LLVMConstNamedStruct(long StructTy, org.lwjgl.PointerBuffer ConstantVals)Create a non-anonymousConstantStructfrom values.
-
LLVMGetElementAsConstant
public static long LLVMGetElementAsConstant(long C, int idx)Get an element at specified index as a constant.
-
nLLVMConstVector
public static long nLLVMConstVector(long ScalarConstantVals, int Size)Unsafe version of:ConstVector
-
LLVMConstVector
public static long LLVMConstVector(org.lwjgl.PointerBuffer ScalarConstantVals)
Create aConstantVectorfrom values.
-
LLVMGetConstOpcode
public static int LLVMGetConstOpcode(long ConstantVal)
-
LLVMAlignOf
public static long LLVMAlignOf(long Ty)
-
LLVMSizeOf
public static long LLVMSizeOf(long Ty)
-
LLVMConstNeg
public static long LLVMConstNeg(long ConstantVal)
-
LLVMConstNSWNeg
public static long LLVMConstNSWNeg(long ConstantVal)
-
LLVMConstNUWNeg
public static long LLVMConstNUWNeg(long ConstantVal)
-
LLVMConstFNeg
public static long LLVMConstFNeg(long ConstantVal)
-
LLVMConstNot
public static long LLVMConstNot(long ConstantVal)
-
LLVMConstAdd
public static long LLVMConstAdd(long LHSConstant, long RHSConstant)
-
LLVMConstNSWAdd
public static long LLVMConstNSWAdd(long LHSConstant, long RHSConstant)
-
LLVMConstNUWAdd
public static long LLVMConstNUWAdd(long LHSConstant, long RHSConstant)
-
LLVMConstFAdd
public static long LLVMConstFAdd(long LHSConstant, long RHSConstant)
-
LLVMConstSub
public static long LLVMConstSub(long LHSConstant, long RHSConstant)
-
LLVMConstNSWSub
public static long LLVMConstNSWSub(long LHSConstant, long RHSConstant)
-
LLVMConstNUWSub
public static long LLVMConstNUWSub(long LHSConstant, long RHSConstant)
-
LLVMConstFSub
public static long LLVMConstFSub(long LHSConstant, long RHSConstant)
-
LLVMConstMul
public static long LLVMConstMul(long LHSConstant, long RHSConstant)
-
LLVMConstNSWMul
public static long LLVMConstNSWMul(long LHSConstant, long RHSConstant)
-
LLVMConstNUWMul
public static long LLVMConstNUWMul(long LHSConstant, long RHSConstant)
-
LLVMConstFMul
public static long LLVMConstFMul(long LHSConstant, long RHSConstant)
-
LLVMConstUDiv
public static long LLVMConstUDiv(long LHSConstant, long RHSConstant)
-
LLVMConstExactUDiv
public static long LLVMConstExactUDiv(long LHSConstant, long RHSConstant)
-
LLVMConstSDiv
public static long LLVMConstSDiv(long LHSConstant, long RHSConstant)
-
LLVMConstExactSDiv
public static long LLVMConstExactSDiv(long LHSConstant, long RHSConstant)
-
LLVMConstFDiv
public static long LLVMConstFDiv(long LHSConstant, long RHSConstant)
-
LLVMConstURem
public static long LLVMConstURem(long LHSConstant, long RHSConstant)
-
LLVMConstSRem
public static long LLVMConstSRem(long LHSConstant, long RHSConstant)
-
LLVMConstFRem
public static long LLVMConstFRem(long LHSConstant, long RHSConstant)
-
LLVMConstAnd
public static long LLVMConstAnd(long LHSConstant, long RHSConstant)
-
LLVMConstOr
public static long LLVMConstOr(long LHSConstant, long RHSConstant)
-
LLVMConstXor
public static long LLVMConstXor(long LHSConstant, long RHSConstant)
-
LLVMConstICmp
public static long LLVMConstICmp(int Predicate, long LHSConstant, long RHSConstant)
-
LLVMConstFCmp
public static long LLVMConstFCmp(int Predicate, long LHSConstant, long RHSConstant)
-
LLVMConstShl
public static long LLVMConstShl(long LHSConstant, long RHSConstant)
-
LLVMConstLShr
public static long LLVMConstLShr(long LHSConstant, long RHSConstant)
-
LLVMConstAShr
public static long LLVMConstAShr(long LHSConstant, long RHSConstant)
-
nLLVMConstGEP
public static long nLLVMConstGEP(long ConstantVal, long ConstantIndices, int NumIndices)
-
LLVMConstGEP
public static long LLVMConstGEP(long ConstantVal, org.lwjgl.PointerBuffer ConstantIndices)
-
nLLVMConstGEP2
public static long nLLVMConstGEP2(long Ty, long ConstantVal, long ConstantIndices, int NumIndices)Unsafe version of:ConstGEP2
-
LLVMConstGEP2
public static long LLVMConstGEP2(long Ty, long ConstantVal, org.lwjgl.PointerBuffer ConstantIndices)- Since:
- 8.0
-
nLLVMConstInBoundsGEP
public static long nLLVMConstInBoundsGEP(long ConstantVal, long ConstantIndices, int NumIndices)
-
LLVMConstInBoundsGEP
public static long LLVMConstInBoundsGEP(long ConstantVal, org.lwjgl.PointerBuffer ConstantIndices)
-
nLLVMConstInBoundsGEP2
public static long nLLVMConstInBoundsGEP2(long Ty, long ConstantVal, long ConstantIndices, int NumIndices)Unsafe version of:ConstInBoundsGEP2
-
LLVMConstInBoundsGEP2
public static long LLVMConstInBoundsGEP2(long Ty, long ConstantVal, org.lwjgl.PointerBuffer ConstantIndices)- Since:
- 8.0
-
LLVMConstTrunc
public static long LLVMConstTrunc(long ConstantVal, long ToType)
-
LLVMConstSExt
public static long LLVMConstSExt(long ConstantVal, long ToType)
-
LLVMConstZExt
public static long LLVMConstZExt(long ConstantVal, long ToType)
-
LLVMConstFPTrunc
public static long LLVMConstFPTrunc(long ConstantVal, long ToType)
-
LLVMConstFPExt
public static long LLVMConstFPExt(long ConstantVal, long ToType)
-
LLVMConstUIToFP
public static long LLVMConstUIToFP(long ConstantVal, long ToType)
-
LLVMConstSIToFP
public static long LLVMConstSIToFP(long ConstantVal, long ToType)
-
LLVMConstFPToUI
public static long LLVMConstFPToUI(long ConstantVal, long ToType)
-
LLVMConstFPToSI
public static long LLVMConstFPToSI(long ConstantVal, long ToType)
-
LLVMConstPtrToInt
public static long LLVMConstPtrToInt(long ConstantVal, long ToType)
-
LLVMConstIntToPtr
public static long LLVMConstIntToPtr(long ConstantVal, long ToType)
-
LLVMConstBitCast
public static long LLVMConstBitCast(long ConstantVal, long ToType)
-
LLVMConstAddrSpaceCast
public static long LLVMConstAddrSpaceCast(long ConstantVal, long ToType)
-
LLVMConstZExtOrBitCast
public static long LLVMConstZExtOrBitCast(long ConstantVal, long ToType)
-
LLVMConstSExtOrBitCast
public static long LLVMConstSExtOrBitCast(long ConstantVal, long ToType)
-
LLVMConstTruncOrBitCast
public static long LLVMConstTruncOrBitCast(long ConstantVal, long ToType)
-
LLVMConstPointerCast
public static long LLVMConstPointerCast(long ConstantVal, long ToType)
-
LLVMConstIntCast
public static long LLVMConstIntCast(long ConstantVal, long ToType, boolean isSigned)
-
LLVMConstFPCast
public static long LLVMConstFPCast(long ConstantVal, long ToType)
-
LLVMConstSelect
public static long LLVMConstSelect(long ConstantCondition, long ConstantIfTrue, long ConstantIfFalse)
-
LLVMConstExtractElement
public static long LLVMConstExtractElement(long VectorConstant, long IndexConstant)
-
LLVMConstInsertElement
public static long LLVMConstInsertElement(long VectorConstant, long ElementValueConstant, long IndexConstant)
-
LLVMConstShuffleVector
public static long LLVMConstShuffleVector(long VectorAConstant, long VectorBConstant, long MaskConstant)
-
nLLVMConstExtractValue
public static long nLLVMConstExtractValue(long AggConstant, long IdxList, int NumIdx)
-
LLVMConstExtractValue
public static long LLVMConstExtractValue(long AggConstant, java.nio.IntBuffer IdxList)
-
nLLVMConstInsertValue
public static long nLLVMConstInsertValue(long AggConstant, long ElementValueConstant, long IdxList, int NumIdx)
-
LLVMConstInsertValue
public static long LLVMConstInsertValue(long AggConstant, long ElementValueConstant, java.nio.IntBuffer IdxList)
-
LLVMBlockAddress
public static long LLVMBlockAddress(long F, long BB)
-
nLLVMConstInlineAsm
public static long nLLVMConstInlineAsm(long Ty, long AsmString, long Constraints, int HasSideEffects, int IsAlignStack)Unsafe version of:ConstInlineAsm
-
LLVMConstInlineAsm
public static long LLVMConstInlineAsm(long Ty, java.nio.ByteBuffer AsmString, java.nio.ByteBuffer Constraints, boolean HasSideEffects, boolean IsAlignStack) public static long LLVMConstInlineAsm(long Ty, java.lang.CharSequence AsmString, java.lang.CharSequence Constraints, boolean HasSideEffects, boolean IsAlignStack)Deprecated: UseGetInlineAsminstead.
-
LLVMGetGlobalParent
public static long LLVMGetGlobalParent(long Global)
-
LLVMIsDeclaration
public static boolean LLVMIsDeclaration(long Global)
-
LLVMGetLinkage
public static int LLVMGetLinkage(long Global)
-
LLVMSetLinkage
public static void LLVMSetLinkage(long Global, int Linkage)
-
nLLVMGetSection
public static long nLLVMGetSection(long Global)
-
LLVMGetSection
public static java.lang.String LLVMGetSection(long Global)
-
nLLVMSetSection
public static void nLLVMSetSection(long Global, long Section)
-
LLVMSetSection
public static void LLVMSetSection(long Global, java.nio.ByteBuffer Section)
-
LLVMSetSection
public static void LLVMSetSection(long Global, java.lang.CharSequence Section)
-
LLVMGetVisibility
public static int LLVMGetVisibility(long Global)
-
LLVMSetVisibility
public static void LLVMSetVisibility(long Global, int Viz)
-
LLVMGetDLLStorageClass
public static int LLVMGetDLLStorageClass(long Global)
-
LLVMSetDLLStorageClass
public static void LLVMSetDLLStorageClass(long Global, int Class)
-
LLVMGetUnnamedAddress
public static int LLVMGetUnnamedAddress(long Global)
-
LLVMSetUnnamedAddress
public static void LLVMSetUnnamedAddress(long Global, int UnnamedAddr)
-
LLVMGlobalGetValueType
public static long LLVMGlobalGetValueType(long Global)
Returns the "value type" of a global value. This differs from the formal type of a global value which is always a pointer type.
-
LLVMHasUnnamedAddr
public static boolean LLVMHasUnnamedAddr(long Global)
Deprecated: UseGetUnnamedAddressinstead.
-
LLVMSetUnnamedAddr
public static void LLVMSetUnnamedAddr(long Global, boolean HasUnnamedAddr)Deprecated: UseSetUnnamedAddressinstead.
-
LLVMGetAlignment
public static int LLVMGetAlignment(long V)
Obtain the preferred alignment of the value.
-
LLVMSetAlignment
public static void LLVMSetAlignment(long V, int Bytes)Set the preferred alignment of the value.
-
LLVMGlobalSetMetadata
public static void LLVMGlobalSetMetadata(long Global, int Kind, long MD)Sets a metadata attachment, erasing the existing metadata attachment if it already exists for the given kind.
-
LLVMGlobalEraseMetadata
public static void LLVMGlobalEraseMetadata(long Global, int Kind)Erases a metadata attachment of the given kind if it exists.
-
LLVMGlobalClearMetadata
public static void LLVMGlobalClearMetadata(long Global)
Removes all metadata attachments from this value.
-
nLLVMGlobalCopyAllMetadata
public static long nLLVMGlobalCopyAllMetadata(long Value, long NumEntries)Unsafe version of:GlobalCopyAllMetadata
-
LLVMGlobalCopyAllMetadata
public static long LLVMGlobalCopyAllMetadata(long Value, org.lwjgl.PointerBuffer NumEntries)Retrieves an array of metadata entries representing the metadata attached to this value. The caller is responsible for freeing this array by callingDisposeValueMetadataEntries.
-
LLVMDisposeValueMetadataEntries
public static void LLVMDisposeValueMetadataEntries(long Entries)
Destroys value metadata entries.
-
LLVMValueMetadataEntriesGetKind
public static int LLVMValueMetadataEntriesGetKind(long Entries, int Index)Returns the kind of a value metadata entry at a specific index.
-
LLVMValueMetadataEntriesGetMetadata
public static long LLVMValueMetadataEntriesGetMetadata(long Entries, int Index)Returns the underlying metadata node of a value metadata entry at a specific index.
-
nLLVMAddGlobal
public static long nLLVMAddGlobal(long M, long Ty, long Name)
-
LLVMAddGlobal
public static long LLVMAddGlobal(long M, long Ty, java.nio.ByteBuffer Name)
-
LLVMAddGlobal
public static long LLVMAddGlobal(long M, long Ty, java.lang.CharSequence Name)
-
nLLVMAddGlobalInAddressSpace
public static long nLLVMAddGlobalInAddressSpace(long M, long Ty, long Name, int AddressSpace)
-
LLVMAddGlobalInAddressSpace
public static long LLVMAddGlobalInAddressSpace(long M, long Ty, java.nio.ByteBuffer Name, int AddressSpace)
-
LLVMAddGlobalInAddressSpace
public static long LLVMAddGlobalInAddressSpace(long M, long Ty, java.lang.CharSequence Name, int AddressSpace)
-
nLLVMGetNamedGlobal
public static long nLLVMGetNamedGlobal(long M, long Name)
-
LLVMGetNamedGlobal
public static long LLVMGetNamedGlobal(long M, java.nio.ByteBuffer Name)
-
LLVMGetNamedGlobal
public static long LLVMGetNamedGlobal(long M, java.lang.CharSequence Name)
-
LLVMGetFirstGlobal
public static long LLVMGetFirstGlobal(long M)
-
LLVMGetLastGlobal
public static long LLVMGetLastGlobal(long M)
-
LLVMGetNextGlobal
public static long LLVMGetNextGlobal(long GlobalVar)
-
LLVMGetPreviousGlobal
public static long LLVMGetPreviousGlobal(long GlobalVar)
-
LLVMDeleteGlobal
public static void LLVMDeleteGlobal(long GlobalVar)
-
LLVMGetInitializer
public static long LLVMGetInitializer(long GlobalVar)
-
LLVMSetInitializer
public static void LLVMSetInitializer(long GlobalVar, long ConstantVal)
-
LLVMIsThreadLocal
public static boolean LLVMIsThreadLocal(long GlobalVar)
-
LLVMSetThreadLocal
public static void LLVMSetThreadLocal(long GlobalVar, boolean IsThreadLocal)
-
LLVMIsGlobalConstant
public static boolean LLVMIsGlobalConstant(long GlobalVar)
-
LLVMSetGlobalConstant
public static void LLVMSetGlobalConstant(long GlobalVar, boolean IsConstant)
-
LLVMGetThreadLocalMode
public static int LLVMGetThreadLocalMode(long GlobalVar)
-
LLVMSetThreadLocalMode
public static void LLVMSetThreadLocalMode(long GlobalVar, int Mode)
-
LLVMIsExternallyInitialized
public static boolean LLVMIsExternallyInitialized(long GlobalVar)
-
LLVMSetExternallyInitialized
public static void LLVMSetExternallyInitialized(long GlobalVar, boolean IsExtInit)
-
nLLVMAddAlias
public static long nLLVMAddAlias(long M, long Ty, long Aliasee, long Name)
-
LLVMAddAlias
public static long LLVMAddAlias(long M, long Ty, long Aliasee, java.nio.ByteBuffer Name)
-
LLVMAddAlias
public static long LLVMAddAlias(long M, long Ty, long Aliasee, java.lang.CharSequence Name)
-
nLLVMGetNamedGlobalAlias
public static long nLLVMGetNamedGlobalAlias(long M, long Name, long NameLen)Unsafe version of:GetNamedGlobalAlias
-
LLVMGetNamedGlobalAlias
public static long LLVMGetNamedGlobalAlias(long M, java.nio.ByteBuffer Name) public static long LLVMGetNamedGlobalAlias(long M, java.lang.CharSequence Name)Obtain a GlobalAlias value from a Module by its name.The returned value corresponds to a
llvm::GlobalAliasvalue.
-
LLVMGetFirstGlobalAlias
public static long LLVMGetFirstGlobalAlias(long M)
Obtain an iterator to the first GlobalAlias in a Module.
-
LLVMGetLastGlobalAlias
public static long LLVMGetLastGlobalAlias(long M)
Obtain an iterator to the last GlobalAlias in a Module.
-
LLVMGetNextGlobalAlias
public static long LLVMGetNextGlobalAlias(long GA)
Advance aGlobalAliasiterator to the nextGlobalAlias.Returns
NULLif the iterator was already at the end and there are no more global aliases.
-
LLVMGetPreviousGlobalAlias
public static long LLVMGetPreviousGlobalAlias(long GA)
Decrement aGlobalAliasiterator to the previousGlobalAlias.Returns
NULLif the iterator was already at the beginning and there are no previous global aliases.
-
LLVMAliasGetAliasee
public static long LLVMAliasGetAliasee(long Alias)
Retrieve the target value of an alias.
-
LLVMAliasSetAliasee
public static void LLVMAliasSetAliasee(long Alias, long Aliasee)Set the target value of an alias.
-
LLVMDeleteFunction
public static void LLVMDeleteFunction(long Fn)
Remove a function from its containing module and deletes it.
-
LLVMHasPersonalityFn
public static boolean LLVMHasPersonalityFn(long Fn)
Check whether the given function has a personality function.
-
LLVMGetPersonalityFn
public static long LLVMGetPersonalityFn(long Fn)
Obtain the personality function attached to the function.
-
LLVMSetPersonalityFn
public static void LLVMSetPersonalityFn(long Fn, long PersonalityFn)Set the personality function attached to the function.
-
nLLVMLookupIntrinsicID
public static void nLLVMLookupIntrinsicID(long Name, long NameLen)Unsafe version of:LookupIntrinsicID
-
LLVMLookupIntrinsicID
public static void LLVMLookupIntrinsicID(java.nio.ByteBuffer Name) public static void LLVMLookupIntrinsicID(java.lang.CharSequence Name)
Obtain the intrinsic ID number which matches the given function name.- Since:
- 9
-
LLVMGetIntrinsicID
public static int LLVMGetIntrinsicID(long Fn)
Obtain the ID number from a function instance.
-
nLLVMGetIntrinsicDeclaration
public static long nLLVMGetIntrinsicDeclaration(long Mod, int ID, long ParamTypes, long ParamCount)Unsafe version of:GetIntrinsicDeclaration
-
LLVMGetIntrinsicDeclaration
public static long LLVMGetIntrinsicDeclaration(long Mod, int ID, org.lwjgl.PointerBuffer ParamTypes)Create or insert the declaration of an intrinsic.For overloaded intrinsics, parameter types must be provided to uniquely identify an overload.
- Since:
- 8.0
-
nLLVMIntrinsicGetType
public static long nLLVMIntrinsicGetType(long Ctx, int ID, long ParamTypes, long ParamCount)Unsafe version of:IntrinsicGetType
-
LLVMIntrinsicGetType
public static long LLVMIntrinsicGetType(long Ctx, int ID, org.lwjgl.PointerBuffer ParamTypes)Retrieves the type of an intrinsic.For overloaded intrinsics, parameter types must be provided to uniquely identify an overload.
- Since:
- 8.0
-
nLLVMIntrinsicGetName
public static long nLLVMIntrinsicGetName(int ID, long NameLength)Unsafe version of:IntrinsicGetName
-
LLVMIntrinsicGetName
@Nullable public static java.lang.String LLVMIntrinsicGetName(int ID)
Retrieves the name of an intrinsic.- Since:
- 8.0
-
nLLVMIntrinsicCopyOverloadedName
public static long nLLVMIntrinsicCopyOverloadedName(int ID, long ParamTypes, long ParamCount, long NameLength)Unsafe version of:IntrinsicCopyOverloadedName
-
LLVMIntrinsicCopyOverloadedName
@Nullable public static java.lang.String LLVMIntrinsicCopyOverloadedName(int ID, org.lwjgl.PointerBuffer ParamTypes)Deprecated: UseIntrinsicCopyOverloadedName2instead.- Since:
- 8.0
-
nLLVMIntrinsicCopyOverloadedName2
public static long nLLVMIntrinsicCopyOverloadedName2(long Mod, int ID, long ParamTypes, long ParamCount, long NameLength)Unsafe version of:IntrinsicCopyOverloadedName2
-
LLVMIntrinsicCopyOverloadedName2
@Nullable public static java.lang.String LLVMIntrinsicCopyOverloadedName2(long Mod, int ID, org.lwjgl.PointerBuffer ParamTypes)Copies the name of an overloaded intrinsic identified by a given list of parameter types.Unlike
IntrinsicGetName, the caller is responsible for freeing the returned string.This version also supports unnamed types.
- Since:
- 13
-
LLVMIntrinsicIsOverloaded
public static boolean LLVMIntrinsicIsOverloaded(int ID)
Obtain if the intrinsic identified by the given ID is overloaded.- Since:
- 8.0
-
LLVMGetFunctionCallConv
public static int LLVMGetFunctionCallConv(long Fn)
Obtain the calling function of a function.The returned value corresponds to the
LLVMCallConvenumeration.
-
LLVMSetFunctionCallConv
public static void LLVMSetFunctionCallConv(long Fn, int CC)Set the calling convention of a function.- Parameters:
Fn- function to operate onCC-LLVMCallConvto set calling convention to
-
nLLVMGetGC
public static long nLLVMGetGC(long Fn)
Unsafe version of:GetGC
-
LLVMGetGC
@Nullable public static java.lang.String LLVMGetGC(long Fn)
Obtain the name of the garbage collector to use during code generation.
-
nLLVMSetGC
public static void nLLVMSetGC(long Fn, long Name)Unsafe version of:SetGC
-
LLVMSetGC
public static void LLVMSetGC(long Fn, java.nio.ByteBuffer Name) public static void LLVMSetGC(long Fn, java.lang.CharSequence Name)Define the garbage collector to use during code generation.
-
LLVMAddAttributeAtIndex
public static void LLVMAddAttributeAtIndex(long F, int Idx, long A)Add an attribute to a function.
-
LLVMGetAttributeCountAtIndex
public static int LLVMGetAttributeCountAtIndex(long F, int Idx)
-
nLLVMGetAttributesAtIndex
public static void nLLVMGetAttributesAtIndex(long F, int Idx, long Attrs)
-
LLVMGetAttributesAtIndex
public static void LLVMGetAttributesAtIndex(long F, int Idx, org.lwjgl.PointerBuffer Attrs)
-
LLVMGetEnumAttributeAtIndex
public static long LLVMGetEnumAttributeAtIndex(long F, int Idx, int KindID)
-
nLLVMGetStringAttributeAtIndex
public static long nLLVMGetStringAttributeAtIndex(long F, int Idx, long K, int KLen)
-
LLVMGetStringAttributeAtIndex
public static long LLVMGetStringAttributeAtIndex(long F, int Idx, java.nio.ByteBuffer K)
-
LLVMGetStringAttributeAtIndex
public static long LLVMGetStringAttributeAtIndex(long F, int Idx, java.lang.CharSequence K)
-
LLVMRemoveEnumAttributeAtIndex
public static void LLVMRemoveEnumAttributeAtIndex(long F, int Idx, int KindID)
-
nLLVMRemoveStringAttributeAtIndex
public static void nLLVMRemoveStringAttributeAtIndex(long F, int Idx, long K, int KLen)
-
LLVMRemoveStringAttributeAtIndex
public static void LLVMRemoveStringAttributeAtIndex(long F, int Idx, java.nio.ByteBuffer K)
-
LLVMRemoveStringAttributeAtIndex
public static void LLVMRemoveStringAttributeAtIndex(long F, int Idx, java.lang.CharSequence K)
-
nLLVMAddTargetDependentFunctionAttr
public static void nLLVMAddTargetDependentFunctionAttr(long Fn, long A, long V)Unsafe version of:AddTargetDependentFunctionAttr
-
LLVMAddTargetDependentFunctionAttr
public static void LLVMAddTargetDependentFunctionAttr(long Fn, java.nio.ByteBuffer A, java.nio.ByteBuffer V) public static void LLVMAddTargetDependentFunctionAttr(long Fn, java.lang.CharSequence A, java.lang.CharSequence V)Add a target-dependent attribute to a function
-
LLVMCountParams
public static int LLVMCountParams(long Fn)
Obtain the number of parameters in a function.
-
nLLVMGetParams
public static void nLLVMGetParams(long Fn, long Params)Unsafe version of:GetParams
-
LLVMGetParams
public static void LLVMGetParams(long Fn, org.lwjgl.PointerBuffer Params)Obtain the parameters in a function.The takes a pointer to a pre-allocated array of
LLVMValueRefthat is at leastCountParamslong. This array will be filled withLLVMValueRefinstances which correspond to the parameters the function receives. EachLLVMValueRefcorresponds to allvm::Argumentinstance.
-
LLVMGetParam
public static long LLVMGetParam(long Fn, int Index)Obtain the parameter at the specified index.Parameters are indexed from 0.
-
LLVMGetParamParent
public static long LLVMGetParamParent(long Inst)
Obtain the function to which this argument belongs.Unlike other functions in this group, this one takes an
LLVMValueRefthat corresponds to allvm::Attribute.The returned
LLVMValueRefis thellvm::Functionto which this argument belongs.
-
LLVMGetFirstParam
public static long LLVMGetFirstParam(long Fn)
Obtain the first parameter to a function.
-
LLVMGetLastParam
public static long LLVMGetLastParam(long Fn)
Obtain the last parameter to a function.
-
LLVMGetNextParam
public static long LLVMGetNextParam(long Arg)
Obtain the next parameter to a function.This takes an
LLVMValueRefobtained fromGetFirstParam(which is actually a wrapped iterator) and obtains the next parameter from the underlying iterator.
-
LLVMGetPreviousParam
public static long LLVMGetPreviousParam(long Arg)
Obtain the previous parameter to a function.This is the opposite of
GetNextParam.
-
LLVMSetParamAlignment
public static void LLVMSetParamAlignment(long Arg, int Align)Set the alignment for a function parameter.
-
nLLVMAddGlobalIFunc
public static long nLLVMAddGlobalIFunc(long M, long Name, long NameLen, long Ty, int AddrSpace, long Resolver)Unsafe version of:AddGlobalIFunc
-
LLVMAddGlobalIFunc
public static long LLVMAddGlobalIFunc(long M, java.nio.ByteBuffer Name, long Ty, int AddrSpace, long Resolver) public static long LLVMAddGlobalIFunc(long M, java.lang.CharSequence Name, long Ty, int AddrSpace, long Resolver)Add a global indirect function to a module under a specified name.See
llvm::GlobalIFunc::create()- Since:
- 9
-
nLLVMGetNamedGlobalIFunc
public static long nLLVMGetNamedGlobalIFunc(long M, long Name, long NameLen)Unsafe version of:GetNamedGlobalIFunc
-
LLVMGetNamedGlobalIFunc
public static long LLVMGetNamedGlobalIFunc(long M, java.nio.ByteBuffer Name) public static long LLVMGetNamedGlobalIFunc(long M, java.lang.CharSequence Name)Obtain aGlobalIFuncvalue from aModuleby its name.The returned value corresponds to a
llvm::GlobalIFuncvalue.See
llvm::Module::getNamedIFunc()- Since:
- 9
-
LLVMGetFirstGlobalIFunc
public static long LLVMGetFirstGlobalIFunc(long M)
Obtain an iterator to the firstGlobalIFuncin aModule.See
llvm::Module::ifunc_begin()- Since:
- 9
-
LLVMGetLastGlobalIFunc
public static long LLVMGetLastGlobalIFunc(long M)
Obtain an iterator to the lastGlobalIFuncin aModule.See
llvm::Module::ifunc_end().- Since:
- 9
-
LLVMGetNextGlobalIFunc
public static long LLVMGetNextGlobalIFunc(long IFunc)
Advance aGlobalIFunciterator to the nextGlobalIFunc.Returns
NULLif the iterator was already at the end and there are no more global aliases.- Since:
- 9
-
LLVMGetPreviousGlobalIFunc
public static long LLVMGetPreviousGlobalIFunc(long IFunc)
Decrement aGlobalIFunciterator to the previousGlobalIFunc.Returns
NULLif the iterator was already at the beginning and there are no previous global aliases.- Since:
- 9
-
LLVMGetGlobalIFuncResolver
public static long LLVMGetGlobalIFuncResolver(long IFunc)
Retrieves the resolver function associated with this indirect function, orNULLif it doesn't not exist.See
llvm::GlobalIFunc::getResolver()- Since:
- 9
-
LLVMSetGlobalIFuncResolver
public static void LLVMSetGlobalIFuncResolver(long IFunc, long Resolver)Sets the resolver function associated with this indirect function.See
llvm::GlobalIFunc::setResolver()- Since:
- 9
-
LLVMEraseGlobalIFunc
public static void LLVMEraseGlobalIFunc(long IFunc)
Remove a global indirect function from its parent module and delete it.See
llvm::GlobalIFunc::eraseFromParent()- Since:
- 9
-
LLVMRemoveGlobalIFunc
public static void LLVMRemoveGlobalIFunc(long IFunc)
Remove a global indirect function from its parent module.This unlinks the global indirect function from its containing module but keeps it alive.
See
llvm::GlobalIFunc::removeFromParent()- Since:
- 9
-
nLLVMMDStringInContext2
public static long nLLVMMDStringInContext2(long C, long Str, long SLen)Unsafe version of:MDStringInContext2
-
LLVMMDStringInContext2
public static long LLVMMDStringInContext2(long C, java.nio.ByteBuffer Str) public static long LLVMMDStringInContext2(long C, java.lang.CharSequence Str)Create anMDStringvalue from a given string value.The
MDStringvalue does not take ownership of the given string, it remains the responsibility of the caller to free it.See
llvm::MDString::get()- Since:
- 9
-
nLLVMMDNodeInContext2
public static long nLLVMMDNodeInContext2(long C, long MDs, long Count)Unsafe version of:MDNodeInContext2
-
LLVMMDNodeInContext2
public static long LLVMMDNodeInContext2(long C, org.lwjgl.PointerBuffer MDs)Create anMDNodevalue with the given array of operands.See
llvm::MDNode::get()- Since:
- 9
-
nLLVMMDStringInContext
public static long nLLVMMDStringInContext(long C, long Str, int SLen)Unsafe version of:MDStringInContext
-
LLVMMDStringInContext
public static long LLVMMDStringInContext(long C, java.nio.ByteBuffer Str) public static long LLVMMDStringInContext(long C, java.lang.CharSequence Str)Deprecated: UseMDStringInContext2instead.
-
nLLVMMDString
public static long nLLVMMDString(long Str, int SLen)Unsafe version of:MDString
-
LLVMMDString
public static long LLVMMDString(java.nio.ByteBuffer Str) public static long LLVMMDString(java.lang.CharSequence Str)
Deprecated: UseMDStringInContext2instead.
-
nLLVMMDNodeInContext
public static long nLLVMMDNodeInContext(long C, long Vals, int Count)Unsafe version of:MDNodeInContext
-
LLVMMDNodeInContext
public static long LLVMMDNodeInContext(long C, org.lwjgl.PointerBuffer Vals)Deprecated: UseMDNodeInContext2instead.
-
nLLVMMDNode
public static long nLLVMMDNode(long Vals, int Count)Unsafe version of:MDNode
-
LLVMMDNode
public static long LLVMMDNode(org.lwjgl.PointerBuffer Vals)
Deprecated: UseMDNodeInContext2instead.
-
LLVMMetadataAsValue
public static long LLVMMetadataAsValue(long C, long MD)Obtain aMetadataas a Value.
-
LLVMValueAsMetadata
public static long LLVMValueAsMetadata(long Val)
Obtain aValueas aMetadata.
-
nLLVMGetMDString
public static long nLLVMGetMDString(long V, long Length)Unsafe version of:GetMDString- Parameters:
Length- memory address which will hold length of returned string
-
LLVMGetMDString
@Nullable public static java.lang.String LLVMGetMDString(long V)
Obtain the underlying string from aMDStringvalue.- Parameters:
V- instance to obtain string from- Returns:
- string data in
MDString
-
LLVMGetMDNodeNumOperands
public static int LLVMGetMDNodeNumOperands(long V)
Obtain the number of operands from anMDNodevalue.- Parameters:
V-MDNodeto get number of operands from- Returns:
- number of operands of the
MDNode
-
nLLVMGetMDNodeOperands
public static void nLLVMGetMDNodeOperands(long V, long Dest)Unsafe version of:GetMDNodeOperands
-
LLVMGetMDNodeOperands
public static void LLVMGetMDNodeOperands(long V, org.lwjgl.PointerBuffer Dest)Obtain the givenMDNode's operands.The passed
LLVMValueRefpointer should point to enough memory to hold all of the operands of the givenMDNode(seeGetMDNodeNumOperands) asLLVMValueRefs. This memory will be populated with theLLVMValueRefsof theMDNode's operands.- Parameters:
V- MDNode to get the operands fromDest- destination array for operands
-
LLVMBasicBlockAsValue
public static long LLVMBasicBlockAsValue(long BB)
Convert a basic block instance to a value type.
-
LLVMValueIsBasicBlock
public static boolean LLVMValueIsBasicBlock(long Val)
Determine whether anLLVMValueRefis itself a basic block.
-
LLVMValueAsBasicBlock
public static long LLVMValueAsBasicBlock(long Val)
Convert anLLVMValueRefto anLLVMBasicBlockRefinstance.
-
nLLVMGetBasicBlockName
public static long nLLVMGetBasicBlockName(long BB)
Unsafe version of:GetBasicBlockName
-
LLVMGetBasicBlockName
public static java.lang.String LLVMGetBasicBlockName(long BB)
Obtain the string name of a basic block.
-
LLVMGetBasicBlockParent
public static long LLVMGetBasicBlockParent(long BB)
Obtain the function to which a basic block belongs.
-
LLVMGetBasicBlockTerminator
public static long LLVMGetBasicBlockTerminator(long BB)
Obtain the terminator instruction for a basic block.If the basic block does not have a terminator (it is not well-formed if it doesn't), then
NULLis returned.The returned
LLVMValueRefcorresponds to anllvm::Instruction.
-
LLVMCountBasicBlocks
public static int LLVMCountBasicBlocks(long Fn)
Obtain the number of basic blocks in a function.- Parameters:
Fn- function value to operate on
-
nLLVMGetBasicBlocks
public static void nLLVMGetBasicBlocks(long Fn, long BasicBlocks)Unsafe version of:GetBasicBlocks
-
LLVMGetBasicBlocks
public static void LLVMGetBasicBlocks(long Fn, org.lwjgl.PointerBuffer BasicBlocks)Obtain all of the basic blocks in a function.This operates on a function value. The
BasicBlocksparameter is a pointer to a pre-allocated array ofLLVMBasicBlockRefof at leastCountBasicBlocksin length. This array is populated withLLVMBasicBlockRefinstances.
-
LLVMGetFirstBasicBlock
public static long LLVMGetFirstBasicBlock(long Fn)
Obtain the first basic block in a function.The returned basic block can be used as an iterator. You will likely eventually call into
GetNextBasicBlockwith it.
-
LLVMGetLastBasicBlock
public static long LLVMGetLastBasicBlock(long Fn)
Obtain the last basic block in a function.
-
LLVMGetNextBasicBlock
public static long LLVMGetNextBasicBlock(long BB)
Advance a basic block iterator.
-
LLVMGetPreviousBasicBlock
public static long LLVMGetPreviousBasicBlock(long BB)
Go backwards in a basic block iterator.
-
LLVMGetEntryBasicBlock
public static long LLVMGetEntryBasicBlock(long Fn)
Obtain the basic block that corresponds to the entry point of a function.
-
LLVMInsertExistingBasicBlockAfterInsertBlock
public static void LLVMInsertExistingBasicBlockAfterInsertBlock(long Builder, long BB)Insert the given basic block after the insertion point of the given builder.The insertion point must be valid.
See
llvm::Function::BasicBlockListType::insertAfter().- Since:
- 9
-
LLVMAppendExistingBasicBlock
public static void LLVMAppendExistingBasicBlock(long Fn, long BB)Append the given basic block to the basic block list of the given function.See
llvm::Function::BasicBlockListType::push_back()- Since:
- 9
-
nLLVMCreateBasicBlockInContext
public static long nLLVMCreateBasicBlockInContext(long C, long Name)Unsafe version of:CreateBasicBlockInContext
-
LLVMCreateBasicBlockInContext
public static long LLVMCreateBasicBlockInContext(long C, java.nio.ByteBuffer Name) public static long LLVMCreateBasicBlockInContext(long C, java.lang.CharSequence Name)Create a new basic block without inserting it into a function.- Since:
- 8.0
-
nLLVMAppendBasicBlockInContext
public static long nLLVMAppendBasicBlockInContext(long C, long Fn, long Name)Unsafe version of:AppendBasicBlockInContext
-
LLVMAppendBasicBlockInContext
public static long LLVMAppendBasicBlockInContext(long C, long Fn, java.nio.ByteBuffer Name) public static long LLVMAppendBasicBlockInContext(long C, long Fn, java.lang.CharSequence Name)Append a basic block to the end of a function.
-
nLLVMAppendBasicBlock
public static long nLLVMAppendBasicBlock(long Fn, long Name)Unsafe version of:AppendBasicBlock
-
LLVMAppendBasicBlock
public static long LLVMAppendBasicBlock(long Fn, java.nio.ByteBuffer Name) public static long LLVMAppendBasicBlock(long Fn, java.lang.CharSequence Name)Append a basic block to the end of a function using the global context.
-
nLLVMInsertBasicBlockInContext
public static long nLLVMInsertBasicBlockInContext(long C, long BB, long Name)Unsafe version of:InsertBasicBlockInContext
-
LLVMInsertBasicBlockInContext
public static long LLVMInsertBasicBlockInContext(long C, long BB, java.nio.ByteBuffer Name) public static long LLVMInsertBasicBlockInContext(long C, long BB, java.lang.CharSequence Name)Insert a basic block in a function before another basic block.The function to add to is determined by the function of the passed basic block.
-
nLLVMInsertBasicBlock
public static long nLLVMInsertBasicBlock(long InsertBeforeBB, long Name)Unsafe version of:InsertBasicBlock
-
LLVMInsertBasicBlock
public static long LLVMInsertBasicBlock(long InsertBeforeBB, java.nio.ByteBuffer Name) public static long LLVMInsertBasicBlock(long InsertBeforeBB, java.lang.CharSequence Name)Insert a basic block in a function using the global context.
-
LLVMDeleteBasicBlock
public static void LLVMDeleteBasicBlock(long BB)
Remove a basic block from a function and delete it.This deletes the basic block from its containing function and deletes the basic block itself.
-
LLVMRemoveBasicBlockFromParent
public static void LLVMRemoveBasicBlockFromParent(long BB)
Remove a basic block from a function.This deletes the basic block from its containing function but keep the basic block alive.
-
LLVMMoveBasicBlockBefore
public static void LLVMMoveBasicBlockBefore(long BB, long MovePos)Move a basic block to before another one.
-
LLVMMoveBasicBlockAfter
public static void LLVMMoveBasicBlockAfter(long BB, long MovePos)Move a basic block to after another one.
-
LLVMGetFirstInstruction
public static long LLVMGetFirstInstruction(long BB)
Obtain the first instruction in a basic block.The returned
LLVMValueRefcorresponds to allvm::Instructioninstance.
-
LLVMGetLastInstruction
public static long LLVMGetLastInstruction(long BB)
Obtain the last instruction in a basic block.The returned
LLVMValueRefcorresponds to anLLVM::Instruction.
-
LLVMHasMetadata
public static boolean LLVMHasMetadata(long Val)
Determine whether an instruction has any metadata attached.
-
LLVMGetMetadata
public static long LLVMGetMetadata(long Val, int KindID)Return metadata associated with an instruction value.
-
LLVMSetMetadata
public static void LLVMSetMetadata(long Val, int KindID, long Node)Set metadata associated with an instruction value.
-
nLLVMInstructionGetAllMetadataOtherThanDebugLoc
public static long nLLVMInstructionGetAllMetadataOtherThanDebugLoc(long Instr, long NumEntries)Unsafe version of:InstructionGetAllMetadataOtherThanDebugLoc
-
LLVMInstructionGetAllMetadataOtherThanDebugLoc
public static long LLVMInstructionGetAllMetadataOtherThanDebugLoc(long Instr, org.lwjgl.PointerBuffer NumEntries)Returns the metadata associated with an instruction value, but filters out all the debug locations.
-
LLVMGetInstructionParent
public static long LLVMGetInstructionParent(long Inst)
Obtain the basic block to which an instruction belongs.
-
LLVMGetNextInstruction
public static long LLVMGetNextInstruction(long Inst)
Obtain the instruction that occurs after the one specified.The next instruction will be from the same basic block.
If this is the last instruction in a basic block,
NULLwill be returned.
-
LLVMGetPreviousInstruction
public static long LLVMGetPreviousInstruction(long Inst)
Obtain the instruction that occurred before this one.If the instruction is the first instruction in a basic block,
NULLwill be returned.
-
LLVMInstructionRemoveFromParent
public static void LLVMInstructionRemoveFromParent(long Inst)
Remove and delete an instruction.The instruction specified is removed from its containing building block but is kept alive.
-
LLVMInstructionEraseFromParent
public static void LLVMInstructionEraseFromParent(long Inst)
Remove and delete an instruction.The instruction specified is removed from its containing building block and then deleted.
-
LLVMGetInstructionOpcode
public static int LLVMGetInstructionOpcode(long Inst)
Obtain the code opcode for an individual instruction.
-
LLVMGetICmpPredicate
public static int LLVMGetICmpPredicate(long Inst)
Obtain the predicate of an instruction.This is only valid for instructions that correspond to
llvm::ICmpInstorllvm::ConstantExprwhose opcode isllvm::Instruction::ICmp.
-
LLVMGetFCmpPredicate
public static int LLVMGetFCmpPredicate(long Inst)
Obtain the float predicate of an instruction.This is only valid for instructions that correspond to
llvm::FCmpInstorllvm::ConstantExprwhose opcode isllvm::Instruction::FCmp.
-
LLVMInstructionClone
public static long LLVMInstructionClone(long Inst)
Create a copy of 'this' instruction that is identical in all ways except the following:- The instruction has no parent
- The instruction has no name
-
LLVMIsATerminatorInst
public static long LLVMIsATerminatorInst(long Inst)
Determine whether an instruction is a terminator. This routine is named to be compatible with historical functions that did this by querying the underlying C++ type.
-
LLVMGetNumArgOperands
public static int LLVMGetNumArgOperands(long Instr)
Obtain the argument count for a call instruction.This expects an
LLVMValueRefthat corresponds to allvm::CallInst,llvm::InvokeInst, orllvm::FuncletPadInst.
-
LLVMSetInstructionCallConv
public static void LLVMSetInstructionCallConv(long Instr, int CC)Set the calling convention for a call instruction.This expects an
LLVMValueRefthat corresponds to allvm::CallInstorllvm::InvokeInst.
-
LLVMGetInstructionCallConv
public static int LLVMGetInstructionCallConv(long Instr)
Obtain the calling convention for a call instruction.This is the opposite of
SetInstructionCallConv. Reads its usage.
-
LLVMSetInstrParamAlignment
public static void LLVMSetInstrParamAlignment(long Instr, int index, int Align)
-
LLVMAddCallSiteAttribute
public static void LLVMAddCallSiteAttribute(long C, int Idx, long A)
-
LLVMGetCallSiteAttributeCount
public static int LLVMGetCallSiteAttributeCount(long C, int Idx)
-
nLLVMGetCallSiteAttributes
public static void nLLVMGetCallSiteAttributes(long C, int Idx, long Attrs)
-
LLVMGetCallSiteAttributes
public static void LLVMGetCallSiteAttributes(long C, int Idx, org.lwjgl.PointerBuffer Attrs)
-
LLVMGetCallSiteEnumAttribute
public static long LLVMGetCallSiteEnumAttribute(long C, int Idx, int KindID)
-
nLLVMGetCallSiteStringAttribute
public static long nLLVMGetCallSiteStringAttribute(long C, int Idx, long K, int KLen)
-
LLVMGetCallSiteStringAttribute
public static long LLVMGetCallSiteStringAttribute(long C, int Idx, java.nio.ByteBuffer K)
-
LLVMGetCallSiteStringAttribute
public static long LLVMGetCallSiteStringAttribute(long C, int Idx, java.lang.CharSequence K)
-
LLVMRemoveCallSiteEnumAttribute
public static void LLVMRemoveCallSiteEnumAttribute(long C, int Idx, int KindID)
-
nLLVMRemoveCallSiteStringAttribute
public static void nLLVMRemoveCallSiteStringAttribute(long C, int Idx, long K, int KLen)
-
LLVMRemoveCallSiteStringAttribute
public static void LLVMRemoveCallSiteStringAttribute(long C, int Idx, java.nio.ByteBuffer K)
-
LLVMRemoveCallSiteStringAttribute
public static void LLVMRemoveCallSiteStringAttribute(long C, int Idx, java.lang.CharSequence K)
-
LLVMGetCalledFunctionType
public static long LLVMGetCalledFunctionType(long C)
Obtain the function type called by this instruction.- Since:
- 8.0
-
LLVMGetCalledValue
public static long LLVMGetCalledValue(long Instr)
Obtain the pointer to the function invoked by this instruction.This expects an
LLVMValueRefthat corresponds to allvm::CallInstorllvm::InvokeInst.
-
LLVMIsTailCall
public static boolean LLVMIsTailCall(long CallInst)
Obtain whether a call instruction is a tail call.This only works on
llvm::CallInstinstructions.
-
LLVMSetTailCall
public static void LLVMSetTailCall(long CallInst, boolean IsTailCall)Set whether a call instruction is a tail call.This only works on
llvm::CallInstinstructions.
-
LLVMGetNormalDest
public static long LLVMGetNormalDest(long InvokeInst)
Return the normal destination basic block.This only works on
llvm::InvokeInstinstructions.
-
LLVMGetUnwindDest
public static long LLVMGetUnwindDest(long InvokeInst)
Return the unwind destination basic block.Works on
llvm::InvokeInst,llvm::CleanupReturnInst, andllvm::CatchSwitchInstinstructions.
-
LLVMSetNormalDest
public static void LLVMSetNormalDest(long InvokeInst, long B)Set the normal destination basic block.This only works on
llvm::InvokeInstinstructions.
-
LLVMSetUnwindDest
public static void LLVMSetUnwindDest(long InvokeInst, long B)Set the unwind destination basic block.Works on
llvm::InvokeInst,llvm::CleanupReturnInst, andllvm::CatchSwitchInstinstructions.
-
LLVMGetNumSuccessors
public static int LLVMGetNumSuccessors(long Term)
Return the number of successors that this terminator has.
-
LLVMGetSuccessor
public static long LLVMGetSuccessor(long Term, int i)Return the specified successor.
-
LLVMSetSuccessor
public static void LLVMSetSuccessor(long Term, int i, long block)Update the specified successor to point at the provided block.
-
LLVMIsConditional
public static boolean LLVMIsConditional(long Branch)
Return if a branch is conditional.This only works on
llvm::BranchInstinstructions.
-
LLVMGetCondition
public static long LLVMGetCondition(long Branch)
Return the condition of a branch instruction.This only works on
llvm::BranchInstinstructions.
-
LLVMSetCondition
public static void LLVMSetCondition(long Branch, long Cond)Set the condition of a branch instruction.This only works on
llvm::BranchInstinstructions.
-
LLVMGetSwitchDefaultDest
public static long LLVMGetSwitchDefaultDest(long SwitchInstr)
Obtain the default destination basic block of a switch instruction.This only works on
llvm::SwitchInstinstructions.
-
LLVMGetAllocatedType
public static long LLVMGetAllocatedType(long Alloca)
Obtain the type that is being allocated by theallocainstruction.
-
LLVMIsInBounds
public static boolean LLVMIsInBounds(long GEP)
Check whether the givenGEPinstruction is inbounds.
-
LLVMSetIsInBounds
public static void LLVMSetIsInBounds(long GEP, boolean InBounds)Set the givenGEPinstruction to be inbounds or not.
-
nLLVMAddIncoming
public static void nLLVMAddIncoming(long PhiNode, long IncomingValues, long IncomingBlocks, int Count)Unsafe version of:AddIncoming
-
LLVMAddIncoming
public static void LLVMAddIncoming(long PhiNode, org.lwjgl.PointerBuffer IncomingValues, org.lwjgl.PointerBuffer IncomingBlocks)Add an incoming value to the end of a PHI list.
-
LLVMCountIncoming
public static int LLVMCountIncoming(long PhiNode)
Obtain the number of incoming basic blocks to a PHI node.
-
LLVMGetIncomingValue
public static long LLVMGetIncomingValue(long PhiNode, int Index)Obtain an incoming value to a PHI node as anLLVMValueRef.
-
LLVMGetIncomingBlock
public static long LLVMGetIncomingBlock(long PhiNode, int Index)Obtain an incoming value to a PHI node as anLLVMBasicBlockRef.
-
LLVMGetNumIndices
public static int LLVMGetNumIndices(long Inst)
Obtain the number of indices. NB: This also works onGEP.
-
nLLVMGetIndices
public static long nLLVMGetIndices(long Inst)
Unsafe version of:GetIndices
-
LLVMGetIndices
public static java.nio.IntBuffer LLVMGetIndices(long Inst, int Count)Obtain the indices as an array.- Parameters:
Count- LWJGL: virtual parameter, should passGetNumIndices
-
LLVMCreateBuilderInContext
public static long LLVMCreateBuilderInContext(long C)
-
LLVMCreateBuilder
public static long LLVMCreateBuilder()
-
LLVMPositionBuilder
public static void LLVMPositionBuilder(long Builder, long Block, long Instr)
-
LLVMPositionBuilderBefore
public static void LLVMPositionBuilderBefore(long Builder, long Instr)
-
LLVMPositionBuilderAtEnd
public static void LLVMPositionBuilderAtEnd(long Builder, long Block)
-
LLVMGetInsertBlock
public static long LLVMGetInsertBlock(long Builder)
-
LLVMClearInsertionPosition
public static void LLVMClearInsertionPosition(long Builder)
-
LLVMInsertIntoBuilder
public static void LLVMInsertIntoBuilder(long Builder, long Instr)
-
nLLVMInsertIntoBuilderWithName
public static void nLLVMInsertIntoBuilderWithName(long Builder, long Instr, long Name)
-
LLVMInsertIntoBuilderWithName
public static void LLVMInsertIntoBuilderWithName(long Builder, long Instr, java.nio.ByteBuffer Name)
-
LLVMInsertIntoBuilderWithName
public static void LLVMInsertIntoBuilderWithName(long Builder, long Instr, java.lang.CharSequence Name)
-
LLVMDisposeBuilder
public static void LLVMDisposeBuilder(long Builder)
-
LLVMGetCurrentDebugLocation2
public static long LLVMGetCurrentDebugLocation2(long Builder)
Get location information used by debugging information.See
llvm::IRBuilder::getCurrentDebugLocation().- Since:
- 9
-
LLVMSetCurrentDebugLocation2
public static void LLVMSetCurrentDebugLocation2(long Builder, long Loc)Set location information used by debugging information.To clear the location metadata of the given instruction, pass
NULLtoLoc.See
llvm::IRBuilder::SetCurrentDebugLocation().- Since:
- 9
-
LLVMSetInstDebugLocation
public static void LLVMSetInstDebugLocation(long Builder, long Inst)Attempts to set the debug location for the given instruction using the current debug location for the given builder. If the builder has no current debug location, this function is a no-op.See
llvm::IRBuilder::SetInstDebugLocation().- Since:
- 9
-
LLVMBuilderGetDefaultFPMathTag
public static long LLVMBuilderGetDefaultFPMathTag(long Builder)
Get the default floating-point math metadata for a given builder.See
llvm::IRBuilder::getDefaultFPMathTag()- Since:
- 9
-
LLVMBuilderSetDefaultFPMathTag
public static void LLVMBuilderSetDefaultFPMathTag(long Builder, long FPMathTag)Set the default floating-point math metadata for the given builder.To clear the metadata, pass
NULLtoFPMathTag.See
llvm::IRBuilder::setDefaultFPMathTag().- Since:
- 9
-
LLVMSetCurrentDebugLocation
public static void LLVMSetCurrentDebugLocation(long Builder, long L)Deprecated: Passing theNULLlocation will crash. UseSetCurrentDebugLocation2instead.
-
LLVMGetCurrentDebugLocation
public static long LLVMGetCurrentDebugLocation(long Builder)
Deprecated: Returning theNULLlocation will crash. UseGetCurrentDebugLocation2instead.
-
LLVMBuildRetVoid
public static long LLVMBuildRetVoid(long Builder)
Terminators
-
LLVMBuildRet
public static long LLVMBuildRet(long Builder, long V)
-
nLLVMBuildAggregateRet
public static long nLLVMBuildAggregateRet(long Builder, long RetVals, int N)
-
LLVMBuildAggregateRet
public static long LLVMBuildAggregateRet(long Builder, org.lwjgl.PointerBuffer RetVals)
-
LLVMBuildBr
public static long LLVMBuildBr(long Builder, long Dest)
-
LLVMBuildCondBr
public static long LLVMBuildCondBr(long Builder, long If, long Then, long Else)
-
LLVMBuildSwitch
public static long LLVMBuildSwitch(long Builder, long V, long Else, int NumCases)
-
LLVMBuildIndirectBr
public static long LLVMBuildIndirectBr(long B, long Addr, int NumDests)
-
nLLVMBuildInvoke
public static long nLLVMBuildInvoke(long Builder, long Fn, long Args, int NumArgs, long Then, long Catch, long Name)
-
LLVMBuildInvoke
public static long LLVMBuildInvoke(long Builder, long Fn, org.lwjgl.PointerBuffer Args, long Then, long Catch, java.nio.ByteBuffer Name)
-
LLVMBuildInvoke
public static long LLVMBuildInvoke(long Builder, long Fn, org.lwjgl.PointerBuffer Args, long Then, long Catch, java.lang.CharSequence Name)
-
nLLVMBuildInvoke2
public static long nLLVMBuildInvoke2(long Builder, long Ty, long Fn, long Args, int NumArgs, long Then, long Catch, long Name)Unsafe version of:BuildInvoke2
-
LLVMBuildInvoke2
public static long LLVMBuildInvoke2(long Builder, long Ty, long Fn, org.lwjgl.PointerBuffer Args, long Then, long Catch, java.nio.ByteBuffer Name) public static long LLVMBuildInvoke2(long Builder, long Ty, long Fn, org.lwjgl.PointerBuffer Args, long Then, long Catch, java.lang.CharSequence Name)- Since:
- 8.0
-
LLVMBuildUnreachable
public static long LLVMBuildUnreachable(long Builder)
-
LLVMBuildResume
public static long LLVMBuildResume(long B, long Exn)Exception Handling
-
nLLVMBuildLandingPad
public static long nLLVMBuildLandingPad(long B, long Ty, long PersFn, int NumClauses, long Name)
-
LLVMBuildLandingPad
public static long LLVMBuildLandingPad(long B, long Ty, long PersFn, int NumClauses, java.nio.ByteBuffer Name)
-
LLVMBuildLandingPad
public static long LLVMBuildLandingPad(long B, long Ty, long PersFn, int NumClauses, java.lang.CharSequence Name)
-
LLVMBuildCleanupRet
public static long LLVMBuildCleanupRet(long B, long CatchPad, long BB)
-
LLVMBuildCatchRet
public static long LLVMBuildCatchRet(long B, long CatchPad, long BB)
-
nLLVMBuildCatchPad
public static long nLLVMBuildCatchPad(long B, long ParentPad, long Args, int NumArgs, long Name)
-
LLVMBuildCatchPad
public static long LLVMBuildCatchPad(long B, long ParentPad, org.lwjgl.PointerBuffer Args, java.nio.ByteBuffer Name)
-
LLVMBuildCatchPad
public static long LLVMBuildCatchPad(long B, long ParentPad, org.lwjgl.PointerBuffer Args, java.lang.CharSequence Name)
-
nLLVMBuildCleanupPad
public static long nLLVMBuildCleanupPad(long B, long ParentPad, long Args, int NumArgs, long Name)
-
LLVMBuildCleanupPad
public static long LLVMBuildCleanupPad(long B, long ParentPad, org.lwjgl.PointerBuffer Args, java.nio.ByteBuffer Name)
-
LLVMBuildCleanupPad
public static long LLVMBuildCleanupPad(long B, long ParentPad, org.lwjgl.PointerBuffer Args, java.lang.CharSequence Name)
-
nLLVMBuildCatchSwitch
public static long nLLVMBuildCatchSwitch(long B, long ParentPad, long UnwindBB, int NumHandlers, long Name)
-
LLVMBuildCatchSwitch
public static long LLVMBuildCatchSwitch(long B, long ParentPad, long UnwindBB, int NumHandlers, java.nio.ByteBuffer Name)
-
LLVMBuildCatchSwitch
public static long LLVMBuildCatchSwitch(long B, long ParentPad, long UnwindBB, int NumHandlers, java.lang.CharSequence Name)
-
LLVMAddCase
public static void LLVMAddCase(long Switch, long OnVal, long Dest)Add a case to theswitchinstruction
-
LLVMAddDestination
public static void LLVMAddDestination(long IndirectBr, long Dest)Add a destination to theindirectbrinstruction
-
LLVMGetNumClauses
public static int LLVMGetNumClauses(long LandingPad)
Get the number of clauses on thelandingpadinstruction
-
LLVMGetClause
public static long LLVMGetClause(long LandingPad, int Idx)Get the value of the clause at indexIdxon thelandingpadinstruction
-
LLVMAddClause
public static void LLVMAddClause(long LandingPad, long ClauseVal)Add acatchorfilterclause to thelandingpadinstruction
-
LLVMIsCleanup
public static boolean LLVMIsCleanup(long LandingPad)
Get the 'cleanup' flag in thelandingpadinstruction
-
LLVMSetCleanup
public static void LLVMSetCleanup(long LandingPad, boolean Val)Set the 'cleanup' flag in thelandingpadinstruction
-
LLVMAddHandler
public static void LLVMAddHandler(long CatchSwitch, long Dest)Add a destination to thecatchswitchinstruction
-
LLVMGetNumHandlers
public static int LLVMGetNumHandlers(long CatchSwitch)
Get the number of handlers on thecatchswitchinstruction
-
nLLVMGetHandlers
public static void nLLVMGetHandlers(long CatchSwitch, long Handlers)Unsafe version of:GetHandlers
-
LLVMGetHandlers
public static void LLVMGetHandlers(long CatchSwitch, org.lwjgl.PointerBuffer Handlers)Obtain the basic blocks acting as handlers for acatchswitchinstruction.The
Handlersparameter should point to a pre-allocated array ofLLVMBasicBlockRefsat leastGetNumHandlerslarge. On return, the firstLLVMGetNumHandlers()entries in the array will be populated withLLVMBasicBlockRefinstances.- Parameters:
CatchSwitch- thecatchswitchinstruction to operate onHandlers- memory address of an array to be filled with basic blocks
-
LLVMGetArgOperand
public static long LLVMGetArgOperand(long Funclet, int i)Get the number offuncletpadarguments.
-
LLVMSetArgOperand
public static void LLVMSetArgOperand(long Funclet, int i, long value)Set afuncletpadargument at the given index.
-
LLVMGetParentCatchSwitch
public static long LLVMGetParentCatchSwitch(long CatchPad)
Get the parentcatchswitchinstruction of acatchpadinstruction.This only works on
llvm::CatchPadInstinstructions.
-
LLVMSetParentCatchSwitch
public static void LLVMSetParentCatchSwitch(long CatchPad, long CatchSwitch)Set the parentcatchswitchinstruction of acatchpadinstruction.This only works on
llvm::CatchPadInstinstructions.
-
nLLVMBuildAdd
public static long nLLVMBuildAdd(long Builder, long LHS, long RHS, long Name)Unsafe version of:BuildAdd
-
LLVMBuildAdd
public static long LLVMBuildAdd(long Builder, long LHS, long RHS, java.nio.ByteBuffer Name) public static long LLVMBuildAdd(long Builder, long LHS, long RHS, java.lang.CharSequence Name)Arithmetic
-
nLLVMBuildNSWAdd
public static long nLLVMBuildNSWAdd(long Builder, long LHS, long RHS, long Name)
-
LLVMBuildNSWAdd
public static long LLVMBuildNSWAdd(long Builder, long LHS, long RHS, java.nio.ByteBuffer Name)
-
LLVMBuildNSWAdd
public static long LLVMBuildNSWAdd(long Builder, long LHS, long RHS, java.lang.CharSequence Name)
-
nLLVMBuildNUWAdd
public static long nLLVMBuildNUWAdd(long Builder, long LHS, long RHS, long Name)
-
LLVMBuildNUWAdd
public static long LLVMBuildNUWAdd(long Builder, long LHS, long RHS, java.nio.ByteBuffer Name)
-
LLVMBuildNUWAdd
public static long LLVMBuildNUWAdd(long Builder, long LHS, long RHS, java.lang.CharSequence Name)
-
nLLVMBuildFAdd
public static long nLLVMBuildFAdd(long Builder, long LHS, long RHS, long Name)
-
LLVMBuildFAdd
public static long LLVMBuildFAdd(long Builder, long LHS, long RHS, java.nio.ByteBuffer Name)
-
LLVMBuildFAdd
public static long LLVMBuildFAdd(long Builder, long LHS, long RHS, java.lang.CharSequence Name)
-
nLLVMBuildSub
public static long nLLVMBuildSub(long Builder, long LHS, long RHS, long Name)
-
LLVMBuildSub
public static long LLVMBuildSub(long Builder, long LHS, long RHS, java.nio.ByteBuffer Name)
-
LLVMBuildSub
public static long LLVMBuildSub(long Builder, long LHS, long RHS, java.lang.CharSequence Name)
-
nLLVMBuildNSWSub
public static long nLLVMBuildNSWSub(long Builder, long LHS, long RHS, long Name)
-
LLVMBuildNSWSub
public static long LLVMBuildNSWSub(long Builder, long LHS, long RHS, java.nio.ByteBuffer Name)
-
LLVMBuildNSWSub
public static long LLVMBuildNSWSub(long Builder, long LHS, long RHS, java.lang.CharSequence Name)
-
nLLVMBuildNUWSub
public static long nLLVMBuildNUWSub(long Builder, long LHS, long RHS, long Name)
-
LLVMBuildNUWSub
public static long LLVMBuildNUWSub(long Builder, long LHS, long RHS, java.nio.ByteBuffer Name)
-
LLVMBuildNUWSub
public static long LLVMBuildNUWSub(long Builder, long LHS, long RHS, java.lang.CharSequence Name)
-
nLLVMBuildFSub
public static long nLLVMBuildFSub(long Builder, long LHS, long RHS, long Name)
-
LLVMBuildFSub
public static long LLVMBuildFSub(long Builder, long LHS, long RHS, java.nio.ByteBuffer Name)
-
LLVMBuildFSub
public static long LLVMBuildFSub(long Builder, long LHS, long RHS, java.lang.CharSequence Name)
-
nLLVMBuildMul
public static long nLLVMBuildMul(long Builder, long LHS, long RHS, long Name)
-
LLVMBuildMul
public static long LLVMBuildMul(long Builder, long LHS, long RHS, java.nio.ByteBuffer Name)
-
LLVMBuildMul
public static long LLVMBuildMul(long Builder, long LHS, long RHS, java.lang.CharSequence Name)
-
nLLVMBuildNSWMul
public static long nLLVMBuildNSWMul(long Builder, long LHS, long RHS, long Name)
-
LLVMBuildNSWMul
public static long LLVMBuildNSWMul(long Builder, long LHS, long RHS, java.nio.ByteBuffer Name)
-
LLVMBuildNSWMul
public static long LLVMBuildNSWMul(long Builder, long LHS, long RHS, java.lang.CharSequence Name)
-
nLLVMBuildNUWMul
public static long nLLVMBuildNUWMul(long Builder, long LHS, long RHS, long Name)
-
LLVMBuildNUWMul
public static long LLVMBuildNUWMul(long Builder, long LHS, long RHS, java.nio.ByteBuffer Name)
-
LLVMBuildNUWMul
public static long LLVMBuildNUWMul(long Builder, long LHS, long RHS, java.lang.CharSequence Name)
-
nLLVMBuildFMul
public static long nLLVMBuildFMul(long Builder, long LHS, long RHS, long Name)
-
LLVMBuildFMul
public static long LLVMBuildFMul(long Builder, long LHS, long RHS, java.nio.ByteBuffer Name)
-
LLVMBuildFMul
public static long LLVMBuildFMul(long Builder, long LHS, long RHS, java.lang.CharSequence Name)
-
nLLVMBuildUDiv
public static long nLLVMBuildUDiv(long Builder, long LHS, long RHS, long Name)
-
LLVMBuildUDiv
public static long LLVMBuildUDiv(long Builder, long LHS, long RHS, java.nio.ByteBuffer Name)
-
LLVMBuildUDiv
public static long LLVMBuildUDiv(long Builder, long LHS, long RHS, java.lang.CharSequence Name)
-
nLLVMBuildExactUDiv
public static long nLLVMBuildExactUDiv(long Builder, long LHS, long RHS, long Name)
-
LLVMBuildExactUDiv
public static long LLVMBuildExactUDiv(long Builder, long LHS, long RHS, java.nio.ByteBuffer Name)
-
LLVMBuildExactUDiv
public static long LLVMBuildExactUDiv(long Builder, long LHS, long RHS, java.lang.CharSequence Name)
-
nLLVMBuildSDiv
public static long nLLVMBuildSDiv(long Builder, long LHS, long RHS, long Name)
-
LLVMBuildSDiv
public static long LLVMBuildSDiv(long Builder, long LHS, long RHS, java.nio.ByteBuffer Name)
-
LLVMBuildSDiv
public static long LLVMBuildSDiv(long Builder, long LHS, long RHS, java.lang.CharSequence Name)
-
nLLVMBuildExactSDiv
public static long nLLVMBuildExactSDiv(long Builder, long LHS, long RHS, long Name)
-
LLVMBuildExactSDiv
public static long LLVMBuildExactSDiv(long Builder, long LHS, long RHS, java.nio.ByteBuffer Name)
-
LLVMBuildExactSDiv
public static long LLVMBuildExactSDiv(long Builder, long LHS, long RHS, java.lang.CharSequence Name)
-
nLLVMBuildFDiv
public static long nLLVMBuildFDiv(long Builder, long LHS, long RHS, long Name)
-
LLVMBuildFDiv
public static long LLVMBuildFDiv(long Builder, long LHS, long RHS, java.nio.ByteBuffer Name)
-
LLVMBuildFDiv
public static long LLVMBuildFDiv(long Builder, long LHS, long RHS, java.lang.CharSequence Name)
-
nLLVMBuildURem
public static long nLLVMBuildURem(long Builder, long LHS, long RHS, long Name)
-
LLVMBuildURem
public static long LLVMBuildURem(long Builder, long LHS, long RHS, java.nio.ByteBuffer Name)
-
LLVMBuildURem
public static long LLVMBuildURem(long Builder, long LHS, long RHS, java.lang.CharSequence Name)
-
nLLVMBuildSRem
public static long nLLVMBuildSRem(long Builder, long LHS, long RHS, long Name)
-
LLVMBuildSRem
public static long LLVMBuildSRem(long Builder, long LHS, long RHS, java.nio.ByteBuffer Name)
-
LLVMBuildSRem
public static long LLVMBuildSRem(long Builder, long LHS, long RHS, java.lang.CharSequence Name)
-
nLLVMBuildFRem
public static long nLLVMBuildFRem(long Builder, long LHS, long RHS, long Name)
-
LLVMBuildFRem
public static long LLVMBuildFRem(long Builder, long LHS, long RHS, java.nio.ByteBuffer Name)
-
LLVMBuildFRem
public static long LLVMBuildFRem(long Builder, long LHS, long RHS, java.lang.CharSequence Name)
-
nLLVMBuildShl
public static long nLLVMBuildShl(long Builder, long LHS, long RHS, long Name)
-
LLVMBuildShl
public static long LLVMBuildShl(long Builder, long LHS, long RHS, java.nio.ByteBuffer Name)
-
LLVMBuildShl
public static long LLVMBuildShl(long Builder, long LHS, long RHS, java.lang.CharSequence Name)
-
nLLVMBuildLShr
public static long nLLVMBuildLShr(long Builder, long LHS, long RHS, long Name)
-
LLVMBuildLShr
public static long LLVMBuildLShr(long Builder, long LHS, long RHS, java.nio.ByteBuffer Name)
-
LLVMBuildLShr
public static long LLVMBuildLShr(long Builder, long LHS, long RHS, java.lang.CharSequence Name)
-
nLLVMBuildAShr
public static long nLLVMBuildAShr(long Builder, long LHS, long RHS, long Name)
-
LLVMBuildAShr
public static long LLVMBuildAShr(long Builder, long LHS, long RHS, java.nio.ByteBuffer Name)
-
LLVMBuildAShr
public static long LLVMBuildAShr(long Builder, long LHS, long RHS, java.lang.CharSequence Name)
-
nLLVMBuildAnd
public static long nLLVMBuildAnd(long Builder, long LHS, long RHS, long Name)
-
LLVMBuildAnd
public static long LLVMBuildAnd(long Builder, long LHS, long RHS, java.nio.ByteBuffer Name)
-
LLVMBuildAnd
public static long LLVMBuildAnd(long Builder, long LHS, long RHS, java.lang.CharSequence Name)
-
nLLVMBuildOr
public static long nLLVMBuildOr(long Builder, long LHS, long RHS, long Name)
-
LLVMBuildOr
public static long LLVMBuildOr(long Builder, long LHS, long RHS, java.nio.ByteBuffer Name)
-
LLVMBuildOr
public static long LLVMBuildOr(long Builder, long LHS, long RHS, java.lang.CharSequence Name)
-
nLLVMBuildXor
public static long nLLVMBuildXor(long Builder, long LHS, long RHS, long Name)
-
LLVMBuildXor
public static long LLVMBuildXor(long Builder, long LHS, long RHS, java.nio.ByteBuffer Name)
-
LLVMBuildXor
public static long LLVMBuildXor(long Builder, long LHS, long RHS, java.lang.CharSequence Name)
-
nLLVMBuildBinOp
public static long nLLVMBuildBinOp(long B, int Op, long LHS, long RHS, long Name)
-
LLVMBuildBinOp
public static long LLVMBuildBinOp(long B, int Op, long LHS, long RHS, java.nio.ByteBuffer Name)
-
LLVMBuildBinOp
public static long LLVMBuildBinOp(long B, int Op, long LHS, long RHS, java.lang.CharSequence Name)
-
nLLVMBuildNeg
public static long nLLVMBuildNeg(long Builder, long V, long Name)
-
LLVMBuildNeg
public static long LLVMBuildNeg(long Builder, long V, java.nio.ByteBuffer Name)
-
LLVMBuildNeg
public static long LLVMBuildNeg(long Builder, long V, java.lang.CharSequence Name)
-
nLLVMBuildNSWNeg
public static long nLLVMBuildNSWNeg(long B, long V, long Name)
-
LLVMBuildNSWNeg
public static long LLVMBuildNSWNeg(long B, long V, java.nio.ByteBuffer Name)
-
LLVMBuildNSWNeg
public static long LLVMBuildNSWNeg(long B, long V, java.lang.CharSequence Name)
-
nLLVMBuildNUWNeg
public static long nLLVMBuildNUWNeg(long B, long V, long Name)
-
LLVMBuildNUWNeg
public static long LLVMBuildNUWNeg(long B, long V, java.nio.ByteBuffer Name)
-
LLVMBuildNUWNeg
public static long LLVMBuildNUWNeg(long B, long V, java.lang.CharSequence Name)
-
nLLVMBuildFNeg
public static long nLLVMBuildFNeg(long Builder, long V, long Name)
-
LLVMBuildFNeg
public static long LLVMBuildFNeg(long Builder, long V, java.nio.ByteBuffer Name)
-
LLVMBuildFNeg
public static long LLVMBuildFNeg(long Builder, long V, java.lang.CharSequence Name)
-
nLLVMBuildNot
public static long nLLVMBuildNot(long Builder, long V, long Name)
-
LLVMBuildNot
public static long LLVMBuildNot(long Builder, long V, java.nio.ByteBuffer Name)
-
LLVMBuildNot
public static long LLVMBuildNot(long Builder, long V, java.lang.CharSequence Name)
-
nLLVMBuildMalloc
public static long nLLVMBuildMalloc(long Builder, long Ty, long Name)Unsafe version of:BuildMalloc
-
LLVMBuildMalloc
public static long LLVMBuildMalloc(long Builder, long Ty, java.nio.ByteBuffer Name) public static long LLVMBuildMalloc(long Builder, long Ty, java.lang.CharSequence Name)Memory
-
nLLVMBuildArrayMalloc
public static long nLLVMBuildArrayMalloc(long Builder, long Ty, long Val, long Name)
-
LLVMBuildArrayMalloc
public static long LLVMBuildArrayMalloc(long Builder, long Ty, long Val, java.nio.ByteBuffer Name)
-
LLVMBuildArrayMalloc
public static long LLVMBuildArrayMalloc(long Builder, long Ty, long Val, java.lang.CharSequence Name)
-
LLVMBuildMemSet
public static long LLVMBuildMemSet(long B, long Ptr, long Val, long Len, int Align)Creates and inserts a memset to the specified pointer and the specified value.- Since:
- 8.0
-
LLVMBuildMemCpy
public static long LLVMBuildMemCpy(long B, long Dst, int DstAlign, long Src, int SrcAlign, long Size)Creates and inserts a memcpy between the specified pointers.- Since:
- 8.0
-
LLVMBuildMemMove
public static long LLVMBuildMemMove(long B, long Dst, int DstAlign, long Src, int SrcAlign, long Size)Creates and inserts a memmove between the specified pointers.- Since:
- 8.0
-
nLLVMBuildAlloca
public static long nLLVMBuildAlloca(long Builder, long Ty, long Name)
-
LLVMBuildAlloca
public static long LLVMBuildAlloca(long Builder, long Ty, java.nio.ByteBuffer Name)
-
LLVMBuildAlloca
public static long LLVMBuildAlloca(long Builder, long Ty, java.lang.CharSequence Name)
-
nLLVMBuildArrayAlloca
public static long nLLVMBuildArrayAlloca(long Builder, long Ty, long Val, long Name)
-
LLVMBuildArrayAlloca
public static long LLVMBuildArrayAlloca(long Builder, long Ty, long Val, java.nio.ByteBuffer Name)
-
LLVMBuildArrayAlloca
public static long LLVMBuildArrayAlloca(long Builder, long Ty, long Val, java.lang.CharSequence Name)
-
LLVMBuildFree
public static long LLVMBuildFree(long Builder, long PointerVal)
-
nLLVMBuildLoad
public static long nLLVMBuildLoad(long Builder, long PointerVal, long Name)
-
LLVMBuildLoad
public static long LLVMBuildLoad(long Builder, long PointerVal, java.nio.ByteBuffer Name)
-
LLVMBuildLoad
public static long LLVMBuildLoad(long Builder, long PointerVal, java.lang.CharSequence Name)
-
nLLVMBuildLoad2
public static long nLLVMBuildLoad2(long Builder, long Ty, long PointerVal, long Name)Unsafe version of:BuildLoad2
-
LLVMBuildLoad2
public static long LLVMBuildLoad2(long Builder, long Ty, long PointerVal, java.nio.ByteBuffer Name) public static long LLVMBuildLoad2(long Builder, long Ty, long PointerVal, java.lang.CharSequence Name)- Since:
- 8.0
-
LLVMBuildStore
public static long LLVMBuildStore(long Builder, long Val, long Ptr)
-
nLLVMBuildGEP
public static long nLLVMBuildGEP(long B, long Pointer, long Indices, int NumIndices, long Name)
-
LLVMBuildGEP
public static long LLVMBuildGEP(long B, long Pointer, org.lwjgl.PointerBuffer Indices, java.nio.ByteBuffer Name)
-
LLVMBuildGEP
public static long LLVMBuildGEP(long B, long Pointer, org.lwjgl.PointerBuffer Indices, java.lang.CharSequence Name)
-
nLLVMBuildInBoundsGEP
public static long nLLVMBuildInBoundsGEP(long B, long Pointer, long Indices, int NumIndices, long Name)
-
LLVMBuildInBoundsGEP
public static long LLVMBuildInBoundsGEP(long B, long Pointer, org.lwjgl.PointerBuffer Indices, java.nio.ByteBuffer Name)
-
LLVMBuildInBoundsGEP
public static long LLVMBuildInBoundsGEP(long B, long Pointer, org.lwjgl.PointerBuffer Indices, java.lang.CharSequence Name)
-
nLLVMBuildStructGEP
public static long nLLVMBuildStructGEP(long B, long Pointer, int Idx, long Name)
-
LLVMBuildStructGEP
public static long LLVMBuildStructGEP(long B, long Pointer, int Idx, java.nio.ByteBuffer Name)
-
LLVMBuildStructGEP
public static long LLVMBuildStructGEP(long B, long Pointer, int Idx, java.lang.CharSequence Name)
-
nLLVMBuildGEP2
public static long nLLVMBuildGEP2(long B, long Ty, long Pointer, long Indices, int NumIndices, long Name)Unsafe version of:BuildGEP2
-
LLVMBuildGEP2
public static long LLVMBuildGEP2(long B, long Ty, long Pointer, org.lwjgl.PointerBuffer Indices, java.nio.ByteBuffer Name) public static long LLVMBuildGEP2(long B, long Ty, long Pointer, org.lwjgl.PointerBuffer Indices, java.lang.CharSequence Name)- Since:
- 8.0
-
nLLVMBuildInBoundsGEP2
public static long nLLVMBuildInBoundsGEP2(long B, long Ty, long Pointer, long Indices, int NumIndices, long Name)Unsafe version of:BuildInBoundsGEP2
-
LLVMBuildInBoundsGEP2
public static long LLVMBuildInBoundsGEP2(long B, long Ty, long Pointer, org.lwjgl.PointerBuffer Indices, java.nio.ByteBuffer Name) public static long LLVMBuildInBoundsGEP2(long B, long Ty, long Pointer, org.lwjgl.PointerBuffer Indices, java.lang.CharSequence Name)- Since:
- 8.0
-
nLLVMBuildStructGEP2
public static long nLLVMBuildStructGEP2(long B, long Ty, long Pointer, int Idx, long Name)Unsafe version of:BuildStructGEP2
-
LLVMBuildStructGEP2
public static long LLVMBuildStructGEP2(long B, long Ty, long Pointer, int Idx, java.nio.ByteBuffer Name) public static long LLVMBuildStructGEP2(long B, long Ty, long Pointer, int Idx, java.lang.CharSequence Name)- Since:
- 8.0
-
nLLVMBuildGlobalString
public static long nLLVMBuildGlobalString(long B, long Str, long Name)
-
LLVMBuildGlobalString
public static long LLVMBuildGlobalString(long B, java.nio.ByteBuffer Str, java.nio.ByteBuffer Name)
-
LLVMBuildGlobalString
public static long LLVMBuildGlobalString(long B, java.lang.CharSequence Str, java.lang.CharSequence Name)
-
nLLVMBuildGlobalStringPtr
public static long nLLVMBuildGlobalStringPtr(long B, long Str, long Name)
-
LLVMBuildGlobalStringPtr
public static long LLVMBuildGlobalStringPtr(long B, java.nio.ByteBuffer Str, java.nio.ByteBuffer Name)
-
LLVMBuildGlobalStringPtr
public static long LLVMBuildGlobalStringPtr(long B, java.lang.CharSequence Str, java.lang.CharSequence Name)
-
LLVMGetVolatile
public static boolean LLVMGetVolatile(long MemoryAccessInst)
-
LLVMSetVolatile
public static void LLVMSetVolatile(long MemoryAccessInst, boolean IsVolatile)
-
LLVMGetWeak, LLVMSetWeak
public static boolean LLVMGetWeak(long CmpXchgInst) public static void LLVMSetWeak(long CmpXchgInst, boolean IsWeak)- Since:
- 10
-
LLVMGetOrdering
public static int LLVMGetOrdering(long MemoryAccessInst)
-
LLVMSetOrdering
public static void LLVMSetOrdering(long MemoryAccessInst, int Ordering)
-
LLVMGetAtomicRMWBinOp, LLVMSetAtomicRMWBinOp
public static int LLVMGetAtomicRMWBinOp(long AtomicRMWInst) public static void LLVMSetAtomicRMWBinOp(long AtomicRMWInst, int BinOp)- Since:
- 10
-
nLLVMBuildTrunc
public static long nLLVMBuildTrunc(long Builder, long Val, long DestTy, long Name)Unsafe version of:BuildTrunc
-
LLVMBuildTrunc
public static long LLVMBuildTrunc(long Builder, long Val, long DestTy, java.nio.ByteBuffer Name) public static long LLVMBuildTrunc(long Builder, long Val, long DestTy, java.lang.CharSequence Name)Casts
-
nLLVMBuildZExt
public static long nLLVMBuildZExt(long Builder, long Val, long DestTy, long Name)
-
LLVMBuildZExt
public static long LLVMBuildZExt(long Builder, long Val, long DestTy, java.nio.ByteBuffer Name)
-
LLVMBuildZExt
public static long LLVMBuildZExt(long Builder, long Val, long DestTy, java.lang.CharSequence Name)
-
nLLVMBuildSExt
public static long nLLVMBuildSExt(long Builder, long Val, long DestTy, long Name)
-
LLVMBuildSExt
public static long LLVMBuildSExt(long Builder, long Val, long DestTy, java.nio.ByteBuffer Name)
-
LLVMBuildSExt
public static long LLVMBuildSExt(long Builder, long Val, long DestTy, java.lang.CharSequence Name)
-
nLLVMBuildFPToUI
public static long nLLVMBuildFPToUI(long Builder, long Val, long DestTy, long Name)
-
LLVMBuildFPToUI
public static long LLVMBuildFPToUI(long Builder, long Val, long DestTy, java.nio.ByteBuffer Name)
-
LLVMBuildFPToUI
public static long LLVMBuildFPToUI(long Builder, long Val, long DestTy, java.lang.CharSequence Name)
-
nLLVMBuildFPToSI
public static long nLLVMBuildFPToSI(long Builder, long Val, long DestTy, long Name)
-
LLVMBuildFPToSI
public static long LLVMBuildFPToSI(long Builder, long Val, long DestTy, java.nio.ByteBuffer Name)
-
LLVMBuildFPToSI
public static long LLVMBuildFPToSI(long Builder, long Val, long DestTy, java.lang.CharSequence Name)
-
nLLVMBuildUIToFP
public static long nLLVMBuildUIToFP(long Builder, long Val, long DestTy, long Name)
-
LLVMBuildUIToFP
public static long LLVMBuildUIToFP(long Builder, long Val, long DestTy, java.nio.ByteBuffer Name)
-
LLVMBuildUIToFP
public static long LLVMBuildUIToFP(long Builder, long Val, long DestTy, java.lang.CharSequence Name)
-
nLLVMBuildSIToFP
public static long nLLVMBuildSIToFP(long Builder, long Val, long DestTy, long Name)
-
LLVMBuildSIToFP
public static long LLVMBuildSIToFP(long Builder, long Val, long DestTy, java.nio.ByteBuffer Name)
-
LLVMBuildSIToFP
public static long LLVMBuildSIToFP(long Builder, long Val, long DestTy, java.lang.CharSequence Name)
-
nLLVMBuildFPTrunc
public static long nLLVMBuildFPTrunc(long Builder, long Val, long DestTy, long Name)
-
LLVMBuildFPTrunc
public static long LLVMBuildFPTrunc(long Builder, long Val, long DestTy, java.nio.ByteBuffer Name)
-
LLVMBuildFPTrunc
public static long LLVMBuildFPTrunc(long Builder, long Val, long DestTy, java.lang.CharSequence Name)
-
nLLVMBuildFPExt
public static long nLLVMBuildFPExt(long Builder, long Val, long DestTy, long Name)
-
LLVMBuildFPExt
public static long LLVMBuildFPExt(long Builder, long Val, long DestTy, java.nio.ByteBuffer Name)
-
LLVMBuildFPExt
public static long LLVMBuildFPExt(long Builder, long Val, long DestTy, java.lang.CharSequence Name)
-
nLLVMBuildPtrToInt
public static long nLLVMBuildPtrToInt(long Builder, long Val, long DestTy, long Name)
-
LLVMBuildPtrToInt
public static long LLVMBuildPtrToInt(long Builder, long Val, long DestTy, java.nio.ByteBuffer Name)
-
LLVMBuildPtrToInt
public static long LLVMBuildPtrToInt(long Builder, long Val, long DestTy, java.lang.CharSequence Name)
-
nLLVMBuildIntToPtr
public static long nLLVMBuildIntToPtr(long Builder, long Val, long DestTy, long Name)
-
LLVMBuildIntToPtr
public static long LLVMBuildIntToPtr(long Builder, long Val, long DestTy, java.nio.ByteBuffer Name)
-
LLVMBuildIntToPtr
public static long LLVMBuildIntToPtr(long Builder, long Val, long DestTy, java.lang.CharSequence Name)
-
nLLVMBuildBitCast
public static long nLLVMBuildBitCast(long Builder, long Val, long DestTy, long Name)
-
LLVMBuildBitCast
public static long LLVMBuildBitCast(long Builder, long Val, long DestTy, java.nio.ByteBuffer Name)
-
LLVMBuildBitCast
public static long LLVMBuildBitCast(long Builder, long Val, long DestTy, java.lang.CharSequence Name)
-
nLLVMBuildAddrSpaceCast
public static long nLLVMBuildAddrSpaceCast(long Builder, long Val, long DestTy, long Name)
-
LLVMBuildAddrSpaceCast
public static long LLVMBuildAddrSpaceCast(long Builder, long Val, long DestTy, java.nio.ByteBuffer Name)
-
LLVMBuildAddrSpaceCast
public static long LLVMBuildAddrSpaceCast(long Builder, long Val, long DestTy, java.lang.CharSequence Name)
-
nLLVMBuildZExtOrBitCast
public static long nLLVMBuildZExtOrBitCast(long Builder, long Val, long DestTy, long Name)
-
LLVMBuildZExtOrBitCast
public static long LLVMBuildZExtOrBitCast(long Builder, long Val, long DestTy, java.nio.ByteBuffer Name)
-
LLVMBuildZExtOrBitCast
public static long LLVMBuildZExtOrBitCast(long Builder, long Val, long DestTy, java.lang.CharSequence Name)
-
nLLVMBuildSExtOrBitCast
public static long nLLVMBuildSExtOrBitCast(long Builder, long Val, long DestTy, long Name)
-
LLVMBuildSExtOrBitCast
public static long LLVMBuildSExtOrBitCast(long Builder, long Val, long DestTy, java.nio.ByteBuffer Name)
-
LLVMBuildSExtOrBitCast
public static long LLVMBuildSExtOrBitCast(long Builder, long Val, long DestTy, java.lang.CharSequence Name)
-
nLLVMBuildTruncOrBitCast
public static long nLLVMBuildTruncOrBitCast(long Builder, long Val, long DestTy, long Name)
-
LLVMBuildTruncOrBitCast
public static long LLVMBuildTruncOrBitCast(long Builder, long Val, long DestTy, java.nio.ByteBuffer Name)
-
LLVMBuildTruncOrBitCast
public static long LLVMBuildTruncOrBitCast(long Builder, long Val, long DestTy, java.lang.CharSequence Name)
-
nLLVMBuildCast
public static long nLLVMBuildCast(long B, int Op, long Val, long DestTy, long Name)
-
LLVMBuildCast
public static long LLVMBuildCast(long B, int Op, long Val, long DestTy, java.nio.ByteBuffer Name)
-
LLVMBuildCast
public static long LLVMBuildCast(long B, int Op, long Val, long DestTy, java.lang.CharSequence Name)
-
nLLVMBuildPointerCast
public static long nLLVMBuildPointerCast(long Builder, long Val, long DestTy, long Name)
-
LLVMBuildPointerCast
public static long LLVMBuildPointerCast(long Builder, long Val, long DestTy, java.nio.ByteBuffer Name)
-
LLVMBuildPointerCast
public static long LLVMBuildPointerCast(long Builder, long Val, long DestTy, java.lang.CharSequence Name)
-
nLLVMBuildPointerCast2
public static long nLLVMBuildPointerCast2(long Builder, long Val, long DestTy, int IsSigned, long Name)Unsafe version of:BuildPointerCast2
-
LLVMBuildPointerCast2
public static long LLVMBuildPointerCast2(long Builder, long Val, long DestTy, boolean IsSigned, java.nio.ByteBuffer Name) public static long LLVMBuildPointerCast2(long Builder, long Val, long DestTy, boolean IsSigned, java.lang.CharSequence Name)- Since:
- 8.0
-
nLLVMBuildIntCast
public static long nLLVMBuildIntCast(long Builder, long Val, long DestTy, long Name)
-
LLVMBuildIntCast
public static long LLVMBuildIntCast(long Builder, long Val, long DestTy, java.nio.ByteBuffer Name)
-
LLVMBuildIntCast
public static long LLVMBuildIntCast(long Builder, long Val, long DestTy, java.lang.CharSequence Name)
-
nLLVMBuildFPCast
public static long nLLVMBuildFPCast(long Builder, long Val, long DestTy, long Name)
-
LLVMBuildFPCast
public static long LLVMBuildFPCast(long Builder, long Val, long DestTy, java.nio.ByteBuffer Name)
-
LLVMBuildFPCast
public static long LLVMBuildFPCast(long Builder, long Val, long DestTy, java.lang.CharSequence Name)
-
nLLVMBuildICmp
public static long nLLVMBuildICmp(long Builder, int Op, long LHS, long RHS, long Name)Unsafe version of:BuildICmp
-
LLVMBuildICmp
public static long LLVMBuildICmp(long Builder, int Op, long LHS, long RHS, java.nio.ByteBuffer Name) public static long LLVMBuildICmp(long Builder, int Op, long LHS, long RHS, java.lang.CharSequence Name)Comparisons
-
nLLVMBuildFCmp
public static long nLLVMBuildFCmp(long Builder, int Op, long LHS, long RHS, long Name)
-
LLVMBuildFCmp
public static long LLVMBuildFCmp(long Builder, int Op, long LHS, long RHS, java.nio.ByteBuffer Name)
-
LLVMBuildFCmp
public static long LLVMBuildFCmp(long Builder, int Op, long LHS, long RHS, java.lang.CharSequence Name)
-
nLLVMBuildPhi
public static long nLLVMBuildPhi(long Builder, long Ty, long Name)Unsafe version of:BuildPhi
-
LLVMBuildPhi
public static long LLVMBuildPhi(long Builder, long Ty, java.nio.ByteBuffer Name) public static long LLVMBuildPhi(long Builder, long Ty, java.lang.CharSequence Name)Miscellaneous instructions
-
nLLVMBuildCall
public static long nLLVMBuildCall(long Builder, long Fn, long Args, int NumArgs, long Name)
-
LLVMBuildCall
public static long LLVMBuildCall(long Builder, long Fn, org.lwjgl.PointerBuffer Args, java.nio.ByteBuffer Name)
-
LLVMBuildCall
public static long LLVMBuildCall(long Builder, long Fn, org.lwjgl.PointerBuffer Args, java.lang.CharSequence Name)
-
nLLVMBuildCall2
public static long nLLVMBuildCall2(long Builder, long Ty, long Fn, long Args, int NumArgs, long Name)Unsafe version of:BuildCall2
-
LLVMBuildCall2
public static long LLVMBuildCall2(long Builder, long Ty, long Fn, org.lwjgl.PointerBuffer Args, java.nio.ByteBuffer Name) public static long LLVMBuildCall2(long Builder, long Ty, long Fn, org.lwjgl.PointerBuffer Args, java.lang.CharSequence Name)- Since:
- 8.0
-
nLLVMBuildSelect
public static long nLLVMBuildSelect(long Builder, long If, long Then, long Else, long Name)
-
LLVMBuildSelect
public static long LLVMBuildSelect(long Builder, long If, long Then, long Else, java.nio.ByteBuffer Name)
-
LLVMBuildSelect
public static long LLVMBuildSelect(long Builder, long If, long Then, long Else, java.lang.CharSequence Name)
-
nLLVMBuildVAArg
public static long nLLVMBuildVAArg(long Builder, long List, long Ty, long Name)
-
LLVMBuildVAArg
public static long LLVMBuildVAArg(long Builder, long List, long Ty, java.nio.ByteBuffer Name)
-
LLVMBuildVAArg
public static long LLVMBuildVAArg(long Builder, long List, long Ty, java.lang.CharSequence Name)
-
nLLVMBuildExtractElement
public static long nLLVMBuildExtractElement(long Builder, long VecVal, long Index, long Name)
-
LLVMBuildExtractElement
public static long LLVMBuildExtractElement(long Builder, long VecVal, long Index, java.nio.ByteBuffer Name)
-
LLVMBuildExtractElement
public static long LLVMBuildExtractElement(long Builder, long VecVal, long Index, java.lang.CharSequence Name)
-
nLLVMBuildInsertElement
public static long nLLVMBuildInsertElement(long Builder, long VecVal, long EltVal, long Index, long Name)
-
LLVMBuildInsertElement
public static long LLVMBuildInsertElement(long Builder, long VecVal, long EltVal, long Index, java.nio.ByteBuffer Name)
-
LLVMBuildInsertElement
public static long LLVMBuildInsertElement(long Builder, long VecVal, long EltVal, long Index, java.lang.CharSequence Name)
-
nLLVMBuildShuffleVector
public static long nLLVMBuildShuffleVector(long Builder, long V1, long V2, long Mask, long Name)
-
LLVMBuildShuffleVector
public static long LLVMBuildShuffleVector(long Builder, long V1, long V2, long Mask, java.nio.ByteBuffer Name)
-
LLVMBuildShuffleVector
public static long LLVMBuildShuffleVector(long Builder, long V1, long V2, long Mask, java.lang.CharSequence Name)
-
nLLVMBuildExtractValue
public static long nLLVMBuildExtractValue(long Builder, long AggVal, int Index, long Name)
-
LLVMBuildExtractValue
public static long LLVMBuildExtractValue(long Builder, long AggVal, int Index, java.nio.ByteBuffer Name)
-
LLVMBuildExtractValue
public static long LLVMBuildExtractValue(long Builder, long AggVal, int Index, java.lang.CharSequence Name)
-
nLLVMBuildInsertValue
public static long nLLVMBuildInsertValue(long Builder, long AggVal, long EltVal, int Index, long Name)
-
LLVMBuildInsertValue
public static long LLVMBuildInsertValue(long Builder, long AggVal, long EltVal, int Index, java.nio.ByteBuffer Name)
-
LLVMBuildInsertValue
public static long LLVMBuildInsertValue(long Builder, long AggVal, long EltVal, int Index, java.lang.CharSequence Name)
-
nLLVMBuildFreeze
public static long nLLVMBuildFreeze(long Builder, long Val, long Name)Unsafe version of:BuildFreeze
-
LLVMBuildFreeze
public static long LLVMBuildFreeze(long Builder, long Val, java.nio.ByteBuffer Name) public static long LLVMBuildFreeze(long Builder, long Val, java.lang.CharSequence Name)- Since:
- 10
-
nLLVMBuildIsNull
public static long nLLVMBuildIsNull(long Builder, long Val, long Name)
-
LLVMBuildIsNull
public static long LLVMBuildIsNull(long Builder, long Val, java.nio.ByteBuffer Name)
-
LLVMBuildIsNull
public static long LLVMBuildIsNull(long Builder, long Val, java.lang.CharSequence Name)
-
nLLVMBuildIsNotNull
public static long nLLVMBuildIsNotNull(long Builder, long Val, long Name)
-
LLVMBuildIsNotNull
public static long LLVMBuildIsNotNull(long Builder, long Val, java.nio.ByteBuffer Name)
-
LLVMBuildIsNotNull
public static long LLVMBuildIsNotNull(long Builder, long Val, java.lang.CharSequence Name)
-
nLLVMBuildPtrDiff
public static long nLLVMBuildPtrDiff(long Builder, long LHS, long RHS, long Name)
-
LLVMBuildPtrDiff
public static long LLVMBuildPtrDiff(long Builder, long LHS, long RHS, java.nio.ByteBuffer Name)
-
LLVMBuildPtrDiff
public static long LLVMBuildPtrDiff(long Builder, long LHS, long RHS, java.lang.CharSequence Name)
-
nLLVMBuildFence
public static long nLLVMBuildFence(long B, int ordering, int singleThread, long Name)
-
LLVMBuildFence
public static long LLVMBuildFence(long B, int ordering, boolean singleThread, java.nio.ByteBuffer Name)
-
LLVMBuildFence
public static long LLVMBuildFence(long B, int ordering, boolean singleThread, java.lang.CharSequence Name)
-
LLVMBuildAtomicRMW
public static long LLVMBuildAtomicRMW(long B, int op, long PTR, long Val, int ordering, boolean singleThread)
-
LLVMBuildAtomicCmpXchg
public static long LLVMBuildAtomicCmpXchg(long B, long Ptr, long Cmp, long New, int SuccessOrdering, int FailureOrdering, boolean SingleThread)
-
LLVMGetNumMaskElements
public static int LLVMGetNumMaskElements(long ShuffleVectorInst)
Get the number of elements in the mask of aShuffleVectorinstruction.- Since:
- 11
-
LLVMGetUndefMaskElem
public static int LLVMGetUndefMaskElem()
Returns a constant that specifies that the result of aShuffleVectorInstis undefined.- Since:
- 11
-
LLVMGetMaskValue
public static int LLVMGetMaskValue(long ShuffleVectorInst, int Elt)Get the mask value at positionEltin the mask of aShuffleVectorinstruction.- Returns:
- the result of
GetUndefMaskElemif the mask value isundefat that position. - Since:
- 11
-
LLVMIsAtomicSingleThread
public static boolean LLVMIsAtomicSingleThread(long AtomicInst)
-
LLVMSetAtomicSingleThread
public static void LLVMSetAtomicSingleThread(long AtomicInst, boolean SingleThread)
-
LLVMGetCmpXchgSuccessOrdering
public static int LLVMGetCmpXchgSuccessOrdering(long CmpXchgInst)
-
LLVMSetCmpXchgSuccessOrdering
public static void LLVMSetCmpXchgSuccessOrdering(long CmpXchgInst, int Ordering)
-
LLVMGetCmpXchgFailureOrdering
public static int LLVMGetCmpXchgFailureOrdering(long CmpXchgInst)
-
LLVMSetCmpXchgFailureOrdering
public static void LLVMSetCmpXchgFailureOrdering(long CmpXchgInst, int Ordering)
-
LLVMCreateModuleProviderForExistingModule
public static long LLVMCreateModuleProviderForExistingModule(long M)
Changes the type ofMso it can be passed toFunctionPassManagersand the JIT. They takeModuleProvidersfor historical reasons.
-
LLVMDisposeModuleProvider
public static void LLVMDisposeModuleProvider(long M)
Destroys the moduleM.
-
nLLVMCreateMemoryBufferWithContentsOfFile
public static int nLLVMCreateMemoryBufferWithContentsOfFile(long Path, long OutMemBuf, long OutMessage)
-
LLVMCreateMemoryBufferWithContentsOfFile
public static boolean LLVMCreateMemoryBufferWithContentsOfFile(java.nio.ByteBuffer Path, org.lwjgl.PointerBuffer OutMemBuf, org.lwjgl.PointerBuffer OutMessage)
-
LLVMCreateMemoryBufferWithContentsOfFile
public static boolean LLVMCreateMemoryBufferWithContentsOfFile(java.lang.CharSequence Path, org.lwjgl.PointerBuffer OutMemBuf, org.lwjgl.PointerBuffer OutMessage)
-
nLLVMCreateMemoryBufferWithSTDIN
public static int nLLVMCreateMemoryBufferWithSTDIN(long OutMemBuf, long OutMessage)
-
LLVMCreateMemoryBufferWithSTDIN
public static boolean LLVMCreateMemoryBufferWithSTDIN(org.lwjgl.PointerBuffer OutMemBuf, org.lwjgl.PointerBuffer OutMessage)
-
nLLVMCreateMemoryBufferWithMemoryRange
public static long nLLVMCreateMemoryBufferWithMemoryRange(long InputData, long InputDataLength, long BufferName, int RequiresNullTerminator)
-
LLVMCreateMemoryBufferWithMemoryRange
public static long LLVMCreateMemoryBufferWithMemoryRange(java.nio.ByteBuffer InputData, java.nio.ByteBuffer BufferName, boolean RequiresNullTerminator)
-
LLVMCreateMemoryBufferWithMemoryRange
public static long LLVMCreateMemoryBufferWithMemoryRange(java.nio.ByteBuffer InputData, java.lang.CharSequence BufferName, boolean RequiresNullTerminator)
-
nLLVMCreateMemoryBufferWithMemoryRangeCopy
public static long nLLVMCreateMemoryBufferWithMemoryRangeCopy(long InputData, long InputDataLength, long BufferName)
-
LLVMCreateMemoryBufferWithMemoryRangeCopy
public static long LLVMCreateMemoryBufferWithMemoryRangeCopy(java.nio.ByteBuffer InputData, java.nio.ByteBuffer BufferName)
-
LLVMCreateMemoryBufferWithMemoryRangeCopy
public static long LLVMCreateMemoryBufferWithMemoryRangeCopy(java.nio.ByteBuffer InputData, java.lang.CharSequence BufferName)
-
nLLVMGetBufferStart
public static long nLLVMGetBufferStart(long MemBuf)
-
LLVMGetBufferStart
@Nullable public static java.lang.String LLVMGetBufferStart(long MemBuf)
-
LLVMGetBufferSize
public static long LLVMGetBufferSize(long MemBuf)
-
LLVMDisposeMemoryBuffer
public static void LLVMDisposeMemoryBuffer(long MemBuf)
-
LLVMGetGlobalPassRegistry
public static long LLVMGetGlobalPassRegistry()
Return the global pass registry, for use with initialization functions.
-
LLVMCreatePassManager
public static long LLVMCreatePassManager()
Constructs a new whole-module pass pipeline. This type of pipeline is suitable for link-time optimization and whole-module transformations.
-
LLVMCreateFunctionPassManagerForModule
public static long LLVMCreateFunctionPassManagerForModule(long M)
Constructs a new function-by-function pass pipeline over the module provider. It does not take ownership of the module provider. This type of pipeline is suitable for code generation and JIT compilation tasks.
-
LLVMCreateFunctionPassManager
public static long LLVMCreateFunctionPassManager(long MP)
Deprecated: UseCreateFunctionPassManagerForModuleinstead.
-
LLVMRunPassManager
public static boolean LLVMRunPassManager(long PM, long M)Initializes, executes on the provided module, and finalizes all of the passes scheduled in the pass manager. Returns 1 if any of the passes modified the module, 0 otherwise.
-
LLVMInitializeFunctionPassManager
public static boolean LLVMInitializeFunctionPassManager(long FPM)
Initializes all of the function passes scheduled in the function pass manager. Returns 1 if any of the passes modified the module, 0 otherwise.
-
LLVMRunFunctionPassManager
public static boolean LLVMRunFunctionPassManager(long FPM, long F)Executes all of the function passes scheduled in the function pass manager on the provided function. Returns 1 if any of the passes modified the function, false otherwise.
-
LLVMFinalizeFunctionPassManager
public static boolean LLVMFinalizeFunctionPassManager(long FPM)
Finalizes all of the function passes scheduled in the function pass manager. Returns 1 if any of the passes modified the module, 0 otherwise.
-
LLVMDisposePassManager
public static void LLVMDisposePassManager(long PM)
Frees the memory of a pass pipeline. For function pipelines, does not free the module provider.
-
LLVMStartMultithreaded
public static boolean LLVMStartMultithreaded()
Deprecated: Multi-threading can only be enabled/disabled with the compile time defineLLVM_ENABLE_THREADS. This function always returnsIsMultithreaded.
-
LLVMStopMultithreaded
public static void LLVMStopMultithreaded()
Deprecated: Multi-threading can only be enabled/disabled with the compile time defineLLVM_ENABLE_THREADS.
-
LLVMIsMultithreaded
public static boolean LLVMIsMultithreaded()
Check whether LLVM is executing in thread-safe mode or not.
-
-