Home
last modified time | relevance | path

Searched refs:BufferOrErr (Results 1 – 7 of 7) sorted by relevance

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/LTO/
DLTOModule.cpp62 ErrorOr<std::unique_ptr<MemoryBuffer>> BufferOrErr = in isBitcodeFile() local
64 if (!BufferOrErr) in isBitcodeFile()
68 BufferOrErr.get()->getMemBufferRef()); in isBitcodeFile()
111 ErrorOr<std::unique_ptr<MemoryBuffer>> BufferOrErr = in createFromFile() local
113 if (std::error_code EC = BufferOrErr.getError()) { in createFromFile()
117 std::unique_ptr<MemoryBuffer> Buffer = std::move(BufferOrErr.get()); in createFromFile()
132 ErrorOr<std::unique_ptr<MemoryBuffer>> BufferOrErr = in createFromOpenFileSlice() local
135 if (std::error_code EC = BufferOrErr.getError()) { in createFromOpenFileSlice()
139 std::unique_ptr<MemoryBuffer> Buffer = std::move(BufferOrErr.get()); in createFromOpenFileSlice()
DLTOCodeGenerator.cpp303 ErrorOr<std::unique_ptr<MemoryBuffer>> BufferOrErr = in compileOptimized() local
305 if (std::error_code EC = BufferOrErr.getError()) { in compileOptimized()
314 return std::move(*BufferOrErr); in compileOptimized()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Remarks/
DYAMLRemarkParser.cpp150 ErrorOr<std::unique_ptr<MemoryBuffer>> BufferOrErr = in createYAMLParserFromMeta() local
152 if (std::error_code EC = BufferOrErr.getError()) in createYAMLParserFromMeta()
156 SeparateBuf = std::move(*BufferOrErr); in createYAMLParserFromMeta()
DBitstreamRemarkParser.cpp427 ErrorOr<std::unique_ptr<MemoryBuffer>> BufferOrErr = in processExternalFilePath() local
429 if (std::error_code EC = BufferOrErr.getError()) in processExternalFilePath()
432 TmpRemarkBuffer = std::move(*BufferOrErr); in processExternalFilePath()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/ProfileData/
DGCOV.cpp621 ErrorOr<std::unique_ptr<MemoryBuffer>> BufferOrErr = in LineConsumer() local
623 if (std::error_code EC = BufferOrErr.getError()) { in LineConsumer()
627 Buffer = std::move(BufferOrErr.get()); in LineConsumer()
DInstrProfReader.cpp42 ErrorOr<std::unique_ptr<MemoryBuffer>> BufferOrErr = in setupMemoryBuffer() local
44 if (std::error_code EC = BufferOrErr.getError()) in setupMemoryBuffer()
46 return std::move(BufferOrErr.get()); in setupMemoryBuffer()
DSampleProfReader.cpp1244 auto BufferOrErr = MemoryBuffer::getFileOrSTDIN(Filename); in setupMemoryBuffer() local
1245 if (std::error_code EC = BufferOrErr.getError()) in setupMemoryBuffer()
1247 auto Buffer = std::move(BufferOrErr.get()); in setupMemoryBuffer()