LLVM API Documentation

Functions
Target.cpp File Reference
#include "llvm-c/Target.h"
#include "llvm-c/Initialization.h"
#include "llvm/IR/DataLayout.h"
#include "llvm/IR/LLVMContext.h"
#include "llvm/IR/Value.h"
#include "llvm/InitializePasses.h"
#include "llvm/PassManager.h"
#include "llvm/Target/TargetLibraryInfo.h"
#include <cstring>
Include dependency graph for Target.cpp:

Go to the source code of this file.

Functions

TargetLibraryInfounwrap (LLVMTargetLibraryInfoRef P)
LLVMTargetLibraryInfoRef wrap (const TargetLibraryInfo *P)
void LLVMInitializeTarget (LLVMPassRegistryRef R)
LLVMTargetDataRef LLVMCreateTargetData (const char *StringRep)
void LLVMAddTargetData (LLVMTargetDataRef TD, LLVMPassManagerRef PM)
void LLVMAddTargetLibraryInfo (LLVMTargetLibraryInfoRef TLI, LLVMPassManagerRef PM)
char * LLVMCopyStringRepOfTargetData (LLVMTargetDataRef TD)
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)

Function Documentation

Definition at line 27 of file Target.cpp.

Definition at line 31 of file Target.cpp.

References llvm::X.