#include "llvm/CodeGen/MachinePostDominators.h"
#include "llvm/InitializePasses.h"
#include "llvm/Support/GenericDomTreeConstruction.h"
usingnamespacellvm;
namespace llvm {
template class DominatorTreeBase<MachineBasicBlock, true>;
namespace DomTreeBuilder {
template void Calculate<MBBPostDomTree>(MBBPostDomTree &DT);
template void InsertEdge<MBBPostDomTree>(MBBPostDomTree &DT,
MachineBasicBlock *From,
MachineBasicBlock *To);
template void DeleteEdge<MBBPostDomTree>(MBBPostDomTree &DT,
MachineBasicBlock *From,
MachineBasicBlock *To);
template void ApplyUpdates<MBBPostDomTree>(MBBPostDomTree &DT,
MBBPostDomTreeGraphDiff &,
MBBPostDomTreeGraphDiff *);
template bool Verify<MBBPostDomTree>(const MBBPostDomTree &DT,
MBBPostDomTree::VerificationLevel VL);
}
extern bool VerifyMachineDomInfo;
}
AnalysisKey MachinePostDominatorTreeAnalysis::Key;
MachinePostDominatorTreeAnalysis::Result
MachinePostDominatorTreeAnalysis::run(MachineFunction &MF,
MachineFunctionAnalysisManager &) { … }
PreservedAnalyses
MachinePostDominatorTreePrinterPass::run(MachineFunction &MF,
MachineFunctionAnalysisManager &MFAM) { … }
char MachinePostDominatorTreeWrapperPass::ID = …;
INITIALIZE_PASS(…)
MachinePostDominatorTreeWrapperPass::MachinePostDominatorTreeWrapperPass()
: … { … }
bool MachinePostDominatorTreeWrapperPass::runOnMachineFunction(
MachineFunction &F) { … }
void MachinePostDominatorTreeWrapperPass::getAnalysisUsage(
AnalysisUsage &AU) const { … }
bool MachinePostDominatorTree::invalidate(
MachineFunction &, const PreservedAnalyses &PA,
MachineFunctionAnalysisManager::Invalidator &) { … }
MachineBasicBlock *MachinePostDominatorTree::findNearestCommonDominator(
ArrayRef<MachineBasicBlock *> Blocks) const { … }
void MachinePostDominatorTreeWrapperPass::verifyAnalysis() const { … }
void MachinePostDominatorTreeWrapperPass::print(llvm::raw_ostream &OS,
const Module *M) const { … }