- Jul 25, 2011
-
-
Evan Cheng authored
llvm-svn: 135930
-
Bill Wendling authored
llvm-svn: 135924
-
Bill Wendling authored
llvm-svn: 135923
-
Bill Wendling authored
unwind encoding for that function. This simply crawls through the prolog looking for machine instrs marked as "frame setup". It can calculate from these what the compact unwind should look like. This is currently disabled because of needed linker support. But initial tests look good. llvm-svn: 135922
-
Jim Grosbach authored
The .local, .hidden, .internal, and .protected are not legal for all supported file formats (in particular, they're invalid for MachO). Move the parsing for them into the ELF assembly parser since that's the format they're for. Similarly, .weak is used by COFF and ELF, but not MachO, so move the parsing to the COFF and ELF asm parsers. Previously, using any of these directives on Darwin would result in an assertion failure in the parser; now we get a diagnostic as we should. rdar://9827089 llvm-svn: 135921
-
Oscar Fuentes authored
Patch by arrowdodger! llvm-svn: 135919
-
Oscar Fuentes authored
Patch by arrowdodger! llvm-svn: 135918
-
Jim Grosbach authored
llvm-svn: 135917
-
Rafael Espindola authored
llvm-svn: 135913
-
Jakob Stoklund Olesen authored
This mechanism already exists, but the RS_Split2 stage makes it clearer. When live range splitting creates ranges that may not be making progress, they are marked RS_Split2 instead of RS_New. These ranges may be split again, but only in a way that can be proven to make progress. For local ranges, that means they must be split into ranges used by strictly fewer instructions. For global ranges, region splitting is bypassed and the RS_Split2 ranges go straight to per-block splitting. llvm-svn: 135912
-
Jakob Stoklund Olesen authored
The stage is used to control where a live range is going, not where it is coming from. Live ranges created by splitting will usually be marked RS_New, but some are marked RS_Spill to avoid wasting time trying to split them again. The old RS_Global and RS_Local stages are merged - they are really the same thing for local and global live ranges. llvm-svn: 135911
-
Frits van Bommel authored
llvm-svn: 135910
-
Oscar Fuentes authored
tablegenning to all libraries and executables. llvm-svn: 135908
-
Jay Foad authored
llvm-svn: 135906
-
Jay Foad authored
llvm-svn: 135905
-
Jay Foad authored
llvm-svn: 135904
-
- Jul 24, 2011
-
-
Chris Lattner authored
llvm-svn: 135889
-
Chris Lattner authored
to eliminate some casting. llvm-svn: 135888
-
Jakob Stoklund Olesen authored
llvm-svn: 135886
-
Jakob Stoklund Olesen authored
This fixes PR10463. A two-address instruction with an <undef> use operand was incorrectly rewritten so the def and use no longer used the same register, violating the tie constraint. Fix this by always rewriting <undef> operands with the register a def operand would use. llvm-svn: 135885
-
Frits van Bommel authored
llvm-svn: 135867
-
Roman Divacky authored
llvm-svn: 135866
-
- Jul 23, 2011
-
-
Chris Lattner authored
llvm-svn: 135861
-
Chris Lattner authored
Frits for straightening me out. llvm-svn: 135856
-
Jakob Stoklund Olesen authored
This method computes the edge bundles that should be live when splitting around a compact region. This is independent of interference. The function returns false if the live range was already a compact region, or the compact region doesn't have any live bundles - it would be the same as splitting around basic blocks. Compact regions are computed using the normal spill placement code. We pretend there is interference in all live-through blocks that don't use the live range. This removes all edges from the Hopfield network used for spill placement, so it converges instantly. llvm-svn: 135847
-
Jakob Stoklund Olesen authored
If there is no interference and no last split point, we cannot enterIntvBefore(Stop) - that function needs a real instruction. Use enterIntvAtEnd instead for that very easy case. This code doesn't currently run, it is needed by multi-way splitting. llvm-svn: 135846
-
Jakob Stoklund Olesen authored
A split candidate can have a null PhysReg which means that it doesn't map to a real interference pattern. Instead, pretend that all through blocks have interference. This makes it possible to generate compact regions where the live range doesn't go through blocks that don't use it. The live range will still be live between directly connected blocks with uses. Splitting around a compact region tends to produce a live range with a high spill weight, so it may evict a less dense live range. llvm-svn: 135845
-
Jakob Stoklund Olesen authored
This method matches addLinks - All the listed blocks are considered to have interference, so they add a negative bias to their bundles. This could also be done by addConstraints, but that requires building a separate BlockConstraint array. llvm-svn: 135844
-
Jakob Stoklund Olesen authored
They always report 'no interference'. llvm-svn: 135843
-
Benjamin Kramer authored
llvm-svn: 135842
-
Benjamin Kramer authored
llvm-svn: 135841
-
Benjamin Kramer authored
llvm-svn: 135838
-
NAKAMURA Takumi authored
llvm-svn: 135837
-
Benjamin Kramer authored
Turn the DenseSet in MCRegisterClass into a tblgenerated bit field. This should be faster and smaller. Goodbye static ctors and dtors! llvm-svn: 135836
-
Benjamin Kramer authored
This makes TargetRegisterClass slightly slower. Next step will be making contains faster. Eventually TargetRegisterClass will be killed entirely. llvm-svn: 135835
-
Evan Cheng authored
llvm-svn: 135833
-
NAKAMURA Takumi authored
llvm-svn: 135832
-
NAKAMURA Takumi authored
llvm-svn: 135831
-
Andrew Trick authored
removes its dependence on canonical induction variables. llvm-svn: 135829
-
Andrew Trick authored
llvm-svn: 135828
-