Displaying 1 result from an estimated 1 matches for "regallocmultibank".
2005 Sep 05
2
[LLVMdev] Pass is not automatically registered
...ions:
class DependenceAnalyzer : public MachineFunctionPass {
virtual void getAnalysisUsage(AnalysisUsage &AU) const {
AU.setPreservesAll();
AU.addRequired<LiveIntervals>();
AU.addRequired<LiveVariables>();
MachineFunctionPass::getAnalysisUsage(AU);
}
class RegAllocMultibank : public MachineFunctionPass {
virtual void getAnalysisUsage(AnalysisUsage &AU) const {
AU.addRequired<LiveIntervals>();
AU.addRequired<DependenceAnalyzer>();
MachineFunctionPass::getAnalysisUsage(AU);
}
};
--
Tzu-Chien Chiu,
3D Graphics Hardware Architec...