Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | 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 | |||||
* | test/CodeGen/X86/negative-sin.ll: FileCheck-ize. | NAKAMURA Takumi | 2010-12-29 | 1 | -2/+2 | |
| | | | | llvm-svn: 122619 | |||||
* | test/CodeGen/X86/fp-in-intregs.ll: FileCheck-ize. | NAKAMURA Takumi | 2010-12-29 | 1 | -1/+2 | |
| | | | | llvm-svn: 122618 | |||||
* | Add text explaining an assertion. | Cameron Zwarich | 2010-12-29 | 1 | -1/+3 | |
| | | | | llvm-svn: 122617 | |||||
* | Remove second return. | Rafael Espindola | 2010-12-29 | 1 | -1/+0 | |
| | | | | llvm-svn: 122616 | |||||
* | Fix bug when trying to output uint16_t or uint32_t. | Rafael Espindola | 2010-12-29 | 2 | -2/+54 | |
| | | | | llvm-svn: 122615 | |||||
* | Implement cfi_def_cfa. Also don't convert to dwarf reg numbers twice. Looks | Rafael Espindola | 2010-12-29 | 5 | -14/+102 | |
| | | | | | | like 6 is a fixed point of that and so the previous tests were OK :-) llvm-svn: 122614 | |||||
* | fix PR8867: a crash handling fp128. Thanks to Nick for the testcase. | Chris Lattner | 2010-12-29 | 2 | -1/+10 | |
| | | | | llvm-svn: 122613 | |||||
* | Implement cfi_def_cfa_register. | Rafael Espindola | 2010-12-29 | 2 | -0/+49 | |
| | | | | llvm-svn: 122612 | |||||
* | Initial .cfi_offset implementation. | Rafael Espindola | 2010-12-29 | 2 | -0/+49 | |
| | | | | llvm-svn: 122611 | |||||
* | Simplify some code in MachineVerifier that was doing the correct thing, but not | Cameron Zwarich | 2010-12-28 | 1 | -10/+11 | |
| | | | | | | in the most obvious way. llvm-svn: 122610 | |||||
* | Don't produce a "DW_CFA_advance_loc 0". | Rafael Espindola | 2010-12-28 | 2 | -1/+50 | |
| | | | | llvm-svn: 122609 | |||||
* | Revert the optimization in r122596. It is correct for all current targets, but | Cameron Zwarich | 2010-12-28 | 1 | -1/+8 | |
| | | | | | | it relies on assumptions that may not be true in the future. llvm-svn: 122608 | |||||
* | Multiple SPARC backend fixes: added Y register; updated select_cc, subx, ↵ | Venkatraman Govindaraju | 2010-12-28 | 3 | -21/+35 | |
| | | | | | | | | subxcc defs/uses; and fixed CustomInserter. llvm-svn: 122607 | |||||
* | Integers are primitive types. Update the documentation to state this | Tobias Grosser | 2010-12-28 | 1 | -0/+1 | |
| | | | | | | | This was done for label, void, floating point, x86mmx, metadata, just not integer. llvm-svn: 122606 | |||||
* | simplify this, isBytewiseValue handles the extra check. We still | Chris Lattner | 2010-12-28 | 1 | -5/+2 | |
| | | | | | | | check for "multiple of a byte" in size to make it clear that the >> 3 below is safe. llvm-svn: 122604 | |||||
* | add a note from llvmdev | Chris Lattner | 2010-12-28 | 1 | -0/+11 | |
| | | | | llvm-svn: 122603 | |||||
* | Implement .cfi_remember_state and .cfi_restore_state. | Rafael Espindola | 2010-12-28 | 6 | -47/+186 | |
| | | | | llvm-svn: 122602 | |||||
* | Clarify that InstructionSimplify only returns values that dominate the | Duncan Sands | 2010-12-28 | 1 | -1/+2 | |
| | | | | | | original instruction. llvm-svn: 122601 | |||||
* | Small optimization to speed up replacementPreservesLCSSAForm. | Duncan Sands | 2010-12-28 | 1 | -0/+4 | |
| | | | | llvm-svn: 122600 |