| Package | Description |
|---|---|
| org.bytedeco.llvm.global |
| Modifier and Type | Method and Description |
|---|---|
static LLVMTargetDataRef |
LLVM.LLVMCreateTargetData(BytePointer StringRep)
Creates target data from a target layout string.
|
static LLVMTargetDataRef |
LLVM.LLVMCreateTargetData(String StringRep) |
static LLVMTargetDataRef |
LLVM.LLVMCreateTargetDataLayout(LLVMTargetMachineRef T)
Create a DataLayout based on the targetMachine.
|
static LLVMTargetDataRef |
LLVM.LLVMGetExecutionEngineTargetData(LLVMExecutionEngineRef EE) |
static LLVMTargetDataRef |
LLVM.LLVMGetModuleDataLayout(LLVMModuleRef M)
Obtain the data layout for a module.
|
| 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 int |
LLVM.LLVMByteOrder(LLVMTargetDataRef TD)
Returns the byte order of a target, either LLVMBigEndian or
LLVMLittleEndian.
|
static int |
LLVM.LLVMCallFrameAlignmentOfType(LLVMTargetDataRef TD,
LLVMTypeRef Ty)
Computes the call frame alignment of a type in bytes for a target.
|
static BytePointer |
LLVM.LLVMCopyStringRepOfTargetData(LLVMTargetDataRef TD)
Converts target data to a target layout string.
|
static void |
LLVM.LLVMDisposeTargetData(LLVMTargetDataRef TD)
Deallocates a TargetData.
|
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.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 long |
LLVM.LLVMOffsetOfElement(LLVMTargetDataRef TD,
LLVMTypeRef StructTy,
int Element)
Computes the byte offset of the indexed struct element for a target.
|
static int |
LLVM.LLVMPointerSize(LLVMTargetDataRef TD)
Returns the pointer size in bytes for a target.
|
static int |
LLVM.LLVMPointerSizeForAS(LLVMTargetDataRef TD,
int AS)
Returns the pointer size in bytes for a target for a specified
address space.
|
static int |
LLVM.LLVMPreferredAlignmentOfGlobal(LLVMTargetDataRef TD,
LLVMValueRef GlobalVar)
Computes the preferred alignment of a global variable in bytes for a target.
|
static int |
LLVM.LLVMPreferredAlignmentOfType(LLVMTargetDataRef TD,
LLVMTypeRef Ty)
Computes the preferred alignment of a type in bytes for a target.
|
static void |
LLVM.LLVMSetModuleDataLayout(LLVMModuleRef M,
LLVMTargetDataRef DL)
Set the data layout for a module.
|
static long |
LLVM.LLVMSizeOfTypeInBits(LLVMTargetDataRef TD,
LLVMTypeRef Ty)
Computes the size of a type in bytes for a target.
|
static long |
LLVM.LLVMStoreSizeOfType(LLVMTargetDataRef TD,
LLVMTypeRef Ty)
Computes the storage size of a type in bytes for a target.
|
Copyright © 2024. All rights reserved.