A function to deduce a function pass type and wrap it in the templated adaptor.
Synopsis
Declared in <llvm/IR/PassManager.h>
template<typename FunctionPassT>
ModuleToFunctionPassAdaptor
createModuleToFunctionPassAdaptor(
FunctionPassT&& Pass,
bool EagerlyInvalidate = false);
Return Value
A module‐to‐function adaptor wrapping Pass.
Parameters
Name |
Description |
Pass |
Function pass to wrap. |
EagerlyInvalidate |
Whether to eagerly invalidate function analyses. |
Created with MrDocs