@defgroup LLVMCTarget Target information @ingroup LLVMC
Computes the ABI alignment of a type in bytes for a target. See the method llvm::DataLayout::getTypeABISize.
Computes the ABI size of a type in bytes for a target. See the method llvm::DataLayout::getTypeAllocSize.
Adds target library information to a pass manager. This does not take ownership of the target library info. See the method llvm::PassManagerBase::add.
Returns the byte order of a target, either LLVMBigEndian or LLVMLittleEndian. See the method llvm::DataLayout::isLittleEndian.
Computes the call frame alignment of a type in bytes for a target. See the method llvm::DataLayout::getTypeABISize.
Converts target data to a target layout string. The string must be disposed with LLVMDisposeMessage. See the constructor llvm::DataLayout::DataLayout.
Creates target data from a target layout string. See the constructor llvm::DataLayout::DataLayout.
Deallocates a TargetData. See the destructor llvm::DataLayout::~DataLayout.
Computes the structure element that contains the byte offset for a target. See the method llvm::StructLayout::getElementContainingOffset.
Obtain the data layout for a module.
Returns the integer type that is the same size as a pointer on a target. See the method llvm::DataLayout::getIntPtrType.
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.
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.
Returns the integer type that is the same size as a pointer on a target. See the method llvm::DataLayout::getIntPtrType.
Computes the byte offset of the indexed struct element for a target. See the method llvm::StructLayout::getElementContainingOffset.
Returns the pointer size in bytes for a target. See the method llvm::TargetData::getPointerSize.
Returns the pointer size in bytes for a target for a specified address space. See the method llvm::DataLayout::getPointerSize.
Computes the preferred alignment of a global variable in bytes for a target. See the method llvm::DataLayout::getPreferredAlignment.
Computes the preferred alignment of a type in bytes for a target. See the method llvm::DataLayout::getTypeABISize.
Set the data layout for a module.
Computes the size of a type in bytes for a target. See the method llvm::DataLayout::getTypeSizeInBits.
Computes the storage size of a type in bytes for a target. See the method llvm::DataLayout::getTypeStoreSize.
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 - 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 - 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 - The main program should call this function if it wants access to all available targets that LLVM is configured to support.
LLVMInitializeAllTargetMCs - The main program should call this function if it wants access to all available target MC that LLVM is configured to support.
LLVMInitializeAllTargets - The main program should call this function if it wants to link in all available targets that LLVM is configured to support.
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.