A wrapper pass around a callback which can be used to populate the AAResults in the AAResultsWrapperPass from an external AA.
Synopsis
Declared in <llvm/Analysis/AliasAnalysis.h>
ImmutablePass*
createExternalAAWrapperPass(
std::function<void(Pass&, Function&, AAResults&)> Callback,
bool RunEarly = false);
Description
The callback provided here will be used each time we prepare an AAResults object, and will receive a reference to the function wrapper pass, the function, and the AAResults object to populate. This should be used when setting up a custom pass pipeline to inject a hook into the AA results.
Return Value
ImmutablePass class ‐ This class is used to provide information that does not need to be run. This is useful for things like target information.
Created with MrDocs