search for: uncolorable

Displaying 11 results from an estimated 11 matches for "uncolorable".

Did you mean: colorable
2007 Aug 07
0
[LLVMdev] Spillers
...hat each interval is spilled > > into the shortest spill intervals then precoloring won't do any harm to > the > > quality of allocation (as shown above). > > Wait, but aren't you implying then that it's impossible for an interval > corresponding to a spill to be uncolorable? I don't think that's true. > Therefore, precoloring most certainly can cause harm because a decision > is being made in local context without the global information that could > help make a better one. At least this is the imply of LiveIntervals: try to call addIntervalsForSpil...
2007 Aug 07
2
[LLVMdev] Spillers
...marked the intervals introduced by spills as being special so that they would not be chosen to be spilled again. Then they just get colored like every other interval. > > Wait, but aren't you implying then that it's impossible for an interval > > corresponding to a spill to be uncolorable? I don't think that's true. > > Therefore, precoloring most certainly can cause harm because a decision > > is being made in local context without the global information that could > > help make a better one. > > At least this is the imply of LiveIntervals: try to c...
2007 Aug 06
4
[LLVMdev] Spillers
...he best result. If assumed that each interval is spilled > into the shortest spill intervals then precoloring won't do any harm to the > quality of allocation (as shown above). Wait, but aren't you implying then that it's impossible for an interval corresponding to a spill to be uncolorable? I don't think that's true. Therefore, precoloring most certainly can cause harm because a decision is being made in local context without the global information that could help make a better one. > But in theory you can spill intervals differently. For example, interval can > be s...
2007 Aug 07
0
[LLVMdev] Spillers
> > FYI, in my implementation I just marked the intervals introduced by > spills as being special so that they would not be chosen to be spilled > again. Then they just get colored like every other interval. But they can be uncolored like every other interval then, right? When your algorithm finds out during one iteration that it should spill some interval it checks whether this
2010 Apr 06
0
Adding labels on maps (using sp, maptools, or something else suggested)
Hello, I would like to place region names (or abbreviations if space is too limited) on a map. I have tried the following, copying and adapting various examples I have seen but without success. The first example is self-contained, but the second one requires the .shp file, which can retrieved at http://www.gadm.org/country. ----- Example 1 ----- library(sp) con <-
2007 Oct 09
1
[LLVMdev] Supporting pre-allocated registers in LLVM
Quoting Bill Wendling <isanbard at gmail.com>: > Hi Nikolaos, > > I have an alpha version of Chow & Hennesey's priority-based graph > coloring algorithm. It's suffering from some bit-rotting -- e.g., > there's some trouble with how it calculates "forbidden" registers. > You're welcome to the code, if you'd like to hack on it. I've been
2007 Aug 06
0
[LLVMdev] Spillers
Hi, David. Spill intervals must be precolored because they can't be spilled once more. They are the shortest intervals precisely over each def/use of the original interval. That is why they also have their weights set to #INF. Imagine that on a second iteration allocation algorithm figures out that some spilled interval can't be assigned a physical register. Allocator can't spill it
2013 Nov 01
1
Package(s) for making waffle plot-like figures?
Dear all, I am trying to make a series of waffle plot-like figures for my data to visualize the ratios of amino acid residues at each position. For each one of 37 positions, there may be one to four different amino acid residues. So the data consist of the positions, what residues are there, and the ratios of residues. The ratios of residues at a position add up to 100, or close to 100 (more on
2016 Jun 04
2
PBQP register allocation and copy propagation
...that’s a different subject)... Yes - this is also a very interesting subject. So: There are four things that we can tweak that I know of: (1) Spill cost metrics. (2) Heuristic node selection. (Currently "provably colorable nodes first (in no particular order as far as I remember), possibly uncolorable nodes last in order of spill cost") (3) Speculative assignment during heuristic reduction - propagate costs onto neighbors of the RN node based on a localized guess at the best solution. (4) Look-ahead during backpropagation. All of these are worth looking at, but I'd be inclined to look...
2016 Jun 03
2
PBQP register allocation and copy propagation
Hi, > > I think one idea to improve the situation is to consider the cost vector of adjacent nodes during RN. Let's say you decided to do a RN for node A and want to compute the costs for choosing register %Ri. The current implementation does this by computing min(row/column i of edge A <--> B) but you can do better by adding B's cost vector to the row/column before computing
2007 Aug 06
5
[LLVMdev] Spillers
Can someone explain the theory behind the spillers in VirtRegMap.cpp? It seems as though the spillers do triple duty: - Insert load/store operations and/or fold instructions as necessary to carry out spills - Rewrite the spilled virtual registers to use machine registers (mapping given by the caller in the VRM). - Rewrite machine code to change virtual registers to physical registers