[PATCH] D59993: [NFC][llvm-exegesis] Refactor ResolvedSchedClass & friends

Roman Lebedev via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Mar 29 06:57:58 PDT 2019


lebedev.ri created this revision.
lebedev.ri added reviewers: courbet, gchatelet.
lebedev.ri added a project: LLVM.
Herald added subscribers: jdoerfert, mgrang, tschuett, mgorny.
lebedev.ri retitled this revision from "[NFC][llvm-exegesis] Refactor ResolvedSchedClass & firiends" to "[NFC][llvm-exegesis] Refactor ResolvedSchedClass & friends".

`ResolvedSchedClass` will need to be used outside of `Analysis`
(before `InstructionBenchmarkClustering` even), therefore promote
it into a non-private top-level class, and while there also
move all of the functions that are only called by `ResolvedSchedClass`
into that same new file.


Repository:
  rL LLVM

https://reviews.llvm.org/D59993

Files:
  tools/llvm-exegesis/lib/Analysis.cpp
  tools/llvm-exegesis/lib/Analysis.h
  tools/llvm-exegesis/lib/CMakeLists.txt
  tools/llvm-exegesis/lib/SchedClassResolution.cpp
  tools/llvm-exegesis/lib/SchedClassResolution.h
  unittests/tools/llvm-exegesis/X86/AnalysisTest.cpp
  unittests/tools/llvm-exegesis/X86/CMakeLists.txt
  unittests/tools/llvm-exegesis/X86/SchedClassResolutionTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D59993.192817.patch
Type: text/x-patch
Size: 31369 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190329/2d5a7759/attachment.bin>


More information about the llvm-commits mailing list