Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/tools/llvm-mca/
H A DCodeRegionGenerator.h231 Expected<const CodeRegions &> RegionsOrErr = in parseAnalysisRegions() local
233 if (!RegionsOrErr) in parseAnalysisRegions()
234 return RegionsOrErr.takeError(); in parseAnalysisRegions()
236 return static_cast<const AnalysisRegions &>(*RegionsOrErr); in parseAnalysisRegions()
266 Expected<const CodeRegions &> RegionsOrErr = in parseInstrumentRegions() local
268 if (!RegionsOrErr) in parseInstrumentRegions()
269 return RegionsOrErr.takeError(); in parseInstrumentRegions()
271 return static_cast<const InstrumentRegions &>(*RegionsOrErr); in parseInstrumentRegions()
H A Dllvm-mca.cpp471 Expected<const mca::AnalysisRegions &> RegionsOrErr = in main() local
474 if (!RegionsOrErr) { in main()
476 handleErrors(RegionsOrErr.takeError(), [](const StringError &E) { in main()
484 const mca::AnalysisRegions &Regions = *RegionsOrErr; in main()