LLVM 19.0.0git
|
#include "llvm/CodeGen/MachinePassManager.h"
Public Member Functions | |
Result (FunctionAnalysisManager &FAM) | |
Result (Result &&Arg) | |
~Result () | |
Result & | operator= (Result &&RHS) |
FunctionAnalysisManager & | getManager () |
Accessor for the analysis manager. | |
bool | invalidate (MachineFunction &IR, const PreservedAnalyses &PA, MachineFunctionAnalysisManager::Invalidator &Inv) |
Handler for invalidation of the outer IR unit, IRUnitT . | |
Definition at line 121 of file MachinePassManager.h.
|
inlineexplicit |
Definition at line 123 of file MachinePassManager.h.
References FAM.
|
inline |
Definition at line 125 of file MachinePassManager.h.
|
inline |
Definition at line 132 of file MachinePassManager.h.
References llvm::AnalysisManager< IRUnitT, ExtraArgTs >::clear().
|
inline |
Accessor for the analysis manager.
Definition at line 152 of file MachinePassManager.h.
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.
|
inline |
Definition at line 142 of file MachinePassManager.h.
References RHS.