Searched refs:MBOrErr (Results 1 – 5 of 5) sorted by relevance
46 ErrorOr<std::unique_ptr<MemoryBuffer>> MBOrErr = in localCache() local51 if (MBOrErr) { in localCache()52 AddBuffer(Task, std::move(*MBOrErr)); in localCache()55 EC = MBOrErr.getError(); in localCache()90 ErrorOr<std::unique_ptr<MemoryBuffer>> MBOrErr = in localCache() local94 if (!MBOrErr) in localCache()97 MBOrErr.getError().message() + "\n"); in localCache()114 auto MBCopy = MemoryBuffer::getMemBufferCopy((*MBOrErr)->getBuffer(), in localCache()116 MBOrErr = std::move(MBCopy); in localCache()129 AddBuffer(Task, std::move(*MBOrErr)); in localCache()
172 Expected<MemoryBufferRef> MBOrErr = in parseBitcodeFileImpl() local174 if (Error E = MBOrErr.takeError()) { in parseBitcodeFileImpl()183 parseBitcodeFile(*MBOrErr, Context)); in parseBitcodeFileImpl()189 getLazyBitcodeModule(*MBOrErr, Context, true /*ShouldLazyLoadMetadata*/)); in parseBitcodeFileImpl()
362 ErrorOr<std::unique_ptr<MemoryBuffer>> MBOrErr = MemoryBuffer::getOpenFile( in tryLoadingBuffer() local365 return MBOrErr; in tryLoadingBuffer()
54 ErrorOr<std::unique_ptr<MemoryBuffer>> MBOrErr = in readLockFile() local56 if (!MBOrErr) { in readLockFile()60 MemoryBuffer &MB = *MBOrErr.get(); in readLockFile()
4008 ErrorOr<std::unique_ptr<MemoryBuffer>> MBOrErr = MemoryBuffer::getFile(Path); in LLVMCreateMemoryBufferWithContentsOfFile() local4009 if (std::error_code EC = MBOrErr.getError()) { in LLVMCreateMemoryBufferWithContentsOfFile()4013 *OutMemBuf = wrap(MBOrErr.get().release()); in LLVMCreateMemoryBufferWithContentsOfFile()4019 ErrorOr<std::unique_ptr<MemoryBuffer>> MBOrErr = MemoryBuffer::getSTDIN(); in LLVMCreateMemoryBufferWithSTDIN() local4020 if (std::error_code EC = MBOrErr.getError()) { in LLVMCreateMemoryBufferWithSTDIN()4024 *OutMemBuf = wrap(MBOrErr.get().release()); in LLVMCreateMemoryBufferWithSTDIN()