/external/llvm/lib/Analysis/ |
IntervalPartition.cpp | 19 INITIALIZE_PASS(IntervalPartition, "intervals", 28 for (unsigned i = 0, e = Intervals.size(); i != e; ++i) 29 delete Intervals[i]; 31 Intervals.clear(); 36 for(unsigned i = 0, e = Intervals.size(); i != e; ++i) 37 Intervals[i]->print(O); 40 // addIntervalToPartition - Add an interval to the internal list of intervals, 45 Intervals.push_back(I); 55 // run through all of the intervals and propagate successor info as 71 assert(I != intervals_end(&F) && "No intervals in function!?!?!") [all...] |
/external/llvm/include/llvm/Analysis/ |
IntervalPartition.h | 19 // they should be represented as distinct intervals. 36 // maximal intervals, as defined with the properties above. Intuitively, an 46 std::vector<Interval*> Intervals; 73 bool isDegeneratePartition() { return Intervals.size() == 1; } 88 // Interface to Intervals vector... 89 const std::vector<Interval*> &getIntervals() const { return Intervals; } 95 // addIntervalToPartition - Add an interval to the internal list of intervals, 103 // run through all of the intervals and propagate successor info as
|
/external/openfst/src/include/fst/ |
interval-set.h | 19 // Class to represent and operate on sets of intervals. 34 // Stores and operates on a set of half-open integral intervals [a,b) 80 vector<Interval> *Intervals() { return &intervals_; } 82 const vector<Interval> *Intervals() const { return &intervals_; } 88 // Number of points in the intervals (undefined if not normalized). 98 const vector<Interval> *intervals = iset.Intervals(); local 99 for (typename vector<Interval>::const_iterator it = intervals->begin(); 100 it != intervals->end(); ++it) 104 // Requires intervals be normalized 275 const vector<Interval> *intervals = iset.Intervals(); local 295 const vector<Interval> *intervals = iset.Intervals(); local 344 const vector<Interval> *intervals = iset.Intervals(); local 366 const vector<Interval> *intervals = s.Intervals(); local [all...] |
state-reachable.h | 73 vector<Interval> *intervals = (*isets_)[s].Intervals(); local 87 intervals->push_back(Interval(index, index + 1)); 89 intervals->push_back(Interval(index_, index_ + 1)); 114 vector<Interval> *intervals = (*isets_)[s].Intervals(); local 115 (*intervals)[0].end = index_; // Update tree interval end 119 (*isets_)[p].Union((*isets_)[s]); // Propagate intervals to parent 182 // to the final states as intervals of the final state indices.
|
label-reachable.h | 195 VLOG(2) << "# of intervals/call: " << (nintervals_ / ncalls_); 306 const vector<Interval> *intervals = isets[s_].Intervals(); local 308 nintervals_ += intervals->size(); 318 if (2 * (aiter_end - aiter_begin) < intervals->size()) { 319 // Check each arc against intervals. 359 iiter = intervals->begin(); 360 iiter != intervals->end(); ++iiter) { 497 VLOG(3) << "state: " << s << " # of intervals: " << isets[s].Size(); 501 VLOG(2) << "# of intervals: " << nintervals [all...] |
/external/llvm/lib/CodeGen/ |
StackColoring.cpp | 116 /// Maps liveness intervals for each slot. 117 SmallVector<std::unique_ptr<LiveInterval>, 16> Intervals; 376 // and update the live intervals. 425 VNInfo *ValNum = Intervals[i]->getValNumInfo(0); 430 Intervals[i]->addSegment(LiveInterval::Segment(S, F, ValNum)); 436 Intervals[i]->addSegment(LiveInterval::Segment(NewStart, F, ValNum)); 437 Intervals[i]->addSegment(LiveInterval::Segment(S, NewFin, ValNum)); 561 const LiveInterval *Interval = &*Intervals[FromSlot]; 586 // Some intervals are suspicious! In some cases we find address 605 if (Intervals[Slot]->empty() [all...] |
StackSlotColoring.cpp | 54 // SSIntervals - Spill slot intervals. 81 // Assignments - Color to intervals mapping. 128 // IntervalSorter - Comparison predicate that sort live intervals by 188 SmallVector<Pair *, 16> Intervals; 189 Intervals.reserve(LS->getNumIntervals()); 191 Intervals.push_back(&I); 192 std::sort(Intervals.begin(), Intervals.end(), 196 DEBUG(dbgs() << "Spill slot intervals:\n"); 197 for (auto *I : Intervals) { [all...] |
/external/mesa3d/src/mesa/program/ |
prog_optimize.c | 847 /** A list of register intervals */ 851 struct interval Intervals[REG_ALLOCATE_MAX_PROGRAM_TEMPS]; 858 list->Intervals[list->Num++] = *inv; 868 while (i >= 0 && list->Intervals[i].End > inv->End) { 869 list->Intervals[i + 1] = list->Intervals[i]; 872 list->Intervals[i + 1] = *inv; 879 ASSERT(list->Intervals[i].End <= list->Intervals[i + 1].End); 893 if (list->Intervals[k].Reg == inv->Reg) [all...] |
/external/skia/src/gpu/effects/ |
GrDashingEffect.cpp | 49 const SkScalar* intervals = strokeInfo.getDashIntervals(); local 50 if (0 == intervals[0] && 0 == intervals[1]) { 56 if (SkPaint::kRound_Cap == cap && intervals[0] != 0.f) { 121 // Assumes phase < sum of all intervals 122 static SkScalar calc_start_adjustment(const SkScalar intervals[2], SkScalar phase) { 123 SkASSERT(phase < intervals[0] + intervals[1]); 124 if (phase >= intervals[0] && phase != 0) { 125 SkScalar srcIntervalLen = intervals[0] + intervals[1] 684 const SkScalar* intervals = strokeInfo.getDashIntervals(); local 1262 SkScalar intervals[2]; local [all...] |