Home
last modified time | relevance | path

Searched refs:BufferOrError (Results 1 – 5 of 5) 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-10.0/llvm/lib/ProfileData/
DInstrProfReader.cpp56 auto BufferOrError = setupMemoryBuffer(Path); in create() local
57 if (Error E = BufferOrError.takeError()) in create()
59 return InstrProfReader::create(std::move(BufferOrError.get())); in create()
94 auto BufferOrError = setupMemoryBuffer(Path); in create() local
95 if (Error E = BufferOrError.takeError()) in create()
108 return IndexedInstrProfReader::create(std::move(BufferOrError.get()), in create()
DSampleProfReader.cpp1268 auto BufferOrError = setupMemoryBuffer(Filename); in create() local
1269 if (std::error_code EC = BufferOrError.getError()) in create()
1271 return create(BufferOrError.get(), C, RemapFilename); in create()
1288 auto BufferOrError = setupMemoryBuffer(Filename); in create() local
1289 if (std::error_code EC = BufferOrError.getError()) in create()
1291 return create(BufferOrError.get(), Reader, 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()