LLVM API Documentation

Defines | Typedefs | Enumerations | Functions
Target.h File Reference
#include "llvm-c/Core.h"
#include "llvm/Config/llvm-config.h"
#include "llvm/Config/Targets.def"
#include "llvm/Config/AsmPrinters.def"
#include "llvm/Config/AsmParsers.def"
#include "llvm/Config/Disassemblers.def"
Include dependency graph for Target.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#define LLVM_TARGET(TargetName)   void LLVMInitialize##TargetName##TargetInfo(void);
#define LLVM_TARGET(TargetName)   void LLVMInitialize##TargetName##Target(void);
#define LLVM_TARGET(TargetName)   void LLVMInitialize##TargetName##TargetMC(void);
#define LLVM_ASM_PRINTER(TargetName)   void LLVMInitialize##TargetName##AsmPrinter(void);
#define LLVM_ASM_PARSER(TargetName)   void LLVMInitialize##TargetName##AsmParser(void);
#define LLVM_DISASSEMBLER(TargetName)   void LLVMInitialize##TargetName##Disassembler(void);
#define LLVM_TARGET(TargetName)   LLVMInitialize##TargetName##TargetInfo();
#define LLVM_TARGET(TargetName)   LLVMInitialize##TargetName##Target();
#define LLVM_TARGET(TargetName)   LLVMInitialize##TargetName##TargetMC();
#define LLVM_ASM_PRINTER(TargetName)   LLVMInitialize##TargetName##AsmPrinter();
#define LLVM_ASM_PARSER(TargetName)   LLVMInitialize##TargetName##AsmParser();
#define LLVM_DISASSEMBLER(TargetName)   LLVMInitialize##TargetName##Disassembler();

Typedefs

typedef struct
LLVMOpaqueTargetData * 
LLVMTargetDataRef
typedef struct
LLVMOpaqueTargetLibraryInfotData * 
LLVMTargetLibraryInfoRef

Enumerations

enum  LLVMByteOrdering { LLVMBigEndian, LLVMLittleEndian }

Functions

static void LLVMInitializeAllTargetInfos (void)
static void LLVMInitializeAllTargets (void)
static void LLVMInitializeAllTargetMCs (void)
static void LLVMInitializeAllAsmPrinters (void)
static void LLVMInitializeAllAsmParsers (void)
static void LLVMInitializeAllDisassemblers (void)
static LLVMBool LLVMInitializeNativeTarget (void)
static LLVMBool LLVMInitializeNativeAsmParser (void)
static LLVMBool LLVMInitializeNativeAsmPrinter (void)
static LLVMBool LLVMInitializeNativeDisassembler (void)
LLVMTargetDataRef LLVMCreateTargetData (const char *StringRep)
void LLVMAddTargetData (LLVMTargetDataRef TD, LLVMPassManagerRef PM)
void LLVMAddTargetLibraryInfo (LLVMTargetLibraryInfoRef TLI, LLVMPassManagerRef PM)
char * LLVMCopyStringRepOfTargetData (LLVMTargetDataRef TD)
enum LLVMByteOrdering LLVMByteOrder (LLVMTargetDataRef TD)
unsigned LLVMPointerSize (LLVMTargetDataRef TD)
unsigned LLVMPointerSizeForAS (LLVMTargetDataRef TD, unsigned AS)
LLVMTypeRef LLVMIntPtrType (LLVMTargetDataRef TD)
LLVMTypeRef LLVMIntPtrTypeForAS (LLVMTargetDataRef TD, unsigned AS)
LLVMTypeRef LLVMIntPtrTypeInContext (LLVMContextRef C, LLVMTargetDataRef TD)
LLVMTypeRef LLVMIntPtrTypeForASInContext (LLVMContextRef C, LLVMTargetDataRef TD, unsigned AS)
unsigned long long LLVMSizeOfTypeInBits (LLVMTargetDataRef TD, LLVMTypeRef Ty)
unsigned long long LLVMStoreSizeOfType (LLVMTargetDataRef TD, LLVMTypeRef Ty)
unsigned long long LLVMABISizeOfType (LLVMTargetDataRef TD, LLVMTypeRef Ty)
unsigned LLVMABIAlignmentOfType (LLVMTargetDataRef TD, LLVMTypeRef Ty)
unsigned LLVMCallFrameAlignmentOfType (LLVMTargetDataRef TD, LLVMTypeRef Ty)
unsigned LLVMPreferredAlignmentOfType (LLVMTargetDataRef TD, LLVMTypeRef Ty)
unsigned LLVMPreferredAlignmentOfGlobal (LLVMTargetDataRef TD, LLVMValueRef GlobalVar)
unsigned LLVMElementAtOffset (LLVMTargetDataRef TD, LLVMTypeRef StructTy, unsigned long long Offset)
unsigned long long LLVMOffsetOfElement (LLVMTargetDataRef TD, LLVMTypeRef StructTy, unsigned Element)
void LLVMDisposeTargetData (LLVMTargetDataRef TD)