Searched refs:moduleOrError (Results 1 – 2 of 2) sorted by relevance
42 llvm::ErrorOr<llvm::Module *> moduleOrError = llvm::getLazyBitcodeModule(pInput, pContext); in helper_load_bitcode() local43 if (std::error_code ec = moduleOrError.getError()) { in helper_load_bitcode()48 return moduleOrError.get(); in helper_load_bitcode()
319 llvm::ErrorOr<llvm::Module*> moduleOrError = llvm::parseBitcodeFile(mem.get(), ctx); in main() local320 std::error_code ec = moduleOrError.getError(); in main()322 module.reset(moduleOrError.get()); in main()