Lines Matching refs:ModuleOrErr
41 Expected<std::unique_ptr<Module>> ModuleOrErr = parseBitcodeFile(Buf, Ctx); in LLVMParseBitcodeInContext() local
42 if (Error Err = ModuleOrErr.takeError()) { in LLVMParseBitcodeInContext()
53 *OutModule = wrap(ModuleOrErr.get().release()); in LLVMParseBitcodeInContext()
63 ErrorOr<std::unique_ptr<Module>> ModuleOrErr = in LLVMParseBitcodeInContext2() local
65 if (ModuleOrErr.getError()) { in LLVMParseBitcodeInContext2()
70 *OutModule = wrap(ModuleOrErr.get().release()); in LLVMParseBitcodeInContext2()
82 Expected<std::unique_ptr<Module>> ModuleOrErr = in LLVMGetBitcodeModuleInContext() local
88 if (Error Err = ModuleOrErr.takeError()) { in LLVMGetBitcodeModuleInContext()
99 *OutM = wrap(ModuleOrErr.get().release()); in LLVMGetBitcodeModuleInContext()
110 ErrorOr<std::unique_ptr<Module>> ModuleOrErr = expectedToErrorOrAndEmitErrors( in LLVMGetBitcodeModuleInContext2() local
114 if (ModuleOrErr.getError()) { in LLVMGetBitcodeModuleInContext2()
119 *OutM = wrap(ModuleOrErr.get().release()); in LLVMGetBitcodeModuleInContext2()