summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* 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
* test/CodeGen/X86/negative-sin.ll: FileCheck-ize.NAKAMURA Takumi2010-12-291-2/+2
| | | | llvm-svn: 122619
* test/CodeGen/X86/fp-in-intregs.ll: FileCheck-ize.NAKAMURA Takumi2010-12-291-1/+2
| | | | llvm-svn: 122618
* Add text explaining an assertion.Cameron Zwarich2010-12-291-1/+3
| | | | llvm-svn: 122617
* Remove second return.Rafael Espindola2010-12-291-1/+0
| | | | llvm-svn: 122616
* Fix bug when trying to output uint16_t or uint32_t.Rafael Espindola2010-12-292-2/+54
| | | | llvm-svn: 122615
* Implement cfi_def_cfa. Also don't convert to dwarf reg numbers twice. LooksRafael Espindola2010-12-295-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 Lattner2010-12-292-1/+10
| | | | llvm-svn: 122613
* Implement cfi_def_cfa_register.Rafael Espindola2010-12-292-0/+49
| | | | llvm-svn: 122612
* Initial .cfi_offset implementation.Rafael Espindola2010-12-292-0/+49
| | | | llvm-svn: 122611
* Simplify some code in MachineVerifier that was doing the correct thing, but notCameron Zwarich2010-12-281-10/+11
| | | | | | in the most obvious way. llvm-svn: 122610
* Don't produce a "DW_CFA_advance_loc 0".Rafael Espindola2010-12-282-1/+50
| | | | llvm-svn: 122609
* Revert the optimization in r122596. It is correct for all current targets, butCameron Zwarich2010-12-281-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 Govindaraju2010-12-283-21/+35
| | | | | | | | subxcc defs/uses; and fixed CustomInserter. llvm-svn: 122607
* Integers are primitive types. Update the documentation to state thisTobias Grosser2010-12-281-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 stillChris Lattner2010-12-281-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 llvmdevChris Lattner2010-12-281-0/+11
| | | | llvm-svn: 122603
* Implement .cfi_remember_state and .cfi_restore_state.Rafael Espindola2010-12-286-47/+186
| | | | llvm-svn: 122602
* Clarify that InstructionSimplify only returns values that dominate theDuncan Sands2010-12-281-1/+2
| | | | | | original instruction. llvm-svn: 122601
* Small optimization to speed up replacementPreservesLCSSAForm.Duncan Sands2010-12-281-0/+4
| | | | llvm-svn: 122600
OpenPOWER on IntegriCloud