Displaying 1 result from an estimated 1 matches for "higherpass".
2009 Jan 23
0
[LLVMdev] Possible bug in PassManager - Higher pass requires lower pass
...) const {
use.setPreservesAll();
}
virtual bool runOnLoop(Loop *l, LPPassManager &lpm) {
return false;
}
};
char LowerPass::ID = 0;
RegisterPass<LowerPass> x("lower", "Lower Pass");
// Next, the ``higher pass''
class HigherPass : public FunctionPass {
public:
static char ID;
HigherPass() : FunctionPass(&ID) {}
virtual ~HigherPass() {}
virtual void getAnalysisUsage(AnalysisUsage &use) const {
use.addRequired<LowerPass>();
}
virtual bool runOnFunction(Function &a...