[Attributor][NFC] Make the MustBeExecutedContextExplorer optional
authorJohannes Doerfert <johannes@jdoerfert.de>
Tue, 13 Jun 2023 23:39:49 +0000 (16:39 -0700)
committerJohannes Doerfert <johannes@jdoerfert.de>
Tue, 13 Jun 2023 23:49:56 +0000 (16:49 -0700)
commitbed6a6e7e06bd3a5a5af15d7a6935d3ba2dc0da4
tree60ba2dbbfe2a4cc0eb491a34732c7fe7e27c0079
parentd8562e27e05b90d8957d20444c724293ddf1ba0c
[Attributor][NFC] Make the MustBeExecutedContextExplorer optional

For a lightweight pass we do not want to instantiate or use the
MustBeExecutedContextExplorer. This simply allows such a configuration.
While at it, the explorer is now allocated with the bump allocator.
llvm/include/llvm/Transforms/IPO/Attributor.h
llvm/lib/Transforms/IPO/Attributor.cpp
llvm/lib/Transforms/IPO/AttributorAttributes.cpp