forked from OSchip/llvm-project
Add accessor for getting the underlying templated type. This is necessary for templated LoopInfo.
llvm-svn: 44347
This commit is contained in:
parent
20a104c87f
commit
5aad0d7ea2
|
@ -670,6 +670,8 @@ public:
|
|||
delete DT;
|
||||
}
|
||||
|
||||
DominatorTreeBase<BasicBlock>& getBase() { return *DT; }
|
||||
|
||||
/// getRoots - Return the root blocks of the current CFG. This may include
|
||||
/// multiple blocks if we are computing post dominators. For forward
|
||||
/// dominators, this will always be a single block (the entry node).
|
||||
|
|
|
@ -54,10 +54,12 @@ public:
|
|||
delete DT;
|
||||
}
|
||||
|
||||
virtual void getAnalysisUsage(AnalysisUsage &AU) const {
|
||||
AU.setPreservesAll();
|
||||
MachineFunctionPass::getAnalysisUsage(AU);
|
||||
}
|
||||
DominatorTreeBase<MachineBasicBlock>& getBase() { return *DT; }
|
||||
|
||||
virtual void getAnalysisUsage(AnalysisUsage &AU) const {
|
||||
AU.setPreservesAll();
|
||||
MachineFunctionPass::getAnalysisUsage(AU);
|
||||
}
|
||||
|
||||
/// getRoots - Return the root blocks of the current CFG. This may include
|
||||
/// multiple blocks if we are computing post dominators. For forward
|
||||
|
|
Loading…
Reference in New Issue