Displaying 2 results from an estimated 2 matches for "f_ite".
Did you mean:
f_it
2010 Sep 15
2
[LLVMdev] getAnalysis<LoopInfo> from ModulePass
...rator BB = F.begin(), E = F.end();
for (; BB != E; ++BB)
errs() << BB->getName() << " " << LI->getLoopDepth(&*BB) << "\n";
};
virtual bool runOnModule(Module &M) {
Module::const_iterator f_it = M.begin(), f_ite = M.end();
for ( ; f_it != f_ite; ++f_it )
{
errs() << f_it->getName() << '\n';
if (!f_it->isDeclaration())
getLoopInfo(*f_it);
}
return true;
}
virtual void getAnalysisUsage(AnalysisUsage &AU) const {...
2010 Sep 15
0
[LLVMdev] getAnalysis<LoopInfo> from ModulePass
..., E = F.end();
> for (; BB != E; ++BB)
> errs() << BB->getName() << " " << LI->getLoopDepth(&*BB) << "\n";
> };
>
> virtual bool runOnModule(Module &M) {
> Module::const_iterator f_it = M.begin(), f_ite = M.end();
> for ( ; f_it != f_ite; ++f_it )
> {
> errs() << f_it->getName() << '\n';
> if (!f_it->isDeclaration())
> getLoopInfo(*f_it);
> }
> return true;
> }
>
> virtual void getAnalysisUsage...