Searched refs:LTOContext (Results 1 – 1 of 1) sorted by relevance
| /llvm-project-15.0.7/llvm/tools/lto/ |
| H A D | lto.cpp | 71 static LLVMContext *LTOContext = nullptr; variable 108 LTOContext = &Context; in lto_initialize() 109 LTOContext->setDiagnosticHandler( in lto_initialize() 126 LibLTOCodeGenerator() : LTOCodeGenerator(*LTOContext) { init(); } in LibLTOCodeGenerator() 211 LTOModule::createFromFile(*LTOContext, StringRef(path), Options); in lto_module_create() 222 *LTOContext, fd, StringRef(path), size, Options); in lto_module_create_from_fd() 236 *LTOContext, fd, StringRef(path), map_size, offset, Options); in lto_module_create_from_fd_at_offset() 247 LTOModule::createFromBuffer(*LTOContext, mem, length, Options); in lto_module_create_from_memory() 260 *LTOContext, mem, length, Options, StringRef(path)); in lto_module_create_from_memory_with_path()
|