Searched refs:MBOrErr (Results 1 – 3 of 3) sorted by relevance
45 ErrorOr<std::unique_ptr<MemoryBuffer>> MBOrErr = in readLockFile() local47 if (!MBOrErr) { in readLockFile()51 MemoryBuffer &MB = *MBOrErr.get(); in readLockFile()
159 ErrorOr<MemoryBufferRef> MBOrErr = in parseBitcodeFileImpl() local161 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()
2847 ErrorOr<std::unique_ptr<MemoryBuffer>> MBOrErr = MemoryBuffer::getFile(Path); in LLVMCreateMemoryBufferWithContentsOfFile() local2848 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() local2859 if (std::error_code EC = MBOrErr.getError()) { in LLVMCreateMemoryBufferWithSTDIN()2863 *OutMemBuf = wrap(MBOrErr.get().release()); in LLVMCreateMemoryBufferWithSTDIN()