summaryrefslogtreecommitdiffstats
path: root/llvm/tools/llvm-mca/llvm-mca.cpp
diff options
context:
space:
mode:
authorPhilip Pfaffe <philip.pfaffe@gmail.com>2018-04-05 11:29:37 +0000
committerPhilip Pfaffe <philip.pfaffe@gmail.com>2018-04-05 11:29:37 +0000
commite8f3ae9da07c47d5ee4d351a8085385e3df9390d (patch)
treeaeda50afb6b8bb71c6ff0ec65caed91f45fc167a /llvm/tools/llvm-mca/llvm-mca.cpp
parente88b76a98995c08806b1fdc7a6b43b96fa709c60 (diff)
downloadbcm5719-llvm-e8f3ae9da07c47d5ee4d351a8085385e3df9390d.tar.gz
bcm5719-llvm-e8f3ae9da07c47d5ee4d351a8085385e3df9390d.zip
[Plugins] Add a slim plugin API to work together with the new PM
Summary: Add a new plugin API. This closes the gap between pass registration and out-of-tree passes for the new PassManager. Unlike with the existing API, interaction with a plugin is always initiated from the tools perspective. I.e., when a plugin is loaded, it resolves and calls a well-known symbol `llvmGetPassPluginInfo` to obtain details about the plugin. The fundamental motivation is to get rid of as many global constructors as possible. The API exposed by the plugin info is kept intentionally minimal. Reviewers: chandlerc Reviewed By: chandlerc Subscribers: bollu, grosser, lksbhm, mgorny, llvm-commits Differential Revision: https://reviews.llvm.org/D35258 llvm-svn: 329273
Diffstat (limited to 'llvm/tools/llvm-mca/llvm-mca.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud