LLVM  14.0.0git
Public Member Functions | List of all members
llvm::LoopAnalysisManagerFunctionProxy::Result Class 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 ()
 
void markMSSAUsed ()
 Mark MemorySSA as used so we can invalidate self if MSSA is invalidated. More...
 
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

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 87 of file LoopAnalysisManager.h.

Constructor & Destructor Documentation

◆ Result() [1/2]

Definition at line 89 of file LoopAnalysisManager.h.

◆ Result() [2/2]

Definition at line 91 of file LoopAnalysisManager.h.

References Arg.

◆ ~Result()

llvm::LoopAnalysisManagerFunctionProxy::Result::~Result ( )
inline

Definition at line 108 of file LoopAnalysisManager.h.

Member Function Documentation

◆ getManager()

LoopAnalysisManager& llvm::LoopAnalysisManagerFunctionProxy::Result::getManager ( )
inline

Accessor for the analysis manager.

Definition at line 122 of file LoopAnalysisManager.h.

◆ invalidate()

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.

◆ markMSSAUsed()

void llvm::LoopAnalysisManagerFunctionProxy::Result::markMSSAUsed ( )
inline

Mark MemorySSA as used so we can invalidate self if MSSA is invalidated.

Definition at line 119 of file LoopAnalysisManager.h.

◆ operator=()

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

Definition at line 98 of file LoopAnalysisManager.h.


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