Home | History | Annotate | Download | only in lto

Lines Matching refs:LTOModule

22 #include "llvm/LTO/LTOModule.h"
138 DEFINE_SIMPLE_CONVERSION_FUNCTIONS(LTOModule, lto_module_t)
168 return LTOModule::isBitcodeFile(path);
176 return LTOModule::isBitcodeForTarget(Buffer->get(), target_triplet_prefix);
180 return LTOModule::isBitcodeFile(mem, length);
187 std::unique_ptr<MemoryBuffer> buffer(LTOModule::makeBuffer(mem, length));
190 return LTOModule::isBitcodeForTarget(buffer.get(), target_triplet_prefix);
196 ErrorOr<std::unique_ptr<LTOModule>> M =
197 LTOModule::createFromFile(*LTOContext, path, Options);
206 ErrorOr<std::unique_ptr<LTOModule>> M =
207 LTOModule::createFromOpenFile(*LTOContext, fd, path, size, Options);
219 ErrorOr<std::unique_ptr<LTOModule>> M = LTOModule::createFromOpenFileSlice(
229 ErrorOr<std::unique_ptr<LTOModule>> M =
230 LTOModule::createFromBuffer(*LTOContext, mem, length, Options);
241 ErrorOr<std::unique_ptr<LTOModule>> M =
242 LTOModule::createFromBuffer(*LTOContext, mem, length, Options, path);
252 ErrorOr<std::unique_ptr<LTOModule>> M =
253 LTOModule::createInLocalContext(mem, length, Options, path);
265 ErrorOr<std::unique_ptr<LTOModule>> M = LTOModule::createInContext(
330 unwrap(cg)->setModule(std::unique_ptr<LTOModule>(unwrap(mod)));