LLVM 22.0.0git
|
#include "llvm/CodeGen/MachinePassManager.h"
Public Member Functions | |
Result (FunctionAnalysisManager &FAM) | |
Result (Result &&Arg) | |
Result & | operator= (Result &&RHS) |
FunctionAnalysisManager & | getManager () |
Accessor for the analysis manager. | |
LLVM_ABI bool | invalidate (MachineFunction &IR, const PreservedAnalyses &PA, MachineFunctionAnalysisManager::Invalidator &Inv) |
Handler for invalidation of the outer IR unit, IRUnitT . | |
Definition at line 132 of file MachinePassManager.h.
|
inlineexplicit |
Definition at line 134 of file MachinePassManager.h.
|
inline |
Definition at line 136 of file MachinePassManager.h.
|
inline |
Accessor for the analysis manager.
Definition at line 153 of file MachinePassManager.h.
References FAM.
bool 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 37 of file MachinePassManager.cpp.
|
inline |
Definition at line 143 of file MachinePassManager.h.