Searched refs:ModuleOrErr (Results 1 – 5 of 5) sorted by relevance
58 ErrorOr<std::unique_ptr<Module>> ModuleOrErr = parseBitcodeFile(Buf, Ctx); in LLVMParseBitcodeInContext() local62 if (ModuleOrErr.getError()) { in LLVMParseBitcodeInContext()69 *OutModule = wrap(ModuleOrErr.get().release()); in LLVMParseBitcodeInContext()79 ErrorOr<std::unique_ptr<Module>> ModuleOrErr = parseBitcodeFile(Buf, Ctx); in LLVMParseBitcodeInContext2() local80 if (ModuleOrErr.getError()) { in LLVMParseBitcodeInContext2()85 *OutModule = wrap(ModuleOrErr.get().release()); in LLVMParseBitcodeInContext2()104 ErrorOr<std::unique_ptr<Module>> ModuleOrErr = in LLVMGetBitcodeModuleInContext() local109 if (ModuleOrErr.getError()) { in LLVMGetBitcodeModuleInContext()116 *OutM = wrap(ModuleOrErr.get().release()); in LLVMGetBitcodeModuleInContext()127 ErrorOr<std::unique_ptr<Module>> ModuleOrErr = in LLVMGetBitcodeModuleInContext2() local[all …]
37 ErrorOr<std::unique_ptr<Module>> ModuleOrErr = getLazyBitcodeModule( in getLazyIRModule() local39 if (std::error_code EC = ModuleOrErr.getError()) { in getLazyIRModule()44 return std::move(ModuleOrErr.get()); in getLazyIRModule()72 ErrorOr<std::unique_ptr<Module>> ModuleOrErr = in parseIR() local74 if (std::error_code EC = ModuleOrErr.getError()) { in parseIR()79 return std::move(ModuleOrErr.get()); in parseIR()
60 ErrorOr<std::unique_ptr<Module>> ModuleOrErr = in getLazyModuleFromAssembly() local62 return std::move(ModuleOrErr.get()); in getLazyModuleFromAssembly()89 ErrorOr<std::unique_ptr<Module>> ModuleOrErr = in getStreamedModuleFromAssembly() local91 return std::move(ModuleOrErr.get()); in getStreamedModuleFromAssembly()
290 ErrorOr<std::unique_ptr<LTOModule>> ModuleOrErr = in main() local292 std::unique_ptr<LTOModule> &Module = *ModuleOrErr; in main()
702 ErrorOr<std::unique_ptr<llvm::Module>> ModuleOrErr = in CreateASTConsumer() local704 if (std::error_code EC = ModuleOrErr.getError()) { in CreateASTConsumer()710 addLinkModule(ModuleOrErr.get().release(), I.first); in CreateASTConsumer()