/external/swiftshader/third_party/llvm-7.0/llvm/unittests/Support/ |
D | FileOutputBufferTest.cpp | 46 Expected<std::unique_ptr<FileOutputBuffer>> BufferOrErr = in TEST() local 48 ASSERT_NO_ERROR(errorToErrorCode(BufferOrErr.takeError())); in TEST() 49 std::unique_ptr<FileOutputBuffer> &Buffer = *BufferOrErr; in TEST() 85 Expected<std::unique_ptr<FileOutputBuffer>> BufferOrErr = in TEST() local 87 ASSERT_NO_ERROR(errorToErrorCode(BufferOrErr.takeError())); in TEST() 88 std::unique_ptr<FileOutputBuffer> &Buffer = *BufferOrErr; in TEST() 106 Expected<std::unique_ptr<FileOutputBuffer>> BufferOrErr = in TEST() local 108 ASSERT_NO_ERROR(errorToErrorCode(BufferOrErr.takeError())); in TEST() 109 std::unique_ptr<FileOutputBuffer> &Buffer = *BufferOrErr; in TEST() 138 Expected<std::unique_ptr<FileOutputBuffer>> BufferOrErr = in TEST() local [all …]
|
/external/llvm/unittests/Support/ |
D | FileOutputBufferTest.cpp | 42 ErrorOr<std::unique_ptr<FileOutputBuffer>> BufferOrErr = in TEST() local 44 ASSERT_NO_ERROR(BufferOrErr.getError()); in TEST() 45 std::unique_ptr<FileOutputBuffer> &Buffer = *BufferOrErr; in TEST() 81 ErrorOr<std::unique_ptr<FileOutputBuffer>> BufferOrErr = in TEST() local 83 ASSERT_NO_ERROR(BufferOrErr.getError()); in TEST() 84 std::unique_ptr<FileOutputBuffer> &Buffer = *BufferOrErr; in TEST() 102 ErrorOr<std::unique_ptr<FileOutputBuffer>> BufferOrErr = in TEST() local 104 ASSERT_NO_ERROR(BufferOrErr.getError()); in TEST() 105 std::unique_ptr<FileOutputBuffer> &Buffer = *BufferOrErr; in TEST()
|
/external/llvm/lib/LTO/ |
D | LTOModule.cpp | 67 ErrorOr<std::unique_ptr<MemoryBuffer>> BufferOrErr = in isBitcodeFile() local 69 if (!BufferOrErr) in isBitcodeFile() 73 BufferOrErr.get()->getMemBufferRef()); in isBitcodeFile() 112 ErrorOr<std::unique_ptr<MemoryBuffer>> BufferOrErr = in createFromFile() local 114 if (std::error_code EC = BufferOrErr.getError()) { in createFromFile() 118 std::unique_ptr<MemoryBuffer> Buffer = std::move(BufferOrErr.get()); in createFromFile() 133 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()
|
D | LTOCodeGenerator.cpp | 281 ErrorOr<std::unique_ptr<MemoryBuffer>> BufferOrErr = in compileOptimized() local 283 if (std::error_code EC = BufferOrErr.getError()) { in compileOptimized() 292 return std::move(*BufferOrErr); in compileOptimized()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/LTO/ |
D | LTOModule.cpp | 63 ErrorOr<std::unique_ptr<MemoryBuffer>> BufferOrErr = in isBitcodeFile() local 65 if (!BufferOrErr) in isBitcodeFile() 69 BufferOrErr.get()->getMemBufferRef()); in isBitcodeFile() 112 ErrorOr<std::unique_ptr<MemoryBuffer>> BufferOrErr = in createFromFile() local 114 if (std::error_code EC = BufferOrErr.getError()) { in createFromFile() 118 std::unique_ptr<MemoryBuffer> Buffer = std::move(BufferOrErr.get()); in createFromFile() 133 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()
|
D | LTOCodeGenerator.cpp | 285 ErrorOr<std::unique_ptr<MemoryBuffer>> BufferOrErr = in compileOptimized() local 287 if (std::error_code EC = BufferOrErr.getError()) { in compileOptimized() 296 return std::move(*BufferOrErr); in compileOptimized()
|
/external/llvm/tools/llvm-lto/ |
D | llvm-lto.cpp | 247 ErrorOr<std::unique_ptr<MemoryBuffer>> BufferOrErr = in getLocalLTOModule() local 249 error(BufferOrErr, "error loading file '" + Path + "'"); in getLocalLTOModule() 250 Buffer = std::move(BufferOrErr.get()); in getLocalLTOModule() 723 ErrorOr<std::unique_ptr<MemoryBuffer>> BufferOrErr = in main() local 725 error(BufferOrErr, "error loading file '" + Filename + "'"); in main() 726 auto Buffer = std::move(BufferOrErr.get()); in main()
|
/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-lto/ |
D | llvm-lto.cpp | 306 ErrorOr<std::unique_ptr<MemoryBuffer>> BufferOrErr = in getLocalLTOModule() local 308 error(BufferOrErr, "error loading file '" + Path + "'"); in getLocalLTOModule() 309 Buffer = std::move(BufferOrErr.get()); in getLocalLTOModule() 829 std::unique_ptr<MemoryBuffer> BufferOrErr = in main() local 831 auto Buffer = std::move(BufferOrErr.get()); in main()
|
/external/llvm/lib/Transforms/IPO/ |
D | FunctionImport.cpp | 705 ErrorOr<std::unique_ptr<MemoryBuffer>> BufferOrErr = in getModuleSummaryIndexForFile() local 707 if (std::error_code EC = BufferOrErr.getError()) { in getModuleSummaryIndexForFile() 711 Buffer = std::move(BufferOrErr.get()); in getModuleSummaryIndexForFile()
|
/external/llvm/lib/IR/ |
D | GCOV.cpp | 484 ErrorOr<std::unique_ptr<MemoryBuffer>> BufferOrErr = in LineConsumer() local 486 if (std::error_code EC = BufferOrErr.getError()) { in LineConsumer() 490 Buffer = std::move(BufferOrErr.get()); in LineConsumer()
|
/external/clang/lib/Serialization/ |
D | GlobalModuleIndex.cpp | 242 llvm::ErrorOr<std::unique_ptr<llvm::MemoryBuffer>> BufferOrErr = in readIndex() local 244 if (!BufferOrErr) in readIndex() 246 std::unique_ptr<llvm::MemoryBuffer> Buffer = std::move(BufferOrErr.get()); in readIndex()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/ProfileData/ |
D | GCOV.cpp | 502 ErrorOr<std::unique_ptr<MemoryBuffer>> BufferOrErr = in LineConsumer() local 504 if (std::error_code EC = BufferOrErr.getError()) { in LineConsumer() 508 Buffer = std::move(BufferOrErr.get()); in LineConsumer()
|
D | InstrProfReader.cpp | 41 ErrorOr<std::unique_ptr<MemoryBuffer>> BufferOrErr = in setupMemoryBuffer() local 43 if (std::error_code EC = BufferOrErr.getError()) in setupMemoryBuffer() 45 return std::move(BufferOrErr.get()); in setupMemoryBuffer()
|
D | SampleProfReader.cpp | 835 auto BufferOrErr = MemoryBuffer::getFileOrSTDIN(Filename); in setupMemoryBuffer() local 836 if (std::error_code EC = BufferOrErr.getError()) in setupMemoryBuffer() 838 auto Buffer = std::move(BufferOrErr.get()); in setupMemoryBuffer()
|
/external/llvm/lib/ProfileData/ |
D | InstrProfReader.cpp | 23 ErrorOr<std::unique_ptr<MemoryBuffer>> BufferOrErr = in setupMemoryBuffer() local 25 if (std::error_code EC = BufferOrErr.getError()) in setupMemoryBuffer() 27 return std::move(BufferOrErr.get()); in setupMemoryBuffer()
|
D | SampleProfReader.cpp | 737 auto BufferOrErr = MemoryBuffer::getFileOrSTDIN(Filename); in setupMemoryBuffer() local 738 if (std::error_code EC = BufferOrErr.getError()) in setupMemoryBuffer() 740 auto Buffer = std::move(BufferOrErr.get()); in setupMemoryBuffer()
|
/external/swiftshader/third_party/llvm-7.0/llvm/tools/gold/ |
D | gold-plugin.cpp | 499 ErrorOr<std::unique_ptr<MemoryBuffer>> BufferOrErr = in claim_file_hook() local 502 if (std::error_code EC = BufferOrErr.getError()) { in claim_file_hook() 506 Buffer = std::move(BufferOrErr.get()); in claim_file_hook()
|
/external/llvm/tools/gold/ |
D | gold-plugin.cpp | 477 ErrorOr<std::unique_ptr<MemoryBuffer>> BufferOrErr = in claim_file_hook() local 480 if (std::error_code EC = BufferOrErr.getError()) { in claim_file_hook() 484 Buffer = std::move(BufferOrErr.get()); in claim_file_hook()
|
/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-objcopy/ |
D | Object.cpp | 37 Expected<std::unique_ptr<FileOutputBuffer>> BufferOrErr = in allocate() local 39 handleAllErrors(BufferOrErr.takeError(), [this](const ErrorInfoBase &E) { in allocate() 42 Buf = std::move(*BufferOrErr); in allocate()
|
/external/llvm/tools/llvm-nm/ |
D | llvm-nm.cpp | 1078 ErrorOr<std::unique_ptr<MemoryBuffer>> BufferOrErr = in dumpSymbolNamesFromFile() local 1080 if (error(BufferOrErr.getError(), Filename)) in dumpSymbolNamesFromFile() 1085 BufferOrErr.get()->getMemBufferRef(), NoLLVMBitcode ? nullptr : &Context); in dumpSymbolNamesFromFile()
|
/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-nm/ |
D | llvm-nm.cpp | 1725 ErrorOr<std::unique_ptr<MemoryBuffer>> BufferOrErr = in dumpSymbolNamesFromFile() local 1727 if (error(BufferOrErr.getError(), Filename)) in dumpSymbolNamesFromFile() 1732 BufferOrErr.get()->getMemBufferRef(), NoLLVMBitcode ? nullptr : &Context); in dumpSymbolNamesFromFile()
|