Home
last modified time | relevance | path

Searched refs:ValueOrError (Results 1 – 2 of 2) sorted by relevance

/external/llvm-project/llvm/tools/llvm-exegesis/lib/
DPerfHelper.cpp121 auto ValueOrError = readOrError(); in read() local
122 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()
DBenchmarkRunner.cpp121 auto ValueOrError = Counter->readOrError(Function.getFunctionBytes()); in runAndSample() local
122 if (!ValueOrError) in runAndSample()
123 return ValueOrError.takeError(); in runAndSample()
124 accumulateCounterValues(ValueOrError.get(), &CounterValues); in runAndSample()