An immutable pass that tracks lazily created AssumptionCache objects.
Synopsis
Declared in <llvm/Analysis/AssumptionCache.h>
class AssumptionCacheTracker
: public ImmutablePass
Description
This is essentially a workaround for the legacy pass manager's weaknesses which associates each assumption cache with Function and clears it if the function is deleted. The nature of the AssumptionCache is that it is not invalidated by any changes to the function body and so this is sufficient to be conservatively correct.
Base Classes
Name |
Description |
ImmutablePass class ‐ This class is used to provide information that does not need to be run. This is useful for things like target information. |
Member Functions
Name |
Description |
|
Construct an AssumptionCacheTracker pass. |
|
Destroy this AssumptionCacheTracker and its cached data. |
|
Passes are not assignable. |
|
|
|
createPrinterPass ‐ Get a module printer pass. |
|
Finalize the pass for module |
|
Perform any initialization needed before any pass is run. |
Print this pass's state to stderr for debugging. |
|
|
Print the pass nesting structure for ‐debug‐passes=PassStructure. |
|
|
|
|
Get an optional analysis result that may already be available. |
|
|
Declare which analyses this pass requires and preserves. |
|
Return this pass as an ImmutablePass. |
|
Return this pass as a PMDataManager when it is a nested pass manager. |
Get the cached assumptions for a function. |
|
Return a nice clean name for a pass corresponding to that used to enable the pass in opt. |
|
getPassID ‐ Return the PassID number that corresponds to this pass. |
|
Return the kind of pass (module, function, loop, etc.). |
|
|
Return a human‐readable name for this pass. |
|
Return what kind of Pass Manager can manage this pass. |
Return the analysis resolver installed for this pass. |
|
|
Perform initialization for this immutable pass. |
Return the cached assumptions for a function if it has already been scanned. Otherwise return nullptr. |
|
Report whether the analysis identified by |
|
|
Check whether available pass managers are suitable for this pass. |
|
Print the internal state of this pass for analysis dumping. |
|
Release all cached AssumptionCache objects. |
|
ImmutablePasses are never run. |
Install the analysis resolver used to satisfy this pass's dependencies. |
|
|
Verify the integrity of cached assumption data. |
Static Member Functions
Name |
Description |
Construct a new instance of the pass identified by |
|
|
Static Data Members
Name |
Description |
Pass identification, replacement for typeid. |
Protected Member Functions
Name |
Description |
Optional passes call this function to check whether the pass should be skipped. This is the case when optimization bisect is over the limit. |
Friends
Name |
Description |
|
Non-Member Functions
Name |
Description |
Build a SimplifyQuery from analyses currently valid in a pass. |
|
Request the timer for this legacy‐pass‐manager's pass instance. |
|
Check whether a pass is a BitcodeWriterPass. |
|
Return true if a pass is for IR printing. |
Created with MrDocs