Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Use StringRef. | Devang Patel | 2009-10-21 | 2 | -7/+8 |
| | | | | llvm-svn: 84786 | ||||
* | Most of the NEON shuffle instructions do not support 64-bit element types. | Bob Wilson | 2009-10-21 | 1 | -3/+18 |
| | | | | llvm-svn: 84785 | ||||
* | Do not use SmallVector to store MDNode elements. | Devang Patel | 2009-10-21 | 4 | -34/+25 |
| | | | | llvm-svn: 84784 | ||||
* | Revert r84764, it breaks mingw build | Anton Korobeynikov | 2009-10-21 | 1 | -1/+1 |
| | | | | llvm-svn: 84783 | ||||
* | XFAIL this test for PPC. | Bill Wendling | 2009-10-21 | 1 | -1/+1 |
| | | | | llvm-svn: 84782 | ||||
* | Driver: don't produce bogus osx version numbers if no version (aka 0) was ↵ | Benjamin Kramer | 2009-10-21 | 1 | -1/+2 |
| | | | | | | specified. llvm-svn: 84781 | ||||
* | Expand on code gen. for pointer to data members so it works | Fariborz Jahanian | 2009-10-21 | 2 | -8/+27 |
| | | | | | | for base classe members as well. Test case enhanced for this. llvm-svn: 84780 | ||||
* | Improve handling of immediates by splitting 32-bit immediates into two 16-bit | Jim Grosbach | 2009-10-21 | 5 | -27/+132 |
| | | | | | | immediate operands when they will fit into the using instruction. llvm-svn: 84778 | ||||
* | Force triple; this test was failing on non-darwin platforms due to different | Benjamin Kramer | 2009-10-21 | 1 | -1/+1 |
| | | | | | | asm comment styles (## vs #). llvm-svn: 84777 | ||||
* | Add DAG printing for RMW stuff debugging | Anton Korobeynikov | 2009-10-21 | 3 | -2/+18 |
| | | | | llvm-svn: 84776 | ||||
* | RMW preprocessing stuff was incorrect. Grab the stuff from x86 backend and ↵ | Anton Korobeynikov | 2009-10-21 | 4 | -54/+75 |
| | | | | | | disable some tests until it will be clever enough to handle them. llvm-svn: 84775 | ||||
* | Implement branch folding | Anton Korobeynikov | 2009-10-21 | 3 | -6/+178 |
| | | | | llvm-svn: 84774 | ||||
* | Cosmetic changes, no functionality changes | Anton Korobeynikov | 2009-10-21 | 5 | -41/+40 |
| | | | | llvm-svn: 84773 | ||||
* | Make changes to rev 84292 as requested by Chris Lattner. | Victor Hernandez | 2009-10-21 | 5 | -35/+47 |
| | | | | | | | Most changes are cleanup, but there is 1 correctness fix: I fixed InstCombine so that the icmp is removed only if the malloc call is removed (which requires explicit removal because the Worklist won't DCE any calls since they can have side-effects). llvm-svn: 84772 | ||||
* | Code gen for pointer-to-datamember - WIP. | Fariborz Jahanian | 2009-10-21 | 3 | -0/+47 |
| | | | | llvm-svn: 84771 | ||||
* | Fix typo. | Mike Stump | 2009-10-21 | 1 | -2/+1 |
| | | | | llvm-svn: 84770 | ||||
* | Refactor. | Mike Stump | 2009-10-21 | 2 | -14/+4 |
| | | | | llvm-svn: 84769 | ||||
* | Complete out debug info generation for captured __block variables. WIP. | Mike Stump | 2009-10-21 | 2 | -8/+67 |
| | | | | llvm-svn: 84768 | ||||
* | Fix NEON VST2LN instruction encoding. | Bob Wilson | 2009-10-21 | 1 | -7/+7 |
| | | | | | | Patch by Johnny Chen. llvm-svn: 84767 | ||||
* | Revert 84732. It was the wrong fix. | Bob Wilson | 2009-10-21 | 1 | -6/+6 |
| | | | | llvm-svn: 84766 | ||||
* | Incorporate various suggestions Chris gave during metadata review. | Devang Patel | 2009-10-21 | 2 | -38/+24 |
| | | | | | | | | | | - i < getNumElements() instead of getNumElements() > i - Make setParent() private - Fix use of resizeOperands - Reset HasMetadata bit after removing all metadata attached to an instruction - Efficient use of iterators llvm-svn: 84765 | ||||
* | Build shared lib instead of an archive. | Sanjiv Gupta | 2009-10-21 | 1 | -1/+1 |
| | | | | llvm-svn: 84764 | ||||
* | Change FixOverloadedFunctionReference to return a (possibly new) expression. ↵ | Anders Carlsson | 2009-10-21 | 6 | -16/+30 |
| | | | | | | Substitute TemplateIdRefExprs with DeclRefExprs. Doug, plz review :) llvm-svn: 84763 | ||||
* | Downgrade "function declared 'noreturn' should not return" from an | Douglas Gregor | 2009-10-21 | 2 | -4/+4 |
| | | | | | | | error (by default) to a warning, per C++0x [dcl.attr.noreturn]. Patch from Sean Hunt! llvm-svn: 84762 | ||||
* | Cleanup of frame index scavenging. Better code flow and more accurately | Jim Grosbach | 2009-10-21 | 1 | -35/+60 |
| | | | | | | handles T2 and ARM use cases. llvm-svn: 84761 | ||||
* | Extend clang_getCursor() to take a 'relativeDecl' argument (so speed up ↵ | Steve Naroff | 2009-10-21 | 5 | -8/+23 |
| | | | | | | | | | | | | | | searching). Without a 'relativeDecl', the algorithm is n-squared. For example, running the following command on 'Large.m' takes hours without a 'relatvieDecl'. snaroff% time ../../Debug/bin/c-index-test Large.ast all > Large.out snaroff% cat Large.m #import <Cocoa/Cocoa.h> #import <QuickTime/QuickTime.h> #import <OpenGL/OpenGL.h> With a 'relativeDecl', it takes <30 seconds:-) llvm-svn: 84760 | ||||
* | Two corrections for docs/CMake.html. | Oscar Fuentes | 2009-10-21 | 1 | -2/+2 |
| | | | | | | Patch by Victor Zverovich! llvm-svn: 84759 | ||||
* | Add AuroraUX ABI Triple in correct place. | Edward O'Callaghan | 2009-10-21 | 1 | -1/+2 |
| | | | | llvm-svn: 84758 | ||||
* | Simplify some code. No functionality change. | Zhongxing Xu | 2009-10-21 | 1 | -55/+43 |
| | | | | llvm-svn: 84757 | ||||
* | Fix PR5262: when folding select into PHI, make sure all operands are available | Torok Edwin | 2009-10-21 | 3 | -6/+169 |
| | | | | | | | in the PHI's Basic Block. This uses a conservative approach, because we don't have dominator info in instcombine. llvm-svn: 84754 | ||||
* | Add a pass to overlay pic16 data sections for function frame and automatic | Sanjiv Gupta | 2009-10-21 | 11 | -6/+341 |
| | | | | | | | | variables. This pass can be invoked by llvm-ld or opt to traverse over the call graph to detect what function frames and their automatic variables can be overlaid. Currently this builds an archive , but needs to be changed to a loadable module. llvm-svn: 84753 | ||||
* | Added more options to mcc16 driver. | Sanjiv Gupta | 2009-10-21 | 3 | -38/+124 |
| | | | | llvm-svn: 84752 | ||||
* | Match more patterns to movt. | Evan Cheng | 2009-10-21 | 6 | -17/+65 |
| | | | | llvm-svn: 84751 | ||||
* | Update checker build. | Ted Kremenek | 2009-10-21 | 1 | -1/+1 |
| | | | | llvm-svn: 84750 | ||||
* | Need a comma after imp-use. | Evan Cheng | 2009-10-21 | 1 | -1/+3 |
| | | | | llvm-svn: 84749 | ||||
* | add helpful methods to TargetInfo for querying builtin integer type properties, | Chris Lattner | 2009-10-21 | 2 | -0/+65 |
| | | | | | | patch by Ken Dyck! llvm-svn: 84746 | ||||
* | Improve diagnostics and template instantiation behavior when calling | Douglas Gregor | 2009-10-21 | 4 | -26/+37 |
| | | | | | | an overloaded function call operator. llvm-svn: 84745 | ||||
* | De-bork CMake build | Douglas Gregor | 2009-10-21 | 1 | -1/+0 |
| | | | | llvm-svn: 84744 | ||||
* | Set comment string, patch by Johnny Chen! | Chris Lattner | 2009-10-21 | 1 | -0/+2 |
| | | | | llvm-svn: 84743 | ||||
* | hookize wint_t's definition, patch by Edward O'Callaghan (from PR5233). | Chris Lattner | 2009-10-21 | 3 | -3/+4 |
| | | | | llvm-svn: 84740 | ||||
* | make GVN work better when TD is not around: | Chris Lattner | 2009-10-21 | 1 | -15/+21 |
| | | | | | | | | | | | | | | | | | "In the existing code, if the load and the value to replace it with are of different types *and* target data is available, it tries to use the target data to coerce the replacement value to the type of the load. Otherwise, it skips all effort to handle the type mismatch and just feeds the wrongly-typed replacement value to replaceAllUsesWith, which triggers an assertion. The patch replaces it with an outer if checking for type mismatch, and an inner if-else that checks whether target data is available and, if not, returns false rather than trying to replace the load." Patch by Kenneth Uildriks! llvm-svn: 84739 | ||||
* | tidy | Chris Lattner | 2009-10-21 | 1 | -1/+1 |
| | | | | llvm-svn: 84738 | ||||
* | Prep work to always preallocate BlockDeclRefExprs so that we can | Mike Stump | 2009-10-21 | 5 | -84/+119 |
| | | | | | | | generate the debug information for the first parameter to the block invoke functions. WIP. llvm-svn: 84737 | ||||
* | Revert those last two commits. Beware the treacherous semicolon. | John McCall | 2009-10-21 | 1 | -14/+14 |
| | | | | llvm-svn: 84736 | ||||
* | Preserve type source information when substituting into ParmVarDecls. | John McCall | 2009-10-21 | 1 | -7/+7 |
| | | | | | | Apparently I'm grinding my commit count. llvm-svn: 84735 | ||||
* | Preserve type source information when substituting into FieldDecls. | John McCall | 2009-10-21 | 1 | -7/+7 |
| | | | | llvm-svn: 84734 | ||||
* | Preserve source information when substituting into VarDecls. | John McCall | 2009-10-21 | 1 | -5/+6 |
| | | | | llvm-svn: 84733 | ||||
* | Fix some more NEON instruction encoding problems. | Bob Wilson | 2009-10-21 | 1 | -6/+6 |
| | | | | | | Thanks to Johnny Chen for discovering the problem. llvm-svn: 84732 | ||||
* | Do not remove dead metadata for now. | Devang Patel | 2009-10-21 | 1 | -1/+2 |
| | | | | llvm-svn: 84731 | ||||
* | Leave some NEON instruction encoding bits unspecified instead of setting | Bob Wilson | 2009-10-21 | 2 | -198/+247 |
| | | | | | | | a default value of zero. This is important for decoding the instructions. Patch by Johnny Chen, with some changes from me, too. llvm-svn: 84730 |