Searched refs:ModuleOrErr (Results 1 – 5 of 5) sorted by relevance
42 ErrorOr<Module *> ModuleOrErr = parseBitcodeFile( in LLVMParseBitcodeInContext() local44 if (ModuleOrErr.getError()) { in LLVMParseBitcodeInContext()53 *OutModule = wrap(ModuleOrErr.get()); in LLVMParseBitcodeInContext()67 ErrorOr<Module *> ModuleOrErr = in LLVMGetBitcodeModuleInContext() local71 if (std::error_code EC = ModuleOrErr.getError()) { in LLVMGetBitcodeModuleInContext()78 *OutM = wrap(ModuleOrErr.get()); in LLVMGetBitcodeModuleInContext()
4571 ErrorOr<Module *> ModuleOrErr = getLazyBitcodeModuleImpl( in parseBitcodeFile() local4573 if (!ModuleOrErr) in parseBitcodeFile()4574 return ModuleOrErr; in parseBitcodeFile()4575 Module *M = ModuleOrErr.get(); in parseBitcodeFile()
37 ErrorOr<Module *> ModuleOrErr = in getLazyIRModule() local39 if (std::error_code EC = ModuleOrErr.getError()) { in getLazyIRModule()44 return std::unique_ptr<Module>(ModuleOrErr.get()); in getLazyIRModule()70 ErrorOr<Module *> ModuleOrErr = parseBitcodeFile(Buffer, Context); in parseIR() local71 if (std::error_code EC = ModuleOrErr.getError()) { in parseIR()76 return std::unique_ptr<Module>(ModuleOrErr.get()); in parseIR()
56 ErrorOr<Module *> ModuleOrErr = in getLazyModuleFromAssembly() local58 return std::unique_ptr<Module>(ModuleOrErr.get()); in getLazyModuleFromAssembly()
644 ErrorOr<llvm::Module *> ModuleOrErr = in CreateASTConsumer() local646 if (std::error_code EC = ModuleOrErr.getError()) { in CreateASTConsumer()651 LinkModuleToUse = ModuleOrErr.get(); in CreateASTConsumer()