ΒΆllvm::ImmutablePass* createExternalAAWrapperPass(
std::function<void(Pass&,
Function&,
AAResults&)> Callback)
llvm::ImmutablePass* createExternalAAWrapperPass(
std::function<void(Pass&,
Function&,
AAResults&)> Callback)
Description
A wrapper pass around a callback which can be used to populate the AAResults in the AAResultsWrapperPass from an external AA. 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.
Declared at: llvm/include/llvm/Analysis/AliasAnalysis.h:1200
Parameters
- std::function<void(Pass&, Function&, AAResults&)> Callback