summaryrefslogtreecommitdiffstats
path: root/llvm
Commit message (Collapse)AuthorAgeFilesLines
...
* Fix spelling in comment.Michael J. Spencer2011-10-071-3/+3
| | | | llvm-svn: 141386
* Change relocation API to be per section. This time without breaking GCC.Michael J. Spencer2011-10-078-204/+562
| | | | llvm-svn: 141385
* Improve ARM assembly parser diagnostic for unexpected tokens.Jim Grosbach2011-10-071-1/+2
| | | | | | | | | | | | | | | | | Consider: mov r8, r11 fred Previously, we issued the not very informative: x.s:6:1: error: unexpected token in argument list ^ Now we generate: x.s:5:14: error: unexpected token in argument list mov r8, r11 fred ^ llvm-svn: 141380
* Revert 141376 and 141377 due to breaking the build.Bill Wendling2011-10-079-564/+207
| | | | | | | | | | | | | | | | --- Reverse-merging r141377 into '.': U tools/llvm-objdump/MachODump.cpp --- Reverse-merging r141376 into '.': U include/llvm/Object/COFF.h U include/llvm/Object/ObjectFile.h U include/llvm-c/Object.h U tools/llvm-objdump/llvm-objdump.cpp U lib/Object/MachOObjectFile.cpp U lib/Object/COFFObjectFile.cpp U lib/Object/Object.cpp U lib/Object/ELFObjectFile.cpp llvm-svn: 141379
* Remove MultidefsDavid Greene2011-10-0710-303/+13
| | | | | | | | | | | | | | | | | | | Multidefs are a bit unwieldy and incomplete. Remove them in favor of another mechanism, probably for loops. Revert "Make Test More Thorough" Revert "Fix a typo." Revert "Vim Support for Multidefs" Revert "Emacs Support for Multidefs" Revert "Document Multidefs" Revert "Add a Multidef Test" Revert "Update Test for Multidefs" Revert "Process Multidefs" Revert "Parser Multidef Support" Revert "Lexer Support for Multidefs" Revert "Add Multidef Data Structures" llvm-svn: 141378
* Fix spelling in comment.Michael J. Spencer2011-10-071-3/+3
| | | | llvm-svn: 141377
* Change relocation API to be per section.Michael J. Spencer2011-10-078-204/+561
| | | | llvm-svn: 141376
* Jakob is the code owner of register allocation and TableGen.Evan Cheng2011-10-071-0/+2
| | | | llvm-svn: 141372
* High bits of movmskp{s|d} and pmovmskb are known zero. rdar://10247336Evan Cheng2011-10-072-0/+58
| | | | llvm-svn: 141371
* Reenable tail calls for iOS 5.0 and later.Bob Wilson2011-10-074-2/+15
| | | | llvm-svn: 141370
* Reenable use of divmod compiler_rt functions for iOS 5.0 and later.Bob Wilson2011-10-072-0/+65
| | | | llvm-svn: 141368
* Move default to top of switchMatt Beaumont-Gay2011-10-071-6/+4
| | | | llvm-svn: 141366
* Peephole optimization for ABS on ARM.Anton Korobeynikov2011-10-076-7/+174
| | | | | | Patch by Ana Pazos! llvm-svn: 141365
* Teach GVN to also propagate switch cases. For example, in this codeDuncan Sands2011-10-072-31/+92
| | | | | | | | | | | | | | switch (n) { case 27: do_something(x); ... } the call do_something(x) will be replaced with do_something(27). In gcc-as-one-big-file this results in the removal of about 500 lines of bitcode (about 0.02%), so has about 1/10 of the effect of propagating branch conditions. llvm-svn: 141360
* Add X86 disassembler support for RDFSBASE, RDGSBASE, WRFSBASE, and WRGSBASE.Craig Topper2011-10-072-0/+47
| | | | llvm-svn: 141358
* PostRA scheduler fix. Clear stale loop dependencies.Andrew Trick2011-10-072-1/+3
| | | | | | Fixes <rdar://problem/10235725> llvm-svn: 141357
* whitespaceAndrew Trick2011-10-072-3/+3
| | | | llvm-svn: 141356
* Add X86 disassembler support for XSAVE, XRSTOR, and XSAVEOPT.Craig Topper2011-10-073-0/+33
| | | | llvm-svn: 141354
* Revert part of r141274. Only need to change encoding for xchg %eax, %eax in ↵Craig Topper2011-10-075-25/+21
| | | | | | 64-bit mode. This is because in 64-bit mode xchg %eax, %eax implies zeroing the upper 32-bits of RAX which makes it not a NOP. In 32-bit mode using NOP encoding is fine. llvm-svn: 141353
* Use the correct vreg here.Bill Wendling2011-10-061-1/+1
| | | | llvm-svn: 141342
* Generate the dispatch code for a 'thumb' function. This is very similar to theBill Wendling2011-10-061-2/+53
| | | | | | | others. They take the call site value. Determine if it's a proper value. And then jumps to the correct call site via a jump table. llvm-svn: 141341
* Fix the check for nested IT instructions in the disassembler. We need to ↵Owen Anderson2011-10-061-3/+6
| | | | | | perform the check before adding the Thumb predicate, which pops on entry off the ITBlock queue. llvm-svn: 141339
* Remove the old atomic instrinsics. autoupgrade functionality is included ↵Eli Friedman2011-10-067-257/+92
| | | | | | with this patch. llvm-svn: 141333
* Generate the dispatch table for ARM mode.Bill Wendling2011-10-061-29/+71
| | | | llvm-svn: 141327
* Refactor some of the code that sets up the entry block for SjLj EH. No ↵Bill Wendling2011-10-062-79/+105
| | | | | | functionality change. llvm-svn: 141323
* Tidy up tests. Un-XFAIL file and mark individual tests as FIXME instead.Jim Grosbach2011-10-061-26/+28
| | | | llvm-svn: 141321
* Use a thumb ORR instead of thumb2 ORR when in thumb-only mode. (Picky! Picky!)Bill Wendling2011-10-061-7/+12
| | | | | | Place the immediate to OR into a register so that it works. llvm-svn: 141319
* Fix and clean up tests. Un-XFAIL.Jim Grosbach2011-10-061-41/+46
| | | | llvm-svn: 141318
* * Set the low bit of the return address when we are in thumb mode.Bill Wendling2011-10-061-73/+90
| | | | | | * Some code cleanup. llvm-svn: 141317
* Fix and clean up tests. Un-XFAIL.Jim Grosbach2011-10-061-85/+96
| | | | llvm-svn: 141316
* Fix List-of-List ProcessingDavid Greene2011-10-061-1/+3
| | | | | | | | | Fix VarListElementInit::resolveListElementReference to return a partially resolved VarListElementInint in the case where full resolution is not possible. This allows TableGen to make forward progress resolving certain complex list expressions. llvm-svn: 141315
* Make Test More ThoroughDavid Greene2011-10-061-0/+12
| | | | | | | | Check that all ADD patters are processed. Add a SUB test. llvm-svn: 141314
* Fix -asserts buildMatt Beaumont-Gay2011-10-061-0/+2
| | | | llvm-svn: 141313
* PTX: Implement signed divisionJustin Holewinski2011-10-061-5/+34
| | | | llvm-svn: 141306
* Use StringSwitch.Benjamin Kramer2011-10-061-19/+21
| | | | llvm-svn: 141305
* Simplify code. No functionality change.Benjamin Kramer2011-10-061-26/+24
| | | | llvm-svn: 141299
* Fix TypoDavid Greene2011-10-061-1/+1
| | | | | | Compare the entire keyword string. llvm-svn: 141295
* s/tblgen/llvm-tblgen/g in a few missed places, including the testsPeter Collingbourne2011-10-0654-65/+65
| | | | llvm-svn: 141294
* Remove the Clang tblgen backends from LLVM.Peter Collingbourne2011-10-0614-4019/+0
| | | | llvm-svn: 141293
* Don't require C bindings opcode numbers to be kept in sync.Torok Edwin2011-10-062-6/+33
| | | | | | | | They are not in sync now, for example Bitcast would show up as LLVMCall. So instead introduce 2 functions that map to and from the opcodes in the C bindings. llvm-svn: 141290
* Add uwtable, returnstwice and nonlazybind to the C bindings also.Torok Edwin2011-10-061-1/+4
| | | | llvm-svn: 141289
* ocaml/C bindings: type->isSized()Torok Edwin2011-10-065-0/+16
| | | | llvm-svn: 141288
* add binding to read icmp predicateTorok Edwin2011-10-065-0/+27
| | | | llvm-svn: 141287
* ocaml/C bindings: getmdstring, add num_op, get_op should work on metadata tooTorok Edwin2011-10-065-2/+76
| | | | llvm-svn: 141286
* C/OCaml API to retrieve struct name.Torok Edwin2011-10-065-0/+28
| | | | llvm-svn: 141285
* ocaml bindings: add llvm_ipo based on IPO.hTorok Edwin2011-10-066-1/+328
| | | | llvm-svn: 141284
* add more tests for the OCaml bindingsTorok Edwin2011-10-061-9/+101
| | | | llvm-svn: 141283
* Fix assembling of xchg %eax, %eax to not use the NOP encoding of 0x90. This ↵Craig Topper2011-10-066-3/+71
| | | | | | was done by creating a new register group that excludes AX registers. Fixes PR10345. Also added aliases for flipping the order of the operands of xchg <reg>, %eax. llvm-svn: 141274
* Cosmetic change.Evan Cheng2011-10-061-16/+16
| | | | llvm-svn: 141269
* Build system infrastructure for multiple tblgens.Peter Collingbourne2011-10-0621-193/+218
| | | | llvm-svn: 141266
OpenPOWER on IntegriCloud