Home
last modified time | relevance | path

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

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/LTO/
DCaching.cpp46 ErrorOr<std::unique_ptr<MemoryBuffer>> MBOrErr = in localCache() local
51 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() local
94 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()
DLTOModule.cpp172 Expected<MemoryBufferRef> MBOrErr = in parseBitcodeFileImpl() local
174 if (Error E = MBOrErr.takeError()) { in parseBitcodeFileImpl()
183 parseBitcodeFile(*MBOrErr, Context)); in parseBitcodeFileImpl()
189 getLazyBitcodeModule(*MBOrErr, Context, true /*ShouldLazyLoadMetadata*/)); in parseBitcodeFileImpl()
DThinLTOCodeGenerator.cpp362 ErrorOr<std::unique_ptr<MemoryBuffer>> MBOrErr = MemoryBuffer::getOpenFile( in tryLoadingBuffer() local
365 return MBOrErr; in tryLoadingBuffer()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Support/
DLockFileManager.cpp54 ErrorOr<std::unique_ptr<MemoryBuffer>> MBOrErr = in readLockFile() local
56 if (!MBOrErr) { in readLockFile()
60 MemoryBuffer &MB = *MBOrErr.get(); in readLockFile()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DCore.cpp4008 ErrorOr<std::unique_ptr<MemoryBuffer>> MBOrErr = MemoryBuffer::getFile(Path); in LLVMCreateMemoryBufferWithContentsOfFile() local
4009 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() local
4020 if (std::error_code EC = MBOrErr.getError()) { in LLVMCreateMemoryBufferWithSTDIN()
4024 *OutMemBuf = wrap(MBOrErr.get().release()); in LLVMCreateMemoryBufferWithSTDIN()