• Home
  • Raw
  • Download

Lines Matching refs:LTOModule

143 DEFINE_SIMPLE_CONVERSION_FUNCTIONS(LTOModule, lto_module_t)  in DEFINE_SIMPLE_CONVERSION_FUNCTIONS()
173 return LTOModule::isBitcodeFile(path); in lto_module_is_object_file()
181 return LTOModule::isBitcodeForTarget(Buffer->get(), target_triplet_prefix); in lto_module_is_object_file_for_target()
185 std::unique_ptr<MemoryBuffer> Buffer(LTOModule::makeBuffer(mem, length)); in lto_module_has_objc_category()
193 return LTOModule::isBitcodeFile(mem, length); in lto_module_is_object_file_in_memory()
200 std::unique_ptr<MemoryBuffer> buffer(LTOModule::makeBuffer(mem, length)); in lto_module_is_object_file_in_memory_for_target()
203 return LTOModule::isBitcodeForTarget(buffer.get(), target_triplet_prefix); in lto_module_is_object_file_in_memory_for_target()
209 ErrorOr<std::unique_ptr<LTOModule>> M = in lto_module_create()
210 LTOModule::createFromFile(*LTOContext, path, Options); in lto_module_create()
219 ErrorOr<std::unique_ptr<LTOModule>> M = in lto_module_create_from_fd()
220 LTOModule::createFromOpenFile(*LTOContext, fd, path, size, Options); in lto_module_create_from_fd()
232 ErrorOr<std::unique_ptr<LTOModule>> M = LTOModule::createFromOpenFileSlice( in lto_module_create_from_fd_at_offset()
242 ErrorOr<std::unique_ptr<LTOModule>> M = in lto_module_create_from_memory()
243 LTOModule::createFromBuffer(*LTOContext, mem, length, Options); in lto_module_create_from_memory()
254 ErrorOr<std::unique_ptr<LTOModule>> M = in lto_module_create_from_memory_with_path()
255 LTOModule::createFromBuffer(*LTOContext, mem, length, Options, path); in lto_module_create_from_memory_with_path()
270 ErrorOr<std::unique_ptr<LTOModule>> M = in lto_module_create_in_local_context()
271 LTOModule::createInLocalContext(std::move(Context), mem, length, Options, in lto_module_create_in_local_context()
284 ErrorOr<std::unique_ptr<LTOModule>> M = LTOModule::createFromBuffer( in lto_module_create_in_codegen_context()
349 unwrap(cg)->setModule(std::unique_ptr<LTOModule>(unwrap(mod))); in lto_codegen_set_module()