aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorRong Xu <xur@google.com>2021-02-19 16:03:20 -0800
committerRong Xu <xur@google.com>2021-02-25 08:26:17 -0800
commit6103b6ad69fed0fe300f518b5115837cf6b74148 (patch)
treef0aa16d6e3bd0b16df4ae31768aec7ca20e06790 /clang/lib/Frontend/CompilerInvocation.cpp
parentebca222b65cb847f7bf4ee3da1dd7e2df35d0338 (diff)
downloadllvm-6103b6ad69fed0fe300f518b5115837cf6b74148.zip
llvm-6103b6ad69fed0fe300f518b5115837cf6b74148.tar.gz
llvm-6103b6ad69fed0fe300f518b5115837cf6b74148.tar.bz2
[SampleFDO][NFC] Refactor: make SampleProfileLoaderBaseImpl a template class
This patch makes SampleProfileLoaderBaseImpl a template class so it can be used in CodeGen transformation. Noticeable changes: * use one template parameter and use IRTraits to get other used types an type specific functions. * remove the temporary "inline" keywords in previous refactor patch. * change the template function findEquivalencesFor to a regular function. This function has a single caller with type of PostDominatorTree. It's simpler to use the type directly because MachinePostDominatorTree is not a derived type of template DominatorTreeBase. Differential Revision: https://reviews.llvm.org/D96981
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions