Home
last modified time | relevance | path

Searched refs:LLVMModuleRef (Results 1 – 25 of 55) sorted by relevance

123

/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm-c/
H A DBitReader.h39 LLVMBool LLVMParseBitcode(LLVMMemoryBufferRef MemBuf, LLVMModuleRef *OutModule,
45 LLVMModuleRef *OutModule);
50 LLVMModuleRef *OutModule, char **OutMessage);
54 LLVMModuleRef *OutModule);
62 LLVMModuleRef *OutM, char **OutMessage);
68 LLVMModuleRef *OutM);
71 LLVMBool LLVMGetBitcodeModule(LLVMMemoryBufferRef MemBuf, LLVMModuleRef *OutM,
74 LLVMBool LLVMGetBitcodeModule2(LLVMMemoryBufferRef MemBuf, LLVMModuleRef *OutM);
H A DCore.h670 LLVMModuleRef LLVMModuleCreateWithName(const char *ModuleID);
678 LLVMModuleRef LLVMModuleCreateWithNameInContext(const char *ModuleID,
683 LLVMModuleRef LLVMCloneModule(LLVMModuleRef M);
691 void LLVMDisposeModule(LLVMModuleRef M);
701 const char *LLVMGetModuleIdentifier(LLVMModuleRef M, size_t *Len);
711 void LLVMSetModuleIdentifier(LLVMModuleRef M, const char *Ident, size_t Len);
721 const char *LLVMGetSourceFileName(LLVMModuleRef M, size_t *Len);
732 void LLVMSetSourceFileName(LLVMModuleRef M, const char *Name, size_t Len);
743 const char *LLVMGetDataLayoutStr(LLVMModuleRef M);
744 const char *LLVMGetDataLayout(LLVMModuleRef M);
[all …]
H A DExecutionEngine.h75 LLVMModuleRef M,
79 LLVMModuleRef M,
83 LLVMModuleRef M,
108 LLVMExecutionEngineRef *OutJIT, LLVMModuleRef M,
128 void LLVMAddModule(LLVMExecutionEngineRef EE, LLVMModuleRef M);
130 LLVMBool LLVMRemoveModule(LLVMExecutionEngineRef EE, LLVMModuleRef M,
131 LLVMModuleRef *OutMod, char **OutError);
H A DBitWriter.h37 int LLVMWriteBitcodeToFile(LLVMModuleRef M, const char *Path);
40 int LLVMWriteBitcodeToFD(LLVMModuleRef M, int FD, int ShouldClose,
45 int LLVMWriteBitcodeToFileHandle(LLVMModuleRef M, int Handle);
48 LLVMMemoryBufferRef LLVMWriteBitcodeToMemoryBuffer(LLVMModuleRef M);
H A DLinker.h34 LLVMBool LLVMLinkModules2(LLVMModuleRef Dest, LLVMModuleRef Src);
H A DTargetMachine.h132 LLVMBool LLVMTargetMachineEmitToFile(LLVMTargetMachineRef T, LLVMModuleRef M,
136 LLVMBool LLVMTargetMachineEmitToMemoryBuffer(LLVMTargetMachineRef T, LLVMModuleRef M,
H A DTarget.h186 LLVMTargetDataRef LLVMGetModuleDataLayout(LLVMModuleRef M);
193 void LLVMSetModuleDataLayout(LLVMModuleRef M, LLVMTargetDataRef DL);
H A DIRReader.h32 LLVMMemoryBufferRef MemBuf, LLVMModuleRef *OutM,
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Bitcode/Reader/
H A DBitReader.cpp24 LLVMBool LLVMParseBitcode(LLVMMemoryBufferRef MemBuf, LLVMModuleRef *OutModule, in LLVMParseBitcode()
31 LLVMModuleRef *OutModule) { in LLVMParseBitcode2()
37 LLVMModuleRef *OutModule, in LLVMParseBitcodeInContext()
60 LLVMModuleRef *OutModule) { in LLVMParseBitcodeInContext2()
80 LLVMModuleRef *OutM, char **OutMessage) { in LLVMGetBitcodeModuleInContext()
107 LLVMModuleRef *OutM) { in LLVMGetBitcodeModuleInContext2()
124 LLVMBool LLVMGetBitcodeModule(LLVMMemoryBufferRef MemBuf, LLVMModuleRef *OutM, in LLVMGetBitcodeModule()
131 LLVMModuleRef *OutM) { in LLVMGetBitcodeModule2()
/netbsd-src/external/apache2/llvm/dist/llvm/bindings/ocaml/bitreader/
H A Dbitreader_ocaml.c25 LLVMModuleRef llvm_get_module(LLVMContextRef C, LLVMMemoryBufferRef MemBuf) { in llvm_get_module()
26 LLVMModuleRef M; in llvm_get_module()
36 LLVMModuleRef llvm_parse_bitcode(LLVMContextRef C, LLVMMemoryBufferRef MemBuf) { in llvm_parse_bitcode()
37 LLVMModuleRef M; in llvm_parse_bitcode()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Bitcode/Writer/
H A DBitWriter.cpp20 int LLVMWriteBitcodeToFile(LLVMModuleRef M, const char *Path) { in LLVMWriteBitcodeToFile()
31 int LLVMWriteBitcodeToFD(LLVMModuleRef M, int FD, int ShouldClose, in LLVMWriteBitcodeToFD()
39 int LLVMWriteBitcodeToFileHandle(LLVMModuleRef M, int FileHandle) { in LLVMWriteBitcodeToFileHandle()
43 LLVMMemoryBufferRef LLVMWriteBitcodeToMemoryBuffer(LLVMModuleRef M) { in LLVMWriteBitcodeToMemoryBuffer()
/netbsd-src/external/apache2/llvm/dist/llvm/tools/llvm-c-test/
H A Dmodule.c27 LLVMModuleRef llvm_load_module(bool Lazy, bool New) { in llvm_load_module()
29 LLVMModuleRef M; in llvm_load_module()
65 LLVMModuleRef M = llvm_load_module(Lazy, New); in llvm_module_dump()
77 LLVMModuleRef M = llvm_load_module(false, false); in llvm_module_list_functions()
118 LLVMModuleRef M = llvm_load_module(false, false); in llvm_module_list_globals()
H A Dattributes.c23 LLVMModuleRef M = llvm_load_module(false, true); in llvm_test_function_attributes()
52 LLVMModuleRef M = llvm_load_module(false, true); in llvm_test_callsite_attributes()
H A Decho.cpp59 LLVMModuleRef M;
62 TypeCloner(LLVMModuleRef M): M(M), Ctx(LLVMGetModuleContext(M)) {} in TypeCloner()
229 static LLVMValueRef clone_constant_impl(LLVMValueRef Cst, LLVMModuleRef M);
231 static LLVMValueRef clone_constant(LLVMValueRef Cst, LLVMModuleRef M) { in clone_constant()
237 static LLVMValueRef clone_constant_impl(LLVMValueRef Cst, LLVMModuleRef M) { in clone_constant_impl()
412 LLVMModuleRef M;
961 static void declare_symbols(LLVMModuleRef Src, LLVMModuleRef M) { in declare_symbols()
1143 static void clone_symbols(LLVMModuleRef Src, LLVMModuleRef M) { in clone_symbols()
1374 LLVMModuleRef Src = llvm_load_module(false, true); in llvm_echo()
1380 LLVMModuleRef M = LLVMModuleCreateWithNameInContext(ModuleName, Ctx); in llvm_echo()
/netbsd-src/external/apache2/llvm/dist/llvm/bindings/ocaml/bitwriter/
H A Dbitwriter_ocaml.c25 value llvm_write_bitcode_file(LLVMModuleRef M, value Path) { in llvm_write_bitcode_file()
31 value llvm_write_bitcode_to_fd(value U, LLVMModuleRef M, value FD) { in llvm_write_bitcode_to_fd()
46 LLVMMemoryBufferRef llvm_write_bitcode_to_memory_buffer(LLVMModuleRef M) { in llvm_write_bitcode_to_memory_buffer()
/netbsd-src/external/apache2/llvm/dist/llvm/bindings/ocaml/executionengine/
H A Dexecutionengine_ocaml.c41 LLVMExecutionEngineRef llvm_ee_create(value OptRecordOpt, LLVMModuleRef M) { in llvm_ee_create()
70 value llvm_ee_add_module(LLVMModuleRef M, LLVMExecutionEngineRef EE) { in llvm_ee_add_module()
76 value llvm_ee_remove_module(LLVMModuleRef M, LLVMExecutionEngineRef EE) { in llvm_ee_remove_module()
77 LLVMModuleRef RemovedModule; in llvm_ee_remove_module()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/ExecutionEngine/
H A DExecutionEngineBindings.cpp104 LLVMModuleRef M, in LLVMCreateExecutionEngineForModule()
119 LLVMModuleRef M, in LLVMCreateInterpreterForModule()
134 LLVMModuleRef M, in LLVMCreateJITCompilerForModule()
161 LLVMExecutionEngineRef *OutJIT, LLVMModuleRef M, in LLVMCreateMCJITCompilerForModule()
257 void LLVMAddModule(LLVMExecutionEngineRef EE, LLVMModuleRef M){ in LLVMAddModule()
261 LLVMBool LLVMRemoveModule(LLVMExecutionEngineRef EE, LLVMModuleRef M, in LLVMRemoveModule()
262 LLVMModuleRef *OutMod, char **OutError) { in LLVMRemoveModule()
/netbsd-src/external/apache2/llvm/dist/llvm/bindings/ocaml/transforms/utils/
H A Dtransform_utils_ocaml.c29 LLVMModuleRef llvm_clone_module(LLVMModuleRef M) { return LLVMCloneModule(M); } in llvm_clone_module()
/netbsd-src/external/apache2/llvm/dist/llvm/bindings/ocaml/linker/
H A Dlinker_ocaml.c28 value llvm_link_modules(LLVMModuleRef Dst, LLVMModuleRef Src) { in llvm_link_modules()
/netbsd-src/external/apache2/llvm/dist/llvm/examples/OrcV2Examples/OrcV2CBindingsAddObjectFile/
H A DOrcV2CBindingsAddObjectFile.c26 LLVMModuleRef createDemoModule(LLVMContextRef Ctx) { in createDemoModule()
28 LLVMModuleRef M = LLVMModuleCreateWithNameInContext("demo", Ctx); in createDemoModule()
83 LLVMModuleRef M = createDemoModule(Ctx); in main()
/netbsd-src/external/apache2/llvm/dist/llvm/bindings/ocaml/llvm/
H A Dllvm_ocaml.c286 LLVMModuleRef llvm_create_module(LLVMContextRef C, value ModuleID) { in llvm_create_module()
291 value llvm_dispose_module(LLVMModuleRef M) { in llvm_dispose_module()
297 value llvm_target_triple(LLVMModuleRef M) { in llvm_target_triple()
302 value llvm_set_target_triple(value Trip, LLVMModuleRef M) { in llvm_set_target_triple()
308 value llvm_data_layout(LLVMModuleRef M) { in llvm_data_layout()
313 value llvm_set_data_layout(value Layout, LLVMModuleRef M) { in llvm_set_data_layout()
319 value llvm_dump_module(LLVMModuleRef M) { in llvm_dump_module()
325 value llvm_print_module(value Filename, LLVMModuleRef M) { in llvm_print_module()
335 value llvm_string_of_llmodule(LLVMModuleRef M) { in llvm_string_of_llmodule()
344 value llvm_get_module_identifier(LLVMModuleRef M) { in llvm_get_module_identifier()
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/lib/IR/
H A DCore.cpp247 LLVMModuleRef LLVMModuleCreateWithName(const char *ModuleID) { in LLVMModuleCreateWithName()
251 LLVMModuleRef LLVMModuleCreateWithNameInContext(const char *ModuleID, in LLVMModuleCreateWithNameInContext()
256 void LLVMDisposeModule(LLVMModuleRef M) { in LLVMDisposeModule()
260 const char *LLVMGetModuleIdentifier(LLVMModuleRef M, size_t *Len) { in LLVMGetModuleIdentifier()
266 void LLVMSetModuleIdentifier(LLVMModuleRef M, const char *Ident, size_t Len) { in LLVMSetModuleIdentifier()
270 const char *LLVMGetSourceFileName(LLVMModuleRef M, size_t *Len) { in LLVMGetSourceFileName()
276 void LLVMSetSourceFileName(LLVMModuleRef M, const char *Name, size_t Len) { in LLVMSetSourceFileName()
281 const char *LLVMGetDataLayoutStr(LLVMModuleRef M) { in LLVMGetDataLayoutStr()
285 const char *LLVMGetDataLayout(LLVMModuleRef M) { in LLVMGetDataLayout()
289 void LLVMSetDataLayout(LLVMModuleRef M, const char *DataLayoutStr) { in LLVMSetDataLayout()
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/bindings/ocaml/analysis/
H A Danalysis_ocaml.c26 value llvm_verify_module(LLVMModuleRef M) { in llvm_verify_module()
51 value llvm_assert_valid_module(LLVMModuleRef M) { in llvm_assert_valid_module()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/
H A DTargetMachineC.cpp185 static LLVMBool LLVMTargetMachineEmit(LLVMTargetMachineRef T, LLVMModuleRef M, in LLVMTargetMachineEmit()
219 LLVMBool LLVMTargetMachineEmitToFile(LLVMTargetMachineRef T, LLVMModuleRef M, in LLVMTargetMachineEmitToFile()
233 LLVMModuleRef M, LLVMCodeGenFileType codegen, char** ErrorMessage, in LLVMTargetMachineEmitToMemoryBuffer()
H A DTarget.cpp47 LLVMTargetDataRef LLVMGetModuleDataLayout(LLVMModuleRef M) { in LLVMGetModuleDataLayout()
51 void LLVMSetModuleDataLayout(LLVMModuleRef M, LLVMTargetDataRef DL) { in LLVMSetModuleDataLayout()

123