LLVM 19.0.0git
Public Member Functions | List of all members
llvm::FunctionAnalysisManagerMachineFunctionProxy::Result Class Reference

#include "llvm/CodeGen/MachinePassManager.h"

Public Member Functions

 Result (FunctionAnalysisManager &FAM)
 
 Result (Result &&Arg)
 
 ~Result ()
 
Resultoperator= (Result &&RHS)
 
FunctionAnalysisManagergetManager ()
 Accessor for the analysis manager.
 
bool invalidate (MachineFunction &IR, const PreservedAnalyses &PA, MachineFunctionAnalysisManager::Invalidator &Inv)
 Handler for invalidation of the outer IR unit, IRUnitT.
 

Detailed Description

Definition at line 121 of file MachinePassManager.h.

Constructor & Destructor Documentation

◆ Result() [1/2]

llvm::FunctionAnalysisManagerMachineFunctionProxy::Result::Result ( FunctionAnalysisManager FAM)
inlineexplicit

Definition at line 123 of file MachinePassManager.h.

References FAM.

◆ Result() [2/2]

llvm::FunctionAnalysisManagerMachineFunctionProxy::Result::Result ( Result &&  Arg)
inline

Definition at line 125 of file MachinePassManager.h.

◆ ~Result()

llvm::FunctionAnalysisManagerMachineFunctionProxy::Result::~Result ( )
inline

Member Function Documentation

◆ getManager()

FunctionAnalysisManager & llvm::FunctionAnalysisManagerMachineFunctionProxy::Result::getManager ( )
inline

Accessor for the analysis manager.

Definition at line 152 of file MachinePassManager.h.

◆ invalidate()

bool llvm::FunctionAnalysisManagerMachineFunctionProxy::Result::invalidate ( MachineFunction IR,
const PreservedAnalyses PA,
MachineFunctionAnalysisManager::Invalidator Inv 
)

Handler for invalidation of the outer IR unit, IRUnitT.

If the proxy analysis itself is not preserved, we assume that the set of inner IR objects contained in IRUnit may have changed. In this case, we have to call clear() on the inner analysis manager, as it may now have stale pointers to its inner IR objects.

Regardless of whether the proxy analysis is marked as preserved, all of the analyses in the inner analysis manager are potentially invalidated based on the set of preserved analyses.

Definition at line 31 of file MachinePassManager.cpp.

◆ operator=()

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

Definition at line 142 of file MachinePassManager.h.

References RHS.


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