Home
last modified time | relevance | path

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

123

/openbsd-src/gnu/llvm/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);
73 LLVMModuleRef *OutM);
76 LLVMBool LLVMGetBitcodeModule(LLVMMemoryBufferRef MemBuf, LLVMModuleRef *OutM,
79 LLVMBool LLVMGetBitcodeModule2(LLVMMemoryBufferRef MemBuf, LLVMModuleRef *OutM);
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 DCore.h697 LLVMModuleRef LLVMModuleCreateWithName(const char *ModuleID);
705 LLVMModuleRef LLVMModuleCreateWithNameInContext(const char *ModuleID,
710 LLVMModuleRef LLVMCloneModule(LLVMModuleRef M);
718 void LLVMDisposeModule(LLVMModuleRef M);
728 const char *LLVMGetModuleIdentifier(LLVMModuleRef M, size_t *Len);
738 void LLVMSetModuleIdentifier(LLVMModuleRef M, const char *Ident, size_t Len);
748 const char *LLVMGetSourceFileName(LLVMModuleRef M, size_t *Len);
759 void LLVMSetSourceFileName(LLVMModuleRef M, const char *Name, size_t Len);
770 const char *LLVMGetDataLayoutStr(LLVMModuleRef M);
771 const char *LLVMGetDataLayout(LLVMModuleRef M);
[all …]
H A DLinker.h41 LLVMBool LLVMLinkModules2(LLVMModuleRef Dest, LLVMModuleRef Src);
H A DTargetMachine.h138 LLVMBool LLVMTargetMachineEmitToFile(LLVMTargetMachineRef T, LLVMModuleRef M,
144 LLVMBool LLVMTargetMachineEmitToMemoryBuffer(LLVMTargetMachineRef T, LLVMModuleRef M,
H A DTarget.h186 LLVMTargetDataRef LLVMGetModuleDataLayout(LLVMModuleRef M);
193 void LLVMSetModuleDataLayout(LLVMModuleRef M, LLVMTargetDataRef DL);
H A DIRReader.h39 LLVMMemoryBufferRef MemBuf, LLVMModuleRef *OutM,
/openbsd-src/gnu/llvm/llvm/lib/Bitcode/Reader/
H A DBitReader.cpp23 LLVMBool LLVMParseBitcode(LLVMMemoryBufferRef MemBuf, LLVMModuleRef *OutModule, in LLVMParseBitcode()
30 LLVMModuleRef *OutModule) { in LLVMParseBitcode2()
36 LLVMModuleRef *OutModule, in LLVMParseBitcodeInContext()
59 LLVMModuleRef *OutModule) { in LLVMParseBitcodeInContext2()
79 LLVMModuleRef *OutM, char **OutMessage) { in LLVMGetBitcodeModuleInContext()
106 LLVMModuleRef *OutM) { in LLVMGetBitcodeModuleInContext2()
123 LLVMBool LLVMGetBitcodeModule(LLVMMemoryBufferRef MemBuf, LLVMModuleRef *OutM, in LLVMGetBitcodeModule()
130 LLVMModuleRef *OutM) { in LLVMGetBitcodeModule2()
/openbsd-src/gnu/llvm/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()
/openbsd-src/gnu/llvm/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()
/openbsd-src/gnu/llvm/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()
/openbsd-src/gnu/llvm/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()
/openbsd-src/gnu/llvm/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()
/openbsd-src/gnu/llvm/llvm/bindings/ocaml/transforms/utils/
H A Dtransform_utils_ocaml.c29 LLVMModuleRef llvm_clone_module(LLVMModuleRef M) { return LLVMCloneModule(M); } in llvm_clone_module()
/openbsd-src/gnu/llvm/llvm/bindings/ocaml/linker/
H A Dlinker_ocaml.c28 value llvm_link_modules(LLVMModuleRef Dst, LLVMModuleRef Src) { in llvm_link_modules()
/openbsd-src/gnu/llvm/llvm/lib/ExecutionEngine/
H A DExecutionEngineBindings.cpp105 LLVMModuleRef M, in LLVMCreateExecutionEngineForModule()
120 LLVMModuleRef M, in LLVMCreateInterpreterForModule()
135 LLVMModuleRef M, in LLVMCreateJITCompilerForModule()
162 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()
/openbsd-src/gnu/llvm/llvm/examples/OrcV2Examples/OrcV2CBindingsAddObjectFile/
H A DOrcV2CBindingsAddObjectFile.c26 LLVMModuleRef createDemoModule(LLVMContextRef Ctx) { in createDemoModule()
28 LLVMModuleRef M = LLVMModuleCreateWithNameInContext("demo", Ctx); in createDemoModule()
86 LLVMModuleRef M = createDemoModule(Ctx); in main()
/openbsd-src/gnu/llvm/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 …]
/openbsd-src/gnu/llvm/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()
/openbsd-src/gnu/llvm/llvm/lib/IR/
H A DCore.cpp255 LLVMModuleRef LLVMModuleCreateWithName(const char *ModuleID) { in LLVMModuleCreateWithName()
259 LLVMModuleRef LLVMModuleCreateWithNameInContext(const char *ModuleID, in LLVMModuleCreateWithNameInContext()
264 void LLVMDisposeModule(LLVMModuleRef M) { in LLVMDisposeModule()
268 const char *LLVMGetModuleIdentifier(LLVMModuleRef M, size_t *Len) { in LLVMGetModuleIdentifier()
274 void LLVMSetModuleIdentifier(LLVMModuleRef M, const char *Ident, size_t Len) { in LLVMSetModuleIdentifier()
278 const char *LLVMGetSourceFileName(LLVMModuleRef M, size_t *Len) { in LLVMGetSourceFileName()
284 void LLVMSetSourceFileName(LLVMModuleRef M, const char *Name, size_t Len) { in LLVMSetSourceFileName()
289 const char *LLVMGetDataLayoutStr(LLVMModuleRef M) { in LLVMGetDataLayoutStr()
293 const char *LLVMGetDataLayout(LLVMModuleRef M) { in LLVMGetDataLayout()
297 void LLVMSetDataLayout(LLVMModuleRef M, const char *DataLayoutStr) { in LLVMSetDataLayout()
[all …]
/openbsd-src/gnu/llvm/llvm/examples/OrcV2Examples/OrcV2CBindingsIRTransforms/
H A DOrcV2CBindingsIRTransforms.c38 LLVMModuleRef M = LLVMModuleCreateWithNameInContext("demo", Ctx); in createDemoModule()
56 LLVMErrorRef myModuleTransform(void *Ctx, LLVMModuleRef Mod) { in myModuleTransform()
/openbsd-src/gnu/llvm/llvm/lib/Target/
H A DTargetMachineC.cpp182 static LLVMBool LLVMTargetMachineEmit(LLVMTargetMachineRef T, LLVMModuleRef M, in LLVMTargetMachineEmit()
216 LLVMBool LLVMTargetMachineEmitToFile(LLVMTargetMachineRef T, LLVMModuleRef M, in LLVMTargetMachineEmitToFile()
232 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