Home | History | Annotate | Download | only in optimizing

Lines Matching full:location

81   // Return true if the location can be scratched.
82 bool IsScratchLocation(Location loc);
147 // Allocate a scratch location to perform a move from input kind of location. A subclass should
148 // implement this to get the best fit location. If there is no suitable physical register, it can
150 virtual Location AllocateScratchLocationFor(Location::Kind kind) = 0;
152 // Called after a move which takes a scratch location as source. A subclass can defer the cleanup
154 virtual void FreeScratchLocation(Location loc) = 0;
159 // Return a scratch location from the moves which exactly matches the kind.
160 // Return Location::NoLocation() if no matching scratch location can be found.
161 Location GetScratchLocation(Location::Kind kind);
163 // Add a location to the scratch list which can be returned from GetScratchLocation() to resolve
165 void AddScratchLocation(Location loc);
167 // Remove a location from the scratch list.
168 void RemoveScratchLocation(Location loc);
171 ArenaVector<Location> scratches_;
178 void UpdateMoveSource(Location from, Location to);
180 void AddPendingMove(Location source, Location destination, Primitive::Type type);
185 MoveOperands* GetUnblockedPendingMove(Location loc);
187 // Return true if the location is blocked by outstanding moves.
188 bool IsBlockedByMoves(Location loc);