summaryrefslogtreecommitdiffstats
path: root/llvm
Commit message (Collapse)AuthorAgeFilesLines
* Make Loop and MachineLoop be subclasses of LoopBase, rather than typedefs,Dan Gohman2009-07-136-94/+126
| | | | | | | | | | using the Curiously Recurring Template Pattern with LoopBase. This will help further refactoring, and future functionality for Loop. Also, Headers can now foward-declare Loop, instead of pulling in LoopInfo.h or doing tricks. llvm-svn: 75519
* refactor operand printing to remove hte last of the "mem" modifier hack. TheChris Lattner2009-07-131-13/+13
| | | | | | only remaining modifier is "subreg". llvm-svn: 75516
* Use AsmPrinter's Mangler to remove leading '1' from linkage names.Devang Patel2009-07-132-5/+14
| | | | llvm-svn: 75515
* Misc simplifications to InstCombiner::commonIntCastTransforms. Most of Eli Friedman2009-07-131-60/+17
| | | | | | | | the changes are allowed by not calling this function for bitcasts. The Instruction::AShr case is dead because SimplifyDemandedInstructionBits handles that case. llvm-svn: 75514
* Fix FP elimination code to work for Thumb-2 addrmode AddrModeT2_so. This ↵David Goodwin2009-07-131-3/+7
| | | | | | fixes SingleSource/Benchmarks/Stanford/Queens (among others). llvm-svn: 75513
* refactor symbol printing so the whole "mem" thing is handled in fewer places.Chris Lattner2009-07-132-40/+49
| | | | llvm-svn: 75512
* Reapply 75252, with a fix to avoid the infinite recursion case. TheDan Gohman2009-07-133-124/+580
| | | | | | | check for avoiding re-analyzing a widening cast needed to happen earlier, as getSCEV itself may result in a isLoopGuardedByCond query. llvm-svn: 75511
* CMake: tablegen: Add .td files under the inlude/llvm directoryOscar Fuentes2009-07-131-2/+3
| | | | | | hierarchy to the list of dependencies. llvm-svn: 75510
* As Chris pointed out, this doesn't actually need an LLVMContext to operate.Owen Anderson2009-07-137-12/+12
| | | | llvm-svn: 75508
* revert rev. 75503 for now.Devang Patel2009-07-132-19/+4
| | | | llvm-svn: 75507
* Use Mangler to remove leading '1' from linkage names.Devang Patel2009-07-132-4/+19
| | | | llvm-svn: 75503
* add llvm-mc support for parsing the .subsections_via_symbols directive.Kevin Enderby2009-07-135-0/+36
| | | | llvm-svn: 75500
* Fix comment.Eli Friedman2009-07-131-3/+2
| | | | llvm-svn: 75499
* Move more functionality over to LLVMContext.Owen Anderson2009-07-1317-112/+80
| | | | llvm-svn: 75497
* Move the memoization check for SCEVSignExtendExpr andDan Gohman2009-07-131-10/+22
| | | | | | | | SCEVZeroExtendExpr ahead of the most expensive analysis. This speeds up analysis and helps avoid pathologically bad behavior on the testcase in PR4534. llvm-svn: 75496
* Don't bother to call commonIntCastTransforms for bitcasts; int->int Eli Friedman2009-07-131-7/+3
| | | | | | bitcasts will always be eliminated anyway. llvm-svn: 75495
* Convert SCEV from FoldingSetNode to FastFoldingSetNode. This eliminatesDan Gohman2009-07-133-110/+78
| | | | | | | a bunch of redundent code in Profile methods, and prepares for upcoming changes to do improved memoization. llvm-svn: 75494
* Delete a spurious const.Dan Gohman2009-07-131-1/+1
| | | | llvm-svn: 75493
* Reverted r75484. It was causing a failure with Apple-style builds.Bill Wendling2009-07-131-7/+1
| | | | llvm-svn: 75491
* Add infrastructure to allow post instruction printing action triggers.David Greene2009-07-135-9/+59
| | | | | | | | | | | We'll eventually use this to print comments in asm files and do other fun things. This adds interfaces to the AsmPrinter and changes TableGen to invoke the postInstructionAction when appropriate. It also add parameters to TargetAsmInfo to control comment layout. llvm-svn: 75490
* Add NetBSD to the Triple class, patch by Krister Walfridsson!Chris Lattner2009-07-132-0/+4
| | | | llvm-svn: 75489
* More standard way of specifying greater than Leopard.Bill Wendling2009-07-131-3/+3
| | | | llvm-svn: 75488
* On greater than Leopard systems, place exception tables in the __TEXT section.Bill Wendling2009-07-131-3/+11
| | | | llvm-svn: 75484
* Makefile rules for generating assembly matcher.Daniel Dunbar2009-07-131-0/+5
| | | | | | - Unused, fear not cmakers. llvm-svn: 75483
* Change printInstruction to not print a trailing newline. Value::dumpDan Gohman2009-07-131-2/+3
| | | | | | | always adds a newline, so this fixes Value::dump printing an extra blank line. llvm-svn: 75481
* Add an optional optimization to FoldingSet to allow ID values to beDan Gohman2009-07-131-0/+14
| | | | | | stored rather than recomputed on each bucket traversal. llvm-svn: 75480
* Fix comment typos.Bob Wilson2009-07-132-2/+2
| | | | llvm-svn: 75479
* factor the 'optimized sort' code out into a static helper functionChris Lattner2009-07-131-28/+38
| | | | | | and use it from one more place. Patch by Jakub Staszak! llvm-svn: 75478
* Move the re-sort of invalidated NonLocalPointerDeps cache earlierChris Lattner2009-07-132-14/+81
| | | | | | | | | | | so that all code paths get it. PR4256 was about a case where the phi translation loop would find all preds in the Visited cache, so it could get by without re-sorting the NonLocalPointerDeps cache. Fix this by resorting it earlier, there is no reason not to do this. This patch inspired by Jakub Staszak's patch. llvm-svn: 75476
* Make some more changes suggested by Chris. Manipulators go away.David Greene2009-07-133-162/+51
| | | | llvm-svn: 75472
* Added a fixme for platform specific GetDirSeparator().Sanjiv Gupta2009-07-131-0/+2
| | | | llvm-svn: 75461
* allow mcc16 users to specify --save-temps even though it is hidden by mcc16.Sanjiv Gupta2009-07-132-2/+1
| | | | | | link libstd.so with llvm-ld by default with all the programs user is trying to build. llvm-svn: 75460
* Match declaration to definition (missed a few).Daniel Dunbar2009-07-131-3/+3
| | | | llvm-svn: 75456
* Match declaration to definition.Daniel Dunbar2009-07-132-2/+2
| | | | llvm-svn: 75454
* Fix build on Linux.Nick Lewycky2009-07-131-0/+1
| | | | llvm-svn: 75453
* Fix some non-sensical code.Daniel Dunbar2009-07-131-1/+4
| | | | | | - This makes it more like other similar code in Archive handling. llvm-svn: 75452
* Switch to raw_ostream.Daniel Dunbar2009-07-131-35/+35
| | | | llvm-svn: 75451
* Removed some junk code that snuck in to an earlier commit.Lang Hames2009-07-131-5/+0
| | | | llvm-svn: 75450
* Fix an error in ConstantRange::getSignedMax on wrapped ranges. Thanks onceNick Lewycky2009-07-132-7/+7
| | | | | | again to Daniel Dunbar and KLEE! llvm-svn: 75449
* 'i8 full-range' sign extended to i16 should equal [-128, 128) not [-128, 127).Nick Lewycky2009-07-132-2/+2
| | | | | | Found by Daniel Dunbar and KLEE. llvm-svn: 75448
* Begin the painful process of tearing apart the rat'ss nest that is ↵Owen Anderson2009-07-1343-480/+547
| | | | | | | | | Constants.cpp and ConstantFold.cpp. This involves temporarily hard wiring some parts to use the global context. This isn't ideal, but it's the only way I could figure out to make this process vaguely incremental. llvm-svn: 75445
* Multiply was very wrong for wrapped ranges. This supplies a half-fix that willNick Lewycky2009-07-132-6/+11
| | | | | | generally return Full on all wrapped inputs. "Fixes" PR4545. llvm-svn: 75444
* Fix a bug summing two full sets. The overflow checking doesn't handle sets asNick Lewycky2009-07-132-0/+3
| | | | | | | large as the full set, only those one size smaller. Thanks to Daniel Dunbar who found this bug using Klee! llvm-svn: 75443
* Match declaration to definition.Daniel Dunbar2009-07-127-7/+7
| | | | llvm-svn: 75440
* Match declaration to definition.Daniel Dunbar2009-07-121-1/+1
| | | | llvm-svn: 75438
* remove tests for removed intrinsics.Chris Lattner2009-07-122-49/+0
| | | | llvm-svn: 75433
* remove llvm.part.set.* and llvm.part.select.*. They have never been Chris Lattner2009-07-124-459/+0
| | | | | | | | | | implemented in codegen, have no frontend to generate them, and are better implemented with pattern matching (like the ppc backend does to generate rlwimi/rlwinm etc). PR4543 llvm-svn: 75430
* Use llvm_report_error, not llvm_unreachable.Daniel Dunbar2009-07-121-2/+2
| | | | llvm-svn: 75429
* Mention that llvm_report_error() does not return.Torok Edwin2009-07-121-0/+2
| | | | llvm-svn: 75428
* Add an LLVM API change.Daniel Dunbar2009-07-121-0/+2
| | | | llvm-svn: 75426
OpenPOWER on IntegriCloud