| Package | Description |
|---|---|
| org.bytedeco.llvm.global |
| Modifier and Type | Method and Description |
|---|---|
static LLVMTypeRef |
LLVM.LLVMArrayType(LLVMTypeRef ElementType,
int ElementCount)
Deprecated.
LLVMArrayType is deprecated in favor of the API accurate
LLVMArrayType2
|
static LLVMTypeRef |
LLVM.LLVMArrayType2(LLVMTypeRef ElementType,
long ElementCount)
Create a fixed size array type that refers to a specific type.
|
static LLVMTypeRef |
LLVM.LLVMBFloatType() |
static LLVMTypeRef |
LLVM.LLVMBFloatTypeInContext(LLVMContextRef C)
Obtain a 16-bit brain floating point type from a context.
|
static LLVMTypeRef |
LLVM.LLVMDoubleType() |
static LLVMTypeRef |
LLVM.LLVMDoubleTypeInContext(LLVMContextRef C)
Obtain a 64-bit floating point type from a context.
|
static LLVMTypeRef |
LLVM.LLVMFloatType() |
static LLVMTypeRef |
LLVM.LLVMFloatTypeInContext(LLVMContextRef C)
Obtain a 32-bit floating point type from a context.
|
static LLVMTypeRef |
LLVM.LLVMFP128Type() |
static LLVMTypeRef |
LLVM.LLVMFP128TypeInContext(LLVMContextRef C)
Obtain a 128-bit floating point type (112-bit mantissa) from a
context.
|
static LLVMTypeRef |
LLVM.LLVMFunctionType(LLVMTypeRef ReturnType,
LLVMTypeRef ParamTypes,
int ParamCount,
int IsVarArg)
Obtain a function type consisting of a specified signature.
|
static LLVMTypeRef |
LLVM.LLVMFunctionType(LLVMTypeRef ReturnType,
PointerPointer ParamTypes,
int ParamCount,
int IsVarArg) |
static LLVMTypeRef |
LLVM.LLVMGetAllocatedType(LLVMValueRef Alloca)
Obtain the type that is being allocated by the alloca instruction.
|
static LLVMTypeRef |
LLVM.LLVMGetCalledFunctionType(LLVMValueRef C)
Obtain the function type called by this instruction.
|
static LLVMTypeRef |
LLVM.LLVMGetElementType(LLVMTypeRef Ty)
Obtain the element type of an array or vector type.
|
static LLVMTypeRef |
LLVM.LLVMGetGEPSourceElementType(LLVMValueRef GEP)
Get the source element type of the given GEP operator.
|
static LLVMTypeRef |
LLVM.LLVMGetInlineAsmFunctionType(LLVMValueRef InlineAsmVal)
Get the function type of the inline assembly snippet.
|
static LLVMTypeRef |
LLVM.LLVMGetReturnType(LLVMTypeRef FunctionTy)
Obtain the Type this function Type returns.
|
static LLVMTypeRef |
LLVM.LLVMGetTargetExtTypeTypeParam(LLVMTypeRef TargetExtTy,
int Idx)
Get the type parameter at the given index for the target extension type.
|
static LLVMTypeRef |
LLVM.LLVMGetTypeAttributeValue(LLVMAttributeRef A)
Get the type attribute's value.
|
static LLVMTypeRef |
LLVM.LLVMGetTypeByName(LLVMModuleRef M,
BytePointer Name)
Deprecated: Use LLVMGetTypeByName2 instead.
|
static LLVMTypeRef |
LLVM.LLVMGetTypeByName(LLVMModuleRef M,
String Name) |
static LLVMTypeRef |
LLVM.LLVMGetTypeByName2(LLVMContextRef C,
BytePointer Name)
Obtain a Type from a context by its registered name.
|
static LLVMTypeRef |
LLVM.LLVMGetTypeByName2(LLVMContextRef C,
String Name) |
static LLVMTypeRef |
LLVM.LLVMGlobalGetValueType(LLVMValueRef Global)
Returns the "value type" of a global value.
|
static LLVMTypeRef |
LLVM.LLVMHalfType()
Obtain a floating point type from the global context.
|
static LLVMTypeRef |
LLVM.LLVMHalfTypeInContext(LLVMContextRef C)
Obtain a 16-bit floating point type from a context.
|
static LLVMTypeRef |
LLVM.LLVMInt128Type() |
static LLVMTypeRef |
LLVM.LLVMInt128TypeInContext(LLVMContextRef C) |
static LLVMTypeRef |
LLVM.LLVMInt16Type() |
static LLVMTypeRef |
LLVM.LLVMInt16TypeInContext(LLVMContextRef C) |
static LLVMTypeRef |
LLVM.LLVMInt1Type()
Obtain an integer type from the global context with a specified bit
width.
|
static LLVMTypeRef |
LLVM.LLVMInt1TypeInContext(LLVMContextRef C)
Obtain an integer type from a context with specified bit width.
|
static LLVMTypeRef |
LLVM.LLVMInt32Type() |
static LLVMTypeRef |
LLVM.LLVMInt32TypeInContext(LLVMContextRef C) |
static LLVMTypeRef |
LLVM.LLVMInt64Type() |
static LLVMTypeRef |
LLVM.LLVMInt64TypeInContext(LLVMContextRef C) |
static LLVMTypeRef |
LLVM.LLVMInt8Type() |
static LLVMTypeRef |
LLVM.LLVMInt8TypeInContext(LLVMContextRef C) |
static LLVMTypeRef |
LLVM.LLVMIntPtrType(LLVMTargetDataRef TD)
Returns the integer type that is the same size as a pointer on a target.
|
static LLVMTypeRef |
LLVM.LLVMIntPtrTypeForAS(LLVMTargetDataRef TD,
int AS)
Returns the integer type that is the same size as a pointer on a target.
|
static LLVMTypeRef |
LLVM.LLVMIntPtrTypeForASInContext(LLVMContextRef C,
LLVMTargetDataRef TD,
int AS)
Returns the integer type that is the same size as a pointer on a target.
|
static LLVMTypeRef |
LLVM.LLVMIntPtrTypeInContext(LLVMContextRef C,
LLVMTargetDataRef TD)
Returns the integer type that is the same size as a pointer on a target.
|
static LLVMTypeRef |
LLVM.LLVMIntrinsicGetType(LLVMContextRef Ctx,
int ID,
LLVMTypeRef ParamTypes,
long ParamCount)
Retrieves the type of an intrinsic.
|
static LLVMTypeRef |
LLVM.LLVMIntrinsicGetType(LLVMContextRef Ctx,
int ID,
PointerPointer ParamTypes,
long ParamCount) |
static LLVMTypeRef |
LLVM.LLVMIntType(int NumBits) |
static LLVMTypeRef |
LLVM.LLVMIntTypeInContext(LLVMContextRef C,
int NumBits) |
static LLVMTypeRef |
LLVM.LLVMLabelType() |
static LLVMTypeRef |
LLVM.LLVMLabelTypeInContext(LLVMContextRef C)
Create a label type in a context.
|
static LLVMTypeRef |
LLVM.LLVMMetadataTypeInContext(LLVMContextRef C)
Create a metadata type in a context.
|
static LLVMTypeRef |
LLVM.LLVMPointerType(LLVMTypeRef ElementType,
int AddressSpace)
Create a pointer type that points to a defined type.
|
static LLVMTypeRef |
LLVM.LLVMPointerTypeInContext(LLVMContextRef C,
int AddressSpace)
Create an opaque pointer type in a context.
|
static LLVMTypeRef |
LLVM.LLVMPPCFP128Type() |
static LLVMTypeRef |
LLVM.LLVMPPCFP128TypeInContext(LLVMContextRef C)
Obtain a 128-bit floating point type (two 64-bits) from a context.
|
static LLVMTypeRef |
LLVM.LLVMScalableVectorType(LLVMTypeRef ElementType,
int ElementCount)
Create a vector type that contains a defined type and has a scalable
number of elements.
|
static LLVMTypeRef |
LLVM.LLVMStructCreateNamed(LLVMContextRef C,
BytePointer Name)
Create an empty structure in a context having a specified name.
|
static LLVMTypeRef |
LLVM.LLVMStructCreateNamed(LLVMContextRef C,
String Name) |
static LLVMTypeRef |
LLVM.LLVMStructGetTypeAtIndex(LLVMTypeRef StructTy,
int i)
Get the type of the element at a given index in the structure.
|
static LLVMTypeRef |
LLVM.LLVMStructType(LLVMTypeRef ElementTypes,
int ElementCount,
int Packed)
Create a new structure type in the global context.
|
static LLVMTypeRef |
LLVM.LLVMStructType(PointerPointer ElementTypes,
int ElementCount,
int Packed) |
static LLVMTypeRef |
LLVM.LLVMStructTypeInContext(LLVMContextRef C,
LLVMTypeRef ElementTypes,
int ElementCount,
int Packed)
Create a new structure type in a context.
|
static LLVMTypeRef |
LLVM.LLVMStructTypeInContext(LLVMContextRef C,
PointerPointer ElementTypes,
int ElementCount,
int Packed) |
static LLVMTypeRef |
LLVM.LLVMTargetExtTypeInContext(LLVMContextRef C,
BytePointer Name,
LLVMTypeRef TypeParams,
int TypeParamCount,
int[] IntParams,
int IntParamCount) |
static LLVMTypeRef |
LLVM.LLVMTargetExtTypeInContext(LLVMContextRef C,
BytePointer Name,
LLVMTypeRef TypeParams,
int TypeParamCount,
IntBuffer IntParams,
int IntParamCount) |
static LLVMTypeRef |
LLVM.LLVMTargetExtTypeInContext(LLVMContextRef C,
BytePointer Name,
LLVMTypeRef TypeParams,
int TypeParamCount,
IntPointer IntParams,
int IntParamCount)
Create a target extension type in LLVM context.
|
static LLVMTypeRef |
LLVM.LLVMTargetExtTypeInContext(LLVMContextRef C,
String Name,
PointerPointer TypeParams,
int TypeParamCount,
int[] IntParams,
int IntParamCount) |
static LLVMTypeRef |
LLVM.LLVMTargetExtTypeInContext(LLVMContextRef C,
String Name,
PointerPointer TypeParams,
int TypeParamCount,
IntBuffer IntParams,
int IntParamCount) |
static LLVMTypeRef |
LLVM.LLVMTargetExtTypeInContext(LLVMContextRef C,
String Name,
PointerPointer TypeParams,
int TypeParamCount,
IntPointer IntParams,
int IntParamCount) |
static LLVMTypeRef |
LLVM.LLVMTokenTypeInContext(LLVMContextRef C)
Create a token type in a context.
|
static LLVMTypeRef |
LLVM.LLVMTypeOf(LLVMValueRef Val)
Obtain the type of a value.
|
static LLVMTypeRef |
LLVM.LLVMVectorType(LLVMTypeRef ElementType,
int ElementCount)
Create a vector type that contains a defined type and has a specific
number of elements.
|
static LLVMTypeRef |
LLVM.LLVMVoidType()
These are similar to the above functions except they operate on the
global context.
|
static LLVMTypeRef |
LLVM.LLVMVoidTypeInContext(LLVMContextRef C)
Create a void type in a context.
|
static LLVMTypeRef |
LLVM.LLVMX86AMXType() |
static LLVMTypeRef |
LLVM.LLVMX86AMXTypeInContext(LLVMContextRef C)
Create a X86 AMX type in a context.
|
static LLVMTypeRef |
LLVM.LLVMX86FP80Type() |
static LLVMTypeRef |
LLVM.LLVMX86FP80TypeInContext(LLVMContextRef C)
Obtain a 80-bit floating point type (X87) from a context.
|
| Modifier and Type | Method and Description |
|---|---|
static int |
LLVM.LLVMABIAlignmentOfType(LLVMTargetDataRef TD,
LLVMTypeRef Ty)
Computes the ABI alignment of a type in bytes for a target.
|
static long |
LLVM.LLVMABISizeOfType(LLVMTargetDataRef TD,
LLVMTypeRef Ty)
Computes the ABI size of a type in bytes for a target.
|
static LLVMValueRef |
LLVM.LLVMAddAlias2(LLVMModuleRef M,
LLVMTypeRef ValueTy,
int AddrSpace,
LLVMValueRef Aliasee,
BytePointer Name)
Add a GlobalAlias with the given value type, address space and aliasee.
|
static LLVMValueRef |
LLVM.LLVMAddAlias2(LLVMModuleRef M,
LLVMTypeRef ValueTy,
int AddrSpace,
LLVMValueRef Aliasee,
String Name) |
static LLVMValueRef |
LLVM.LLVMAddFunction(LLVMModuleRef M,
BytePointer Name,
LLVMTypeRef FunctionTy)
Add a function to a module under a specified name.
|
static LLVMValueRef |
LLVM.LLVMAddFunction(LLVMModuleRef M,
String Name,
LLVMTypeRef FunctionTy) |
static LLVMValueRef |
LLVM.LLVMAddGlobal(LLVMModuleRef M,
LLVMTypeRef Ty,
BytePointer Name)
\defgroup LLVMCoreValueConstantGlobalVariable Global Variables
This group contains functions that operate on global variable values.
|
static LLVMValueRef |
LLVM.LLVMAddGlobal(LLVMModuleRef M,
LLVMTypeRef Ty,
String Name) |
static LLVMValueRef |
LLVM.LLVMAddGlobalIFunc(LLVMModuleRef M,
BytePointer Name,
long NameLen,
LLVMTypeRef Ty,
int AddrSpace,
LLVMValueRef Resolver)
Add a global indirect function to a module under a specified name.
|
static LLVMValueRef |
LLVM.LLVMAddGlobalIFunc(LLVMModuleRef M,
String Name,
long NameLen,
LLVMTypeRef Ty,
int AddrSpace,
LLVMValueRef Resolver) |
static LLVMValueRef |
LLVM.LLVMAddGlobalInAddressSpace(LLVMModuleRef M,
LLVMTypeRef Ty,
BytePointer Name,
int AddressSpace) |
static LLVMValueRef |
LLVM.LLVMAddGlobalInAddressSpace(LLVMModuleRef M,
LLVMTypeRef Ty,
String Name,
int AddressSpace) |
static LLVMValueRef |
LLVM.LLVMAlignOf(LLVMTypeRef Ty) |
static LLVMTypeRef |
LLVM.LLVMArrayType(LLVMTypeRef ElementType,
int ElementCount)
Deprecated.
LLVMArrayType is deprecated in favor of the API accurate
LLVMArrayType2
|
static LLVMTypeRef |
LLVM.LLVMArrayType2(LLVMTypeRef ElementType,
long ElementCount)
Create a fixed size array type that refers to a specific type.
|
static LLVMValueRef |
LLVM.LLVMBuildAddrSpaceCast(LLVMBuilderRef arg0,
LLVMValueRef Val,
LLVMTypeRef DestTy,
BytePointer Name) |
static LLVMValueRef |
LLVM.LLVMBuildAddrSpaceCast(LLVMBuilderRef arg0,
LLVMValueRef Val,
LLVMTypeRef DestTy,
String Name) |
static LLVMValueRef |
LLVM.LLVMBuildAlloca(LLVMBuilderRef arg0,
LLVMTypeRef Ty,
BytePointer Name) |
static LLVMValueRef |
LLVM.LLVMBuildAlloca(LLVMBuilderRef arg0,
LLVMTypeRef Ty,
String Name) |
static LLVMValueRef |
LLVM.LLVMBuildArrayAlloca(LLVMBuilderRef arg0,
LLVMTypeRef Ty,
LLVMValueRef Val,
BytePointer Name) |
static LLVMValueRef |
LLVM.LLVMBuildArrayAlloca(LLVMBuilderRef arg0,
LLVMTypeRef Ty,
LLVMValueRef Val,
String Name) |
static LLVMValueRef |
LLVM.LLVMBuildArrayMalloc(LLVMBuilderRef arg0,
LLVMTypeRef Ty,
LLVMValueRef Val,
BytePointer Name) |
static LLVMValueRef |
LLVM.LLVMBuildArrayMalloc(LLVMBuilderRef arg0,
LLVMTypeRef Ty,
LLVMValueRef Val,
String Name) |
static LLVMValueRef |
LLVM.LLVMBuildBitCast(LLVMBuilderRef arg0,
LLVMValueRef Val,
LLVMTypeRef DestTy,
BytePointer Name) |
static LLVMValueRef |
LLVM.LLVMBuildBitCast(LLVMBuilderRef arg0,
LLVMValueRef Val,
LLVMTypeRef DestTy,
String Name) |
static LLVMValueRef |
LLVM.LLVMBuildCall2(LLVMBuilderRef arg0,
LLVMTypeRef arg1,
LLVMValueRef Fn,
LLVMValueRef Args,
int NumArgs,
BytePointer Name) |
static LLVMValueRef |
LLVM.LLVMBuildCall2(LLVMBuilderRef arg0,
LLVMTypeRef arg1,
LLVMValueRef Fn,
PointerPointer Args,
int NumArgs,
String Name) |
static LLVMValueRef |
LLVM.LLVMBuildCallBr(LLVMBuilderRef B,
LLVMTypeRef Ty,
LLVMValueRef Fn,
LLVMBasicBlockRef DefaultDest,
LLVMBasicBlockRef IndirectDests,
int NumIndirectDests,
LLVMValueRef Args,
int NumArgs,
LLVMOperandBundleRef Bundles,
int NumBundles,
BytePointer Name) |
static LLVMValueRef |
LLVM.LLVMBuildCallBr(LLVMBuilderRef B,
LLVMTypeRef Ty,
LLVMValueRef Fn,
LLVMBasicBlockRef DefaultDest,
PointerPointer IndirectDests,
int NumIndirectDests,
PointerPointer Args,
int NumArgs,
PointerPointer Bundles,
int NumBundles,
String Name) |
static LLVMValueRef |
LLVM.LLVMBuildCallWithOperandBundles(LLVMBuilderRef arg0,
LLVMTypeRef arg1,
LLVMValueRef Fn,
LLVMValueRef Args,
int NumArgs,
LLVMOperandBundleRef Bundles,
int NumBundles,
BytePointer Name) |
static LLVMValueRef |
LLVM.LLVMBuildCallWithOperandBundles(LLVMBuilderRef arg0,
LLVMTypeRef arg1,
LLVMValueRef Fn,
PointerPointer Args,
int NumArgs,
PointerPointer Bundles,
int NumBundles,
String Name) |
static LLVMValueRef |
LLVM.LLVMBuildCast(LLVMBuilderRef B,
int Op,
LLVMValueRef Val,
LLVMTypeRef DestTy,
BytePointer Name) |
static LLVMValueRef |
LLVM.LLVMBuildCast(LLVMBuilderRef B,
int Op,
LLVMValueRef Val,
LLVMTypeRef DestTy,
String Name) |
static LLVMValueRef |
LLVM.LLVMBuildFPCast(LLVMBuilderRef arg0,
LLVMValueRef Val,
LLVMTypeRef DestTy,
BytePointer Name) |
static LLVMValueRef |
LLVM.LLVMBuildFPCast(LLVMBuilderRef arg0,
LLVMValueRef Val,
LLVMTypeRef DestTy,
String Name) |
static LLVMValueRef |
LLVM.LLVMBuildFPExt(LLVMBuilderRef arg0,
LLVMValueRef Val,
LLVMTypeRef DestTy,
BytePointer Name) |
static LLVMValueRef |
LLVM.LLVMBuildFPExt(LLVMBuilderRef arg0,
LLVMValueRef Val,
LLVMTypeRef DestTy,
String Name) |
static LLVMValueRef |
LLVM.LLVMBuildFPToSI(LLVMBuilderRef arg0,
LLVMValueRef Val,
LLVMTypeRef DestTy,
BytePointer Name) |
static LLVMValueRef |
LLVM.LLVMBuildFPToSI(LLVMBuilderRef arg0,
LLVMValueRef Val,
LLVMTypeRef DestTy,
String Name) |
static LLVMValueRef |
LLVM.LLVMBuildFPToUI(LLVMBuilderRef arg0,
LLVMValueRef Val,
LLVMTypeRef DestTy,
BytePointer Name) |
static LLVMValueRef |
LLVM.LLVMBuildFPToUI(LLVMBuilderRef arg0,
LLVMValueRef Val,
LLVMTypeRef DestTy,
String Name) |
static LLVMValueRef |
LLVM.LLVMBuildFPTrunc(LLVMBuilderRef arg0,
LLVMValueRef Val,
LLVMTypeRef DestTy,
BytePointer Name) |
static LLVMValueRef |
LLVM.LLVMBuildFPTrunc(LLVMBuilderRef arg0,
LLVMValueRef Val,
LLVMTypeRef DestTy,
String Name) |
static LLVMValueRef |
LLVM.LLVMBuildGEP2(LLVMBuilderRef B,
LLVMTypeRef Ty,
LLVMValueRef Pointer,
LLVMValueRef Indices,
int NumIndices,
BytePointer Name) |
static LLVMValueRef |
LLVM.LLVMBuildGEP2(LLVMBuilderRef B,
LLVMTypeRef Ty,
LLVMValueRef Pointer,
PointerPointer Indices,
int NumIndices,
String Name) |
static LLVMValueRef |
LLVM.LLVMBuildGEPWithNoWrapFlags(LLVMBuilderRef B,
LLVMTypeRef Ty,
LLVMValueRef Pointer,
LLVMValueRef Indices,
int NumIndices,
BytePointer Name,
int NoWrapFlags)
Creates a GetElementPtr instruction.
|
static LLVMValueRef |
LLVM.LLVMBuildGEPWithNoWrapFlags(LLVMBuilderRef B,
LLVMTypeRef Ty,
LLVMValueRef Pointer,
PointerPointer Indices,
int NumIndices,
String Name,
int NoWrapFlags) |
static LLVMValueRef |
LLVM.LLVMBuildInBoundsGEP2(LLVMBuilderRef B,
LLVMTypeRef Ty,
LLVMValueRef Pointer,
LLVMValueRef Indices,
int NumIndices,
BytePointer Name) |
static LLVMValueRef |
LLVM.LLVMBuildInBoundsGEP2(LLVMBuilderRef B,
LLVMTypeRef Ty,
LLVMValueRef Pointer,
PointerPointer Indices,
int NumIndices,
String Name) |
static LLVMValueRef |
LLVM.LLVMBuildIntCast(LLVMBuilderRef arg0,
LLVMValueRef Val,
LLVMTypeRef DestTy,
BytePointer Name)
Deprecated: This cast is always signed.
|
static LLVMValueRef |
LLVM.LLVMBuildIntCast(LLVMBuilderRef arg0,
LLVMValueRef Val,
LLVMTypeRef DestTy,
String Name) |
static LLVMValueRef |
LLVM.LLVMBuildIntCast2(LLVMBuilderRef arg0,
LLVMValueRef Val,
LLVMTypeRef DestTy,
int IsSigned,
BytePointer Name) |
static LLVMValueRef |
LLVM.LLVMBuildIntCast2(LLVMBuilderRef arg0,
LLVMValueRef Val,
LLVMTypeRef DestTy,
int IsSigned,
String Name) |
static LLVMValueRef |
LLVM.LLVMBuildIntToPtr(LLVMBuilderRef arg0,
LLVMValueRef Val,
LLVMTypeRef DestTy,
BytePointer Name) |
static LLVMValueRef |
LLVM.LLVMBuildIntToPtr(LLVMBuilderRef arg0,
LLVMValueRef Val,
LLVMTypeRef DestTy,
String Name) |
static LLVMValueRef |
LLVM.LLVMBuildInvoke2(LLVMBuilderRef arg0,
LLVMTypeRef Ty,
LLVMValueRef Fn,
LLVMValueRef Args,
int NumArgs,
LLVMBasicBlockRef Then,
LLVMBasicBlockRef Catch,
BytePointer Name) |
static LLVMValueRef |
LLVM.LLVMBuildInvoke2(LLVMBuilderRef arg0,
LLVMTypeRef Ty,
LLVMValueRef Fn,
PointerPointer Args,
int NumArgs,
LLVMBasicBlockRef Then,
LLVMBasicBlockRef Catch,
String Name) |
static LLVMValueRef |
LLVM.LLVMBuildInvokeWithOperandBundles(LLVMBuilderRef arg0,
LLVMTypeRef Ty,
LLVMValueRef Fn,
LLVMValueRef Args,
int NumArgs,
LLVMBasicBlockRef Then,
LLVMBasicBlockRef Catch,
LLVMOperandBundleRef Bundles,
int NumBundles,
BytePointer Name) |
static LLVMValueRef |
LLVM.LLVMBuildInvokeWithOperandBundles(LLVMBuilderRef arg0,
LLVMTypeRef Ty,
LLVMValueRef Fn,
PointerPointer Args,
int NumArgs,
LLVMBasicBlockRef Then,
LLVMBasicBlockRef Catch,
PointerPointer Bundles,
int NumBundles,
String Name) |
static LLVMValueRef |
LLVM.LLVMBuildLandingPad(LLVMBuilderRef B,
LLVMTypeRef Ty,
LLVMValueRef PersFn,
int NumClauses,
BytePointer Name) |
static LLVMValueRef |
LLVM.LLVMBuildLandingPad(LLVMBuilderRef B,
LLVMTypeRef Ty,
LLVMValueRef PersFn,
int NumClauses,
String Name) |
static LLVMValueRef |
LLVM.LLVMBuildLoad2(LLVMBuilderRef arg0,
LLVMTypeRef Ty,
LLVMValueRef PointerVal,
BytePointer Name) |
static LLVMValueRef |
LLVM.LLVMBuildLoad2(LLVMBuilderRef arg0,
LLVMTypeRef Ty,
LLVMValueRef PointerVal,
String Name) |
static LLVMValueRef |
LLVM.LLVMBuildMalloc(LLVMBuilderRef arg0,
LLVMTypeRef Ty,
BytePointer Name) |
static LLVMValueRef |
LLVM.LLVMBuildMalloc(LLVMBuilderRef arg0,
LLVMTypeRef Ty,
String Name) |
static LLVMValueRef |
LLVM.LLVMBuildPhi(LLVMBuilderRef arg0,
LLVMTypeRef Ty,
BytePointer Name) |
static LLVMValueRef |
LLVM.LLVMBuildPhi(LLVMBuilderRef arg0,
LLVMTypeRef Ty,
String Name) |
static LLVMValueRef |
LLVM.LLVMBuildPointerCast(LLVMBuilderRef arg0,
LLVMValueRef Val,
LLVMTypeRef DestTy,
BytePointer Name) |
static LLVMValueRef |
LLVM.LLVMBuildPointerCast(LLVMBuilderRef arg0,
LLVMValueRef Val,
LLVMTypeRef DestTy,
String Name) |
static LLVMValueRef |
LLVM.LLVMBuildPtrDiff2(LLVMBuilderRef arg0,
LLVMTypeRef ElemTy,
LLVMValueRef LHS,
LLVMValueRef RHS,
BytePointer Name) |
static LLVMValueRef |
LLVM.LLVMBuildPtrDiff2(LLVMBuilderRef arg0,
LLVMTypeRef ElemTy,
LLVMValueRef LHS,
LLVMValueRef RHS,
String Name) |
static LLVMValueRef |
LLVM.LLVMBuildPtrToInt(LLVMBuilderRef arg0,
LLVMValueRef Val,
LLVMTypeRef DestTy,
BytePointer Name) |
static LLVMValueRef |
LLVM.LLVMBuildPtrToInt(LLVMBuilderRef arg0,
LLVMValueRef Val,
LLVMTypeRef DestTy,
String Name) |
static LLVMValueRef |
LLVM.LLVMBuildSExt(LLVMBuilderRef arg0,
LLVMValueRef Val,
LLVMTypeRef DestTy,
BytePointer Name) |
static LLVMValueRef |
LLVM.LLVMBuildSExt(LLVMBuilderRef arg0,
LLVMValueRef Val,
LLVMTypeRef DestTy,
String Name) |
static LLVMValueRef |
LLVM.LLVMBuildSExtOrBitCast(LLVMBuilderRef arg0,
LLVMValueRef Val,
LLVMTypeRef DestTy,
BytePointer Name) |
static LLVMValueRef |
LLVM.LLVMBuildSExtOrBitCast(LLVMBuilderRef arg0,
LLVMValueRef Val,
LLVMTypeRef DestTy,
String Name) |
static LLVMValueRef |
LLVM.LLVMBuildSIToFP(LLVMBuilderRef arg0,
LLVMValueRef Val,
LLVMTypeRef DestTy,
BytePointer Name) |
static LLVMValueRef |
LLVM.LLVMBuildSIToFP(LLVMBuilderRef arg0,
LLVMValueRef Val,
LLVMTypeRef DestTy,
String Name) |
static LLVMValueRef |
LLVM.LLVMBuildStructGEP2(LLVMBuilderRef B,
LLVMTypeRef Ty,
LLVMValueRef Pointer,
int Idx,
BytePointer Name) |
static LLVMValueRef |
LLVM.LLVMBuildStructGEP2(LLVMBuilderRef B,
LLVMTypeRef Ty,
LLVMValueRef Pointer,
int Idx,
String Name) |
static LLVMValueRef |
LLVM.LLVMBuildTrunc(LLVMBuilderRef arg0,
LLVMValueRef Val,
LLVMTypeRef DestTy,
BytePointer Name) |
static LLVMValueRef |
LLVM.LLVMBuildTrunc(LLVMBuilderRef arg0,
LLVMValueRef Val,
LLVMTypeRef DestTy,
String Name) |
static LLVMValueRef |
LLVM.LLVMBuildTruncOrBitCast(LLVMBuilderRef arg0,
LLVMValueRef Val,
LLVMTypeRef DestTy,
BytePointer Name) |
static LLVMValueRef |
LLVM.LLVMBuildTruncOrBitCast(LLVMBuilderRef arg0,
LLVMValueRef Val,
LLVMTypeRef DestTy,
String Name) |
static LLVMValueRef |
LLVM.LLVMBuildUIToFP(LLVMBuilderRef arg0,
LLVMValueRef Val,
LLVMTypeRef DestTy,
BytePointer Name) |
static LLVMValueRef |
LLVM.LLVMBuildUIToFP(LLVMBuilderRef arg0,
LLVMValueRef Val,
LLVMTypeRef DestTy,
String Name) |
static LLVMValueRef |
LLVM.LLVMBuildVAArg(LLVMBuilderRef arg0,
LLVMValueRef List,
LLVMTypeRef Ty,
BytePointer Name) |
static LLVMValueRef |
LLVM.LLVMBuildVAArg(LLVMBuilderRef arg0,
LLVMValueRef List,
LLVMTypeRef Ty,
String Name) |
static LLVMValueRef |
LLVM.LLVMBuildZExt(LLVMBuilderRef arg0,
LLVMValueRef Val,
LLVMTypeRef DestTy,
BytePointer Name) |
static LLVMValueRef |
LLVM.LLVMBuildZExt(LLVMBuilderRef arg0,
LLVMValueRef Val,
LLVMTypeRef DestTy,
String Name) |
static LLVMValueRef |
LLVM.LLVMBuildZExtOrBitCast(LLVMBuilderRef arg0,
LLVMValueRef Val,
LLVMTypeRef DestTy,
BytePointer Name) |
static LLVMValueRef |
LLVM.LLVMBuildZExtOrBitCast(LLVMBuilderRef arg0,
LLVMValueRef Val,
LLVMTypeRef DestTy,
String Name) |
static int |
LLVM.LLVMCallFrameAlignmentOfType(LLVMTargetDataRef TD,
LLVMTypeRef Ty)
Computes the call frame alignment of a type in bytes for a target.
|
static LLVMValueRef |
LLVM.LLVMConstAddrSpaceCast(LLVMValueRef ConstantVal,
LLVMTypeRef ToType) |
static LLVMValueRef |
LLVM.LLVMConstAllOnes(LLVMTypeRef Ty)
Obtain a constant value referring to the instance of a type
consisting of all ones.
|
static LLVMValueRef |
LLVM.LLVMConstArray(LLVMTypeRef ElementTy,
LLVMValueRef ConstantVals,
int Length)
Deprecated.
LLVMConstArray is deprecated in favor of the API accurate
LLVMConstArray2
|
static LLVMValueRef |
LLVM.LLVMConstArray(LLVMTypeRef ElementTy,
PointerPointer ConstantVals,
int Length) |
static LLVMValueRef |
LLVM.LLVMConstArray2(LLVMTypeRef ElementTy,
LLVMValueRef ConstantVals,
long Length)
Create a ConstantArray from values.
|
static LLVMValueRef |
LLVM.LLVMConstArray2(LLVMTypeRef ElementTy,
PointerPointer ConstantVals,
long Length) |
static LLVMValueRef |
LLVM.LLVMConstBitCast(LLVMValueRef ConstantVal,
LLVMTypeRef ToType) |
static LLVMValueRef |
LLVM.LLVMConstGEP2(LLVMTypeRef Ty,
LLVMValueRef ConstantVal,
LLVMValueRef ConstantIndices,
int NumIndices) |
static LLVMValueRef |
LLVM.LLVMConstGEP2(LLVMTypeRef Ty,
LLVMValueRef ConstantVal,
PointerPointer ConstantIndices,
int NumIndices) |
static LLVMValueRef |
LLVM.LLVMConstGEPWithNoWrapFlags(LLVMTypeRef Ty,
LLVMValueRef ConstantVal,
LLVMValueRef ConstantIndices,
int NumIndices,
int NoWrapFlags)
Creates a constant GetElementPtr expression.
|
static LLVMValueRef |
LLVM.LLVMConstGEPWithNoWrapFlags(LLVMTypeRef Ty,
LLVMValueRef ConstantVal,
PointerPointer ConstantIndices,
int NumIndices,
int NoWrapFlags) |
static LLVMValueRef |
LLVM.LLVMConstInBoundsGEP2(LLVMTypeRef Ty,
LLVMValueRef ConstantVal,
LLVMValueRef ConstantIndices,
int NumIndices) |
static LLVMValueRef |
LLVM.LLVMConstInBoundsGEP2(LLVMTypeRef Ty,
LLVMValueRef ConstantVal,
PointerPointer ConstantIndices,
int NumIndices) |
static LLVMValueRef |
LLVM.LLVMConstInlineAsm(LLVMTypeRef Ty,
BytePointer AsmString,
BytePointer Constraints,
int HasSideEffects,
int IsAlignStack)
Deprecated: Use LLVMGetInlineAsm instead.
|
static LLVMValueRef |
LLVM.LLVMConstInlineAsm(LLVMTypeRef Ty,
String AsmString,
String Constraints,
int HasSideEffects,
int IsAlignStack) |
static LLVMValueRef |
LLVM.LLVMConstInt(LLVMTypeRef IntTy,
long N,
int SignExtend)
Obtain a constant value for an integer type.
|
static LLVMValueRef |
LLVM.LLVMConstIntOfArbitraryPrecision(LLVMTypeRef IntTy,
int NumWords,
long[] Words) |
static LLVMValueRef |
LLVM.LLVMConstIntOfArbitraryPrecision(LLVMTypeRef IntTy,
int NumWords,
LongBuffer Words) |
static LLVMValueRef |
LLVM.LLVMConstIntOfArbitraryPrecision(LLVMTypeRef IntTy,
int NumWords,
LongPointer Words)
Obtain a constant value for an integer of arbitrary precision.
|
static LLVMValueRef |
LLVM.LLVMConstIntOfString(LLVMTypeRef IntTy,
BytePointer Text,
byte Radix)
Obtain a constant value for an integer parsed from a string.
|
static LLVMValueRef |
LLVM.LLVMConstIntOfString(LLVMTypeRef IntTy,
String Text,
byte Radix) |
static LLVMValueRef |
LLVM.LLVMConstIntOfStringAndSize(LLVMTypeRef IntTy,
BytePointer Text,
int SLen,
byte Radix)
Obtain a constant value for an integer parsed from a string with
specified length.
|
static LLVMValueRef |
LLVM.LLVMConstIntOfStringAndSize(LLVMTypeRef IntTy,
String Text,
int SLen,
byte Radix) |
static LLVMValueRef |
LLVM.LLVMConstIntToPtr(LLVMValueRef ConstantVal,
LLVMTypeRef ToType) |
static LLVMValueRef |
LLVM.LLVMConstNamedStruct(LLVMTypeRef StructTy,
LLVMValueRef ConstantVals,
int Count)
Create a non-anonymous ConstantStruct from values.
|
static LLVMValueRef |
LLVM.LLVMConstNamedStruct(LLVMTypeRef StructTy,
PointerPointer ConstantVals,
int Count) |
static LLVMValueRef |
LLVM.LLVMConstNull(LLVMTypeRef Ty)
Obtain a constant value referring to the null instance of a type.
|
static LLVMValueRef |
LLVM.LLVMConstPointerCast(LLVMValueRef ConstantVal,
LLVMTypeRef ToType) |
static LLVMValueRef |
LLVM.LLVMConstPointerNull(LLVMTypeRef Ty)
Obtain a constant that is a constant pointer pointing to NULL for a
specified type.
|
static LLVMValueRef |
LLVM.LLVMConstPtrToInt(LLVMValueRef ConstantVal,
LLVMTypeRef ToType) |
static LLVMValueRef |
LLVM.LLVMConstReal(LLVMTypeRef RealTy,
double N)
Obtain a constant value referring to a double floating point value.
|
static LLVMValueRef |
LLVM.LLVMConstRealOfString(LLVMTypeRef RealTy,
BytePointer Text)
Obtain a constant for a floating point value parsed from a string.
|
static LLVMValueRef |
LLVM.LLVMConstRealOfString(LLVMTypeRef RealTy,
String Text) |
static LLVMValueRef |
LLVM.LLVMConstRealOfStringAndSize(LLVMTypeRef RealTy,
BytePointer Text,
int SLen)
Obtain a constant for a floating point value parsed from a string.
|
static LLVMValueRef |
LLVM.LLVMConstRealOfStringAndSize(LLVMTypeRef RealTy,
String Text,
int SLen) |
static LLVMValueRef |
LLVM.LLVMConstTrunc(LLVMValueRef ConstantVal,
LLVMTypeRef ToType) |
static LLVMValueRef |
LLVM.LLVMConstTruncOrBitCast(LLVMValueRef ConstantVal,
LLVMTypeRef ToType) |
static int |
LLVM.LLVMCountParamTypes(LLVMTypeRef FunctionTy)
Obtain the number of parameters this function accepts.
|
static int |
LLVM.LLVMCountStructElementTypes(LLVMTypeRef StructTy)
Get the number of elements defined inside the structure.
|
static LLVMGenericValueRef |
LLVM.LLVMCreateGenericValueOfFloat(LLVMTypeRef Ty,
double N) |
static LLVMGenericValueRef |
LLVM.LLVMCreateGenericValueOfInt(LLVMTypeRef Ty,
long N,
int IsSigned) |
static LLVMAttributeRef |
LLVM.LLVMCreateTypeAttribute(LLVMContextRef C,
int KindID,
LLVMTypeRef type_ref)
Create a type attribute
|
static void |
LLVM.LLVMDumpType(LLVMTypeRef Val)
Dump a representation of a type to stderr.
|
static int |
LLVM.LLVMElementAtOffset(LLVMTargetDataRef TD,
LLVMTypeRef StructTy,
long Offset)
Computes the structure element that contains the byte offset for a target.
|
static LLVMTypeRef |
LLVM.LLVMFunctionType(LLVMTypeRef ReturnType,
LLVMTypeRef ParamTypes,
int ParamCount,
int IsVarArg)
Obtain a function type consisting of a specified signature.
|
static LLVMTypeRef |
LLVM.LLVMFunctionType(LLVMTypeRef ReturnType,
PointerPointer ParamTypes,
int ParamCount,
int IsVarArg) |
static double |
LLVM.LLVMGenericValueToFloat(LLVMTypeRef TyRef,
LLVMGenericValueRef GenVal) |
static int |
LLVM.LLVMGetArrayLength(LLVMTypeRef ArrayTy)
Deprecated.
LLVMGetArrayLength is deprecated in favor of the API accurate
LLVMGetArrayLength2
|
static long |
LLVM.LLVMGetArrayLength2(LLVMTypeRef ArrayTy)
Obtain the length of an array type.
|
static int |
LLVM.LLVMGetCastOpcode(LLVMValueRef Src,
int SrcIsSigned,
LLVMTypeRef DestTy,
int DestIsSigned) |
static LLVMTypeRef |
LLVM.LLVMGetElementType(LLVMTypeRef Ty)
Obtain the element type of an array or vector type.
|
static LLVMValueRef |
LLVM.LLVMGetInlineAsm(LLVMTypeRef Ty,
BytePointer AsmString,
long AsmStringSize,
BytePointer Constraints,
long ConstraintsSize,
int HasSideEffects,
int IsAlignStack,
int Dialect,
int CanThrow)
Create the specified uniqued inline asm string.
|
static LLVMValueRef |
LLVM.LLVMGetInlineAsm(LLVMTypeRef Ty,
String AsmString,
long AsmStringSize,
String Constraints,
long ConstraintsSize,
int HasSideEffects,
int IsAlignStack,
int Dialect,
int CanThrow) |
static LLVMValueRef |
LLVM.LLVMGetIntrinsicDeclaration(LLVMModuleRef Mod,
int ID,
LLVMTypeRef ParamTypes,
long ParamCount)
Get or insert the declaration of an intrinsic.
|
static int |
LLVM.LLVMGetIntTypeWidth(LLVMTypeRef IntegerTy) |
static int |
LLVM.LLVMGetNumContainedTypes(LLVMTypeRef Tp)
Return the number of types in the derived type.
|
static void |
LLVM.LLVMGetParamTypes(LLVMTypeRef FunctionTy,
LLVMTypeRef Dest)
Obtain the types of a function's parameters.
|
static void |
LLVM.LLVMGetParamTypes(LLVMTypeRef FunctionTy,
PointerPointer Dest) |
static int |
LLVM.LLVMGetPointerAddressSpace(LLVMTypeRef PointerTy)
Obtain the address space of a pointer type.
|
static LLVMValueRef |
LLVM.LLVMGetPoison(LLVMTypeRef Ty)
Obtain a constant value referring to a poison value of a type.
|
static LLVMTypeRef |
LLVM.LLVMGetReturnType(LLVMTypeRef FunctionTy)
Obtain the Type this function Type returns.
|
static void |
LLVM.LLVMGetStructElementTypes(LLVMTypeRef StructTy,
LLVMTypeRef Dest)
Get the elements within a structure.
|
static void |
LLVM.LLVMGetStructElementTypes(LLVMTypeRef StructTy,
PointerPointer Dest) |
static BytePointer |
LLVM.LLVMGetStructName(LLVMTypeRef Ty)
Obtain the name of a structure.
|
static void |
LLVM.LLVMGetSubtypes(LLVMTypeRef Tp,
LLVMTypeRef Arr)
Returns type's subtypes
|
static void |
LLVM.LLVMGetSubtypes(LLVMTypeRef Tp,
PointerPointer Arr) |
static int |
LLVM.LLVMGetTargetExtTypeIntParam(LLVMTypeRef TargetExtTy,
int Idx)
Get the int parameter at the given index for the target extension type.
|
static BytePointer |
LLVM.LLVMGetTargetExtTypeName(LLVMTypeRef TargetExtTy)
Obtain the name for this target extension type.
|
static int |
LLVM.LLVMGetTargetExtTypeNumIntParams(LLVMTypeRef TargetExtTy)
Obtain the number of int parameters for this target extension type.
|
static int |
LLVM.LLVMGetTargetExtTypeNumTypeParams(LLVMTypeRef TargetExtTy)
Obtain the number of type parameters for this target extension type.
|
static LLVMTypeRef |
LLVM.LLVMGetTargetExtTypeTypeParam(LLVMTypeRef TargetExtTy,
int Idx)
Get the type parameter at the given index for the target extension type.
|
static LLVMContextRef |
LLVM.LLVMGetTypeContext(LLVMTypeRef Ty)
Obtain the context to which this type instance is associated.
|
static int |
LLVM.LLVMGetTypeKind(LLVMTypeRef Ty)
Obtain the enumerated type of a Type instance.
|
static LLVMValueRef |
LLVM.LLVMGetUndef(LLVMTypeRef Ty)
Obtain a constant value referring to an undefined value of a type.
|
static int |
LLVM.LLVMGetVectorSize(LLVMTypeRef VectorTy)
Obtain the (possibly scalable) number of elements in a vector type.
|
static BytePointer |
LLVM.LLVMIntrinsicCopyOverloadedName(int ID,
LLVMTypeRef ParamTypes,
long ParamCount,
SizeTPointer NameLength)
Deprecated: Use LLVMIntrinsicCopyOverloadedName2 instead.
|
static BytePointer |
LLVM.LLVMIntrinsicCopyOverloadedName2(LLVMModuleRef Mod,
int ID,
LLVMTypeRef ParamTypes,
long ParamCount,
SizeTPointer NameLength)
Copies the name of an overloaded intrinsic identified by a given list of
parameter types.
|
static LLVMTypeRef |
LLVM.LLVMIntrinsicGetType(LLVMContextRef Ctx,
int ID,
LLVMTypeRef ParamTypes,
long ParamCount)
Retrieves the type of an intrinsic.
|
static int |
LLVM.LLVMIsFunctionVarArg(LLVMTypeRef FunctionTy)
Returns whether a function type is variadic.
|
static int |
LLVM.LLVMIsLiteralStruct(LLVMTypeRef StructTy)
Determine whether a structure is literal.
|
static int |
LLVM.LLVMIsOpaqueStruct(LLVMTypeRef StructTy)
Determine whether a structure is opaque.
|
static int |
LLVM.LLVMIsPackedStruct(LLVMTypeRef StructTy)
Determine whether a structure is packed.
|
static long |
LLVM.LLVMOffsetOfElement(LLVMTargetDataRef TD,
LLVMTypeRef StructTy,
int Element)
Computes the byte offset of the indexed struct element for a target.
|
static LLVMTypeRef |
LLVM.LLVMPointerType(LLVMTypeRef ElementType,
int AddressSpace)
Create a pointer type that points to a defined type.
|
static int |
LLVM.LLVMPointerTypeIsOpaque(LLVMTypeRef Ty)
Determine whether a pointer is opaque.
|
static int |
LLVM.LLVMPreferredAlignmentOfType(LLVMTargetDataRef TD,
LLVMTypeRef Ty)
Computes the preferred alignment of a type in bytes for a target.
|
static BytePointer |
LLVM.LLVMPrintTypeToString(LLVMTypeRef Val)
Return a string representation of the type.
|
static LLVMTypeRef |
LLVM.LLVMScalableVectorType(LLVMTypeRef ElementType,
int ElementCount)
Create a vector type that contains a defined type and has a scalable
number of elements.
|
static LLVMValueRef |
LLVM.LLVMSizeOf(LLVMTypeRef Ty) |
static long |
LLVM.LLVMSizeOfTypeInBits(LLVMTargetDataRef TD,
LLVMTypeRef Ty)
Computes the size of a type in bits for a target.
|
static long |
LLVM.LLVMStoreSizeOfType(LLVMTargetDataRef TD,
LLVMTypeRef Ty)
Computes the storage size of a type in bytes for a target.
|
static LLVMTypeRef |
LLVM.LLVMStructGetTypeAtIndex(LLVMTypeRef StructTy,
int i)
Get the type of the element at a given index in the structure.
|
static void |
LLVM.LLVMStructSetBody(LLVMTypeRef StructTy,
LLVMTypeRef ElementTypes,
int ElementCount,
int Packed)
Set the contents of a structure type.
|
static void |
LLVM.LLVMStructSetBody(LLVMTypeRef StructTy,
PointerPointer ElementTypes,
int ElementCount,
int Packed) |
static LLVMTypeRef |
LLVM.LLVMStructType(LLVMTypeRef ElementTypes,
int ElementCount,
int Packed)
Create a new structure type in the global context.
|
static LLVMTypeRef |
LLVM.LLVMStructTypeInContext(LLVMContextRef C,
LLVMTypeRef ElementTypes,
int ElementCount,
int Packed)
Create a new structure type in a context.
|
static LLVMTypeRef |
LLVM.LLVMTargetExtTypeInContext(LLVMContextRef C,
BytePointer Name,
LLVMTypeRef TypeParams,
int TypeParamCount,
int[] IntParams,
int IntParamCount) |
static LLVMTypeRef |
LLVM.LLVMTargetExtTypeInContext(LLVMContextRef C,
BytePointer Name,
LLVMTypeRef TypeParams,
int TypeParamCount,
IntBuffer IntParams,
int IntParamCount) |
static LLVMTypeRef |
LLVM.LLVMTargetExtTypeInContext(LLVMContextRef C,
BytePointer Name,
LLVMTypeRef TypeParams,
int TypeParamCount,
IntPointer IntParams,
int IntParamCount)
Create a target extension type in LLVM context.
|
static int |
LLVM.LLVMTypeIsSized(LLVMTypeRef Ty)
Whether the type has a known size.
|
static LLVMTypeRef |
LLVM.LLVMVectorType(LLVMTypeRef ElementType,
int ElementCount)
Create a vector type that contains a defined type and has a specific
number of elements.
|
Copyright © 2025. All rights reserved.