#include "llvm/CodeGen/MachineDominanceFrontier.h"
#include "llvm/CodeGen/MachineDominators.h"
#include "llvm/CodeGen/Passes.h"
#include "llvm/InitializePasses.h"
#include "llvm/Pass.h"
#include "llvm/PassRegistry.h"
usingnamespacellvm;
namespace llvm {
template class DominanceFrontierBase<MachineBasicBlock, false>;
template class DominanceFrontierBase<MachineBasicBlock, true>;
template class ForwardDominanceFrontierBase<MachineBasicBlock>;
}
char MachineDominanceFrontier::ID = …;
INITIALIZE_PASS_BEGIN(MachineDominanceFrontier, "machine-domfrontier",
"Machine Dominance Frontier Construction", true, true)
INITIALIZE_PASS_DEPENDENCY(MachineDominatorTreeWrapperPass)
INITIALIZE_PASS_END(MachineDominanceFrontier, "machine-domfrontier",
"Machine Dominance Frontier Construction", true, true)
MachineDominanceFrontier::MachineDominanceFrontier() : … { … }
char &llvm::MachineDominanceFrontierID = …;
bool MachineDominanceFrontier::runOnMachineFunction(MachineFunction &) { … }
void MachineDominanceFrontier::releaseMemory() { … }
void MachineDominanceFrontier::getAnalysisUsage(AnalysisUsage &AU) const { … }