Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Fix typo and add comment. | Rafael Espindola | 2011-01-01 | 1 | -5/+8 | |
| | | | | llvm-svn: 122669 | |||||
* | More empty directory removal. | Benjamin Kramer | 2011-01-01 | 0 | -0/+0 | |
| | | | | llvm-svn: 122668 | |||||
* | Add support for the 'H' modifier. | Rafael Espindola | 2011-01-01 | 2 | -0/+18 | |
| | | | | llvm-svn: 122667 | |||||
* | Update the test | Anton Korobeynikov | 2011-01-01 | 1 | -1/+1 | |
| | | | | llvm-svn: 122666 | |||||
* | Remove empty directories. | Nick Lewycky | 2011-01-01 | 0 | -0/+0 | |
| | | | | llvm-svn: 122665 | |||||
* | turn on memset idiom recognition by default. Though there are still lots of | Chris Lattner | 2011-01-01 | 1 | -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 via | Anton Korobeynikov | 2011-01-01 | 4 | -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 the | Chris Lattner | 2011-01-01 | 2 | -0/+28 | |
| | | | | | | new testcase. llvm-svn: 122662 | |||||
* | Revert commit 122654 at the request of Chris, who reckons that instsimplify | Duncan Sands | 2011-01-01 | 3 | -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 more | Chris Lattner | 2011-01-01 | 2 | -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 pass | Chris Lattner | 2011-01-01 | 2 | -5/+55 | |
| | | | | | | should be correct now. llvm-svn: 122659 | |||||
* | Fix PR8878. | Rafael Espindola | 2011-01-01 | 2 | -0/+8 | |
| | | | | llvm-svn: 122658 | |||||
* | Correct a bunch of mistakes which meant that the example pass didn't | Duncan Sands | 2011-01-01 | 1 | -8/+8 | |
| | | | | | | even compile, let alone work. llvm-svn: 122657 | |||||
* | I was unable to get the instructions to work if LLVM was built | Duncan Sands | 2011-01-01 | 1 | -2/+4 | |
| | | | | | | using a separate objects directory. llvm-svn: 122656 | |||||
* | Clarify that the loadable module turns up in the top-level directory, | Duncan Sands | 2011-01-01 | 1 | -4/+5 | |
| | | | | | | not locally. llvm-svn: 122655 | |||||
* | Fix a README item by having InstructionSimplify do a mild form of value | Duncan Sands | 2011-01-01 | 3 | -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.const | Che-Liang Chiou | 2011-01-01 | 4 | -39/+15 | |
| | | | | llvm-svn: 122653 | |||||
* | ptx: add store instruction | Che-Liang Chiou | 2011-01-01 | 5 | -4/+179 | |
| | | | | llvm-svn: 122652 | |||||
* | Add a reference to the OCamlLangImpl8. | Erick Tryzelaar | 2011-01-01 | 1 | -1/+1 | |
| | | | | llvm-svn: 122651 | |||||
* | Add an OCaml tutorial page 8 | Erick Tryzelaar | 2011-01-01 | 2 | -1/+366 | |
| | | | | llvm-svn: 122650 | |||||
* | Add to the list of cmake files the object file, not the asm file. This | Oscar Fuentes | 2010-12-31 | 1 | -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 compiler | Oscar Fuentes | 2010-12-31 | 1 | -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 all | Duncan Sands | 2010-12-31 | 1 | -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 to | Nick Lewycky | 2010-12-31 | 13 | -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 Sands | 2010-12-31 | 1 | -7/+2 | |
| | | | | llvm-svn: 122645 | |||||
* | MSVC doesn't require an accessible copy-constructor when binding a temporary ↵ | Francois Pichet | 2010-12-31 | 1 | -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 used | Rafael Espindola | 2010-12-30 | 3 | -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 Kramer | 2010-12-30 | 2 | -19/+19 | |
| | | | | llvm-svn: 122642 | |||||
* | Add another non-commutable instruction that gas accepts commuted forms for. | Nick Lewycky | 2010-12-30 | 2 | -3/+8 | |
| | | | | | | Fixes PR8861. llvm-svn: 122641 | |||||
* | Correct function name in comment. | Nick Lewycky | 2010-12-30 | 1 | -1/+1 | |
| | | | | llvm-svn: 122640 | |||||
* | Expose Objective-C type encodings of declarations to libclang users. This ↵ | David Chisnall | 2010-12-30 | 6 | -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 spaces | Che-Liang Chiou | 2010-12-30 | 4 | -9/+97 | |
| | | | | llvm-svn: 122638 | |||||
* | include the module identifier when emitting this warning, PR8865. | Chris Lattner | 2010-12-30 | 1 | -4/+7 | |
| | | | | llvm-svn: 122637 | |||||
* | print the right string, thanks for Frits for noticing. | Chris Lattner | 2010-12-30 | 1 | -1/+1 | |
| | | | | llvm-svn: 122636 | |||||
* | Use getVRegDef() instead of def_iterator. This leads to fewer defs being added | Cameron Zwarich | 2010-12-30 | 1 | -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 Kramer | 2010-12-30 | 8 | -108/+30 | |
| | | | | llvm-svn: 122634 | |||||
* | Fix PR8796. | Rafael Espindola | 2010-12-29 | 2 | -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 Lattner | 2010-12-29 | 1 | -1/+3 | |
| | | | | llvm-svn: 122632 | |||||
* | Fix stack layout error in MBlaze backend. | Wesley Peck | 2010-12-29 | 2 | -37/+98 | |
| | | | | llvm-svn: 122631 | |||||
* | MC/Mach-O/Thumb: Set the thumb bit in the symbol table. | Daniel Dunbar | 2010-12-29 | 3 | -3/+8 | |
| | | | | llvm-svn: 122630 | |||||
* | set features for k8-sse3 | Roman Divacky | 2010-12-29 | 1 | -0/+3 | |
| | | | | llvm-svn: 122629 | |||||
* | None of the other pass names in CodeGen have terminating periods. | Cameron Zwarich | 2010-12-29 | 1 | -2/+2 | |
| | | | | llvm-svn: 122628 | |||||
* | Instead of processing every instruction when splitting interferences, only | Cameron Zwarich | 2010-12-29 | 1 | -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 stack | Venkatraman Govindaraju | 2010-12-29 | 1 | -23/+51 | |
| | | | | llvm-svn: 122626 | |||||
* | Add a missing word to a comment. | Cameron Zwarich | 2010-12-29 | 1 | -1/+1 | |
| | | | | llvm-svn: 122625 | |||||
* | Correctly encode pcrel|indirect. | Rafael Espindola | 2010-12-29 | 3 | -66/+209 | |
| | | | | llvm-svn: 122624 | |||||
* | CMake: Add disabling optimization on MSVC8 and MSVC10 as workaround for some ↵ | NAKAMURA Takumi | 2010-12-29 | 3 | -3/+11 | |
| | | | | | | files in Target/ARM and Target/X86. llvm-svn: 122623 | |||||
* | autoconf: Add --disable-embed-stdcxx to suppress linking libstdc++.a into ↵ | NAKAMURA Takumi | 2010-12-29 | 4 | -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 Takumi | 2010-12-29 | 2 | -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 Takumi | 2010-12-29 | 1 | -2/+2 | |
| | | | | llvm-svn: 122620 |