Searched refs:LTOContext (Results 1 – 1 of 1) sorted by relevance
/external/llvm/tools/lto/ |
D | lto.cpp | 69 static LLVMContext *LTOContext = nullptr; variable 103 LTOContext = &getGlobalContext(); in lto_initialize() 104 LTOContext->setDiagnosticHandler(diagnosticHandler, nullptr, true); in lto_initialize() 121 LibLTOCodeGenerator() : LTOCodeGenerator(*LTOContext) { in LibLTOCodeGenerator() 197 LTOModule::createFromFile(*LTOContext, path, Options); in lto_module_create() 207 LTOModule::createFromOpenFile(*LTOContext, fd, path, size, Options); in lto_module_create_from_fd() 220 *LTOContext, fd, path, map_size, offset, Options); in lto_module_create_from_fd_at_offset() 230 LTOModule::createFromBuffer(*LTOContext, mem, length, Options); in lto_module_create_from_memory() 242 LTOModule::createFromBuffer(*LTOContext, mem, length, Options, path); in lto_module_create_from_memory_with_path()
|