Searched refs:BufferOrError (Results 1 – 6 of 6) 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()
55 auto BufferOrError = setupMemoryBuffer(Path); in create() local56 if (Error E = BufferOrError.takeError()) in create()58 return InstrProfReader::create(std::move(BufferOrError.get())); in create()93 auto BufferOrError = setupMemoryBuffer(Path); in create() local94 if (Error E = BufferOrError.takeError()) in create()96 return IndexedInstrProfReader::create(std::move(BufferOrError.get())); in create()
856 auto BufferOrError = setupMemoryBuffer(Filename); in create() local857 if (std::error_code EC = BufferOrError.getError()) in create()859 return create(BufferOrError.get(), 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()
913 auto BufferOrError = MemoryBuffer::getFile(LineInfo.FileName); in cacheSource() local914 if (!BufferOrError) in cacheSource()916 Buffer = std::move(*BufferOrError); in cacheSource()