LLVM
8.0.1
|
A specialized result for the LoopAnalysisManagerFunctionProxy
which retains a LoopInfo
reference.
More...
#include "llvm/Analysis/LoopAnalysisManager.h"
Public Member Functions | |
Result (LoopAnalysisManager &InnerAM, LoopInfo &LI) | |
Result (Result &&Arg) | |
Result & | operator= (Result &&RHS) |
~Result () | |
LoopAnalysisManager & | getManager () |
Accessor for the analysis manager. More... | |
bool | invalidate (Function &F, const PreservedAnalyses &PA, FunctionAnalysisManager::Invalidator &Inv) |
Handler for invalidation of the proxy for a particular function. More... | |
A specialized result for the LoopAnalysisManagerFunctionProxy
which retains a LoopInfo
reference.
This allows it to collect loop objects for which analysis results may be cached in the LoopAnalysisManager
.
Definition at line 90 of file LoopAnalysisManager.h.
|
inlineexplicit |
Definition at line 92 of file LoopAnalysisManager.h.
|
inline |
Definition at line 94 of file LoopAnalysisManager.h.
References Arg.
|
inline |
Definition at line 109 of file LoopAnalysisManager.h.
|
inline |
Accessor for the analysis manager.
Definition at line 120 of file LoopAnalysisManager.h.
References F(), llvm::LoopStandardAnalysisResults::LI, and llvm::InnerAnalysisManagerProxy< AnalysisManagerT, IRUnitT, ExtraArgTs >::run().
bool llvm::LoopAnalysisManagerFunctionProxy::Result<>::invalidate | ( | Function & | F, |
const PreservedAnalyses & | PA, | ||
FunctionAnalysisManager::Invalidator & | Inv | ||
) |
Handler for invalidation of the proxy for a particular function.
If the proxy, LoopInfo
, and associated analyses are preserved, this will merely forward the invalidation event to any cached loop analysis results for loops within this function.
If the necessary loop infrastructure is not preserved, this will forcibly clear all of the cached analysis results that are keyed on the LoopInfo
for this function.
|
inline |
Definition at line 100 of file LoopAnalysisManager.h.
References llvm::LoopStandardAnalysisResults::LI.