summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Fix typo and add comment.Rafael Espindola2011-01-011-5/+8
| | | | llvm-svn: 122669
* More empty directory removal.Benjamin Kramer2011-01-010-0/+0
| | | | llvm-svn: 122668
* Add support for the 'H' modifier.Rafael Espindola2011-01-012-0/+18
| | | | llvm-svn: 122667
* Update the testAnton Korobeynikov2011-01-011-1/+1
| | | | llvm-svn: 122666
* Remove empty directories.Nick Lewycky2011-01-010-0/+0
| | | | llvm-svn: 122665
* turn on memset idiom recognition by default. Though there are still lots ofChris Lattner2011-01-011-0/+1
| | | | | | | | | | | limitations, this kicks in dozens of times in the 4 specfp2000 benchmarks, and hundreds of times in the int part. It also kicks in hundreds of times in multisource. This kicks in right before loop deletion, which has the pleasant effect of deleting loops that *just* do a memset. llvm-svn: 122664
* Model operand restrictions of mul-like instructions on ARMv5 viaAnton Korobeynikov2011-01-014-10/+100
| | | | | | | | | earlyclobber stuff. This should fix PRs 2313 and 8157. Unfortunately, no testcase, since it'd be dependent on register assignments. llvm-svn: 122663
* add a validity check that was missed, fixing a crash on theChris Lattner2011-01-012-0/+28
| | | | | | new testcase. llvm-svn: 122662
* Revert commit 122654 at the request of Chris, who reckons that instsimplifyDuncan Sands2011-01-013-133/+63
| | | | | | is the wrong hammer for this nail, and is probably right. llvm-svn: 122661
* improve validity check to handle constant-trip-count loops moreChris Lattner2011-01-012-8/+44
| | | | | | | aggressively. In practice, this doesn't help anything though, see the todo. llvm-svn: 122660
* implement the "no aliasing accesses in loop" safety check. This passChris Lattner2011-01-012-5/+55
| | | | | | should be correct now. llvm-svn: 122659
* Fix PR8878.Rafael Espindola2011-01-012-0/+8
| | | | llvm-svn: 122658
* Correct a bunch of mistakes which meant that the example pass didn'tDuncan Sands2011-01-011-8/+8
| | | | | | even compile, let alone work. llvm-svn: 122657
* I was unable to get the instructions to work if LLVM was builtDuncan Sands2011-01-011-2/+4
| | | | | | using a separate objects directory. llvm-svn: 122656
* Clarify that the loadable module turns up in the top-level directory,Duncan Sands2011-01-011-4/+5
| | | | | | not locally. llvm-svn: 122655
* Fix a README item by having InstructionSimplify do a mild form of valueDuncan Sands2011-01-013-63/+133
| | | | | | | | | | | numbering, in which it considers (for example) "%a = add i32 %x, %y" and "%b = add i32 %x, %y" to be equal because the operands are equal and the result of the instructions only depends on the values of the operands. This has almost no effect (it removes 4 instructions from gcc-as-one-file), and perhaps slows down compilation: I measured a 0.4% slowdown on the large gcc-as-one-file testcase, but it wasn't statistically significant. llvm-svn: 122654
* ptx: remove reg-reg addressing mode and st.constChe-Liang Chiou2011-01-014-39/+15
| | | | llvm-svn: 122653
* ptx: add store instructionChe-Liang Chiou2011-01-015-4/+179
| | | | llvm-svn: 122652
* Add a reference to the OCamlLangImpl8.Erick Tryzelaar2011-01-011-1/+1
| | | | llvm-svn: 122651
* Add an OCaml tutorial page 8Erick Tryzelaar2011-01-012-1/+366
| | | | llvm-svn: 122650
* Add to the list of cmake files the object file, not the asm file. ThisOscar Fuentes2010-12-311-1/+1
| | | | | | | is necessary for executing the custom command that runs the assember. Fixes PR8877. llvm-svn: 122649
* CMake (MSVC): cmake automatically adds the /EHsc and /GR compilerOscar Fuentes2010-12-311-2/+2
| | | | | | | | | | options. If we are building with exceptions/rtti disabled, we replace /EHsc with /EHs-c- and /GR with /GR-, respectively. If we just add the disabling options we get warnings like this: cl : Command line warning D9025 : overriding '/EHs' with '/EHs-' llvm-svn: 122648
* Simplify this pass by using a depth-first iterator to ensure that allDuncan Sands2010-12-311-39/+20
| | | | | | operands are visited before the instructions themselves. llvm-svn: 122647
* Remove stray emacs mode markers in all these files that was causing emacs toNick Lewycky2010-12-3113-14/+14
| | | | | | | open them in fundamental-mode instead of c++-mode. Also twiddle whitespace for consistency in ToolChains.cpp. llvm-svn: 122646
* Zap dead instructions harder.Duncan Sands2010-12-311-7/+2
| | | | llvm-svn: 122645
* MSVC doesn't require an accessible copy-constructor when binding a temporary ↵Francois Pichet2010-12-311-1/+1
| | | | | | | | | | class object to a const-reference. Note: this is not a C++0x behavior change, it was already like that in MSVC 2003. This fixes a compile error when parsing MSVC header files with clang. llvm-svn: 122644
* Add support for declaring register contraints in variables. They are only usedRafael Espindola2010-12-303-3/+61
| | | | | | | | | | | | | | in asm statements: register int foo asm("rdi"); asm("..." : ... "r" (foo) ... We also only accept these variables if the constraint in the asm statement is "r". This fixes most of PR3933. llvm-svn: 122643
* Make a bunch of symbols internal.Benjamin Kramer2010-12-302-19/+19
| | | | llvm-svn: 122642
* Add another non-commutable instruction that gas accepts commuted forms for.Nick Lewycky2010-12-302-3/+8
| | | | | | Fixes PR8861. llvm-svn: 122641
* Correct function name in comment.Nick Lewycky2010-12-301-1/+1
| | | | llvm-svn: 122640
* Expose Objective-C type encodings of declarations to libclang users. This ↵David Chisnall2010-12-306-0/+75
| | | | | | also adds a method in ASTContext which encodes FunctionDecls using the same encoding format that is used for Objective-C methods. llvm-svn: 122639
* ptx: add state spacesChe-Liang Chiou2010-12-304-9/+97
| | | | llvm-svn: 122638
* include the module identifier when emitting this warning, PR8865.Chris Lattner2010-12-301-4/+7
| | | | llvm-svn: 122637
* print the right string, thanks for Frits for noticing.Chris Lattner2010-12-301-1/+1
| | | | llvm-svn: 122636
* Use getVRegDef() instead of def_iterator. This leads to fewer defs being addedCameron Zwarich2010-12-301-4/+3
| | | | | | | with 2-address instructions, for about a 3.5% speedup of StrongPHIElimination on 403.gcc. llvm-svn: 122635
* Simplify mem{cpy, move, set} creation with IRBuilder.Benjamin Kramer2010-12-308-108/+30
| | | | llvm-svn: 122634
* Fix PR8796.Rafael Espindola2010-12-292-3/+18
| | | | | | | | The problem was that we were asserting the we never added an empty class to the same offset twice. This is not true for unions, where two members, empty or not, can have the some offset. llvm-svn: 122633
* improve warning message to at least say what the triples are.Chris Lattner2010-12-291-1/+3
| | | | llvm-svn: 122632
* Fix stack layout error in MBlaze backend.Wesley Peck2010-12-292-37/+98
| | | | llvm-svn: 122631
* MC/Mach-O/Thumb: Set the thumb bit in the symbol table.Daniel Dunbar2010-12-293-3/+8
| | | | llvm-svn: 122630
* set features for k8-sse3Roman Divacky2010-12-291-0/+3
| | | | llvm-svn: 122629
* None of the other pass names in CodeGen have terminating periods.Cameron Zwarich2010-12-291-2/+2
| | | | llvm-svn: 122628
* Instead of processing every instruction when splitting interferences, onlyCameron Zwarich2010-12-291-27/+61
| | | | | | | process those instructions that define phi sources. This is a 47% speedup of StrongPHIElimination compile time on 403.gcc. llvm-svn: 122627
* SPARC backend fix: correctly passing arguments through stackVenkatraman Govindaraju2010-12-291-23/+51
| | | | llvm-svn: 122626
* Add a missing word to a comment.Cameron Zwarich2010-12-291-1/+1
| | | | llvm-svn: 122625
* Correctly encode pcrel|indirect.Rafael Espindola2010-12-293-66/+209
| | | | llvm-svn: 122624
* CMake: Add disabling optimization on MSVC8 and MSVC10 as workaround for some ↵NAKAMURA Takumi2010-12-293-3/+11
| | | | | | files in Target/ARM and Target/X86. llvm-svn: 122623
* autoconf: Add --disable-embed-stdcxx to suppress linking libstdc++.a into ↵NAKAMURA Takumi2010-12-294-6/+45
| | | | | | | | llvm.dll with --enable-shared on Cygming. Cygwin has stdc++.dll in it's distribution, and we can assume distro's stdc++.dll might be available. llvm-svn: 122622
* autoconf: [PR7874] Add --disable-pthreads to suppress detecting pthreads on ↵NAKAMURA Takumi2010-12-292-8/+42
| | | | | | | | certain hosts. This would be needed to build pthread*.dll-free distribution on recent MinGW-MSYS distros. llvm-svn: 122621
* test/Transforms/ConstProp/logicaltest.ll: FileCheck-ize.NAKAMURA Takumi2010-12-291-2/+2
| | | | llvm-svn: 122620
OpenPOWER on IntegriCloud