Lines Matching defs:to
260 // we need to split use positons in a special way.
264 // When splitting at start we need to locate the previous use interval.
281 // Partition original use intervals to the two live ranges.
296 // end of a lifetime hole). Use at this position should be attributed to
309 // Partition original use positions to the two live ranges.
318 // to the use that no longer belongs to this live range.
356 LAllocator::TraceAlloc("Shorten live range %d to [%d\n", id_, start.Value());
392 LAllocator::TraceAlloc("Add to live range %d interval [%d %d[\n",
423 LAllocator::TraceAlloc("Add to live range %d use position %d\n",
534 // Initialize the live_in sets for each block to NULL.
548 // Add values live on entry to the successor. Note the successor's
554 // All phi input operands corresponding to this successor edge are live
572 // Add an interval that includes the entire block to the live range for
730 LOperand* to) {
742 move->AddMove(cur.source(), to, chunk()->zone());
748 move->AddMove(from, to, chunk()->zone());
793 // This value is produced on the stack, we never need to spill it.
805 // This move to spill operand is not a real use. Liveness analysis
807 // Thus it should be inserted to a lifetime position corresponding to
870 // The input is assumed to immediately have a tagged representation,
873 // beginning of the instruction is equal to the input operand). If
875 // to be adjusted manually.
903 LOperand* to = cur->destination();
904 HPhi* phi = LookupPhi(to);
905 LOperand* hint = to;
912 if (to->IsUnallocated()) {
913 if (live->Contains(LUnallocated::cast(to)->virtual_register())) {
914 Define(curr_position, to, from);
915 live->Remove(LUnallocated::cast(to)->virtual_register());
921 Define(curr_position, to, from);
1043 // We are going to insert a move before the branch instruction.
1047 // value which is invisible to PopulatePointerMaps(), because we store
1050 // Thus we need to manually record a pointer.
1151 // We are going to insert a move before the branch instruction.
1155 // value which is invisible to PopulatePointerMaps(), because we store
1158 // Thus we need to manually record a pointer.
1289 LOperand* to = move->move_operands()->at(j).destination();
1290 if (to->IsUnallocated() &&
1291 LUnallocated::cast(to)->virtual_register() == phi->id()) {
1293 phi_operand = to;
1311 // TODO(kmillikin): Need to be able to get the last block of the loop
1313 // loop instruction to the last for each value live on entry to the
1412 // recording how far we step in order to save doing this for the next range.
1420 // Step through the safe points to see whether they are in the range.
1430 // Advance to the next active range that covers the current
1549 // the register is too close to the start of live range.
1640 TraceAlloc("Add live range %d to active\n", range->id());
1646 TraceAlloc("Add live range %d to inactive\n", range->id());
1658 TraceAlloc("Add live range %d to unhandled at %d\n", range->id(), i + 1);
1664 TraceAlloc("Add live range %d to unhandled at start\n", range->id());
1673 TraceAlloc("Add live range %d to unhandled unsorted at end\n", range->id());
1687 // Sort the unhandled live ranges so that the ranges to be processed first are
1689 // algorithm because it is efficient to remove elements from the end.
1735 TraceAlloc("Moving live range %d from active to handled\n", range->id());
1744 TraceAlloc("Moving live range %d from active to inactive\n", range->id());
1751 TraceAlloc("Moving live range %d from inactive to handled\n", range->id());
1760 TraceAlloc("Moving live range %d from inactive to active\n", range->id());
1801 TraceAlloc("Assigning preferred reg %s to live range %d\n",
1837 TraceAlloc("Assigning free reg %s to live range %d\n",
1906 to that use.
1923 TraceAlloc("Assigning blocked reg %s to live range %d\n",
1928 // This register was not free. Thus we need to find and spill
1947 // We are going to spill live range inside the loop.
1948 // If possible try to move spilling position backwards to loop header.
1960 // Try hoisting out to an outer loop.
1984 // and will lead to an inconsistent state of active and inactive
2117 // and put the rest to unhandled.
2130 // Nothing to spill. Just put it to unhandled as whole.