LLVM  8.0.1
Public Member Functions | List of all members
llvm::LoopAnalysisManagerFunctionProxy::Result<> Class Template Reference

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)
 
Resultoperator= (Result &&RHS)
 
 ~Result ()
 
LoopAnalysisManagergetManager ()
 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...
 

Detailed Description

template<>
class llvm::LoopAnalysisManagerFunctionProxy::Result<>

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.

Constructor & Destructor Documentation

◆ Result() [1/2]

Definition at line 92 of file LoopAnalysisManager.h.

◆ Result() [2/2]

Definition at line 94 of file LoopAnalysisManager.h.

References Arg.

◆ ~Result()

Definition at line 109 of file LoopAnalysisManager.h.

Member Function Documentation

◆ getManager()

◆ invalidate()

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.

◆ operator=()

Result& llvm::LoopAnalysisManagerFunctionProxy::Result<>::operator= ( Result<> &&  RHS)
inline

Definition at line 100 of file LoopAnalysisManager.h.

References llvm::LoopStandardAnalysisResults::LI.


The documentation for this class was generated from the following file: