summaryrefslogtreecommitdiffstats
path: root/llvm/lib
Commit message (Collapse)AuthorAgeFilesLines
...
* Fix SSE4.1 roundss, roundsd. While the instructions have Dale Johannesen2008-10-101-38/+52
| | | | | | | | the same pattern as roundpd/roundps, the Intel compiler builtins do not: rounds* has an extra operand. Fixes gcc.target/i386/sse4_1-rounds[sd]-[1234].c llvm-svn: 57370
* Check loop exit predicate properly while eliminating one iteration loop.Devang Patel2008-10-101-13/+15
| | | | | | This patch fixes PR 2869 llvm-svn: 57369
* Fix a thinko and unbreak sparc default CCAnton Korobeynikov2008-10-101-2/+2
| | | | llvm-svn: 57368
* Remove some overzealous checks that were rejectingDale Johannesen2008-10-101-12/+8
| | | | | | | valid comments in inline assembly. gcc.target/i386/20011009-1.c llvm-svn: 57365
* Extend set of return registers on sparc until someone will implement MRV ↵Anton Korobeynikov2008-10-101-3/+3
| | | | | | support there. At least, this will allow libgcc compile, however we are not ABI-compatible with stuff compiled with native gcc. llvm-svn: 57364
* Ignore extra 'r' modifier for nowAnton Korobeynikov2008-10-101-2/+9
| | | | llvm-svn: 57363
* Use expand for smul_lohi for nowAnton Korobeynikov2008-10-101-0/+1
| | | | llvm-svn: 57362
* Add rudimentary support for 'r' register operandAnton Korobeynikov2008-10-102-11/+70
| | | | llvm-svn: 57359
* CleanupAnton Korobeynikov2008-10-101-83/+82
| | | | llvm-svn: 57358
* CMake: updated lib/Analysis/CMakeLists.txt.Oscar Fuentes2008-10-101-0/+1
| | | | llvm-svn: 57357
* Revert r57340 move guard mutex in getPointerToFunction as this can causeMon P Wang2008-10-101-2/+2
| | | | | | deadlock issues with java llvm-svn: 57356
* fix memleak by cleaning the global sets on pass exitNuno Lopes2008-10-101-11/+17
| | | | llvm-svn: 57353
* Add rudimentary asmprinter support for printing inline asm operands for sparc.Anton Korobeynikov2008-10-101-2/+31
| | | | llvm-svn: 57346
* Add dummy 'm' inline asm constraint handler for Sparc. I'm not sure, whether ↵Anton Korobeynikov2008-10-101-0/+26
| | | | | | it is correct, however :) llvm-svn: 57345
* CleanupAnton Korobeynikov2008-10-101-12/+12
| | | | llvm-svn: 57344
* Add a basic intra-procedural escape analysis. This hasn't be extensively ↵Owen Anderson2008-10-101-0/+131
| | | | | | tested yet, but feedback is welcome. llvm-svn: 57342
* Moved guard mutex upwards to guard materializing a functionMon P Wang2008-10-101-3/+3
| | | | | | in getPointerToFunction llvm-svn: 57340
* Added missing print functions that take a raw_ostreamMon P Wang2008-10-101-2/+11
| | | | llvm-svn: 57339
* Generated files for previous checkin.Dale Johannesen2008-10-093-347/+359
| | | | llvm-svn: 57331
* Add a "loses information" return value to APFloat::convertDale Johannesen2008-10-0913-51/+110
| | | | | | | and APFloat::convertToInteger. Restore return value to IEEE754. Adjust all users accordingly. llvm-svn: 57329
* Rename APFloat::convertToAPInt to bitcastToAPInt toDale Johannesen2008-10-0914-45/+46
| | | | | | | make it clearer what the function does. No functional change. llvm-svn: 57325
* Don't drop alignment on globals when cloning.Nick Lewycky2008-10-091-5/+9
| | | | llvm-svn: 57320
* get CodeGen/Alpha/mul128.ll to work.Chris Lattner2008-10-091-0/+2
| | | | llvm-svn: 57318
* Align EH tables before label is emitted, not after,Dale Johannesen2008-10-081-1/+1
| | | | | | thus aligning the label. llvm-svn: 57310
* (re)Put const weak strings in appropriate section on Darwin.Dale Johannesen2008-10-081-1/+3
| | | | | | g++dg/abi/key2.C llvm-svn: 57309
* dont specialize weak functions and the likeNuno Lopes2008-10-081-1/+1
| | | | llvm-svn: 57305
* Comment to be explicit that the enumeration values for CondCodes matter.Jim Grosbach2008-10-081-0/+2
| | | | llvm-svn: 57295
* Use template to distinguish between function variants.Duncan Sands2008-10-081-5/+14
| | | | | | | | | | | | | | GCC 4.4.0 gives an error on the "int" declaration for example saying that it has already been declared (using the "short" one). Using templates here allow the compiler to distinguish between the function to choose. Also, "llvm/Support/DataTypes.h" was not included, leading to error messages about not knowing "uint32_t" for example. Patch by Samuel Tardieu. llvm-svn: 57292
* Add <cstdio> include where needed by gcc-4.4.Duncan Sands2008-10-088-0/+8
| | | | | | Patch by Samuel Tardieu. llvm-svn: 57291
* regenerateChris Lattner2008-10-083-310/+310
| | | | llvm-svn: 57290
* Add missing semicolumns in parser rules, those missing semicolumns Chris Lattner2008-10-081-3/+3
| | | | | | | | are required to compile with the latest Bison. Patch by Samuel Tardieu! llvm-svn: 57289
* Add parentheses to avoid warnings in GCC 4.4.0,Chris Lattner2008-10-081-1/+1
| | | | | | patch by Samuel Tardieu! llvm-svn: 57288
* Fix the case where an instruction is not properly marked as using all ↵Owen Anderson2008-10-081-1/+19
| | | | | | registers that alias its inputs. llvm-svn: 57286
* Remove -disable-fast-isel. Use cl::boolOrDefault with -fast-iselDan Gohman2008-10-071-8/+3
| | | | | | | | | | instead. So now: -fast-isel or -fast-isel=true enable fast-isel, and -fast-isel=false disables it. Fast-isel is also on by default with -fast, and off by default otherwise. llvm-svn: 57270
* Add MBB successors and physreg Uses in the same order thatDan Gohman2008-10-071-7/+4
| | | | | | | SDISel typically adds them in. This makes it a little easier to compare FastISel output with SDISel output. llvm-svn: 57266
* Avoid emitting redundant materializations of integer constantsDan Gohman2008-10-071-3/+4
| | | | | | | for things like null pointers, which at this level aren't different from regular integer constants. llvm-svn: 57265
* Instead of emitting an implicit use for the super-register ofDan Gohman2008-10-071-6/+10
| | | | | | | | X86::CL that was used, emit an EXTRACT_SUBREG from the CL super-register to CL. This more precisely describes how the CL register is being used. llvm-svn: 57264
* Unconditional branch instruction encoding fix. Needs to use ABI, not AXI, to ↵Jim Grosbach2008-10-071-1/+1
| | | | | | get the proper opcode bits. llvm-svn: 57262
* need ARM.h for ARMCC definitionJim Grosbach2008-10-071-0/+1
| | | | llvm-svn: 57261
* Add an option to enable StrongPHIElimination, for ease of testing.Owen Anderson2008-10-075-4/+27
| | | | llvm-svn: 57259
* Encode the conditional execution predicate when JITing.Jim Grosbach2008-10-072-10/+16
| | | | llvm-svn: 57258
* Model hardwired inputs & outputs of x86 8-bit divides correctly.Dale Johannesen2008-10-071-4/+4
| | | | | | Fixes local RA miscompilation of gcc.c-torture/execute/20020904-1.c -O0. llvm-svn: 57257
* Use Dan's supperior checkAndrew Lenharth2008-10-071-13/+9
| | | | llvm-svn: 57255
* Correctly set attributes when removing args during cloning. Fixes PR2765Andrew Lenharth2008-10-071-1/+17
| | | | llvm-svn: 57254
* Clarify naming and correct conditional so that CMP and CMN instructions get ↵Jim Grosbach2008-10-071-8/+5
| | | | | | the Rn operand encoded properly llvm-svn: 57252
* Fix Opcode values of CMP and CMNJim Grosbach2008-10-071-4/+4
| | | | llvm-svn: 57251
* No need for |=Andrew Lenharth2008-10-071-3/+3
| | | | llvm-svn: 57249
* Use ADDC if it is valid at any smaller size. Do it right this timeAndrew Lenharth2008-10-071-3/+6
| | | | llvm-svn: 57248
* Use ADDC if it is valid at any smaller size. fixes ↵Andrew Lenharth2008-10-071-3/+18
| | | | | | test/Codegen/Generic/i128-addsub.ll on x86 llvm-svn: 57247
* Certain patterns involving the "movss" instruction were marked as requiring ↵Anders Carlsson2008-10-071-3/+3
| | | | | | SSE2, when in reality movss is an SSE1 instruction. llvm-svn: 57246
OpenPOWER on IntegriCloud