Project Alice
Loading...
Searching...
No Matches
TargetMachine.h File Reference
#include "llvm-c/ExternC.h"
#include "llvm-c/Target.h"
#include "llvm-c/Types.h"
Include dependency graph for TargetMachine.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Typedefs

typedef struct LLVMOpaqueTargetMachineOptions * LLVMTargetMachineOptionsRef
 
typedef struct LLVMOpaqueTargetMachine * LLVMTargetMachineRef
 
typedef struct LLVMTarget * LLVMTargetRef
 

Enumerations

enum  LLVMCodeGenOptLevel { LLVMCodeGenLevelNone , LLVMCodeGenLevelLess , LLVMCodeGenLevelDefault , LLVMCodeGenLevelAggressive }
 
enum  LLVMRelocMode {
  LLVMRelocDefault , LLVMRelocStatic , LLVMRelocPIC , LLVMRelocDynamicNoPic ,
  LLVMRelocROPI , LLVMRelocRWPI , LLVMRelocROPI_RWPI
}
 
enum  LLVMCodeModel {
  LLVMCodeModelDefault , LLVMCodeModelJITDefault , LLVMCodeModelTiny , LLVMCodeModelSmall ,
  LLVMCodeModelKernel , LLVMCodeModelMedium , LLVMCodeModelLarge
}
 
enum  LLVMCodeGenFileType { LLVMAssemblyFile , LLVMObjectFile }
 
enum  LLVMGlobalISelAbortMode { LLVMGlobalISelAbortEnable , LLVMGlobalISelAbortDisable , LLVMGlobalISelAbortDisableWithDiag }
 

Functions

LLVMTargetRef LLVMGetFirstTarget (void)
 
LLVMTargetRef LLVMGetNextTarget (LLVMTargetRef T)
 
LLVMTargetRef LLVMGetTargetFromName (const char *Name)
 
LLVMBool LLVMGetTargetFromTriple (const char *Triple, LLVMTargetRef *T, char **ErrorMessage)
 
const char * LLVMGetTargetName (LLVMTargetRef T)
 
const char * LLVMGetTargetDescription (LLVMTargetRef T)
 
LLVMBool LLVMTargetHasJIT (LLVMTargetRef T)
 
LLVMBool LLVMTargetHasTargetMachine (LLVMTargetRef T)
 
LLVMBool LLVMTargetHasAsmBackend (LLVMTargetRef T)
 
LLVMTargetMachineOptionsRef LLVMCreateTargetMachineOptions (void)
 
void LLVMDisposeTargetMachineOptions (LLVMTargetMachineOptionsRef Options)
 
void LLVMTargetMachineOptionsSetCPU (LLVMTargetMachineOptionsRef Options, const char *CPU)
 
void LLVMTargetMachineOptionsSetFeatures (LLVMTargetMachineOptionsRef Options, const char *Features)
 
void LLVMTargetMachineOptionsSetABI (LLVMTargetMachineOptionsRef Options, const char *ABI)
 
void LLVMTargetMachineOptionsSetCodeGenOptLevel (LLVMTargetMachineOptionsRef Options, LLVMCodeGenOptLevel Level)
 
void LLVMTargetMachineOptionsSetRelocMode (LLVMTargetMachineOptionsRef Options, LLVMRelocMode Reloc)
 
void LLVMTargetMachineOptionsSetCodeModel (LLVMTargetMachineOptionsRef Options, LLVMCodeModel CodeModel)
 
LLVMTargetMachineRef LLVMCreateTargetMachineWithOptions (LLVMTargetRef T, const char *Triple, LLVMTargetMachineOptionsRef Options)
 
LLVMTargetMachineRef LLVMCreateTargetMachine (LLVMTargetRef T, const char *Triple, const char *CPU, const char *Features, LLVMCodeGenOptLevel Level, LLVMRelocMode Reloc, LLVMCodeModel CodeModel)
 
void LLVMDisposeTargetMachine (LLVMTargetMachineRef T)
 
LLVMTargetRef LLVMGetTargetMachineTarget (LLVMTargetMachineRef T)
 
char * LLVMGetTargetMachineTriple (LLVMTargetMachineRef T)
 
char * LLVMGetTargetMachineCPU (LLVMTargetMachineRef T)
 
char * LLVMGetTargetMachineFeatureString (LLVMTargetMachineRef T)
 
LLVMTargetDataRef LLVMCreateTargetDataLayout (LLVMTargetMachineRef T)
 
void LLVMSetTargetMachineAsmVerbosity (LLVMTargetMachineRef T, LLVMBool VerboseAsm)
 
void LLVMSetTargetMachineFastISel (LLVMTargetMachineRef T, LLVMBool Enable)
 
void LLVMSetTargetMachineGlobalISel (LLVMTargetMachineRef T, LLVMBool Enable)
 
void LLVMSetTargetMachineGlobalISelAbort (LLVMTargetMachineRef T, LLVMGlobalISelAbortMode Mode)
 
void LLVMSetTargetMachineMachineOutliner (LLVMTargetMachineRef T, LLVMBool Enable)
 
LLVMBool LLVMTargetMachineEmitToFile (LLVMTargetMachineRef T, LLVMModuleRef M, const char *Filename, LLVMCodeGenFileType codegen, char **ErrorMessage)
 
LLVMBool LLVMTargetMachineEmitToMemoryBuffer (LLVMTargetMachineRef T, LLVMModuleRef M, LLVMCodeGenFileType codegen, char **ErrorMessage, LLVMMemoryBufferRef *OutMemBuf)
 
char * LLVMGetDefaultTargetTriple (void)
 
char * LLVMNormalizeTargetTriple (const char *triple)
 
char * LLVMGetHostCPUName (void)
 
char * LLVMGetHostCPUFeatures (void)
 
void LLVMAddAnalysisPasses (LLVMTargetMachineRef T, LLVMPassManagerRef PM)