Lines Matching refs:ModuleOrErr
42 Expected<std::unique_ptr<Module>> ModuleOrErr = parseBitcodeFile(Buf, Ctx); in LLVMParseBitcodeInContext() local
43 if (Error Err = ModuleOrErr.takeError()) { in LLVMParseBitcodeInContext()
54 *OutModule = wrap(ModuleOrErr.get().release()); in LLVMParseBitcodeInContext()
64 ErrorOr<std::unique_ptr<Module>> ModuleOrErr = in LLVMParseBitcodeInContext2() local
66 if (ModuleOrErr.getError()) { in LLVMParseBitcodeInContext2()
71 *OutModule = wrap(ModuleOrErr.get().release()); in LLVMParseBitcodeInContext2()
83 Expected<std::unique_ptr<Module>> ModuleOrErr = in LLVMGetBitcodeModuleInContext() local
89 if (Error Err = ModuleOrErr.takeError()) { in LLVMGetBitcodeModuleInContext()
100 *OutM = wrap(ModuleOrErr.get().release()); in LLVMGetBitcodeModuleInContext()
111 ErrorOr<std::unique_ptr<Module>> ModuleOrErr = expectedToErrorOrAndEmitErrors( in LLVMGetBitcodeModuleInContext2() local
115 if (ModuleOrErr.getError()) { in LLVMGetBitcodeModuleInContext2()
120 *OutM = wrap(ModuleOrErr.get().release()); in LLVMGetBitcodeModuleInContext2()