- Mar 03, 2011
-
-
Devang Patel authored
llvm::Function argument count is not a good indicator of how many arugments does the function have at source level. If we need more space, just resize vector conservatively. This vector is only used once per function. llvm-svn: 126957
-
Jim Grosbach authored
be next to the frame pointer or the stack pointer. llvm-svn: 126956
-
Jan Sjödin authored
Split MCEELFStreamer and ELFObjectWriter into .h and .cpp files, so that other components can use them. llvm-svn: 126942
-
Richard Osborne authored
llvm-svn: 126941
-
Richard Osborne authored
and siprintf is available on the target. llvm-svn: 126940
-
Justin Holewinski authored
llvm-svn: 126938
-
Richard Osborne authored
and siprintf is available on the target. llvm-svn: 126937
-
Justin Holewinski authored
llvm-svn: 126936
-
Richard Osborne authored
and iprintf is available on the target. Currently iprintf is only marked as being available on the XCore. llvm-svn: 126935
-
Tilmann Scheller authored
llvm-svn: 126934
-
Eli Friedman authored
for calls to weak symbols with a definition has the appearance of working with LLVM-generated code because weak symbol definitions are put in their own sections. llvm-svn: 126933
-
Bob Wilson authored
llvm-svn: 126930
-
Jakob Stoklund Olesen authored
There are probably much larger speedups to be had by renumbering locally instead of looping over the whole function. For now, the greedy register allocator is 25% faster. llvm-svn: 126926
-
Jakob Stoklund Olesen authored
This is much faster than using a pointer to a ManagedStatic object accessed with a function call. The greedy register allocator is 5% faster overall just from the SlotIndex default constructor savings. llvm-svn: 126925
-
Jakob Stoklund Olesen authored
The SlotIndex created by the default construction does not represent a position in the function, and it doesn't make sense to compare it to other indexes. llvm-svn: 126924
-
Jakob Stoklund Olesen authored
llvm-svn: 126922
-
Jakob Stoklund Olesen authored
This speeds up the greedy register allocator by 15%. DenseMap is not as fast as one might hope. llvm-svn: 126921
-
Bob Wilson authored
Patch by Jyun-Yan You, with some minor adjustments and a testcase from me. llvm-svn: 126915
-
Jakob Stoklund Olesen authored
llvm-svn: 126912
-
Jakob Stoklund Olesen authored
When only a single value has been seen, new PHIDefs are never needed. llvm-svn: 126911
-
Jakob Stoklund Olesen authored
We need to wait until we meet a PHIDef in its defining block before resurrecting PHIKills in the predecessors. This should unbreak the llvm-gcc-build-x86_64-darwin10-x-mingw32-x-armeabi bot. llvm-svn: 126905
-
Bob Wilson authored
David Greene changed CannotYetSelect() to print the full DAG including multiple copies of operands reached through different paths in the DAG. Unfortunately this blows up exponentially in some cases. The depth limit of 100 is way too high to prevent this -- I'm seeing a message string of 150MB with a depth of only 40 in one particularly bad case, even though the DAG has less than 200 nodes. Part of the problem is that the printing code is following chain operands, so if you fail to select an operation with a chain, the printer will follow all the chained operations back to the entry node. llvm-svn: 126899
-
Jakob Stoklund Olesen authored
No functional change. llvm-svn: 126898
-
Kevin Enderby authored
Patch by Ted Kremenek! llvm-svn: 126895
-
Jakob Stoklund Olesen authored
Values that map to a single new value in a new interval after splitting don't need new PHIDefs, and if the parent value was never rematerialized the live range will be the same. llvm-svn: 126894
-
Jakob Stoklund Olesen authored
llvm-svn: 126893
-
- Mar 02, 2011
-
-
Renato Golin authored
llvm-svn: 126882
-
Duncan Sands authored
llvm-svn: 126871
-
Stuart Hastings authored
Radar 9056407. llvm-svn: 126864
-
Tilmann Scheller authored
llvm-svn: 126862
-
David Greene authored
missing patterns for them. Add a SIMD test subdirectory to hold tests for SIMD instruction selection correctness and quality. ' llvm-svn: 126845
-
Che-Liang Chiou authored
llvm-svn: 126838
-
Che-Liang Chiou authored
- Add '64bit' sub-target option. - Select 32-bit/64-bit loads/stores based on '64bit' option. - Fix function parameter order. Patch by Justin Holewinski llvm-svn: 126837
-
Rafael Espindola authored
uses. The result produced by the streamer is used to give the linker more accurate information and to add to llvm.compiler.used. The second improvement removes the need for the user to add __attribute__((used)) to functions only used in inline asm. The first one lets us build firefox with LTO on Darwin :-) llvm-svn: 126830
-
Cameron Zwarich authored
llvm-svn: 126829
-
Cameron Zwarich authored
llvm-svn: 126826
-
Cameron Zwarich authored
llvm-svn: 126825
-
Che-Liang Chiou authored
- Allow i16, i32, i64, float, and double types, using the native .u16, .u32, .u64, .f32, and .f64 PTX types. - Allow loading/storing of all primitive types. - Allow primitive types to be passed as parameters. - Allow selection of PTX Version and Shader Model as sub-target attributes. - Merge integer/floating-point test cases for load/store. - Use .u32 instead of .s32 to conform to output from NVidia nvcc compiler. Patch by Justin Holewinski llvm-svn: 126824
-
Jakob Stoklund Olesen authored
Extract the updateSSA() method from the too long extendRange(). LiveOutCache can be shared among all the new intervals since there is at most one of the new ranges live out from each basic block. llvm-svn: 126818
-
Nick Lewycky authored
llvm-svn: 126815
-