aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Transforms/Utils/ModuleUtils.cpp
diff options
context:
space:
mode:
authorJohannes Doerfert <johannes@jdoerfert.de>2022-04-15 16:15:07 -0500
committerJohannes Doerfert <johannes@jdoerfert.de>2022-04-15 18:17:19 -0500
commit3be3b401888ace347018abd077912868bbc416b3 (patch)
treeef71d65a5f9785e64e1bd5e0583b054c48d64baf /llvm/lib/Transforms/Utils/ModuleUtils.cpp
parent2a404cdfd8bc75de593ce0e15fff0a7a0a18ec1c (diff)
downloadllvm-3be3b401888ace347018abd077912868bbc416b3.zip
llvm-3be3b401888ace347018abd077912868bbc416b3.tar.gz
llvm-3be3b401888ace347018abd077912868bbc416b3.tar.bz2
[Attributor][NFCI] Introduce AttributorConfig to bundle all options
Instead of lengthy constructors we can now set the members of a read-only struct before the Attributor is created. Should make it clearer what is configurable and also help introducing new options in the future. This actually added IsModulePass and avoids deduction through the Function set size. No functional change was intended.
Diffstat (limited to 'llvm/lib/Transforms/Utils/ModuleUtils.cpp')
0 files changed, 0 insertions, 0 deletions