summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* start translating this into Engrish and organizing it.Chris Lattner2009-03-021-93/+133
| | | | llvm-svn: 65797
* Rework the way we find locally-scoped external declarations when weDouglas Gregor2009-03-029-92/+202
| | | | | | | | | | | need them to evaluate redeclarations or call a function that hasn't already been declared. We now keep a DenseMap of these locally-scoped declarations so that they are not visible but can be quickly found, e.g., when we're looking for previous declarations or before we go ahead and implicitly declare a function that's being called. Fixes PR3672. llvm-svn: 65792
* Fix a problem with DAGCombine on 64b targets where foldingNate Begeman2009-03-012-1/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | extracts + build_vector into a shuffle would fail, because the type of the new build_vector would not be legal. Try harder to create a legal build_vector type. Note: this will be totally irrelevant once vector_shuffle no longer takes a build_vector for shuffle mask. New: _foo: xorps %xmm0, %xmm0 xorps %xmm1, %xmm1 subps %xmm1, %xmm1 mulps %xmm0, %xmm1 addps %xmm0, %xmm1 movaps %xmm1, 0 Old: _foo: xorps %xmm0, %xmm0 movss %xmm0, %xmm1 xorps %xmm2, %xmm2 unpcklps %xmm1, %xmm2 pshufd $80, %xmm1, %xmm1 unpcklps %xmm1, %xmm2 pslldq $16, %xmm2 pshufd $57, %xmm2, %xmm1 subps %xmm0, %xmm1 mulps %xmm0, %xmm1 addps %xmm0, %xmm1 movaps %xmm1, 0 llvm-svn: 65791
* move gold plugin next to LTO doc in the subsystem sectionChris Lattner2009-03-011-3/+2
| | | | llvm-svn: 65790
* Add a quickstart example.Nick Lewycky2009-03-011-1/+56
| | | | llvm-svn: 65789
* Add BLOCK_HAS_DESCRIPTOR to global blocks.Anders Carlsson2009-03-011-1/+2
| | | | llvm-svn: 65788
* Close list item tag, to conform with the style in this file. It's optionalNick Lewycky2009-03-011-1/+1
| | | | | | anyways. llvm-svn: 65787
* Add the gold plugin page to the documentation index!Nick Lewycky2009-03-012-1/+4
| | | | llvm-svn: 65786
* Cleanup the description of flags to llvm-gcc. Also remove stray text in theNick Lewycky2009-03-011-3/+2
| | | | | | attribution. llvm-svn: 65785
* Be sure to mark blocks with no imports as being global.Mike Stump2009-03-011-0/+4
| | | | llvm-svn: 65784
* Don't forget the important part. llvm-gcc -use-gold-plugin passes the rightNick Lewycky2009-03-011-3/+4
| | | | | | options to gold. llvm-svn: 65783
* simplify some code.Chris Lattner2009-03-011-9/+5
| | | | llvm-svn: 65782
* Sprinkle llvmc notes with <tt>.Mikhail Glushenkov2009-03-011-40/+37
| | | | | | Also removes some trailing whitespace. llvm-svn: 65781
* Fix <rdar://problem/6248764> parser rejects: bad receiver type 'CFStringRef'.Steve Naroff2009-03-014-4/+12
| | | | | | Downgrade an error to a warning (for GCC compatibility). llvm-svn: 65779
* Another sentinel optimization. This one should alwaysGabor Greif2009-03-012-10/+6
| | | | | | be a win, since almost every interesting function has at least one Argument. llvm-svn: 65778
* Fix PR3509 by providing correct starting locations for initializer listsDouglas Gregor2009-03-012-12/+12
| | | | llvm-svn: 65777
* Reuse a technique (pioneered for BasicBlocks) of superposing ilist withGabor Greif2009-03-012-10/+8
| | | | | | | | | | | | its sentinel. This is quite a win when a function really has a basic block. When the function is just a declaration (and stays so) the old way did not allocate a sentinel. So this change is most beneficial when the ratio of function definition to declaration is high. I.e. linkers etc. Incidentally these are the most resource demanding applications, so I expect that the reduced malloc traffic, locality and space savings outweigh the cost of addition of two pointers to Function. llvm-svn: 65776
* Functions marked malloc are noalias return.Duncan Sands2009-03-011-0/+3
| | | | llvm-svn: 65775
* Fix <rdar://problem/6619539> incompatible pointer types sending ↵Steve Naroff2009-03-015-28/+63
| | | | | | | | | 'XCElementSpacer *', expected 'XCElement *' (not handling protocol signatures correctly?). - Reworked ASTContext::canAssignObjCInterfaces(). - Added ObjCProtocolDecl::lookupProtocolNamed(). llvm-svn: 65773
* Tweak this a bit.Duncan Sands2009-03-011-7/+7
| | | | llvm-svn: 65772
* Adjust this test for recent llvm-gcc changes.Duncan Sands2009-03-011-1/+1
| | | | llvm-svn: 65771
* Fix grammar.Nick Lewycky2009-03-011-2/+2
| | | | llvm-svn: 65769
* fix a commentGabor Greif2009-03-011-1/+1
| | | | llvm-svn: 65768
* Fix a typo. Thanks baldrick!Gabor Greif2009-03-011-1/+1
| | | | llvm-svn: 65767
* First pass at a document describing how to achieve LTO on Linux with gold.Nick Lewycky2009-03-011-0/+105
| | | | llvm-svn: 65766
* Another point to mention.Duncan Sands2009-03-011-0/+1
| | | | llvm-svn: 65765
* Rename AnonTypedRegion to TypedViewRegion.Ted Kremenek2009-03-016-23/+23
| | | | llvm-svn: 65764
* Adjust wording of bug names.Ted Kremenek2009-03-011-8/+8
| | | | llvm-svn: 65763
* Obj-C non fragile ABI: Use GetClassGlobal in one more instance I missed.Daniel Dunbar2009-03-011-12/+1
| | | | llvm-svn: 65762
* Obj-C non fragile ABI: Add GetInterfaceEHType for getting the Obj-CDaniel Dunbar2009-03-011-3/+73
| | | | | | | exception typeinfo metadata, and a few other EH related types/functions. - No functionality change. llvm-svn: 65761
* NeXT: Unify code for creating a class global.Daniel Dunbar2009-03-011-85/+27
| | | | | | - No functionality change. llvm-svn: 65760
* ObjCAtCatchStmt's ParamStmt is always a DeclStmt.Daniel Dunbar2009-03-014-7/+11
| | | | llvm-svn: 65759
* Temporarily revert r65755. It was causing failures in the self-hostingBill Wendling2009-03-011-5/+3
| | | | | | | | | | | | | | | | | | | | | testsuite: Running /Volumes/Sandbox/Buildbot/llvm/full-llvm/build/llvmCore/test/CodeGen/X86/dg.exp ... FAIL: /Volumes/Sandbox/Buildbot/llvm/full-llvm/build/llvmCore/test/CodeGen/X86/nancvt.ll Failed with exit(1) at line 2 while running: grep 2147027116 nancvt.ll.tmp | count 3 count: expected 3 lines and got 0. child process exited abnormally FAIL: /Volumes/Sandbox/Buildbot/llvm/full-llvm/build/llvmCore/test/CodeGen/X86/vec_ins_extract.ll Failed with exit(1) at line 1 while running: llvm-as < /Volumes/Sandbox/Buildbot/llvm/full-llvm/build/llvmCore/test/CodeGen/X86/vec_ins_extract.ll | opt -scalarrepl -instcombine | llc -march=x86 -mcpu=yonah | not /usr/bin/grep sub.*esp subl $28, %esp subl $28, %esp child process exited abnormally And more. llvm-svn: 65758
* testcase for mike's fix for PR3612Chris Lattner2009-03-011-0/+8
| | | | llvm-svn: 65757
* add some llvmc notes from MikhailChris Lattner2009-03-011-0/+47
| | | | llvm-svn: 65756
* hoist the check for alloca size up so that it controls CanConvertToScalar Chris Lattner2009-03-011-3/+5
| | | | | | as well as isSafeAllocaToScalarRepl. llvm-svn: 65755
* This test requires blocks.Daniel Dunbar2009-03-011-1/+1
| | | | llvm-svn: 65754
* Remove debugging code.Anders Carlsson2009-03-011-2/+0
| | | | llvm-svn: 65753
* Minor optimization:Evan Cheng2009-03-013-30/+253
| | | | | | | | | | | Look for situations like this: %reg1024<def> = MOV r1 %reg1025<def> = MOV r0 %reg1026<def> = ADD %reg1024, %reg1025 r0 = MOV %reg1026 Commute the ADD to hopefully eliminate an otherwise unavoidable copy. llvm-svn: 65752
* Emit errors about unsupported blocks features.Anders Carlsson2009-03-012-0/+75
| | | | llvm-svn: 65751
* tweak this to accept asmprinter changes. I have no way to verify this, ↵Chris Lattner2009-03-011-1/+1
| | | | | | | | hopefully the buildbot will work. llvm-svn: 65750
* Initialize NSConcreteStackBlockAnders Carlsson2009-03-011-2/+2
| | | | llvm-svn: 65749
* simplify handling "don't print top level name" processing, so that we getChris Lattner2009-03-012-40/+25
| | | | | | stuff like %A = type { %A*} instead of an upref. llvm-svn: 65748
* Combine PPC's GetConstantBuildVectorBits and isConstantSplat functions to a newBob Wilson2009-03-013-106/+114
| | | | | | method in a BuildVectorSDNode "pseudo-class". llvm-svn: 65747
* Do some blocks cleanup and simplification. Fix a crash, and add a test case.Anders Carlsson2009-03-014-16/+50
| | | | llvm-svn: 65746
* adjust to changes in the mainline llvm .ll printer.Chris Lattner2009-03-012-8/+8
| | | | llvm-svn: 65745
* "This patch uses the new ObjCImplDecl class to merge ↵Chris Lattner2009-03-014-82/+67
| | | | | | | | | | | | | | Sema::ImplMethodsVsClassMethods and Sema::ImplCategoryMethodsVsIntfMethods methods. And now, when clang check a class implementation to find unimplemented methods, it also checks all methods from the class extensions (unnamed categories). There is also a test case to check this warning. This patch contains also a minor update for ObjCImplDecl . getNameAsCString and getNameAsString now returns an empty string instead of crashing for unnamed categories." Patch by Jean-Daniel Dupas! llvm-svn: 65744
* Fix a pretty awesome bug that only happened in a strange case with anonymousChris Lattner2009-03-012-8/+19
| | | | | | types. This was reading the uint for the keyword after the token was advanced. llvm-svn: 65743
* walk type symbol table also, so we get:Chris Lattner2009-03-011-2/+10
| | | | | | | | | | | | | type opaque ; type %0 %C = type { %0, %0 } instead of: %C = type { opaque, opaque } when appropriate. llvm-svn: 65742
* adjust for asmprinter change.Chris Lattner2009-03-011-2/+2
| | | | llvm-svn: 65741
OpenPOWER on IntegriCloud