A helper that repeats an SCC pass each time an indirect call is refined to a direct call by that pass.
Synopsis
Declared in <llvm/Analysis/CGSCCPassManager.h>
class DevirtSCCRepeatedPass
: public OptionalPassInfoMixin<DevirtSCCRepeatedPass>
Description
While the CGSCC pass manager works to re‐visit SCCs and RefSCCs as they change shape, we may also want to repeat an SCC pass if it simply refines an indirect call to a direct call, even if doing so does not alter the shape of the graph. Note that this only pertains to direct calls to functions where IPO across the SCC may be able to compute more precise results. For intrinsics, we assume scalar optimizations already can fully reason about them.
This repetition has the potential to be very large however, as each one might refine a single call site. As a consequence, in practice we use an upper bound on the number of repetitions to limit things.
Base Classes
Name |
Description |
A CRTP mix‐in for passes that can be skipped. |
Type Aliases
Name |
Member Functions
Name |
Description |
|
|
Runs the wrapped pass up to |
Static Member Functions
Name |
Non-Member Functions
Name |
Description |
A function to deduce a function pass type and wrap it in the templated adaptor. |
Created with MrDocs