search for: ipart

Displaying 1 result from an estimated 1 matches for "ipart".

Did you mean: part
2008 Aug 27
2
[LLVMdev] IntervalPartition and Intervals per function
...in the set of intervals for every function: virtual void getAnalysisUsage(AnalysisUsage &AU) const { AU.addRequired<IntervalPartition>(); } and get a handle to it in the runOnFunction method of my CustomPass: bool CustomPass::runOnFunction(Function& F) { IntervalPartition& iPart = getAnalysis<IntervalPartition>(); const std::vector<Interval*>& intervals = iPart.getIntervals(); ... } However when i access the intervals vector for a particular call of runOnFunction, it seems that alll intervals computed for the earlier functions are still in...