summaryrefslogtreecommitdiffstats
path: root/llvm/lib/DebugInfo/PDB/Native/TpiHashing.cpp
diff options
context:
space:
mode:
authorErich Keane <erich.keane@intel.com>2017-09-01 19:42:45 +0000
committerErich Keane <erich.keane@intel.com>2017-09-01 19:42:45 +0000
commit9937b134c5fcbcd049c935b2b6fddeccb2b9e536 (patch)
tree2dd8e3b923d1422b53d01f91633ec47ca37832cd /llvm/lib/DebugInfo/PDB/Native/TpiHashing.cpp
parentb79a4efc50931e5ee5f8984cc016766575e96821 (diff)
downloadbcm5719-llvm-9937b134c5fcbcd049c935b2b6fddeccb2b9e536.tar.gz
bcm5719-llvm-9937b134c5fcbcd049c935b2b6fddeccb2b9e536.zip
[CodeGen]Refactor CpuSupports/CPUIs Builtin Code Gen to better work with
"target" implementation A small set of refactors that'll make it easier for me to implement 'target' support. First, extract the CPUSupports functionality into its own function. THis has the advantage of not wasting time in this builtin to deal with arguments. Second, pulls both CPUSupports and CPUIs implementation into a member-function, so that it can be called from the resolver generation that I'm working on. Third, creates an overload that takes simply the feature/cpu name (rather than extracting it from a callexpr), since that info isn't available later. Note that despite how the 'diff' looks, the EmitX86CPUSupports function simply takes the implementation out of the 'switch'. llvm-svn: 312355
Diffstat (limited to 'llvm/lib/DebugInfo/PDB/Native/TpiHashing.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud