diff options
Diffstat (limited to 'llvm/include/llvm-c/Core.h')
| -rw-r--r-- | llvm/include/llvm-c/Core.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/llvm/include/llvm-c/Core.h b/llvm/include/llvm-c/Core.h index 7dc1a07657b..3e5d201f077 100644 --- a/llvm/include/llvm-c/Core.h +++ b/llvm/include/llvm-c/Core.h @@ -149,6 +149,14 @@ void LLVMDisposeMessage(char *Message); LLVMModuleRef LLVMModuleCreateWithName(const char *ModuleID); void LLVMDisposeModule(LLVMModuleRef M); +/* Data layout */ +const char *LLVMGetDataLayout(LLVMModuleRef M); +void LLVMSetDataLayout(LLVMModuleRef M, const char *Triple); + +/* Target triple */ +const char *LLVMGetTarget(LLVMModuleRef M); +void LLVMSetTarget(LLVMModuleRef M, const char *Triple); + /* Same as Module::addTypeName. */ int LLVMAddTypeName(LLVMModuleRef M, const char *Name, LLVMTypeRef Ty); void LLVMDeleteTypeName(LLVMModuleRef M, const char *Name); |

