Searched refs:BufferOrError (Results 1 – 5 of 5) sorted by relevance
37 auto BufferOrError = setupMemoryBuffer(Path); in create() local38 if (Error E = BufferOrError.takeError()) in create()40 return InstrProfReader::create(std::move(BufferOrError.get())); in create()72 auto BufferOrError = setupMemoryBuffer(Path); in create() local73 if (Error E = BufferOrError.takeError()) in create()75 return IndexedInstrProfReader::create(std::move(BufferOrError.get())); in create()
760 auto BufferOrError = setupMemoryBuffer(Filename); in create() local761 if (std::error_code EC = BufferOrError.getError()) in create()763 return create(BufferOrError.get(), C); in create()
56 auto BufferOrError = setupMemoryBuffer(Path); in create() local57 if (Error E = BufferOrError.takeError()) in create()59 return InstrProfReader::create(std::move(BufferOrError.get())); in create()94 auto BufferOrError = setupMemoryBuffer(Path); in create() local95 if (Error E = BufferOrError.takeError()) in create()108 return IndexedInstrProfReader::create(std::move(BufferOrError.get()), in create()
1268 auto BufferOrError = setupMemoryBuffer(Filename); in create() local1269 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() local1289 if (std::error_code EC = BufferOrError.getError()) in create()1291 return create(BufferOrError.get(), Reader, C); in create()
98 auto BufferOrError = in getBuffer() local111 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()