summaryrefslogtreecommitdiffstats
path: root/llvm
Commit message (Collapse)AuthorAgeFilesLines
* Cosmetic fixes: include guards.Mikhail Glushenkov2009-03-025-16/+16
| | | | llvm-svn: 65824
* Plugin::Priority() doesn't need to be pure virtual.Mikhail Glushenkov2009-03-021-1/+1
| | | | llvm-svn: 65823
* Add a comment.Mikhail Glushenkov2009-03-021-1/+3
| | | | llvm-svn: 65822
* Reorganize llvmc code.Mikhail Glushenkov2009-03-0218-61/+103
| | | | | | | | | | Move the code from 'llvmc/driver' into a new CompilerDriver library, and change the build system accordingly. Makes it easier for projects using LLVM to build their own llvmc-based drivers. Tested with objdir != srcdir. llvm-svn: 65821
* Random formatting changes.Bill Wendling2009-03-021-24/+24
| | | | llvm-svn: 65815
* Fix typos.Bill Wendling2009-03-021-2/+2
| | | | llvm-svn: 65813
* Change </pp> to </p>.Bill Wendling2009-03-021-1/+1
| | | | llvm-svn: 65804
* - Use "real-world applications" instead of just "real applications".Bill Wendling2009-03-021-16/+16
| | | | | | - Verification Fixes. llvm-svn: 65803
* Make some improvements to the GC docs.Gordon Henriksen2009-03-021-323/+219
| | | | | | Also, drop reference to the half-baked runtime interface. llvm-svn: 65802
* Drop toy GC runtime.Gordon Henriksen2009-03-027-226/+1
| | | | llvm-svn: 65801
* remove empty sectionChris Lattner2009-03-021-16/+0
| | | | llvm-svn: 65800
* more englishificationChris Lattner2009-03-021-42/+54
| | | | llvm-svn: 65799
* start translating this into Engrish and organizing it.Chris Lattner2009-03-021-93/+133
| | | | llvm-svn: 65797
* 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
* 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
* 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
* Sprinkle llvmc notes with <tt>.Mikhail Glushenkov2009-03-011-40/+37
| | | | | | Also removes some trailing whitespace. llvm-svn: 65781
* 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
* 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
* 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
* 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
* 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
* 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
* 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
* 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
* 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
* adjust for asmprinter change.Chris Lattner2009-03-011-3/+5
| | | | llvm-svn: 65740
* adjust test to make it more robustChris Lattner2009-03-011-2/+4
| | | | llvm-svn: 65739
* Fix a long-standing bug and misfeature of the disassembler: when dealing with a Chris Lattner2009-03-012-12/+128
| | | | | | | | | | | | | | stripped .bc file, it didn't make any attempt to try to reuse anonymous types. This causes an amazing type explosion due to types getting duplicated everywhere they are referenced and other problems. This also caused correctness issues, because opaque types are unique for each time they are uttered in the file. This means that stripping a .bc file could produce a .ll file that could not be assembled (e.g. 2009-02-28-StripOpaqueName.ll). This patch fixes both of these issues. llvm-svn: 65738
* move type name population out of TypePrinting class into a static Chris Lattner2009-02-282-38/+62
| | | | | | AsmWriter.cpp method. llvm-svn: 65736
* switch to densemap for pointer->word map.Chris Lattner2009-02-281-9/+9
| | | | llvm-svn: 65735
* delete a bunch of duplicated type printing logic, using the type printingChris Lattner2009-02-282-154/+18
| | | | | | stuff in AsmWriter.cpp for Type::getDescription(). llvm-svn: 65734
* make this work when constructed with a null module*Chris Lattner2009-02-281-2/+1
| | | | llvm-svn: 65733
* add description how the ilist_traits<Instruction> worksGabor Greif2009-02-281-2/+13
| | | | llvm-svn: 65732
* the module is not required to exist, allow it to default, giving thisChris Lattner2009-02-281-1/+1
| | | | | | class a nice default ctor. llvm-svn: 65731
OpenPOWER on IntegriCloud