Project Alice
Loading...
Searching...
No Matches
Target.h File Reference
#include "llvm-c/ExternC.h"
#include "llvm-c/Types.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.

Macros

#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

LLVMTargetDataRef LLVMGetModuleDataLayout (LLVMModuleRef M)
 
void LLVMSetModuleDataLayout (LLVMModuleRef M, LLVMTargetDataRef DL)
 
LLVMTargetDataRef LLVMCreateTargetData (const char *StringRep)
 
void LLVMDisposeTargetData (LLVMTargetDataRef TD)
 
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)