LLVM 20.0.0git
MachineDominanceFrontier.cpp
Go to the documentation of this file.
1//===- MachineDominanceFrontier.cpp ---------------------------------------===//
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
11#include "llvm/CodeGen/Passes.h"
13#include "llvm/Pass.h"
14#include "llvm/PassRegistry.h"
15
16using namespace llvm;
17
18namespace llvm {
22}
23
24
26
28 "Machine Dominance Frontier Construction", true, true)
31 "Machine Dominance Frontier Construction", true, true)
32
35}
36
38
41 Base.analyze(getAnalysis<MachineDominatorTreeWrapperPass>().getDomTree());
42 return false;
43}
44
46 Base.releaseMemory();
47}
48
50 AU.setPreservesAll();
53}
COFF::MachineTypes Machine
Definition: COFFYAML.cpp:390
machine Machine Dominance Frontier Construction
machine domfrontier
machine Machine Dominance Frontier true
#define INITIALIZE_PASS_DEPENDENCY(depName)
Definition: PassSupport.h:55
#define INITIALIZE_PASS_END(passName, arg, name, cfg, analysis)
Definition: PassSupport.h:57
#define INITIALIZE_PASS_BEGIN(passName, arg, name, cfg, analysis)
Definition: PassSupport.h:52
Represent the analysis usage information of a pass.
AnalysisUsage & addRequired()
void setPreservesAll()
Set by analyses that do not transform their input at all.
DominanceFrontierBase - Common base class for computing forward and inverse dominance frontiers for a...
DominanceFrontier Class - Concrete subclass of DominanceFrontierBase that is used to compute a forwar...
void getAnalysisUsage(AnalysisUsage &AU) const override
getAnalysisUsage - This function should be overriden by passes that need analysis information to do t...
bool runOnMachineFunction(MachineFunction &F) override
runOnMachineFunction - This method must be overloaded to perform the desired machine code transformat...
void releaseMemory() override
releaseMemory() - This member can be implemented by a pass if it wants to be able to release its memo...
Analysis pass which computes a MachineDominatorTree.
MachineFunctionPass - This class adapts the FunctionPass interface to allow convenient creation of pa...
void getAnalysisUsage(AnalysisUsage &AU) const override
getAnalysisUsage - Subclasses that override getAnalysisUsage must call this.
static PassRegistry * getPassRegistry()
getPassRegistry - Access the global registry object, which is automatically initialized at applicatio...
This is an optimization pass for GlobalISel generic memory operations.
Definition: AddressRanges.h:18
char & MachineDominanceFrontierID
MachineDominanaceFrontier - This pass is a machine dominators analysis.
void initializeMachineDominanceFrontierPass(PassRegistry &)