Searched refs:MOrErr (Results 1 – 2 of 2) sorted by relevance
135 llvm::ErrorOr<llvm::Module *> MOrErr(nullptr); in translate() local138 MOrErr = llvm_3_0::parseBitcodeFile(*MBOrErr, *mContext); in translate()140 MOrErr = llvm_2_7::parseBitcodeFile(*MBOrErr, *mContext); in translate()146 if (std::error_code EC = MOrErr.getError()) { in translate()153 llvm::Module *module = MOrErr.get(); in translate()
84 ErrorOr<std::unique_ptr<Module>> MOrErr = in convertLLVMToSPIRV() local87 if (std::error_code EC = MOrErr.getError()) { in convertLLVMToSPIRV()92 std::unique_ptr<Module> M = std::move(*MOrErr); in convertLLVMToSPIRV()