summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* Support correct build:Reid Spencer2006-06-01
| | | | | | | | | 1. Capture the ENABLE_THREADS configure variable in Makefile.config 2. Use ENABLE_THREADS to avoid building ParallelJIT if threads are not present. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28609 91177308-0d34-0410-b5e6-96231b3b80d8
* Tighten this script up a bit.Reid Spencer2006-06-01
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28608 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove a warningEvan Cheng2006-06-01
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28607 91177308-0d34-0410-b5e6-96231b3b80d8
* Rename ASM modifier trunc8, trunc16 to subreg8, subreg16.Evan Cheng2006-05-31
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28606 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix casting so there's no warning on Alpha.Reid Spencer2006-05-31
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28605 91177308-0d34-0410-b5e6-96231b3b80d8
* Add my most recent work.Owen Anderson2006-05-31
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28604 91177308-0d34-0410-b5e6-96231b3b80d8
* Sign extenderEvan Cheng2006-05-31
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28603 91177308-0d34-0410-b5e6-96231b3b80d8
* Squelch this warning:Reid Spencer2006-05-31
| | | | | | | | /bzlib.c:126: warning: string length `1056' is greater than the length `509' ISO C89 compilers are required to support git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28602 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix utostr once and for all, by making there only be one function namedChris Lattner2006-05-31
| | | | | | | | utostr. To keep the efficiency in the 32-bit case, make it check to see if the value is 32-bits and if so switch over to the faster 32-bit case. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28601 91177308-0d34-0410-b5e6-96231b3b80d8
* Swap the order of operands created here. For +&|^, the order doesn't matter,Chris Lattner2006-05-31
| | | | | | | | but for sub, it really does! Fix fixes a miscompilation of fibheap_cut in llvmgcc4. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28600 91177308-0d34-0410-b5e6-96231b3b80d8
* Extract a huge loop into a helper method. Fix a few iterator-invalidation bugs.Owen Anderson2006-05-31
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28599 91177308-0d34-0410-b5e6-96231b3b80d8
* 4 billion names is enough for anyone. And really fix the build on alpha ↵Andrew Lenharth2006-05-31
| | | | | | this time git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28598 91177308-0d34-0410-b5e6-96231b3b80d8
* fix utostrAndrew Lenharth2006-05-31
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28597 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix build breakage on alpha, without causing it on x86. as a bonus, all ↵Andrew Lenharth2006-05-31
| | | | | | platforms can invent the same number of unique names now git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28596 91177308-0d34-0410-b5e6-96231b3b80d8
* revert for nowAndrew Lenharth2006-05-31
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28595 91177308-0d34-0410-b5e6-96231b3b80d8
* Rename instructions for consistency sake.Evan Cheng2006-05-31
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28594 91177308-0d34-0410-b5e6-96231b3b80d8
* make 64-bit safe and fix the build on alphaAndrew Lenharth2006-05-31
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28593 91177308-0d34-0410-b5e6-96231b3b80d8
* commuteInstruction() does not always create a new MI!Evan Cheng2006-05-31
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28592 91177308-0d34-0410-b5e6-96231b3b80d8
* Add a brief description for the tblgen program. More detail is needed butReid Spencer2006-05-31
| | | | | | | | the current author is not the person to provide it. Now that the file exists, perhaps others will chime in and embellish. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28591 91177308-0d34-0410-b5e6-96231b3b80d8
* Update the documentation for llvm2cpp after the -gen-* options were added.Reid Spencer2006-05-31
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28590 91177308-0d34-0410-b5e6-96231b3b80d8
* Major reorganization and extension of the code. The diff on this will be aReid Spencer2006-05-31
| | | | | | | | | | mess as functions were moved around into a better ordering. The code was extended to provide various -gen-* options to better control what the generated output should be. Currently it is possible to generate entire modules (three different ways), functions, global variables, and types. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28589 91177308-0d34-0410-b5e6-96231b3b80d8
* Make the getNamedFunction and getNamedGlobal methods be const. They don'tReid Spencer2006-05-31
| | | | | | | change the module in any way and we should enforce that. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28588 91177308-0d34-0410-b5e6-96231b3b80d8
* Clarify type naming.Vladimir Prus2006-05-31
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28587 91177308-0d34-0410-b5e6-96231b3b80d8
* Improve InstVisitor docs.Vladimir Prus2006-05-31
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28586 91177308-0d34-0410-b5e6-96231b3b80d8
* Eliminate a memory leak.Evan Cheng2006-05-31
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28585 91177308-0d34-0410-b5e6-96231b3b80d8
* visitVBinOp: Can't fold divide by zero!Evan Cheng2006-05-31
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28584 91177308-0d34-0410-b5e6-96231b3b80d8
* Don't generate module definitions when the -fragment option is given.Reid Spencer2006-05-31
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28583 91177308-0d34-0410-b5e6-96231b3b80d8
* Select vector_shuffle v1, undef <2, 3, ?, ?> to MOVHLPS.Evan Cheng2006-05-31
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28582 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove dead code.Evan Cheng2006-05-31
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28581 91177308-0d34-0410-b5e6-96231b3b80d8
* Update vector extract test cases.Evan Cheng2006-05-31
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28580 91177308-0d34-0410-b5e6-96231b3b80d8
* A new entryEvan Cheng2006-05-30
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28579 91177308-0d34-0410-b5e6-96231b3b80d8
* MAXP{D|S} and MINP{D|S} are commutable.Evan Cheng2006-05-30
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28578 91177308-0d34-0410-b5e6-96231b3b80d8
* Commute shufps / shufpd.Evan Cheng2006-05-30
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28577 91177308-0d34-0410-b5e6-96231b3b80d8
* 1. No need to thwart this test with an environment variable. Turning it offReid Spencer2006-05-30
| | | | | | | | | is the default and handled by the makefile system and runtest 2. Redirect stderr of llvm-as and llvm2cpp so that warning messages about instrinsics don't cause Tcl to report the run as failed. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28576 91177308-0d34-0410-b5e6-96231b3b80d8
* Somehow I lost a condition when I was shuffling some code around. Anyway,Evan Cheng2006-05-30
| | | | | | | only transform a shufps to pshufd when the first two operands are the same. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28575 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix a build breaker.Evan Cheng2006-05-30
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28574 91177308-0d34-0410-b5e6-96231b3b80d8
* Oops. PSHUFD is only available with SSE2.Evan Cheng2006-05-30
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28573 91177308-0d34-0410-b5e6-96231b3b80d8
* Add a noteChris Lattner2006-05-30
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28572 91177308-0d34-0410-b5e6-96231b3b80d8
* Always reserve space for 8 spilled GPRs. GCC apparently assumes that thisChris Lattner2006-05-30
| | | | | | | space will be available, even if the callee isn't varargs. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28571 91177308-0d34-0410-b5e6-96231b3b80d8
* llvm2cpp is ready to be compiled so add it to the makefile, but make itReid Spencer2006-05-30
| | | | | | | optional. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28570 91177308-0d34-0410-b5e6-96231b3b80d8
* Add the new command line arguments.Reid Spencer2006-05-30
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28569 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix more bugs. This version now passes all of the Feature test except forReid Spencer2006-05-30
| | | | | | | | | a floating point conversion problem with NAN in intrinsics.ll. llvm2cpp makes an attempt to provide the correct conversion, based on the implementation in the CBackend writer, but it doesn't get NAN correct. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28568 91177308-0d34-0410-b5e6-96231b3b80d8
* Added a test case for parameter passing of vector values.Evan Cheng2006-05-30
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28567 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix the test failure on non-Darwin targets.Evan Cheng2006-05-30
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28566 91177308-0d34-0410-b5e6-96231b3b80d8
* Allow shufps x, x, mask to be converted to pshufd x, mask to save a move.Evan Cheng2006-05-30
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28565 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove bogus comment.Evan Cheng2006-05-30
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28564 91177308-0d34-0410-b5e6-96231b3b80d8
* Add llvm2cpp program.Reid Spencer2006-05-30
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28563 91177308-0d34-0410-b5e6-96231b3b80d8
* Provide a simpler interface for getting a ConstantArray from a characterReid Spencer2006-05-30
| | | | | | | | | string. Instead of specifying the length, just specify whether the user wants a terminating null or not. The default is "true" to retain the same behavior as previously provided by this function. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28562 91177308-0d34-0410-b5e6-96231b3b80d8
* Make sure the register pressure reduction schedulers work for non-uniformEvan Cheng2006-05-30
| | | | | | | latency targets, e.g. PPC32. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28561 91177308-0d34-0410-b5e6-96231b3b80d8
* When a priority_queue is empty, the behavior of top() operator isEvan Cheng2006-05-30
| | | | | | | non-deterministic. Returns NULL when it's empty! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28560 91177308-0d34-0410-b5e6-96231b3b80d8