LLVM 23.0.0git
MachineDominanceFrontier.h
Go to the documentation of this file.
1//===- llvm/CodeGen/MachineDominanceFrontier.h ------------------*- C++ -*-===//
2//
3// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4// See https://llvm.org/LICENSE.txt for license information.
5// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6//
7//===----------------------------------------------------------------------===//
8
9#ifndef LLVM_CODEGEN_MACHINEDOMINANCEFRONTIER_H
10#define LLVM_CODEGEN_MACHINEDOMINANCEFRONTIER_H
11
19
20namespace llvm {
21
23 : public DominanceFrontierBase<MachineBasicBlock, false> {
24public:
29 using const_iterator = MachineDominanceFrontier ::const_iterator;
30
32
34 MachineFunctionAnalysisManager::Invalidator &);
35};
36
59
61 : public AnalysisInfoMixin<MachineDominanceFrontierAnalysis> {
63 static AnalysisKey Key;
64
65public:
67
69};
70
71} // end namespace llvm
72
73#endif // LLVM_CODEGEN_MACHINEDOMINANCEFRONTIER_H
This file defines a set of templates that efficiently compute a dominator tree over a generic graph.
#define F(x, y, z)
Definition MD5.cpp:54
Represent the analysis usage information of a pass.
Base class for the actual dominator tree node.
Result run(MachineFunction &MF, MachineFunctionAnalysisManager &MFAM)
MachineDominanceFrontierWrapperPass(const MachineDominanceFrontierWrapperPass &)=delete
MachineDominanceFrontierWrapperPass & operator=(const MachineDominanceFrontierWrapperPass &)=delete
bool runOnMachineFunction(MachineFunction &F) override
runOnMachineFunction - This method must be overloaded to perform the desired machine code transformat...
void getAnalysisUsage(AnalysisUsage &AU) const override
getAnalysisUsage - This function should be overriden by passes that need analysis information to do t...
void releaseMemory() override
releaseMemory() - This member can be implemented by a pass if it wants to be able to release its memo...
MachineDominanceFrontier::DomSetType DomSetType
MachineDominanceFrontier::iterator iterator
DomTreeNodeBase< MachineBasicBlock > DomTreeNodeT
bool invalidate(MachineFunction &F, const PreservedAnalyses &PA, MachineFunctionAnalysisManager::Invalidator &)
DomTreeBase< MachineBasicBlock > DomTreeT
MachineDominanceFrontier ::const_iterator const_iterator
A set of analyses that are preserved following a run of a transformation pass.
Definition Analysis.h:112
This is an optimization pass for GlobalISel generic memory operations.
Definition Types.h:26
AnalysisManager< MachineFunction > MachineFunctionAnalysisManager
DominatorTreeBase< T, false > DomTreeBase
A CRTP mix-in that provides informational APIs needed for analysis passes.
Definition PassManager.h:93
A special type used by analysis passes to provide an address that identifies that particular analysis...
Definition Analysis.h:29