14#ifndef LLVM_CODEGEN_MACHINEPOSTDOMINATORS_H
15#define LLVM_CODEGEN_MACHINEPOSTDOMINATORS_H
59 MachineFunctionAnalysisManager::Invalidator &);
62 using Base::findNearestCommonDominator;
96 std::optional<MachinePostDominatorTree> PDT;
109 void verifyAnalysis()
const override;
#define LLVM_TEMPLATE_ABI
Represent the analysis usage information of a pass.
ArrayRef - Represent a constant reference to an array (0 or more elements consecutively in memory),...
Core dominator tree base class.
void recalculate(ParentType &Func)
MachineFunctionPass(char &ID)
MachinePostDominatorTree Result
LLVM_ABI Result run(MachineFunction &MF, MachineFunctionAnalysisManager &MFAM)
MachinePostDominatorTreePrinterPass(raw_ostream &OS)
const MachinePostDominatorTree & getPostDomTree() const
MachinePostDominatorTreeWrapperPass()
void releaseMemory() override
releaseMemory() - This member can be implemented by a pass if it wants to be able to release its memo...
MachinePostDominatorTree & getPostDomTree()
MachinePostDominatorTree - an analysis pass wrapper for DominatorTree used to compute the post-domina...
MachinePostDominatorTree(MachineFunction &MF)
MachinePostDominatorTree()=default
A Module instance is used to store all the information related to an LLVM module.
A set of analyses that are preserved following a run of a transformation pass.
This class implements an extremely fast bulk output stream that can only output to a stream.
bool Verify(const DomTreeT &DT, typename DomTreeT::VerificationLevel VL)
void DeleteEdge(DomTreeT &DT, typename DomTreeT::NodePtr From, typename DomTreeT::NodePtr To)
void Calculate(DomTreeT &DT)
GraphDiff< MachineBasicBlock *, true > MBBPostDomTreeGraphDiff
void ApplyUpdates(DomTreeT &DT, GraphDiff< typename DomTreeT::NodePtr, DomTreeT::IsPostDominator > &PreViewCFG, GraphDiff< typename DomTreeT::NodePtr, DomTreeT::IsPostDominator > *PostViewCFG)
void InsertEdge(DomTreeT &DT, typename DomTreeT::NodePtr From, typename DomTreeT::NodePtr To)
PostDomTreeBase< MachineBasicBlock > MBBPostDomTree
This is an optimization pass for GlobalISel generic memory operations.
Printable print(const GCNRegPressure &RP, const GCNSubtarget *ST=nullptr, unsigned DynamicVGPRBlockSize=0)
DominatorTreeBase< T, true > PostDomTreeBase
AnalysisManager< MachineFunction > MachineFunctionAnalysisManager
A CRTP mix-in that provides informational APIs needed for analysis passes.
A special type used by analysis passes to provide an address that identifies that particular analysis...
A CRTP mix-in to automatically provide informational APIs needed for passes.