aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Support/TargetParser.cpp
diff options
context:
space:
mode:
authorRong Xu <xur@google.com>2021-02-17 14:19:36 -0800
committerRong Xu <xur@google.com>2021-02-17 15:31:50 -0800
commit7397905ab0a081afe14f2a342082accc0bbb8695 (patch)
tree5744e453735f3b86432e95ad18f144ee01dc65f7 /llvm/lib/Support/TargetParser.cpp
parent50ac3b1d780fd385d50589641bfc91b95cd2d12f (diff)
downloadllvm-7397905ab0a081afe14f2a342082accc0bbb8695.zip
llvm-7397905ab0a081afe14f2a342082accc0bbb8695.tar.gz
llvm-7397905ab0a081afe14f2a342082accc0bbb8695.tar.bz2
[SampleFDO] Third Try: Refactor SampleProfile.cpp
Apply the patch for the third time after fixing buildbot failures. Refactor SampleProfile.cpp to use the core code in CodeGen. The main changes are: (1) Move SampleProfileLoaderBaseImpl class to a header file. (2) Split SampleCoverageTracker to a head file and a cpp file. (3) Move the common codes (common options and callsiteIsHot()) to the common cpp file. (4) Add inline keyword to avoid duplicated symbols -- they will be removed later when the class is changed to a template. Differential Revision: https://reviews.llvm.org/D96455
Diffstat (limited to 'llvm/lib/Support/TargetParser.cpp')
0 files changed, 0 insertions, 0 deletions