Home
last modified time | relevance | path

Searched refs:MBOrErr (Results 1 – 3 of 3) sorted by relevance

/external/llvm/lib/Support/
DLockFileManager.cpp45 ErrorOr<std::unique_ptr<MemoryBuffer>> MBOrErr = in readLockFile() local
47 if (!MBOrErr) { in readLockFile()
51 MemoryBuffer &MB = *MBOrErr.get(); in readLockFile()
/external/llvm/lib/LTO/
DLTOModule.cpp159 ErrorOr<MemoryBufferRef> MBOrErr = in parseBitcodeFileImpl() local
161 if (std::error_code EC = MBOrErr.getError()) in parseBitcodeFileImpl()
166 ErrorOr<std::unique_ptr<Module>> M = parseBitcodeFile(*MBOrErr, Context); in parseBitcodeFileImpl()
174 MemoryBuffer::getMemBuffer(*MBOrErr, false); in parseBitcodeFileImpl()
/external/llvm/lib/IR/
DCore.cpp2847 ErrorOr<std::unique_ptr<MemoryBuffer>> MBOrErr = MemoryBuffer::getFile(Path); in LLVMCreateMemoryBufferWithContentsOfFile() local
2848 if (std::error_code EC = MBOrErr.getError()) { in LLVMCreateMemoryBufferWithContentsOfFile()
2852 *OutMemBuf = wrap(MBOrErr.get().release()); in LLVMCreateMemoryBufferWithContentsOfFile()
2858 ErrorOr<std::unique_ptr<MemoryBuffer>> MBOrErr = MemoryBuffer::getSTDIN(); in LLVMCreateMemoryBufferWithSTDIN() local
2859 if (std::error_code EC = MBOrErr.getError()) { in LLVMCreateMemoryBufferWithSTDIN()
2863 *OutMemBuf = wrap(MBOrErr.get().release()); in LLVMCreateMemoryBufferWithSTDIN()