summaryrefslogtreecommitdiffstats
path: root/llvm/lib
Commit message (Collapse)AuthorAgeFilesLines
* Removing stale AsmPrinter directory from MicroBlaze backend.Wesley Peck2010-10-212-312/+0
| | | | llvm-svn: 116998
* Deleted lib/Target/MBlaze/AsmPrinter/CMakeLists.txt. This way theOscar Fuentes2010-10-211-9/+0
| | | | | | | CMake build does not try to build that library, which collides with MBlaze/InstPrinter. llvm-svn: 116997
* Recommit 116986 with capitalization typo fixed.Wesley Peck2010-10-2128-568/+2119
| | | | llvm-svn: 116993
* putback r116983 and fix simple-fp-encoding.ll testsAndrew Trick2010-10-213-4/+38
| | | | llvm-svn: 116992
* Reverting the commit 116986. It was breaking the build on llvm-x86_64-linux ↵Wesley Peck2010-10-2129-1833/+603
| | | | | | | | | though it compiles on OS X. I'll ensure that it builds on a linux machine before committing again. llvm-svn: 116991
* Revert r116983, which is breaking all the buildbots.Owen Anderson2010-10-213-38/+4
| | | | llvm-svn: 116987
* Major update of the MicroBlaze backend. The new features are:Wesley Peck2010-10-2129-603/+1833
| | | | | | | | | | | | | | | | | | | | 1. A delay slot filler that searches for valid instructions to fill the delay slot with. Previously NOPs would always be inserted into delay slots. 2. Support for MC based instruction printer added. 3. Support for MC based machine code generation and ELF file generation. ELF file generation does not yet completely work as much of the ELF support infrastructure is still x86/x86-64 specific. 4. General clean up of the MBlaze backend code. Much of the tablegen code has been cleanup and simplified. Bug Fixes: 1. Removed duplicate periods from subtarget feature descriptions. 2. Many of the instructions had bad machine code information in the tablegen files. Much of this has been fixed. llvm-svn: 116986
* X86: Add alloca probing to dynamic alloca on Windows. Fixes PR8424.Michael J. Spencer2010-10-214-23/+26
| | | | llvm-svn: 116984
* Add missing scheduling itineraries for transfers between core registers and ↵Evan Cheng2010-10-213-4/+38
| | | | | | VFP registers. llvm-svn: 116983
* Implement correct encodings for NEON vadd, both integer and floating point.Owen Anderson2010-10-211-6/+32
| | | | llvm-svn: 116981
* CodeGen-Windows: Only emit _fltused if a VarArg function is called with ↵Michael J. Spencer2010-10-213-7/+7
| | | | | | | | floating point args. This should be the minimum set of functions that could possibly need it. llvm-svn: 116978
* Custom lower f64 args passed in integer registers.Eric Christopher2010-10-211-0/+15
| | | | llvm-svn: 116977
* Fix Whitespace.Michael J. Spencer2010-10-203-138/+138
| | | | llvm-svn: 116972
* Add encoding for moving a value between two ARM core registers and a doubleworkBill Wendling2010-10-201-6/+28
| | | | | | extension register. llvm-svn: 116970
* Remember to keep track of rematted values.Jakob Stoklund Olesen2010-10-201-0/+1
| | | | llvm-svn: 116962
* Add encodings for movement between ARM core registers and single-precisionBill Wendling2010-10-202-33/+59
| | | | | | registers. llvm-svn: 116961
* Memdep says that an instruction clobbers itselfDan Gohman2010-10-201-1/+4
| | | | | | when it means there is no specific clobber instruction. llvm-svn: 116960
* Attempt to fix valgrind complaining about (benign) leaks in pass ↵Owen Anderson2010-10-201-2/+14
| | | | | | | | registration by having PassRegistry delete PassInfo objects that were created using new-style initialization. llvm-svn: 116959
* Factor out the main aliasing check into a separate function.Dan Gohman2010-10-201-24/+39
| | | | llvm-svn: 116958
* More accurate estimate / tracking of register pressure.Evan Cheng2010-10-201-64/+121
| | | | | | | | | | - Initial register pressure in the loop should be all the live defs into the loop. Not just those from loop preheader which is often empty. - When an instruction is hoisted, update register pressure from loop preheader to the original BB. - Treat only use of a virtual register as kill since the code is still SSA. llvm-svn: 116956
* Fix crash introduced in 116852. 8573915.Dale Johannesen2010-10-201-2/+3
| | | | llvm-svn: 116955
* Fix comments; the type graph is currently a tree, not a DAG.Dan Gohman2010-10-201-3/+3
| | | | llvm-svn: 116954
* Move some of the InlineSpiller rematerialization code into LiveRangeEdit.Jakob Stoklund Olesen2010-10-203-41/+148
| | | | llvm-svn: 116951
* Remove Synthesizable from the Type system; as MMX vectorDale Johannesen2010-10-203-12/+12
| | | | | | | types are no longer Legal on X86, we don't need it. No functional change. 8499854. llvm-svn: 116947
* When SimpleRegisterCoalescing is trimming kill flags on a physical registerJakob Stoklund Olesen2010-10-201-1/+11
| | | | | | | | | | | operand, also check if subregisters are killed. Add <imp-def> operands for subregisters that remain alive after a super register is killed. I don't have a testcase for this that reproduces on trunk. <rdar://problem/8441758> llvm-svn: 116940
* Handle _GLOBAL_OFFSET_TABLE_ correctly.Rafael Espindola2010-10-201-0/+27
| | | | llvm-svn: 116932
* Use C++03...Michael J. Spencer2010-10-201-1/+6
| | | | llvm-svn: 116927
* System-Win32/Path: Fix incorrect assumption in isValid.Michael J. Spencer2010-10-201-0/+9
| | | | | | | A recent commit to clang exposed a bug in the Win32 Path code. This is a minimal fix for it. llvm-svn: 116925
* Remove remaining uses of ATTRIBUTE_UNUSED on variables, and delete threeChandler Carruth2010-10-203-6/+2
| | | | | | #includes in the process. llvm-svn: 116919
* Fix a TODO by removing some unnecesary copies.Eric Christopher2010-10-201-13/+5
| | | | llvm-svn: 116915
* Add ATTRIBUTE_UNUSED for -Asserts.NAKAMURA Takumi2010-10-202-4/+4
| | | | llvm-svn: 116909
* Add RegionPass support.Tobias Grosser2010-10-203-0/+280
| | | | | | | A RegionPass is executed like a LoopPass but on the regions detected by the RegionInfo pass instead of the loops detected by the LoopInfo pass. llvm-svn: 116905
* Fix CMake buildDouglas Gregor2010-10-201-0/+1
| | | | llvm-svn: 116903
* Fix backwards conditional.Jim Grosbach2010-10-201-1/+1
| | | | llvm-svn: 116897
* Make CodeGen TBAA-aware.Dan Gohman2010-10-206-30/+72
| | | | llvm-svn: 116890
* Add dynamic realignment when rematerializing the base register.Jim Grosbach2010-10-201-0/+13
| | | | llvm-svn: 116886
* Nuke a commented out bit that got missed a while back.Jim Grosbach2010-10-191-1/+1
| | | | llvm-svn: 116883
* Add a pre-dispatch SjLj EH hook on the unwind edge for targets to do anyJim Grosbach2010-10-1910-18/+109
| | | | | | | setup they require. Use this for ARM/Darwin to rematerialize the base pointer from the frame pointer when required. rdar://8564268 llvm-svn: 116879
* Move NoAA out of BasicAliasAnalysis.cpp into its own file, now thatDan Gohman2010-10-193-87/+92
| | | | | | | it doesn't have a special relationship with BasicAliasAnalysis anymore. llvm-svn: 116876
* Reapply r116831 and r116839, converting AliasAnalysis to useDan Gohman2010-10-1911-59/+63
| | | | | | uint64_t, plus fixes for places I missed before. llvm-svn: 116875
* Extend StringRef's edit-distance algorithm to permit an upper bound on the ↵Douglas Gregor2010-10-191-1/+8
| | | | | | allowed edit distance llvm-svn: 116867
* Update comments to remove obsolete references.Jim Grosbach2010-10-191-6/+5
| | | | llvm-svn: 116863
* Revert r116831 and r116839, which are breaking selfhost builds.Dan Gohman2010-10-197-46/+44
| | | | llvm-svn: 116858
* Shrink MachineOperand from 40 to 32 bytes on 64-bit hosts.Jakob Stoklund Olesen2010-10-191-3/+3
| | | | | | | | | | | | | Pull an unsigned out of the Contents union such that it has the same size as two pointers and no padding. Arrange members such that the Contents union and all pointers can be 8-byte aligned without padding. This speeds up code generation by 0.8% on a 64-bit host. 32-bit hosts should be unaffected. llvm-svn: 116857
* Passes do not need to recursively initialize passes that they preserve, ifOwen Anderson2010-10-198-16/+2
| | | | | | | they do not also require them. This allows us to reduce inter-pass linkage dependencies. llvm-svn: 116854
* Enable using vdup for vector constants which are splat ofDale Johannesen2010-10-191-32/+17
| | | | | | | integers by default, and remove the controlling flag, now that LICM will hoist such vdup's. 8003375. llvm-svn: 116852
* Small cleanups and fixes in preparation for fixing _GLOBAL_OFFSET_TABLE_.Rafael Espindola2010-10-191-7/+11
| | | | llvm-svn: 116848
* Re-enable register pressure aware machine licm with fixes. Hoist() may haveEvan Cheng2010-10-195-77/+123
| | | | | | | erased the instruction during LICM so UpdateRegPressureAfter() should not reference it afterwards. llvm-svn: 116845
* Oops, check in all the files for converting AliasAnalysis toDan Gohman2010-10-192-4/+4
| | | | | | use uint64_t. llvm-svn: 116839
* Change AliasAnalysis and its clients to use uint64_t instead of unsignedDan Gohman2010-10-195-40/+42
| | | | | | for representing object sizes, for consistency with other parts of LLVM. llvm-svn: 116831
OpenPOWER on IntegriCloud