summaryrefslogtreecommitdiffstats
path: root/llvm
Commit message (Collapse)AuthorAgeFilesLines
...
* Fix typos.Bill Wendling2009-06-161-2/+2
| | | | llvm-svn: 73464
* Use MainCU if it is available.Devang Patel2009-06-162-2/+278
| | | | llvm-svn: 73457
* Add initial stab at documenting the use of LLVM with threaded clients.Owen Anderson2009-06-161-2/+109
| | | | | | Comments welcome! llvm-svn: 73456
* Add comments to ConstantInt::get and ConstantFP::get to more fullyDan Gohman2009-06-161-7/+12
| | | | | | describe their behavior. llvm-svn: 73454
* Use Type::getScalarType.Dan Gohman2009-06-161-4/+2
| | | | llvm-svn: 73451
* Regenerate.Mikhail Glushenkov2009-06-162-43/+74
| | | | llvm-svn: 73449
* Documentation update.Mikhail Glushenkov2009-06-162-22/+52
| | | | llvm-svn: 73448
* Owen Anderson 2009-06-15: Use a SmallPtrSet here, for speed and to match ↵Owen Anderson2009-06-152-8/+18
| | | | | | | | df_iterator. Owen Anderson 2009-06-15: Remember to clear out our maps to prevent crashing. llvm-svn: 73438
* Add a CreateFNeg function to IRBuilder.Dan Gohman2009-06-151-0/+5
| | | | llvm-svn: 73437
* Update this test to use fmul instead of mul.Dan Gohman2009-06-151-1/+1
| | | | llvm-svn: 73436
* Change this from an assert to a cerr+exit, since it's diagnosing anDan Gohman2009-06-151-2/+6
| | | | | | unsupported inline asm construct, rather than verifying a code invariant. llvm-svn: 73435
* On Darwin, frame pointer r7 is never available.Evan Cheng2009-06-151-2/+2
| | | | llvm-svn: 73434
* Use Type::isIntOrIntVector and Type::isFPOrFPVector.Dan Gohman2009-06-152-20/+15
| | | | llvm-svn: 73433
* Support vector casts in more places, fixing a variety of assertionDan Gohman2009-06-1518-259/+497
| | | | | | | | | | | | | | | failures. To support this, add some utility functions to Type to help support vector/scalar-independent code. Change ConstantInt::get and ConstantFP::get to support vector types, and add an overload to ConstantInt::get that uses a static IntegerType type, for convenience. Introduce a new getConstant method for ScalarEvolution, to simplify common use cases. llvm-svn: 73431
* Address more comments :)Anton Korobeynikov2009-06-151-5/+4
| | | | llvm-svn: 73430
* Fix a typo in a diagnostic.Dan Gohman2009-06-151-1/+1
| | | | llvm-svn: 73429
* Rename methods for the sake of consistency.Anton Korobeynikov2009-06-152-8/+8
| | | | llvm-svn: 73428
* Document ABIType enum. Patch by Sandeep Patel!Anton Korobeynikov2009-06-151-0/+3
| | | | llvm-svn: 73427
* Gracefully handle imbalanced inline function begin and end markers.Devang Patel2009-06-153-2/+86
| | | | llvm-svn: 73426
* ifcvt should ignore cfg where true and false successors are the same.Evan Cheng2009-06-152-1/+24
| | | | llvm-svn: 73423
* Typo.Evan Cheng2009-06-151-1/+1
| | | | llvm-svn: 73422
* Rewrite the noredzone description, attempting to avoid confusing language.Dan Gohman2009-06-151-1/+1
| | | | llvm-svn: 73421
* The Ls and Qs were mixed up. Patch by Sean.Bill Wendling2009-06-152-6/+6
| | | | llvm-svn: 73417
* Fix the crash in this test. This is basically the sameDale Johannesen2009-06-152-2/+584
| | | | | | | | problem addressed in 31284, but the patch there only addressed the case where an invoke is the first thing in a block. llvm-svn: 73416
* Do not form ldrd / strd if the two dests / srcs are the same. Code clean up.Evan Cheng2009-06-151-59/+73
| | | | llvm-svn: 73413
* Merge PartialInliner changes.Owen Anderson2009-06-151-0/+5
| | | | llvm-svn: 73412
* "The Intel instruction tables should include the 64-bit and 32-bit instructionsBill Wendling2009-06-152-0/+18
| | | | | | | | | | | that push immediate operands of 1, 2, and 4 bytes (extended to the native register size in each case). The assembly mnemonics are "pushl" and "pushq." One such instruction appears at the beginning of the "start" function , so this is essential for accurate disassembly when unwinding." Patch by Sean Callanan! llvm-svn: 73407
* Silence a warning.Evan Cheng2009-06-151-1/+1
| | | | llvm-svn: 73406
* This test is failing. Revert for now.Bill Wendling2009-06-151-89/+0
| | | | llvm-svn: 73404
* Code cleanups. getSCEVAtScope no longer uses SCEVCouldNotCompute.Dan Gohman2009-06-151-9/+9
| | | | llvm-svn: 73401
* Add another testcase for r71478.Bill Wendling2009-06-151-0/+89
| | | | llvm-svn: 73399
* Make the EnableLoadPRE variable static.Dan Gohman2009-06-151-1/+1
| | | | llvm-svn: 73398
* Fix a typo.Dan Gohman2009-06-151-1/+1
| | | | llvm-svn: 73397
* glibc has two versions of strerror_r, a standards compliant one and a GNUDan Gohman2009-06-151-1/+8
| | | | | | | | | | | | | | specific one. The GNU one is chosen when _GNU_SOURCE is defined. g++ always defines _GNU_SOURCE on linux platforms because glibc's headers won't compile in C++ mode without it. The GNU strerror_r doesn't always modify the buffer which causes empty error messages on linux. This patch changes MakeErrMsg to use the return value of strerror_r to get the string instead of assuming the buffer will be modified, on GLIBC. Patch by Benjamin Kramer! llvm-svn: 73396
* Reword the description of the noredzone attribute.Dan Gohman2009-06-151-2/+3
| | | | llvm-svn: 73394
* CheckTailCallReturnConstraints is missing a check on theArnold Schwaighofer2009-06-152-1/+19
| | | | | | | | | incomming chain of the RETURN node. The incomming chain must be the outgoing chain of the CALL node. This causes the backend to identify tail calls that are not tail calls. This patch fixes this. llvm-svn: 73387
* x86_64 was completely missing from the target triples supported by the X86 codeTorok Edwin2009-06-151-0/+2
| | | | | | generator! llvm-svn: 73385
* Remove the gcc= option. llvm-gcc uses only as=Rafael Espindola2009-06-151-12/+5
| | | | | | | | Look for as in the path. Doing it here instead of llvm-gcc because llvm-gcc has nothing as convenient as sys::Program::FindProgramByName. llvm-svn: 73383
* Part 1.Evan Cheng2009-06-1513-141/+613
| | | | | | | | | | | | | | | | | | | | | - Change register allocation hint to a pair of unsigned integers. The hint type is zero (which means prefer the register specified as second part of the pair) or entirely target dependent. - Allow targets to specify alternative register allocation orders based on allocation hint. Part 2. - Use the register allocation hint system to implement more aggressive load / store multiple formation. - Aggressively form LDRD / STRD. These are formed *before* register allocation. It has to be done this way to shorten live interval of base and offset registers. e.g. v1025 = LDR v1024, 0 v1026 = LDR v1024, 0 => v1025,v1026 = LDRD v1024, 0 If this transformation isn't done before allocation, v1024 will overlap v1025 which means it more difficult to allocate a register pair. - Even with the register allocation hint, it may not be possible to get the desired allocation. In that case, the post-allocation load / store multiple pass must fix the ldrd / strd instructions. They can either become ldm / stm instructions or back to a pair of ldr / str instructions. This is work in progress, not yet enabled. llvm-svn: 73381
* fix testcase to properly check for the patch in r73195.Chris Lattner2009-06-151-1/+1
| | | | llvm-svn: 73380
* "This patch implements the method with the GetModuleFileName function for ↵Chris Lattner2009-06-151-1/+3
| | | | | | | | windows." Patch by Benjamin Kramer! llvm-svn: 73379
* remove extraneous const qualifierChris Lattner2009-06-152-3/+2
| | | | llvm-svn: 73373
* I got J and K backward, many thanks to Eli for spotting this!Chris Lattner2009-06-151-2/+2
| | | | llvm-svn: 73372
* remove some old CVS-specific arguments that don't work with SVN.Chris Lattner2009-06-151-1/+1
| | | | llvm-svn: 73369
* add a new static method to portably determine whether a patch isChris Lattner2009-06-153-0/+27
| | | | | | absolute or not, based on a patch by Gregory Curfman! llvm-svn: 73368
* implement support for the 'K' asm constraint, PR4347Chris Lattner2009-06-151-0/+8
| | | | llvm-svn: 73366
* Fix old-style type names in comments.Dan Gohman2009-06-1410-24/+24
| | | | llvm-svn: 73362
* Implement more aggressive folding of add operand lists whenDan Gohman2009-06-142-0/+166
| | | | | | | | | | they contain multiplications of constants with add operations. This helps simplify several kinds of things; in particular it helps simplify expressions like ((-1 * (%a + %b)) + %a) to %b, as expressions like this often come up in loop trip count computations. llvm-svn: 73361
* Specialize DenseMapInfo for SCEVHandle, so that SCEVHandles can beDan Gohman2009-06-141-0/+28
| | | | | | used as keys in DenseMaps. llvm-svn: 73360
* Check for the short-circuiting condition before performingDan Gohman2009-06-141-1/+1
| | | | | | the potentially expensive erase. llvm-svn: 73359
OpenPOWER on IntegriCloud