- Feb 23, 2012
-
-
Benjamin Kramer authored
llvm-svn: 151262
-
Jakob Stoklund Olesen authored
llvm-svn: 151260
-
Benjamin Kramer authored
llvm-svn: 151252
-
Duncan Sands authored
llvm-svn: 151251
-
Anton Korobeynikov authored
of instantiated C++ templates. Patch by Kristof Beyls! llvm-svn: 151250
-
Jay Foad authored
llvm-svn: 151249
-
Jay Foad authored
llvm-svn: 151248
-
Jay Foad authored
it with memcpy. This also fixes a problem on big-endian hosts, where addUnaligned would return different results depending on the alignment of the data. llvm-svn: 151247
-
Craig Topper authored
llvm-svn: 151246
-
Duncan Sands authored
used if IsInDevelopmentTree is 'true'. But it doesn't, so help it out. llvm-svn: 151244
-
Duncan Sands authored
llvm-svn: 151243
-
Duncan Sands authored
returns 'true' and emits a warning. Help it out. llvm-svn: 151242
-
Rafael Espindola authored
llvm-svn: 151238
-
Eric Christopher authored
llvm-svn: 151235
-
Eric Christopher authored
llvm-svn: 151234
-
Andrew Trick authored
Ignore undef uses completely. Use a more explicit SlotIndex API. Add more explicit comments. llvm-svn: 151233
-
Evan Cheng authored
of x are zero. This optimizes rev + lsr 16 to rev16. rdar://10750814 llvm-svn: 151230
-
Andrew Trick authored
Added array subscript to SparseSet for convenience. Slight reorg to make it easier to manage the def/use sets. llvm-svn: 151228
-
Jakob Stoklund Olesen authored
llvm-svn: 151226
-
Evan Cheng authored
value is zero. Instead of a cmov + op, issue an conditional op instead. e.g. cmp r9, r4 mov r4, #0 moveq r4, #1 orr lr, lr, r4 should be: cmp r9, r4 orreq lr, lr, #1 That is, optimize (or x, (cmov 0, y, cond)) to (or.cond x, y). Similarly extend this to xor as well as (and x, (cmov -1, y, cond)) => (and.cond x, y). It's possible to extend this to ADD and SUB but I don't think they are common. rdar://8659097 llvm-svn: 151224
-
Jakob Stoklund Olesen authored
llvm-svn: 151223
-
Jakob Stoklund Olesen authored
The bulk masking operations from register mask operands don't account for reserved registers. llvm-svn: 151222
-
Daniel Dunbar authored
llvm-svn: 151213
-
- Feb 22, 2012
-
-
Jakob Stoklund Olesen authored
llvm-svn: 151211
-
Jakob Stoklund Olesen authored
llvm-svn: 151210
-
Andrew Trick authored
llvm-svn: 151205
-
Hal Finkel authored
The standard function epilog includes a .size directive, but ppc64 uses an alternate local symbol to tag the actual start of each function. Until recently, binutils accepted the .size directive as: .size test1, .Ltmp0-test1 however, using this directive with recent binutils will result in the error: .size expression for XXX does not evaluate to a constant so we must use the label which actually tags the start of the function. llvm-svn: 151200
-
Bill Wendling authored
llvm-svn: 151189
-
Chris Lattner authored
llvm-svn: 151186
-
Michael J. Spencer authored
Patch by Joe Groff! llvm-svn: 151183
-
Andrew Trick authored
llvm-svn: 151178
-
Chad Rosier authored
llvm-svn: 151169
-
Jakob Stoklund Olesen authored
llvm-svn: 151167
-
Sirish Pande authored
llvm-svn: 151166
-
David Greene authored
Add some data structures to represent for loops. These will be referenced during object processing to do any needed iteration and instantiation. Add foreach keyword support to the lexer. Add a mode to indicate that we're parsing a foreach loop. This allows the value parser to early-out when processing the foreach value list. Add a routine to parse foreach iteration declarations. This is separate from ParseDeclaration because the type of the named value (the iterator) doesn't match the type of the initializer value (the value list). It also needs to add two values to the foreach record: the iterator and the value list. Add parsing support for foreach. Add the code to process foreach loops and create defs based on iterator values. Allow foreach loops to be matched at the top level. When parsing an IDValue check if it is a foreach loop iterator for one of the active loops. If so, return a VarInit for it. Add Emacs keyword support for foreach. Add VIM keyword support for foreach. Add tests to check foreach operation. Add TableGen documentation for foreach. Support foreach with multiple objects. Support non-braced foreach body with one object. Do not require types for the foreach declaration. Assume the iterator type from the iteration list element type. llvm-svn: 151164
-
Jakob Stoklund Olesen authored
llvm-svn: 151163
-
Benjamin Kramer authored
llvm-svn: 151160
-
Chandler Carruth authored
chip in r139383, and the PSP components of the triple are really annoying to parse. Let's leave this chapter behind. There is no reason to expect LLVM to see a PSP-related triple these days, and so no reasonable motivation to support them. It might be reasonable to prune a few of the older MIPS triple forms in general, but as those at least cause no burden on parsing (they aren't both a chip and an OS!), I'm happy to leave them in for now. llvm-svn: 151156
-
Eric Christopher authored
Worth another 45k (1%) off of a large C++ testcase. rdar://10909458 llvm-svn: 151144
-
Eric Christopher authored
llvm-svn: 151143
-