deimos.llvm.c.target

Undocumented in source.

Members

Aliases

LLVMStructLayoutRef
alias LLVMStructLayoutRef = __LLVMStructLayout*
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
LLVMTargetDataRef
alias LLVMTargetDataRef = __LLVMOpaqueTargetData*
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
LLVMTargetLibraryInfoRef
alias LLVMTargetLibraryInfoRef = __LLVMOpaqueTargetLibraryInfotData*
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.

Enums

LLVMByteOrdering
enum LLVMByteOrdering

@defgroup LLVMCTarget Target information @ingroup LLVMC

Functions

LLVMABIAlignmentOfType
uint LLVMABIAlignmentOfType(LLVMTargetDataRef , LLVMTypeRef )

Computes the ABI alignment of a type in bytes for a target. See the method llvm::DataLayout::getTypeABISize.

LLVMABISizeOfType
ulong LLVMABISizeOfType(LLVMTargetDataRef , LLVMTypeRef )

Computes the ABI size of a type in bytes for a target. See the method llvm::DataLayout::getTypeAllocSize.

LLVMAddTargetData
void LLVMAddTargetData(LLVMTargetDataRef , LLVMPassManagerRef )

Adds target data information to a pass manager. This does not take ownership of the target data. See the method llvm::PassManagerBase::add.

LLVMAddTargetLibraryInfo
void LLVMAddTargetLibraryInfo(LLVMTargetLibraryInfoRef , LLVMPassManagerRef )

Adds target library information to a pass manager. This does not take ownership of the target library info. See the method llvm::PassManagerBase::add.

LLVMByteOrder
LLVMByteOrdering LLVMByteOrder(LLVMTargetDataRef )

Returns the byte order of a target, either LLVMBigEndian or LLVMLittleEndian. See the method llvm::DataLayout::isLittleEndian.

LLVMCallFrameAlignmentOfType
uint LLVMCallFrameAlignmentOfType(LLVMTargetDataRef , LLVMTypeRef )

Computes the call frame alignment of a type in bytes for a target. See the method llvm::DataLayout::getTypeABISize.

LLVMCopyStringRepOfTargetData
char* LLVMCopyStringRepOfTargetData(LLVMTargetDataRef )

Converts target data to a target layout string. The string must be disposed with LLVMDisposeMessage. See the constructor llvm::DataLayout::DataLayout.

LLVMCreateTargetData
LLVMTargetDataRef LLVMCreateTargetData(const(char)* StringRep)

Creates target data from a target layout string. See the constructor llvm::DataLayout::DataLayout.

LLVMDisposeTargetData
void LLVMDisposeTargetData(LLVMTargetDataRef )

Deallocates a TargetData. See the destructor llvm::DataLayout::~DataLayout.

LLVMElementAtOffset
uint LLVMElementAtOffset(LLVMTargetDataRef , LLVMTypeRef StructTy, ulong Offset)

Computes the structure element that contains the byte offset for a target. See the method llvm::StructLayout::getElementContainingOffset.

LLVMIntPtrType
LLVMTypeRef LLVMIntPtrType(LLVMTargetDataRef )

Returns the integer type that is the same size as a pointer on a target. See the method llvm::DataLayout::getIntPtrType.

LLVMIntPtrTypeForAS
LLVMTypeRef LLVMIntPtrTypeForAS(LLVMTargetDataRef , uint AS)

Returns the integer type that is the same size as a pointer on a target. This version allows the address space to be specified. See the method llvm::DataLayout::getIntPtrType.

LLVMOffsetOfElement
ulong LLVMOffsetOfElement(LLVMTargetDataRef , LLVMTypeRef StructTy, uint Element)

Computes the byte offset of the indexed struct element for a target. See the method llvm::StructLayout::getElementContainingOffset.

LLVMPointerSize
uint LLVMPointerSize(LLVMTargetDataRef )

Returns the pointer size in bytes for a target. See the method llvm::DataLayout::getPointerSize.

LLVMPointerSizeForAS
uint LLVMPointerSizeForAS(LLVMTargetDataRef , uint AS)

Returns the pointer size in bytes for a target for a specified address space. See the method llvm::DataLayout::getPointerSize.

LLVMPreferredAlignmentOfGlobal
uint LLVMPreferredAlignmentOfGlobal(LLVMTargetDataRef , LLVMValueRef GlobalVar)

Computes the preferred alignment of a global variable in bytes for a target. See the method llvm::DataLayout::getPreferredAlignment.

LLVMPreferredAlignmentOfType
uint LLVMPreferredAlignmentOfType(LLVMTargetDataRef , LLVMTypeRef )

Computes the preferred alignment of a type in bytes for a target. See the method llvm::DataLayout::getTypeABISize.

LLVMSizeOfTypeInBits
ulong LLVMSizeOfTypeInBits(LLVMTargetDataRef , LLVMTypeRef )

Computes the size of a type in bytes for a target. See the method llvm::DataLayout::getTypeSizeInBits.

LLVMStoreSizeOfType
ulong LLVMStoreSizeOfType(LLVMTargetDataRef , LLVMTypeRef )

Computes the storage size of a type in bytes for a target. See the method llvm::DataLayout::getTypeStoreSize.

Static functions

LLVMInitializeAllAsmParsers
void LLVMInitializeAllAsmParsers()

LLVMInitializeAllAsmParsers - The main program should call this function if it wants all asm parsers that LLVM is configured to support, to make them available via the TargetRegistry.

LLVMInitializeAllAsmPrinters
void LLVMInitializeAllAsmPrinters()

LLVMInitializeAllAsmPrinters - The main program should call this function if it wants all asm printers that LLVM is configured to support, to make them available via the TargetRegistry.

LLVMInitializeAllDisassemblers
void LLVMInitializeAllDisassemblers()

LLVMInitializeAllDisassemblers - The main program should call this function if it wants all disassemblers that LLVM is configured to support, to make them available via the TargetRegistry.

LLVMInitializeAllTargetInfos
void LLVMInitializeAllTargetInfos()

LLVMInitializeAllTargetInfos - The main program should call this function if it wants access to all available targets that LLVM is configured to support.

LLVMInitializeAllTargetMCs
void LLVMInitializeAllTargetMCs()

LLVMInitializeAllTargetMCs - The main program should call this function if it wants access to all available target MC that LLVM is configured to support.

LLVMInitializeAllTargets
void LLVMInitializeAllTargets()

LLVMInitializeAllTargets - The main program should call this function if it wants to link in all available targets that LLVM is configured to support.

LLVMInitializeNativeTarget
LLVMBool LLVMInitializeNativeTarget()

LLVMInitializeNativeTarget - The main program should call this function to initialize the native target corresponding to the host. This is useful for JIT applications to ensure that the target gets linked in correctly.

Structs

__LLVMOpaqueTargetData
struct __LLVMOpaqueTargetData
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
__LLVMOpaqueTargetLibraryInfotData
struct __LLVMOpaqueTargetLibraryInfotData
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
__LLVMStructLayout
struct __LLVMStructLayout
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.

Meta