Lines Matching refs:ModuleOrErr
43 Expected<std::unique_ptr<Module>> ModuleOrErr = parseBitcodeFile(Buf, Ctx); in LLVMParseBitcodeInContext() local
44 if (Error Err = ModuleOrErr.takeError()) { in LLVMParseBitcodeInContext()
55 *OutModule = wrap(ModuleOrErr.get().release()); in LLVMParseBitcodeInContext()
65 ErrorOr<std::unique_ptr<Module>> ModuleOrErr = in LLVMParseBitcodeInContext2() local
67 if (ModuleOrErr.getError()) { in LLVMParseBitcodeInContext2()
72 *OutModule = wrap(ModuleOrErr.get().release()); in LLVMParseBitcodeInContext2()
84 Expected<std::unique_ptr<Module>> ModuleOrErr = in LLVMGetBitcodeModuleInContext() local
90 if (Error Err = ModuleOrErr.takeError()) { in LLVMGetBitcodeModuleInContext()
101 *OutM = wrap(ModuleOrErr.get().release()); in LLVMGetBitcodeModuleInContext()
112 ErrorOr<std::unique_ptr<Module>> ModuleOrErr = expectedToErrorOrAndEmitErrors( in LLVMGetBitcodeModuleInContext2() local
116 if (ModuleOrErr.getError()) { in LLVMGetBitcodeModuleInContext2()
121 *OutM = wrap(ModuleOrErr.get().release()); in LLVMGetBitcodeModuleInContext2()