Home
last modified time | relevance | path

Searched refs:BufferOrError (Results 1 – 6 of 6) sorted by relevance

/external/llvm/lib/ProfileData/
DInstrProfReader.cpp37 auto BufferOrError = setupMemoryBuffer(Path); in create() local
38 if (Error E = BufferOrError.takeError()) in create()
40 return InstrProfReader::create(std::move(BufferOrError.get())); in create()
72 auto BufferOrError = setupMemoryBuffer(Path); in create() local
73 if (Error E = BufferOrError.takeError()) in create()
75 return IndexedInstrProfReader::create(std::move(BufferOrError.get())); in create()
DSampleProfReader.cpp760 auto BufferOrError = setupMemoryBuffer(Filename); in create() local
761 if (std::error_code EC = BufferOrError.getError()) in create()
763 return create(BufferOrError.get(), C); in create()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/ProfileData/
DInstrProfReader.cpp55 auto BufferOrError = setupMemoryBuffer(Path); in create() local
56 if (Error E = BufferOrError.takeError()) in create()
58 return InstrProfReader::create(std::move(BufferOrError.get())); in create()
93 auto BufferOrError = setupMemoryBuffer(Path); in create() local
94 if (Error E = BufferOrError.takeError()) in create()
96 return IndexedInstrProfReader::create(std::move(BufferOrError.get())); in create()
DSampleProfReader.cpp856 auto BufferOrError = setupMemoryBuffer(Filename); in create() local
857 if (std::error_code EC = BufferOrError.getError()) in create()
859 return create(BufferOrError.get(), C); in create()
/external/clang/lib/Basic/
DSourceManager.cpp98 auto BufferOrError = in getBuffer() local
111 if (!BufferOrError) { in getBuffer()
122 BufferOrError.getError().message()); in getBuffer()
125 << ContentsEntry->getName() << BufferOrError.getError().message(); in getBuffer()
133 Buffer.setPointer(BufferOrError->release()); in getBuffer()
/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-objdump/
Dllvm-objdump.cpp913 auto BufferOrError = MemoryBuffer::getFile(LineInfo.FileName); in cacheSource() local
914 if (!BufferOrError) in cacheSource()
916 Buffer = std::move(*BufferOrError); in cacheSource()