LLVM 19.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.
 
LoopAnalysisManagergetManager ()
 Accessor for the analysis manager.
 
bool invalidate (Function &F, const PreservedAnalyses &PA, FunctionAnalysisManager::Invalidator &Inv)
 Handler for invalidation of the proxy for a particular function.
 

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

Constructor & Destructor Documentation

◆ Result() [1/2]

Definition at line 88 of file LoopAnalysisManager.h.

◆ Result() [2/2]

Definition at line 90 of file LoopAnalysisManager.h.

◆ ~Result()

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

Definition at line 107 of file LoopAnalysisManager.h.

Member Function Documentation

◆ getManager()

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

Accessor for the analysis manager.

Definition at line 121 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 118 of file LoopAnalysisManager.h.

◆ operator=()

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

Definition at line 97 of file LoopAnalysisManager.h.

References RHS.


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