Lines Matching refs:End
27 OS << " " << i << ": [" << Regions[i].Start << ", " << Regions[i].End in print()
51 unsigned LastRegionEnd = Regions.empty() ? 0 : Regions.back().End; in layoutObject()
53 unsigned End = Start + Obj.Size; in layoutObject() local
54 Regions.emplace_back(Start, End, Obj.Range); in layoutObject()
55 ObjectOffsets[Obj.Handle] = End; in layoutObject()
63 unsigned End = Start + Obj.Size; in layoutObject() local
64 DEBUG(dbgs() << " First candidate: " << Start << " .. " << End << "\n"); in layoutObject()
66 DEBUG(dbgs() << " Examining region: " << R.Start << " .. " << R.End in layoutObject()
68 assert(End >= R.Start); in layoutObject()
69 if (Start >= R.End) { in layoutObject()
75 Start = AdjustStackOffset(R.End, Obj.Size, Obj.Alignment); in layoutObject()
76 End = Start + Obj.Size; in layoutObject()
77 DEBUG(dbgs() << " Overlaps. Next candidate: " << Start << " .. " << End in layoutObject()
81 if (End <= R.End) { in layoutObject()
87 unsigned LastRegionEnd = Regions.empty() ? 0 : Regions.back().End; in layoutObject()
88 if (End > LastRegionEnd) { in layoutObject()
96 DEBUG(dbgs() << " Creating new region: " << LastRegionEnd << " .. " << End in layoutObject()
98 Regions.emplace_back(LastRegionEnd, End, Obj.Range); in layoutObject()
99 LastRegionEnd = End; in layoutObject()
105 if (Start > R.Start && Start < R.End) { in layoutObject()
107 R.Start = R0.End = Start; in layoutObject()
111 if (End > R.Start && End < R.End) { in layoutObject()
113 R0.End = R.Start = End; in layoutObject()
121 if (Start < R.End && End > R.Start) in layoutObject()
123 if (End <= R.End) in layoutObject()
127 ObjectOffsets[Obj.Handle] = End; in layoutObject()