summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Use StringRef.Devang Patel2009-10-212-7/+8
| | | | llvm-svn: 84786
* Most of the NEON shuffle instructions do not support 64-bit element types.Bob Wilson2009-10-211-3/+18
| | | | llvm-svn: 84785
* Do not use SmallVector to store MDNode elements.Devang Patel2009-10-214-34/+25
| | | | llvm-svn: 84784
* Revert r84764, it breaks mingw buildAnton Korobeynikov2009-10-211-1/+1
| | | | llvm-svn: 84783
* XFAIL this test for PPC.Bill Wendling2009-10-211-1/+1
| | | | llvm-svn: 84782
* Driver: don't produce bogus osx version numbers if no version (aka 0) was ↵Benjamin Kramer2009-10-211-1/+2
| | | | | | specified. llvm-svn: 84781
* Expand on code gen. for pointer to data members so it worksFariborz Jahanian2009-10-212-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-bitJim Grosbach2009-10-215-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 differentBenjamin Kramer2009-10-211-1/+1
| | | | | | asm comment styles (## vs #). llvm-svn: 84777
* Add DAG printing for RMW stuff debuggingAnton Korobeynikov2009-10-213-2/+18
| | | | llvm-svn: 84776
* RMW preprocessing stuff was incorrect. Grab the stuff from x86 backend and ↵Anton Korobeynikov2009-10-214-54/+75
| | | | | | disable some tests until it will be clever enough to handle them. llvm-svn: 84775
* Implement branch foldingAnton Korobeynikov2009-10-213-6/+178
| | | | llvm-svn: 84774
* Cosmetic changes, no functionality changesAnton Korobeynikov2009-10-215-41/+40
| | | | llvm-svn: 84773
* Make changes to rev 84292 as requested by Chris Lattner.Victor Hernandez2009-10-215-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 Jahanian2009-10-213-0/+47
| | | | llvm-svn: 84771
* Fix typo.Mike Stump2009-10-211-2/+1
| | | | llvm-svn: 84770
* Refactor.Mike Stump2009-10-212-14/+4
| | | | llvm-svn: 84769
* Complete out debug info generation for captured __block variables. WIP.Mike Stump2009-10-212-8/+67
| | | | llvm-svn: 84768
* Fix NEON VST2LN instruction encoding.Bob Wilson2009-10-211-7/+7
| | | | | | Patch by Johnny Chen. llvm-svn: 84767
* Revert 84732. It was the wrong fix.Bob Wilson2009-10-211-6/+6
| | | | llvm-svn: 84766
* Incorporate various suggestions Chris gave during metadata review.Devang Patel2009-10-212-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 Gupta2009-10-211-1/+1
| | | | llvm-svn: 84764
* Change FixOverloadedFunctionReference to return a (possibly new) expression. ↵Anders Carlsson2009-10-216-16/+30
| | | | | | Substitute TemplateIdRefExprs with DeclRefExprs. Doug, plz review :) llvm-svn: 84763
* Downgrade "function declared 'noreturn' should not return" from anDouglas Gregor2009-10-212-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 accuratelyJim Grosbach2009-10-211-35/+60
| | | | | | handles T2 and ARM use cases. llvm-svn: 84761
* Extend clang_getCursor() to take a 'relativeDecl' argument (so speed up ↵Steve Naroff2009-10-215-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 Fuentes2009-10-211-2/+2
| | | | | | Patch by Victor Zverovich! llvm-svn: 84759
* Add AuroraUX ABI Triple in correct place.Edward O'Callaghan2009-10-211-1/+2
| | | | llvm-svn: 84758
* Simplify some code. No functionality change.Zhongxing Xu2009-10-211-55/+43
| | | | llvm-svn: 84757
* Fix PR5262: when folding select into PHI, make sure all operands are availableTorok Edwin2009-10-213-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 automaticSanjiv Gupta2009-10-2111-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 Gupta2009-10-213-38/+124
| | | | llvm-svn: 84752
* Match more patterns to movt.Evan Cheng2009-10-216-17/+65
| | | | llvm-svn: 84751
* Update checker build.Ted Kremenek2009-10-211-1/+1
| | | | llvm-svn: 84750
* Need a comma after imp-use.Evan Cheng2009-10-211-1/+3
| | | | llvm-svn: 84749
* add helpful methods to TargetInfo for querying builtin integer type properties,Chris Lattner2009-10-212-0/+65
| | | | | | patch by Ken Dyck! llvm-svn: 84746
* Improve diagnostics and template instantiation behavior when callingDouglas Gregor2009-10-214-26/+37
| | | | | | an overloaded function call operator. llvm-svn: 84745
* De-bork CMake buildDouglas Gregor2009-10-211-1/+0
| | | | llvm-svn: 84744
* Set comment string, patch by Johnny Chen!Chris Lattner2009-10-211-0/+2
| | | | llvm-svn: 84743
* hookize wint_t's definition, patch by Edward O'Callaghan (from PR5233).Chris Lattner2009-10-213-3/+4
| | | | llvm-svn: 84740
* make GVN work better when TD is not around:Chris Lattner2009-10-211-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
* tidyChris Lattner2009-10-211-1/+1
| | | | llvm-svn: 84738
* Prep work to always preallocate BlockDeclRefExprs so that we canMike Stump2009-10-215-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 McCall2009-10-211-14/+14
| | | | llvm-svn: 84736
* Preserve type source information when substituting into ParmVarDecls.John McCall2009-10-211-7/+7
| | | | | | Apparently I'm grinding my commit count. llvm-svn: 84735
* Preserve type source information when substituting into FieldDecls.John McCall2009-10-211-7/+7
| | | | llvm-svn: 84734
* Preserve source information when substituting into VarDecls.John McCall2009-10-211-5/+6
| | | | llvm-svn: 84733
* Fix some more NEON instruction encoding problems.Bob Wilson2009-10-211-6/+6
| | | | | | Thanks to Johnny Chen for discovering the problem. llvm-svn: 84732
* Do not remove dead metadata for now.Devang Patel2009-10-211-1/+2
| | | | llvm-svn: 84731
* Leave some NEON instruction encoding bits unspecified instead of settingBob Wilson2009-10-212-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
OpenPOWER on IntegriCloud