summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Expand 64-bit logical shift right inlineJim Grosbach2009-10-312-5/+8
| | | | llvm-svn: 85687
* Fix CMakeLists.txt comment.Edward O'Callaghan2009-10-311-1/+1
| | | | llvm-svn: 85686
* Expand 64-bit arithmetic shift right inlineJim Grosbach2009-10-312-2/+37
| | | | llvm-svn: 85685
* Fix a missing newline in the dwarf output code.Dan Gohman2009-10-311-0/+1
| | | | llvm-svn: 85684
* Add missing colons for FileCheck.Benjamin Kramer2009-10-312-4/+4
| | | | llvm-svn: 85683
* Make -print-machineinstrs more readable.Dan Gohman2009-10-316-66/+97
| | | | | | | | | | | | | | - Be consistent when referring to MachineBasicBlocks: BB#0. - Be consistent when referring to virtual registers: %reg1024. - Be consistent when referring to unknown physical registers: %physreg10. - Be consistent when referring to known physical registers: %RAX - Be consistent when referring to register 0: %reg0 - Be consistent when printing alignments: align=16 - Print jump table contents. - Don't print host addresses, in general. - and various other cleanups. llvm-svn: 85682
* Factor out more code into addCommonCodeGenPasses. The JIT wasn'tDan Gohman2009-10-311-32/+30
| | | | | | | | previously running CodePlacementOpt. Also print headers before each dump in -print-machineinstrs mode, so that it's clear which dump is which. llvm-svn: 85681
* adjust a couple xforms to work with null bb's in BlockAddress.Chris Lattner2009-10-312-4/+8
| | | | llvm-svn: 85680
* Fix -pthread on dragonfly. Patch by Sascha Wildner.Mike Stump2009-10-311-1/+1
| | | | llvm-svn: 85679
* Make blockaddress(@func, null) be valid, and make 'deleting a basic Chris Lattner2009-10-319-21/+39
| | | | | | | | | | | | block with a blockaddress still referring to it' replace the invalid blockaddress with a new blockaddress(@func, null) instead of a inttoptr(1). This changes the bitcode encoding format, and still needs codegen support (this should produce a non-zero value, referring to the entry block of the function would also be quite reasonable). llvm-svn: 85678
* Refine vcall/vbase ordering with vtable construction.Mike Stump2009-10-312-55/+99
| | | | llvm-svn: 85677
* Force triple; darwin's ASM syntax differs from linux's.Benjamin Kramer2009-10-311-1/+1
| | | | llvm-svn: 85676
* Expand 64 bit left shift inline rather than using the libcall. For now, thisJim Grosbach2009-10-312-2/+37
| | | | | | | is unconditional. Making it still use the libcall when optimizing for size would be a good adjustment. llvm-svn: 85675
* Add missing colons for FileCheck.Benjamin Kramer2009-10-312-5/+5
| | | | llvm-svn: 85674
* Convert to FileCheckJim Grosbach2009-10-311-5/+9
| | | | llvm-svn: 85673
* The universal SDKROOT should only be assigned when hosted. Otherwise theJim Grosbach2009-10-311-0/+1
| | | | | | SDKROOT can refer to the target when we're building for the host. llvm-svn: 85672
* add a comment.Chris Lattner2009-10-311-0/+4
| | | | llvm-svn: 85671
* Revert r85667. LoopUnroll currently can't call utility functions whichDan Gohman2009-10-314-31/+97
| | | | | | | auto-update the DominatorTree because it doesn't keep the DominatorTree current while it works. llvm-svn: 85670
* Implement "incremental" template instantiation for non-type templateDouglas Gregor2009-10-315-58/+122
| | | | | | | | | | | | | | | parameters and template type parameters, which occurs when substituting into the declarations of member templates inside class templates. This eliminates errors about our inability to "reduce non-type template parameter depth", fixing PR5311. Also fixes a bug when instantiating a template type parameter declaration in a member template, where we weren't properly reducing the template parameter's depth. LLVM's StringSwitch header now parses. llvm-svn: 85669
* Remove redundant code.Dan Gohman2009-10-311-3/+0
| | | | llvm-svn: 85668
* Merge the enhancements from LoopUnroll's FoldBlockIntoPredecessor intoDan Gohman2009-10-314-97/+31
| | | | | | | MergeBlockIntoPredecessor. This makes SimplifyCFG slightly more aggressive, and makes it unnecessary for LoopUnroll to have its own copy of this code. llvm-svn: 85667
* Fix the type of __builtin_expect, from Ed Schouten!Douglas Gregor2009-10-312-1/+3
| | | | llvm-svn: 85666
* Add two missing CINDEX_LINKAGE uses, in libCIndex, from KovarththananDouglas Gregor2009-10-311-2/+2
| | | | | | Rajaratnam! llvm-svn: 85665
* Rename forgetLoopBackedgeTakenCount to forgetLoop, because itDan Gohman2009-10-315-16/+15
| | | | | | clears out more information than just the stored backedge taken count. llvm-svn: 85664
* Replace LoopUnrollPass.cpp's custom code-size estimation code usingDan Gohman2009-10-311-30/+5
| | | | | | the new common CodeMetrics code. llvm-svn: 85663
* Simplify this code.Dan Gohman2009-10-311-2/+2
| | | | llvm-svn: 85662
* Remove an unnecessary #include.Dan Gohman2009-10-311-1/+0
| | | | llvm-svn: 85661
* Update CMakeLists for recent renames.Dan Gohman2009-10-312-2/+2
| | | | llvm-svn: 85660
* Rename UnrollLoop.cpp to LoopUnroll.cpp, and LoopUnroll.cpp toDan Gohman2009-10-312-0/+0
| | | | | | | LoopUnrollPass.cpp, for consistency with other passes which are similarly split. llvm-svn: 85659
* Remove CodeGenLICM. It's largely obsoleted by MachineLICM's new abilityDan Gohman2009-10-315-126/+1
| | | | | | to unfold loop-invariant loads. llvm-svn: 85657
* Make ScalarEvolutionAliasAnalysis slightly more aggressive, by making anDan Gohman2009-10-311-13/+10
| | | | | | underlying alias call even for non-identified-object values. llvm-svn: 85656
* Reapply r85634, with the bug fixed.Dan Gohman2009-10-311-15/+17
| | | | llvm-svn: 85655
* When discarding SrcValue information, discard all of it so that codeDan Gohman2009-10-311-7/+5
| | | | | | that uses this information knows to behave conservatively. llvm-svn: 85654
* Fix 80-column violation.Dan Gohman2009-10-311-1/+2
| | | | llvm-svn: 85653
* Update CMake file.Benjamin Kramer2009-10-312-1/+3
| | | | llvm-svn: 85652
* Move CheckDivZero into its own files.Zhongxing Xu2009-10-313-70/+100
| | | | llvm-svn: 85651
* Fix warning with gcc-4.0 and signed/unsigned.Eric Christopher2009-10-311-1/+1
| | | | llvm-svn: 85648
* Move UndefDerefChecker into its own file.Zhongxing Xu2009-10-313-50/+86
| | | | llvm-svn: 85645
* Add header comments.Zhongxing Xu2009-10-311-3/+15
| | | | llvm-svn: 85644
* It's safe to remat t2LDRpci; Add PseudoSourceValue to load / store's to ↵Evan Cheng2009-10-313-15/+65
| | | | | | enable more machine licm. More changes coming. llvm-svn: 85643
* fix 80-col.Zhongxing Xu2009-10-311-1/+1
| | | | llvm-svn: 85642
* Revert 85634. It's breaking consumer-typeset (and others).Evan Cheng2009-10-311-17/+15
| | | | llvm-svn: 85641
* Add a target triple so that this test behaves consistently across hosts.Dan Gohman2009-10-311-1/+1
| | | | llvm-svn: 85640
* Add assertion checks here to turn silent miscompiles into aborts.Dan Gohman2009-10-301-4/+8
| | | | llvm-svn: 85639
* Don't mark registers dead here when processing nodes with MVT::FlagDan Gohman2009-10-301-1/+5
| | | | | | | results. This works around a problem affecting targets which rely on MVT::Flag to handle physical register defs. llvm-svn: 85638
* Fix the -mattr line for this test so that it passes on hosts that lack SSSE3.Dan Gohman2009-10-301-1/+1
| | | | llvm-svn: 85637
* Add a testcase for the recent duplicate PHI elimination changes.Dan Gohman2009-10-301-0/+21
| | | | llvm-svn: 85636
* Add a comment about a missed opportunity.Dan Gohman2009-10-301-0/+5
| | | | llvm-svn: 85635
* Optimize around the fact that pred_iterator is slow: instead of sortingDan Gohman2009-10-301-15/+17
| | | | | | | PHI operands by the predecessor order, sort them by the order used by the first PHI in the block. This is still suffucient to expose duplicates. llvm-svn: 85634
* Fix a crazy canonical-types bug because canonicalizing aDouglas Gregor2009-10-301-1/+1
| | | | | | | | | dependently-sized array type with a given expression might end up returning a non-canonical type; see through that non-canonical type to the underlying canonical type. Yes, I have a test case; no, I can't reduce it to the point where it's worth checking in :( llvm-svn: 85633
OpenPOWER on IntegriCloud