| /llvm-project/llvm/include/llvm-c/ |
| H A D | BitReader.h | 39 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 D | ExecutionEngine.h | 75 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 D | Core.h | 763 LLVMModuleRef LLVMModuleCreateWithName(const char *ModuleID); 771 LLVMModuleRef LLVMModuleCreateWithNameInContext(const char *ModuleID, 776 LLVMModuleRef LLVMCloneModule(LLVMModuleRef M); 784 void LLVMDisposeModule(LLVMModuleRef M); 794 LLVMBool LLVMIsNewDbgInfoFormat(LLVMModuleRef M); 802 void LLVMSetIsNewDbgInfoFormat(LLVMModuleRef M, LLVMBool UseNewFormat); 812 const char *LLVMGetModuleIdentifier(LLVMModuleRef M, size_t *Len); 822 void LLVMSetModuleIdentifier(LLVMModuleRef M, const char *Ident, size_t Len); 832 const char *LLVMGetSourceFileName(LLVMModuleRef [all...] |
| H A D | BitWriter.h | 37 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 D | Linker.h | 41 LLVMBool LLVMLinkModules2(LLVMModuleRef Dest, LLVMModuleRef Src);
|
| H A D | TargetMachine.h | 209 LLVMBool LLVMTargetMachineEmitToFile(LLVMTargetMachineRef T, LLVMModuleRef M, 215 LLVMBool LLVMTargetMachineEmitToMemoryBuffer(LLVMTargetMachineRef T, LLVMModuleRef M,
|
| H A D | Target.h | 186 LLVMTargetDataRef LLVMGetModuleDataLayout(LLVMModuleRef M); 193 void LLVMSetModuleDataLayout(LLVMModuleRef M, LLVMTargetDataRef DL);
|
| H A D | IRReader.h | 39 LLVMMemoryBufferRef MemBuf, LLVMModuleRef *OutM,
|
| H A D | Analysis.h | 44 LLVMBool LLVMVerifyModule(LLVMModuleRef M, LLVMVerifierFailureAction Action,
|
| /llvm-project/llvm/lib/Bitcode/Reader/ |
| H A D | BitReader.cpp | 23 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()
|
| /llvm-project/llvm/lib/Bitcode/Writer/ |
| H A D | BitWriter.cpp | 20 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()
|
| /llvm-project/llvm/tools/llvm-c-test/ |
| H A D | module.c | 27 LLVMModuleRef llvm_load_module(LLVMContextRef C, bool Lazy, bool New) { in llvm_load_module() 29 LLVMModuleRef M; in llvm_load_module() 64 LLVMModuleRef M = llvm_load_module(LLVMGetGlobalContext(), Lazy, New); in llvm_module_dump() 76 LLVMModuleRef M = llvm_load_module(LLVMGetGlobalContext(), false, false); in llvm_module_list_functions() 117 LLVMModuleRef M = llvm_load_module(LLVMGetGlobalContext(), false, false); in llvm_module_list_globals()
|
| H A D | metadata.c | 22 LLVMModuleRef M = LLVMModuleCreateWithName("Mod"); in llvm_add_named_metadata_operand() 51 LLVMModuleRef M = LLVMModuleCreateWithName("Mod"); in llvm_replace_md_operand() 79 LLVMModuleRef M = LLVMModuleCreateWithName("Mod"); in llvm_is_a_value_as_metadata()
|
| H A D | attributes.c | 23 LLVMModuleRef M = llvm_load_module(LLVMGetGlobalContext(), false, true); in llvm_test_function_attributes() 52 LLVMModuleRef M = llvm_load_module(LLVMGetGlobalContext(), false, true); in llvm_test_callsite_attributes()
|
| H A D | debuginfo.c | 36 LLVMModuleRef M = LLVMModuleCreateWithName(Filename); in llvm_test_dibuilder() 300 LLVMModuleRef M = LLVMModuleCreateWithName("Mod"); 329 LLVMModuleRef M = LLVMModuleCreateWithName("Mod");
|
| H A D | echo.cpp | 62 LLVMModuleRef M; 65 TypeCloner(LLVMModuleRef M): M(M), Ctx(LLVMGetModuleContext(M)) {} in TypeCloner() 249 static LLVMValueRef clone_constant_impl(LLVMValueRef Cst, LLVMModuleRef M); in check_value_kind() 251 static LLVMValueRef clone_constant(LLVMValueRef Cst, LLVMModuleRef M) { 257 static LLVMValueRef clone_constant_impl(LLVMValueRef Cst, LLVMModuleRef M) { in clone_constant() 434 static LLVMValueRef clone_inline_asm(LLVMValueRef Asm, LLVMModuleRef M) { in clone_inline_asm() 462 LLVMModuleRef M; 1188 static void declare_symbols(LLVMModuleRef Src, LLVMModuleRef M) { in declare_symbols() 1373 static void clone_symbols(LLVMModuleRef Sr in clone_symbols() [all...] |
| /llvm-project/llvm/lib/ExecutionEngine/ |
| H A D | ExecutionEngineBindings.cpp | 104 LLVMModuleRef M, in LLVMCreateExecutionEngineForModule() 119 LLVMModuleRef M, in LLVMCreateInterpreterForModule() 134 LLVMModuleRef M, in LLVMCreateJITCompilerForModule() 161 LLVMExecutionEngineRef *OutJIT, LLVMModuleRef M, in LLVMCreateMCJITCompilerForModule() 256 void LLVMAddModule(LLVMExecutionEngineRef EE, LLVMModuleRef M){ 260 LLVMBool LLVMRemoveModule(LLVMExecutionEngineRef EE, LLVMModuleRef M, 261 LLVMModuleRef *OutMod, char **OutError) { in LLVMRemoveModule()
|
| /llvm-project/llvm/examples/OrcV2Examples/OrcV2CBindingsAddObjectFile/ |
| H A D | OrcV2CBindingsAddObjectFile.c | 25 LLVMModuleRef createDemoModule(LLVMContextRef Ctx) { in createDemoModule() 27 LLVMModuleRef M = LLVMModuleCreateWithNameInContext("demo", Ctx); in createDemoModule() 84 LLVMModuleRef M = createDemoModule(Ctx); in main()
|
| /llvm-project/mlir/lib/CAPI/Target/ |
| H A D | LLVMIR.cpp | 24 LLVMModuleRef mlirTranslateModuleToLLVMIR(MlirOperation module, in mlirTranslateModuleToLLVMIR() 33 LLVMModuleRef moduleRef = llvm::wrap(llvmModule.release()); in mlirTranslateModuleToLLVMIR()
|
| /llvm-project/llvm/bindings/ocaml/bitreader/ |
| H A D | bitreader_ocaml.c | 27 LLVMModuleRef M; in llvm_get_module() 39 LLVMModuleRef M; in llvm_parse_bitcode()
|
| /llvm-project/llvm/lib/IR/ |
| H A D | Core.cpp | 276 LLVMModuleRef LLVMModuleCreateWithName(const char *ModuleID) { in LLVMModuleCreateWithNameInContext() 280 LLVMModuleRef LLVMModuleCreateWithNameInContext(const char *ModuleID, in LLVMDisposeModule() 285 void LLVMDisposeModule(LLVMModuleRef M) { in LLVMGetModuleIdentifier() 289 const char *LLVMGetModuleIdentifier(LLVMModuleRef M, size_t *Len) { in LLVMSetModuleIdentifier() 295 void LLVMSetModuleIdentifier(LLVMModuleRef M, const char *Ident, size_t Len) { in LLVMGetSourceFileName() 299 const char *LLVMGetSourceFileName(LLVMModuleRef M, size_t *Len) { in LLVMSetSourceFileName() 305 void LLVMSetSourceFileName(LLVMModuleRef M, const char *Name, size_t Len) { in LLVMGetDataLayoutStr() 310 const char *LLVMGetDataLayoutStr(LLVMModuleRef M) { 314 const char *LLVMGetDataLayout(LLVMModuleRef M) { 318 void LLVMSetDataLayout(LLVMModuleRef in LLVMGetTarget() [all...] |
| /llvm-project/llvm/examples/OrcV2Examples/OrcV2CBindingsIRTransforms/ |
| H A D | OrcV2CBindingsIRTransforms.c | 37 LLVMModuleRef M = LLVMModuleCreateWithNameInContext("demo", Ctx); in createDemoModule() 55 LLVMErrorRef myModuleTransform(void *Ctx, LLVMModuleRef Mod) { in myModuleTransform()
|
| /llvm-project/llvm/lib/Target/ |
| H A D | Target.cpp | 43 LLVMTargetDataRef LLVMGetModuleDataLayout(LLVMModuleRef M) { in LLVMGetModuleDataLayout() 47 void LLVMSetModuleDataLayout(LLVMModuleRef M, LLVMTargetDataRef DL) { in LLVMSetModuleDataLayout()
|
| H A D | TargetMachineC.cpp | 290 static LLVMBool LLVMTargetMachineEmit(LLVMTargetMachineRef T, LLVMModuleRef M, in LLVMTargetMachineEmit() 324 LLVMBool LLVMTargetMachineEmitToFile(LLVMTargetMachineRef T, LLVMModuleRef M, in LLVMTargetMachineEmitToFile() 340 LLVMModuleRef M, LLVMCodeGenFileType codegen, char** ErrorMessage, in LLVMTargetMachineEmitToMemoryBuffer()
|
| /llvm-project/mlir/include/mlir-c/Target/ |
| H A D | LLVMIR.h | 32 MLIR_CAPI_EXPORTED LLVMModuleRef
|