summaryrefslogtreecommitdiffstats
path: root/llvm
Commit message (Collapse)AuthorAgeFilesLines
* This test is wrong. If you have two weak functions F and G you can't makeNick Lewycky2009-06-121-11/+0
| | | | | | | either one call the other since either one can be replaced at link time, and they need to be independent. llvm-svn: 73225
* Add clang support to the nightly test script.Duncan Sands2009-06-121-10/+21
| | | | | | Patch by Edward O'Callaghan. llvm-svn: 73224
* Credits for Edward O'Callaghan.Duncan Sands2009-06-121-4/+11
| | | | llvm-svn: 73223
* Add an "are types equivalent" operation that ignores the types that a pointerNick Lewycky2009-06-121-99/+354
| | | | | | | | | | | | | | | points to while analyzing all other fields. Use FoldingSetNodeID to produce a good hash. This dramatically decreases run times. Emit thunks. This means that it can look at all functions regardless of what the linkage is or if the address is taken, but unfortunately some small functions can be even shorter than the thunk because our backend doesn't yet realize it can just turn these into jumps. This means that this pass will pessimize code on average. llvm-svn: 73222
* Fix regular expression.Nick Lewycky2009-06-121-1/+1
| | | | llvm-svn: 73221
* Don't remove aggregate-typed module level constants before encoding functionsNick Lewycky2009-06-124-31/+12
| | | | | | since functions may contain aggregate constants too. llvm-svn: 73220
* In an XFAIL line, treat "XFAIL: foo*bar" as a regular expression to be matchedNick Lewycky2009-06-121-1/+1
| | | | | | against the target triple, instead of equivalent to "XFAIL: *". llvm-svn: 73219
* CMake: New variable LLVM_LIBDIR_SUFFIX.Oscar Fuentes2009-06-124-3/+9
| | | | | | Patch by Ingmar Vanhassel! llvm-svn: 73216
* Update script to tell the user where to get the CodeSourcery crosstool, if it'sMisha Brukman2009-06-121-2/+11
| | | | | | not found. llvm-svn: 73213
* Added two scripts to aid with building Linux/x86 -> Linux/ARM crosstools, usingMisha Brukman2009-06-122-0/+235
| | | | | | CodeSourcery's provided GCC-based crosstools, from which we use binutils. llvm-svn: 73212
* XFAIL this on PPC Linux. This keeps showing up in the buildbot and isn't ↵Nick Lewycky2009-06-111-0/+3
| | | | | | | | easy to fix, and I'd like it to stop masking real failures. llvm-svn: 73211
* Misc x86 README updates: remove a couple of already-fixed issues, Eli Friedman2009-06-111-57/+57
| | | | | | add a few suggestions from looking at some assembly code. llvm-svn: 73210
* Use forward declarations and move TargetELFWriterInfo impl to a new file.Bruno Cardoso Lopes2009-06-114-16/+43
| | | | llvm-svn: 73209
* Test for rev 73205 (PR 4349)Dale Johannesen2009-06-111-0/+39
| | | | llvm-svn: 73206
* Alphabetize.Bill Wendling2009-06-111-9/+5
| | | | llvm-svn: 73203
* Remove unused parameter warnings.Bill Wendling2009-06-111-1/+1
| | | | llvm-svn: 73202
* Support for ELF VisibilityBruno Cardoso Lopes2009-06-118-99/+337
| | | | | | | | Emission for globals, using the correct data sections Function alignment can be computed for each target using TargetELFWriterInfo Some small fixes llvm-svn: 73201
* Fix 4366: store to null in non-default addr space should not beChris Lattner2009-06-112-1/+9
| | | | | | turned into unreachable. llvm-svn: 73195
* Generate libcalls for floating point arithmetic and casting operations.Sanjiv Gupta2009-06-111-1/+22
| | | | llvm-svn: 73194
* Cosmetic changes to parameter attribute verification.Duncan Sands2009-06-112-19/+21
| | | | llvm-svn: 73188
* Avoid leaking memory in an error path. NoticedDuncan Sands2009-06-111-3/+4
| | | | | | by cppcheck. llvm-svn: 73187
* More formatting.Sanjiv Gupta2009-06-111-3/+13
| | | | llvm-svn: 73185
* Fixed source comments. No functionality change.Sanjiv Gupta2009-06-111-5/+15
| | | | llvm-svn: 73184
* CMake: Documented how to cross-compile with CMake.Oscar Fuentes2009-06-111-1/+7
| | | | llvm-svn: 73181
* CMake: Fixed parallel build problem related to native tblgen whenOscar Fuentes2009-06-113-5/+7
| | | | | | cross-compiling. llvm-svn: 73180
* CMake: Updated list of files on lib/CodeGen/CMakeLists.txt.Oscar Fuentes2009-06-101-0/+1
| | | | llvm-svn: 73174
* Implement and use new method Function::hasAddressTaken().Jay Foad2009-06-105-38/+21
| | | | llvm-svn: 73164
* Remove warnings: no newline at end of file.Sanjiv Gupta2009-06-102-2/+4
| | | | llvm-svn: 73156
* Silence a warningAnton Korobeynikov2009-06-091-1/+1
| | | | llvm-svn: 73152
* Reversed order of args in EXPECT_EQ() macros to be in the correct order:Misha Brukman2009-06-091-70/+70
| | | | | | | EXPECT_EQ(expected, actual) . This will make error messages understandable as it uses terms such as "expected" and "actual" based on the order of arguments. llvm-svn: 73150
* Remove an unused function SafeToDestroyConstant(). Rename an almostJay Foad2009-06-092-24/+9
| | | | | | | identical function ConstantIsDead() to SafeToDestroyConstant(), to emphasise the connection with Constant::destroyConstant(). llvm-svn: 73149
* Remove empty test (my DejaGNU doesn't like this)Daniel Dunbar2009-06-091-0/+0
| | | | llvm-svn: 73148
* Bug fix:Rafael Espindola2009-06-091-1/+1
| | | | | | string::find returns string::npos if the substring is not found. llvm-svn: 73145
* Simplified logic of this if-then statement to reduce nesting. No functionalityBill Wendling2009-06-091-44/+46
| | | | | | change. llvm-svn: 73143
* Add the beginnings of an implementatation of lazy liveness analysis, based ↵Owen Anderson2009-06-092-0/+215
| | | | | | | | on "Fast Liveness Checking for SSA-form Programs" by Boissinot, et al. This is still very early, hasn't been tested, and is not yet well documented. More to come soon. llvm-svn: 73141
* Remove empty file.Bill Wendling2009-06-091-0/+0
| | | | llvm-svn: 73140
* I'm going to assume that this was meant to be an assignment instead of aBill Wendling2009-06-091-1/+1
| | | | | | computation that isn't used. Please correct this if it's wrong! llvm-svn: 73139
* Revert 73074 and 73099 because Windows doesn't have POSIXDavid Greene2009-06-099-153/+4
| | | | | | | regular expressions. We will add an OpenBSD implementation and re-apply ASAP. llvm-svn: 73138
* Use expandCodeFor instead of expand when the result will beDan Gohman2009-06-091-29/+18
| | | | | | | | | immediately casted. At present, this is just a minor code simplification. In the future, the expansion code may be able to make better choices if it knows what the desired result type will be. llvm-svn: 73137
* PIC16 emits auto variables as globals. When optimizer removes a function ↵Sanjiv Gupta2009-06-093-1/+40
| | | | | | entierly by estimating its side effects on globals, those globals(autos) without a function were not being printed by the Asm printer. llvm-svn: 73135
* Change IndexedModeAction representation.David Greene2009-06-091-22/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This changes the IndexedModeAction representation to remove the limitation on the number of value types in MVT. This limitation prevents us from specifying AVX types. Prior to this change IndexedModActions was represented as follows... uint64_t IndexedModeActions[2][ISD::LAST_INDEXED_MODE]; the first dimension was used to represent loads, then stores. This imposed a limitation of 32 on the number of value types that could be handled with this method. The value type was used to shift the two bits into and out of the approprate bits in the uint64_t. With this change the array is now represented as ... uint8_t IndexedModeActions[MVT::LAST_VALUETYPE][2][ISD::LAST_INDEXED_MODE]; Takes more space but removes the limitation on MVT::LAST_VALUETYPE. The first dimension is now the value_type for the reference. The second dimension is the load [0] vs. store[1]. The third dimension represents the various modes for load store. Accesses are now direct, no shifting or masking. There are other limitations that need to be removed, so that MVT::LAST_VALUETYPE can be greater than 32. This is merely the first step towards that goal. llvm-svn: 73104
* Oops, didn't mean to commit 73102 yet. Revert it.David Greene2009-06-081-21/+22
| | | | llvm-svn: 73103
* Change IndexedModeAction representation.David Greene2009-06-081-22/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This changes the IndexedModeAction representation to remove the limitation on the number of value types in MVT. This limitation prevents us from specifying AVX types. Prior to this change IndexedModActions was represented as follows... uint64_t IndexedModeActions[2][ISD::LAST_INDEXED_MODE]; the first dimension was used to represent loads, then stores. This imposed a limitation of 32 on the number of value types that could be handled with this method. The value type was used to shift the two bits into and out of the approprate bits in the uint64_t. With this change the array is now represented as ... uint8_t IndexedModeActions[MVT::LAST_VALUETYPE][2][ISD::LAST_INDEXED_MODE]; Takes more space but removes the limitation on MVT::LAST_VALUETYPE. The first dimension is now the value_type for the reference. The second dimension is the load [0] vs. store[1]. The third dimension represents the various modes for load store. Accesses are now direct, no shifting or masking. There are other limitations that need to be removed, so that MVT::LAST_VALUETYPE can be greater than 32. This is merely the first step towards that goal. llvm-svn: 73102
* Add a !patsubst operator. Use on string types.David Greene2009-06-088-3/+97
| | | | llvm-svn: 73099
* TypoAnton Korobeynikov2009-06-081-1/+1
| | | | llvm-svn: 73098
* Revert hunk commited by accidentAnton Korobeynikov2009-06-081-7/+2
| | | | llvm-svn: 73097
* Add testcase for register scanveger assertion fix in r72755Anton Korobeynikov2009-06-081-0/+8
| | | | | | (double def due to livevars) llvm-svn: 73096
* The attached patches implement most of the ARM AAPCS-VFP hard floatAnton Korobeynikov2009-06-089-13/+128
| | | | | | | | | ABI. The missing piece is support for putting "homogeneous aggregates" into registers. Patch by Sandeep Patel! llvm-svn: 73095
* Update documentation.David Greene2009-06-081-2/+5
| | | | llvm-svn: 73092
* Add a more robust !if test.David Greene2009-06-081-2/+2
| | | | llvm-svn: 73091
OpenPOWER on IntegriCloud