Home
last modified time | relevance | path

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

/external/llvm/lib/Bitcode/Reader/
DBitReader.cpp42 ErrorOr<Module *> ModuleOrErr = parseBitcodeFile( in LLVMParseBitcodeInContext() local
44 if (ModuleOrErr.getError()) { in LLVMParseBitcodeInContext()
53 *OutModule = wrap(ModuleOrErr.get()); in LLVMParseBitcodeInContext()
67 ErrorOr<Module *> ModuleOrErr = in LLVMGetBitcodeModuleInContext() local
71 if (std::error_code EC = ModuleOrErr.getError()) { in LLVMGetBitcodeModuleInContext()
78 *OutM = wrap(ModuleOrErr.get()); in LLVMGetBitcodeModuleInContext()
DBitcodeReader.cpp4571 ErrorOr<Module *> ModuleOrErr = getLazyBitcodeModuleImpl( in parseBitcodeFile() local
4573 if (!ModuleOrErr) in parseBitcodeFile()
4574 return ModuleOrErr; in parseBitcodeFile()
4575 Module *M = ModuleOrErr.get(); in parseBitcodeFile()
/external/llvm/lib/IRReader/
DIRReader.cpp37 ErrorOr<Module *> ModuleOrErr = in getLazyIRModule() local
39 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() local
71 if (std::error_code EC = ModuleOrErr.getError()) { in parseIR()
76 return std::unique_ptr<Module>(ModuleOrErr.get()); in parseIR()
/external/llvm/unittests/Bitcode/
DBitReaderTest.cpp56 ErrorOr<Module *> ModuleOrErr = in getLazyModuleFromAssembly() local
58 return std::unique_ptr<Module>(ModuleOrErr.get()); in getLazyModuleFromAssembly()
/external/clang/lib/CodeGen/
DCodeGenAction.cpp644 ErrorOr<llvm::Module *> ModuleOrErr = in CreateASTConsumer() local
646 if (std::error_code EC = ModuleOrErr.getError()) { in CreateASTConsumer()
651 LinkModuleToUse = ModuleOrErr.get(); in CreateASTConsumer()