- Mar 01, 2011
-
-
Devang Patel authored
Today, the language front ends produces llvm.dbg.* intrinsics, used to encode arguments' debug info, in order any way, most of the times. However, if a front end mix-n-matches llvm.dbg.declare and llvm.dbg.value intrinsics to encode debug info for arguments then code generator needs a way to find argument order. Use 8 bits from line number field to keep track of argument ordering while encoding debug info for an argument. That leaves 24 bit for line no, DebugLoc also allocates 24 bit for line numbers. If a function has more than 255 arguments then rest of the arguments will be ordered by llvm.dbg.* intrinsics' ordering in IR. llvm-svn: 126793
-
Cameron Zwarich authored
addressing code. On 403.gcc this almost halves CodeGenPrepare time and reduces total llc time by 9.5%. Unfortunately, getNumUses() is still the hottest function in llc. llvm-svn: 126782
-
Jakob Stoklund Olesen authored
This effectively disables the 'turbo' functionality of the greedy register allocator where all new live ranges created by splitting would be reconsidered as if they were originals. There are two reasons for doing this, 1. It guarantees that the algorithm terminates. Early versions were prone to infinite looping in certain corner cases. 2. It is a 2x speedup. We can skip a lot of unnecessary interference checks that won't lead to good splitting anyway. The problem is that region splitting only gets one shot, so it should probably be changed to target multiple physical registers at once. Local live range splitting is still 'turbo' enabled. It only accounts for a small fraction of compile time, so it is probably not necessary to do anything about that. llvm-svn: 126781
-
Duncan Sands authored
llvm-svn: 126780
-
Dan Gohman authored
llvm-svn: 126773
-
Talin authored
llvm-svn: 126759
-
Duncan Sands authored
in alphabetical order. llvm-svn: 126745
-
Anders Carlsson authored
intersection of the LHS and RHS ConstantRanges and return "false" when the range is empty. This simplifies some code and catches some extra cases. llvm-svn: 126744
-
Nick Lewycky authored
more work to do here, "icmp ult (urem X, 10), 11" doesn't optimize away yet. Fixes example 3 from PR9343! llvm-svn: 126741
-
Jim Grosbach authored
llvm-svn: 126733
-
Jim Grosbach authored
llvm-svn: 126731
-
Bill Wendling authored
shift. 16-bit: imm6<5:3> = '001', 8 - <imm> is encded in imm6<2:0> 32-bit: imm6<5:4> = '01',16 - <imm> is encded in imm6<3:0> 64-bit: imm6<5> = '1', 32 - <imm> is encded in imm6<4:0> llvm-svn: 126723
-
Eli Friedman authored
llvm-svn: 126720
-
Chris Lattner authored
llvm-svn: 126719
-
Ted Kremenek authored
llvm-svn: 126717
-
Ted Kremenek authored
llvm-svn: 126715
-
Talin authored
llvm-svn: 126714
-
- Feb 28, 2011
-
-
Chris Lattner authored
llvm-svn: 126694
-
-
Kevin Enderby authored
llvm-svn: 126687
-
Jan Sjödin authored
Make all static functions become static class methods. Move shared (duplicated) functions to new MCELF class. llvm-svn: 126686
-
Owen Anderson authored
llvm-svn: 126684
-
Owen Anderson authored
llvm-svn: 126683
-
Chris Lattner authored
llvm-svn: 126682
-
Dan Gohman authored
llvm-svn: 126671
-
Dan Gohman authored
only existed as the result of a misunderstanding. llvm-svn: 126669
-
Dan Gohman authored
was started for in the foreseeable future. llvm-svn: 126668
-
David Greene authored
[AVX] Add decode support for VUNPCKLPS/D instructions, both 128-bit and 256-bit forms. Because the number of elements in a vector does not determine the vector type (4 elements could be v4f32 or v4f64), pass the full type of the vector to decode routines. llvm-svn: 126664
-
Kevin Enderby authored
needed two predicate operands before the imm operand. llvm-svn: 126662
-
-
Stuart Hastings authored
patch to the front-end. Radar 7662569. llvm-svn: 126655
-
Kalle Raiskila authored
The implemented algorithm is overly simplistic (just speculate all branches are taken)- this is work in progress. llvm-svn: 126651
-
Frits van Bommel authored
Based on a patch by Alistair Lynn. llvm-svn: 126647
-
Nick Lewycky authored
llvm-svn: 126645
-
Nick Lewycky authored
also have a zero when numerator = denominator. Reverts parts of r126635 and r126637. llvm-svn: 126644
-
Nick Lewycky authored
PR9343. llvm-svn: 126643
-
Nick Lewycky authored
llvm-svn: 126642
-
Nick Lewycky authored
srem instruction. llvm-svn: 126637
-
Che-Liang Chiou authored
- Add appropriate TableGen patterns for fadd, fsub, fmul. - Add .f32 as the PTX type for the LLVM float type. - Allow parameters, return values, and global variable declarations to accept the float type. - Add appropriate test cases. Patch by Justin Holewinski llvm-svn: 126636
-
Nick Lewycky authored
argument), regardless of the divisor. Teach instcombine about this and fix test7 in PR9343! llvm-svn: 126635
-