Home
last modified time | relevance | path

Searched refs:ModuleOrErr (Results 1 – 5 of 5) sorted by relevance

/external/llvm/lib/Bitcode/Reader/
DBitReader.cpp58 ErrorOr<std::unique_ptr<Module>> ModuleOrErr = parseBitcodeFile(Buf, Ctx); in LLVMParseBitcodeInContext() local
62 if (ModuleOrErr.getError()) { in LLVMParseBitcodeInContext()
69 *OutModule = wrap(ModuleOrErr.get().release()); in LLVMParseBitcodeInContext()
79 ErrorOr<std::unique_ptr<Module>> ModuleOrErr = parseBitcodeFile(Buf, Ctx); in LLVMParseBitcodeInContext2() local
80 if (ModuleOrErr.getError()) { in LLVMParseBitcodeInContext2()
85 *OutModule = wrap(ModuleOrErr.get().release()); in LLVMParseBitcodeInContext2()
104 ErrorOr<std::unique_ptr<Module>> ModuleOrErr = in LLVMGetBitcodeModuleInContext() local
109 if (ModuleOrErr.getError()) { in LLVMGetBitcodeModuleInContext()
116 *OutM = wrap(ModuleOrErr.get().release()); in LLVMGetBitcodeModuleInContext()
127 ErrorOr<std::unique_ptr<Module>> ModuleOrErr = in LLVMGetBitcodeModuleInContext2() local
[all …]
/external/llvm/lib/IRReader/
DIRReader.cpp37 ErrorOr<std::unique_ptr<Module>> ModuleOrErr = getLazyBitcodeModule( in getLazyIRModule() local
39 if (std::error_code EC = ModuleOrErr.getError()) { in getLazyIRModule()
44 return std::move(ModuleOrErr.get()); in getLazyIRModule()
72 ErrorOr<std::unique_ptr<Module>> ModuleOrErr = in parseIR() local
74 if (std::error_code EC = ModuleOrErr.getError()) { in parseIR()
79 return std::move(ModuleOrErr.get()); in parseIR()
/external/llvm/unittests/Bitcode/
DBitReaderTest.cpp60 ErrorOr<std::unique_ptr<Module>> ModuleOrErr = in getLazyModuleFromAssembly() local
62 return std::move(ModuleOrErr.get()); in getLazyModuleFromAssembly()
89 ErrorOr<std::unique_ptr<Module>> ModuleOrErr = in getStreamedModuleFromAssembly() local
91 return std::move(ModuleOrErr.get()); in getStreamedModuleFromAssembly()
/external/llvm/tools/llvm-lto/
Dllvm-lto.cpp290 ErrorOr<std::unique_ptr<LTOModule>> ModuleOrErr = in main() local
292 std::unique_ptr<LTOModule> &Module = *ModuleOrErr; in main()
/external/clang/lib/CodeGen/
DCodeGenAction.cpp702 ErrorOr<std::unique_ptr<llvm::Module>> ModuleOrErr = in CreateASTConsumer() local
704 if (std::error_code EC = ModuleOrErr.getError()) { in CreateASTConsumer()
710 addLinkModule(ModuleOrErr.get().release(), I.first); in CreateASTConsumer()