Searched refs:ValueOrError (Results 1 – 3 of 3) sorted by relevance
121 auto ValueOrError = readOrError(); in read() local122 if (ValueOrError) { in read()123 if (!ValueOrError.get().empty()) in read()124 return ValueOrError.get()[0]; in read()127 errs() << ValueOrError.takeError() << "\n"; in read()
121 auto ValueOrError = Counter->readOrError(Function.getFunctionBytes()); in runAndSample() local122 if (!ValueOrError) in runAndSample()123 return ValueOrError.takeError(); in runAndSample()124 accumulateCounterValues(ValueOrError.get(), &CounterValues); in runAndSample()
442 ErrorOr<uint64_t> ValueOrError = BC.getSymbolValue(*Target); in getSymbolAddress() local443 assert(ValueOrError && "Unrecognized symbol"); in getSymbolAddress()444 return *ValueOrError; in getSymbolAddress()