summaryrefslogtreecommitdiffstats
path: root/llvm
Commit message (Collapse)AuthorAgeFilesLines
* Allow widening of extract subvectorMon P Wang2009-10-162-0/+8
| | | | llvm-svn: 84279
* Do not emit name entry for a pointer type.Devang Patel2009-10-161-1/+1
| | | | llvm-svn: 84276
* Change createPostRAScheduler so it can be turned off at llc -O1.Evan Cheng2009-10-166-14/+31
| | | | llvm-svn: 84273
* Add a CodeGenOpt::Less level to match -O1. It'll be used by clients which do ↵Evan Cheng2009-10-163-5/+6
| | | | | | not want post-regalloc scheduling. llvm-svn: 84272
* Move zext and sext casts fed by loads into the same block as theDan Gohman2009-10-163-3/+63
| | | | | | | load, to help SelectionDAG fold them into the loads, unless conditions are unfavorable. llvm-svn: 84271
* Parse PHI instruction with attached metadata.Devang Patel2009-10-162-0/+19
| | | | llvm-svn: 84264
* If there is not any llvm instruction associated with each lexical scope ↵Devang Patel2009-10-162-2/+43
| | | | | | encoded in debug info then create such scope on demand for variable info. llvm-svn: 84262
* Invert isSafeToGetMallocArraySize check because we return NULL when we don't ↵Victor Hernandez2009-10-161-1/+1
| | | | | | | | know the size. Thanks to Duncan Sands for noticing this bug. llvm-svn: 84261
* Invert isSafeToGetMallocArraySize check because we return NULL when we don't ↵Victor Hernandez2009-10-161-0/+30
| | | | | | | | know the size. Thanks to Duncan Sands for noticing this bug. llvm-svn: 84260
* Update from Cristina, llvm-gcc doesn't build on the SPARC version of solarisChris Lattner2009-10-161-1/+1
| | | | | | at the moment. llvm-svn: 84258
* Force triple in tests.Daniel Dunbar2009-10-162-2/+2
| | | | llvm-svn: 84257
* Strip trailing white space.Duncan Sands2009-10-162-43/+41
| | | | llvm-svn: 84256
* Check that GVN performs this transform even if the callsDuncan Sands2009-10-161-14/+14
| | | | | | | themselves are not marked readonly, but only the called functions. llvm-svn: 84253
* Update CMake file.Benjamin Kramer2009-10-161-0/+1
| | | | llvm-svn: 84252
* Cleaned up some code. No functionality change.Sanjiv Gupta2009-10-164-67/+52
| | | | llvm-svn: 84251
* I am no spelling bee.Evan Cheng2009-10-161-1/+1
| | | | llvm-svn: 84250
* Enable post-alloc scheduling for all ARM variants except for Thumb1.Evan Cheng2009-10-162-8/+10
| | | | llvm-svn: 84249
* If post-alloc scheduler is not enabled, it should return false, not true.Evan Cheng2009-10-161-3/+3
| | | | llvm-svn: 84248
* Indent code.Zhongxing Xu2009-10-161-1/+1
| | | | llvm-svn: 84247
* Add comment.Evan Cheng2009-10-161-0/+2
| | | | llvm-svn: 84246
* 80 column violation.Evan Cheng2009-10-161-1/+2
| | | | llvm-svn: 84244
* Fix more NEON instruction encodings.Bob Wilson2009-10-161-2/+2
| | | | | | Patch by Johnny Chen. llvm-svn: 84243
* Add half precision floating point support (float16) to APFloat,Chris Lattner2009-10-162-1/+72
| | | | | | patch by Peter Johnson! (PR5195) llvm-svn: 84239
* add haiku support, patch by Paul Davey!Chris Lattner2009-10-162-1/+5
| | | | llvm-svn: 84238
* MC: Set symbol values in MachO MCStreamer.Daniel Dunbar2009-10-161-1/+3
| | | | llvm-svn: 84236
* Minor formatting tweaks.Daniel Dunbar2009-10-163-37/+35
| | | | llvm-svn: 84235
* MC: Switch assembler API to using MCExpr instead of MCValue.Daniel Dunbar2009-10-163-46/+54
| | | | llvm-svn: 84234
* MC: Remove unneeded context argument to MCExpr::Evaluate*.Daniel Dunbar2009-10-164-12/+11
| | | | llvm-svn: 84233
* MC: Tweak variable assignment diagnostics, and make reassignment of non-absoluteDaniel Dunbar2009-10-163-7/+36
| | | | | | variables and symbols invalid. llvm-svn: 84232
* MC: When parsing a variable reference, substitute absolute variables immediatelyDaniel Dunbar2009-10-164-14/+43
| | | | | | since they are allowed to be redefined. llvm-svn: 84230
* MC: Move assembler variable values from MCContext to MCSymbol.Daniel Dunbar2009-10-163-32/+33
| | | | llvm-svn: 84229
* MC: Switch MCContext value table to storing MCExprs.Daniel Dunbar2009-10-163-32/+22
| | | | llvm-svn: 84228
* When checking aliases between phi sources and V2, we know the sources are ↵Evan Cheng2009-10-161-3/+3
| | | | | | not themselves phi nodes. However, V2 may be. Call aliasCheck with V2 first to potentially eliminate a std::swap call. llvm-svn: 84226
* Revert svn r80498 and replace it with a different solution. The only problemBob Wilson2009-10-151-12/+4
| | | | | | | | | | | | | | I can see with the original code was that I forgot that this runs after type legalization and hence the result type will always be i32. (Custom legalization of EXTRACT_VECTOR_ELT is only enabled for vector types with 8- and 16-bit elements.) Regarding the FIXME comment: any information about sign and zero-extension should be captured by separate extension operations. The DAG combiner should handle those to produce either VGETLANEu or VGETLANEs, and that seems to be working now. If there are cases that we're missing, let me know. llvm-svn: 84218
* Dllexport stuff cleanup:Anton Korobeynikov2009-10-151-34/+40
| | | | | | | | 1. Emit external function type information for all COFF targets since it's a feature of object format 2. Emit linker directives only for cygming (since this is ld-specific stuff) llvm-svn: 84214
* Branches must be the last instruction in a Thumb2 IT block. Approved by Evan ↵Sandeep Patel2009-10-152-1/+49
| | | | | | Cheng. llvm-svn: 84212
* Fix encoding bits for N3VLInt3_QHS multiclass with 8-bit elements.Bob Wilson2009-10-151-1/+1
| | | | | | Patch by Johnny Chen. llvm-svn: 84206
* Fix ARM memory operand parsing of post indexing with just a base register, thatKevin Enderby2009-10-151-36/+41
| | | | | | is just "[Rn]" and no tailing comma with an offset, etc. llvm-svn: 84205
* Fix a potential performance problem in placing ARM constant pools.Bob Wilson2009-10-151-29/+67
| | | | | | | | | | | | In the case where there are no good places to put constants and we fall back upon inserting unconditional branches to make new blocks, allow all constant pool references in range of those blocks to put constants there, even if that means resetting the "high water marks" for those references. This will still terminate because you can't keep splitting blocks forever, and in the bad cases where we have to split blocks, it is important to avoid splitting more than necessary. llvm-svn: 84202
* More bits of the ARM target assembler for llvm-mc, code added to parse labelsKevin Enderby2009-10-151-16/+130
| | | | | | | | as expressions, code for parsing a few arm specific directives (still needs the MCStreamer calls for these). Some clean up of the operand parsing code and adding some comments. llvm-svn: 84201
* Remove X86Subtarget::IsLinux. It's no longer being used.Evan Cheng2009-10-152-10/+1
| | | | llvm-svn: 84200
* Fix bug where array malloc with unexpected computation of the size argument ↵Victor Hernandez2009-10-154-37/+72
| | | | | | | | | | | | | | | | | | | | resulted in MallocHelper identifying the malloc as a non-array malloc. This broke GlobalOpt's optimization of stores of mallocs to global variables. The fix is to classify malloc's into 3 categories: 1. non-array mallocs 2. array mallocs whose array size can be determined 3. mallocs that cannot be determined to be of type 1 or 2 and cannot be optimized getMallocArraySize() returns NULL for category 3, and all users of this function must avoid their malloc optimization if this function returns NULL. Eventually, currently unexpected codegen for computing the malloc's size argument will be supported in isArrayMalloc() and getMallocArraySize(), extending malloc optimizations to those examples. llvm-svn: 84199
* Add files Sanjiv forgot.Benjamin Kramer2009-10-153-0/+487
| | | | llvm-svn: 84196
* Re-apply 84180 with the fixed test case.Sanjiv Gupta2009-10-1511-692/+394
| | | | llvm-svn: 84195
* Move Blackfin intrinsics into the Target/Blackfin directory.Jakob Stoklund Olesen2009-10-159-14/+105
| | | | llvm-svn: 84194
* Report errors correctly for unselected target intrinsics.Jakob Stoklund Olesen2009-10-153-8/+21
| | | | llvm-svn: 84193
* Clean up TargetIntrinsicInfo API. Add pure virtual methods.Jakob Stoklund Olesen2009-10-152-26/+20
| | | | llvm-svn: 84192
* Add missing break statements! Thanks to Duncan Sands for pointing this out!Nick Lewycky2009-10-151-0/+2
| | | | llvm-svn: 84191
* Tablegen target intrinsics from the target main .td file.Jakob Stoklund Olesen2009-10-151-2/+2
| | | | | | Fix pasto. llvm-svn: 84190
* Disable another unittest that doesn't work on arm and ppc.Benjamin Kramer2009-10-151-1/+1
| | | | llvm-svn: 84186
OpenPOWER on IntegriCloud