Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | The -fshort-wchar option causes wchar_t to become unsigned, in addition to being | Chris Lattner | 2010-12-25 | 1 | -1/+1 |
| | | | | | | | 16-bits in size. Implement this by splitting WChar into two enums, like we have for char. This fixes a miscompmilation of XULRunner, PR8856. llvm-svn: 122558 | ||||
* | Add missing standard includes. Patch by Joerg Sonnenberger! | Nick Lewycky | 2010-12-19 | 1 | -0/+1 |
| | | | | llvm-svn: 122194 | ||||
* | When setting a tied check if it's already tied. If it's tied to another ↵ | Anders Carlsson | 2010-11-03 | 1 | -0/+10 |
| | | | | | | constraint it's invalid. Fixes PR3905. llvm-svn: 118146 | ||||
* | A number in an input constraint can't point to a read-write ('+') ↵ | Anders Carlsson | 2010-11-03 | 1 | -0/+4 |
| | | | | | | constraint. Fixes PR3904. llvm-svn: 118145 | ||||
* | Fix Whitespace. | Michael J. Spencer | 2010-10-18 | 1 | -7/+7 |
| | | | | llvm-svn: 116699 | ||||
* | Fixed pr20314-2.c failure, added E, F, p constraint letters. | John Thompson | 2010-09-21 | 1 | -0/+4 |
| | | | | llvm-svn: 114490 | ||||
* | Added '|' delimiter to separate inline asm multiple alternative constraints ↵ | John Thompson | 2010-09-18 | 1 | -2/+1 |
| | | | | | | for Clang side of support. llvm-svn: 114253 | ||||
* | Allow 'o' and 'V' as constraints for output asm operands. | Dale Johannesen | 2010-09-07 | 1 | -3/+9 |
| | | | | | | Allow '<' and '>' as constraints for input or output. llvm-svn: 113246 | ||||
* | The ARM C++ ABI is sufficiently different from the Itanium C++ ABI that | John McCall | 2010-08-21 | 1 | -0/+3 |
| | | | | | | | it deserves its own enumerator. Obviously the implementations should closely follow the Itanium ABI except in cases of divergence. llvm-svn: 111749 | ||||
* | Fix oversight with symbolic names in TargetInfo::validateInputConstraint. | Eli Friedman | 2010-08-11 | 1 | -0/+1 |
| | | | | llvm-svn: 110870 | ||||
* | Fix for pr7869, inline asm mult-alt constraints. | John Thompson | 2010-08-11 | 1 | -5/+3 |
| | | | | llvm-svn: 110764 | ||||
* | Slightly revised handling of mult-alt constraints, to avoid an assert, until ↵ | John Thompson | 2010-08-10 | 1 | -4/+16 |
| | | | | | | we have the full fix. llvm-svn: 110706 | ||||
* | CodeGen/ObjC/NeXT: Fix Obj-C message send to match llvm-gcc when choosing | Daniel Dunbar | 2010-07-14 | 1 | -0/+3 |
| | | | | | | | | whether to use objc_msgSend_fpret; the choice is target dependent, not Obj-C ABI dependent. - <rdar://problem/8139758> arm objc _objc_msgSend_fpret bug llvm-svn: 108379 | ||||
* | Hack for dealing with commas until we support multiple alternative ↵ | John Thompson | 2010-07-09 | 1 | -0/+4 |
| | | | | | | constraints, per pr7338. llvm-svn: 108028 | ||||
* | Correctly align large arrays in x86-64. This fixes PR5599. | Rafael Espindola | 2010-06-04 | 1 | -0/+2 |
| | | | | llvm-svn: 105500 | ||||
* | Sema: Reject '#pragma options align=mac68k' everywhere except i386-apple-darwin. | Daniel Dunbar | 2010-05-27 | 1 | -0/+1 |
| | | | | llvm-svn: 104789 | ||||
* | david conrad points out that {|} in inline assembly on arm are not asm | Chris Lattner | 2010-04-23 | 1 | -0/+1 |
| | | | | | | variants. This fixes neon inline asm which my patch for PR6780 broke. llvm-svn: 102181 | ||||
* | clang -cc1: Add a -fno-bitfield-type-align option, for my own testing purposes. | Daniel Dunbar | 2010-04-15 | 1 | -2/+3 |
| | | | | llvm-svn: 101370 | ||||
* | Tweak spelling (Bitfield -> BitField) | Daniel Dunbar | 2010-04-15 | 1 | -1/+1 |
| | | | | llvm-svn: 101369 | ||||
* | Add TargetInfo::useBitfieldTypeAlignment(). | Daniel Dunbar | 2010-04-15 | 1 | -3/+3 |
| | | | | | | | | | | | | | | | - Used to determine whether the alignment of the type in a bit-field is respected when laying out structures. The default is true, targets can override this as needed. - This is designed to correspond to the PCC_BITFIELD_TYPE_MATTERS macro in gcc. The AST/Sema implementation only affects one line, unless I have forgotten something. I'd appreciate further review. - IRgen still needs to be updated to fully support this (which is effectively PR5591). llvm-svn: 101356 | ||||
* | Yay for more StringRefs. | Anders Carlsson | 2010-01-30 | 1 | -18/+21 |
| | | | | llvm-svn: 94917 | ||||
* | fix PR5689: add support for 'o' and 'V' asm input operands | Nuno Lopes | 2009-12-16 | 1 | -0/+2 |
| | | | | llvm-svn: 91540 | ||||
* | Add SigAtomicType to TargetInfo, Needed for MSP and PIC Targets, Credit to ↵ | Edward O'Callaghan | 2009-11-21 | 1 | -0/+1 |
| | | | | | | Ken Dyck. llvm-svn: 89520 | ||||
* | do not store wchar/char16/char32/intmax width/alignment info | Chris Lattner | 2009-11-12 | 1 | -5/+0 |
| | | | | | | | into TargetInfo, just derive this based on the underlying type. This prevents them from getting out of synch, patch by Ken Dyck! llvm-svn: 86976 | ||||
* | teach the various targets what native integer types they have. | Chris Lattner | 2009-11-07 | 1 | -1/+1 |
| | | | | llvm-svn: 86395 | ||||
* | Eliminate tabls | John Thompson | 2009-11-05 | 1 | -2/+2 |
| | | | | llvm-svn: 86183 | ||||
* | clean up integer preprocessor type definitions, patch by Ken Dyck! | Chris Lattner | 2009-11-05 | 1 | -4/+20 |
| | | | | llvm-svn: 86177 | ||||
* | Adding -fshort-wchar option. | John Thompson | 2009-11-05 | 1 | -0/+10 |
| | | | | llvm-svn: 86167 | ||||
* | rename getTypeSigned() -> isTypeSigned() per daniel's review. | Chris Lattner | 2009-10-25 | 1 | -2/+2 |
| | | | | llvm-svn: 85076 | ||||
* | add helpful methods to TargetInfo for querying builtin integer type properties, | Chris Lattner | 2009-10-21 | 1 | -0/+51 |
| | | | | | | patch by Ken Dyck! llvm-svn: 84746 | ||||
* | hookize wint_t's definition, patch by Edward O'Callaghan (from PR5233). | Chris Lattner | 2009-10-21 | 1 | -0/+1 |
| | | | | llvm-svn: 84740 | ||||
* | fix PR4938 by recognizing % as a modifier on outputs, | Chris Lattner | 2009-10-13 | 1 | -0/+3 |
| | | | | | | previously we only recognized it on inputs. llvm-svn: 83939 | ||||
* | Remove tabs, and whitespace cleanups. | Mike Stump | 2009-09-09 | 1 | -25/+25 |
| | | | | llvm-svn: 81346 | ||||
* | Basic support for C++0x unicode types. Support for literals will follow in ↵ | Alisdair Meredith | 2009-07-14 | 1 | -0/+4 |
| | | | | | | an incremental patch llvm-svn: 75622 | ||||
* | Fix for PR4192: fix the definition of int64_t on x86_64 Linux. | Eli Friedman | 2009-07-01 | 1 | -0/+1 |
| | | | | | | | | | | | | | Note that I'm guessing that *BSD and Solaris do the same thing as Linux here, but it's quite possible I'm wrong; if the following testcase gives an error on x86-64 with gcc for any of those operating systems, please tell me: #include <stdint.h> int64_t x; long x; llvm-svn: 74583 | ||||
* | Move CharIsSigned from TargetInfo to LangOptions. | Eli Friedman | 2009-06-05 | 1 | -1/+0 |
| | | | | llvm-svn: 72928 | ||||
* | Fix rdar://6860124 - invalid input constraint 'J' in asm | Chris Lattner | 2009-05-06 | 1 | -1/+9 |
| | | | | | | | This recognizes all the target-independent constant constraints that have target-specific meanings. llvm-svn: 71064 | ||||
* | in a tied operand, don't copy over the name or constraint string, just the ↵ | Chris Lattner | 2009-04-26 | 1 | -2/+1 |
| | | | | | | flags. llvm-svn: 70137 | ||||
* | pull operands names "[foo]" into ConstraintInfo. | Chris Lattner | 2009-04-26 | 1 | -13/+7 |
| | | | | llvm-svn: 70136 | ||||
* | pull the constraint string into the ConstraintInfo struct | Chris Lattner | 2009-04-26 | 1 | -4/+5 |
| | | | | | | instead of passing it around in addition to it. llvm-svn: 70135 | ||||
* | change TargetInfo::ConstraintInfo to be a struct that contains | Chris Lattner | 2009-04-26 | 1 | -23/+17 |
| | | | | | | the enum along with some other data. llvm-svn: 70114 | ||||
* | Add target property for whether thread-local storage is supported. | Eli Friedman | 2009-04-19 | 1 | -0/+1 |
| | | | | | | | | Let me know if I messed up for some target. Note that for Windows, we should be able to support it (MSVC supports "__declspec(thread)"), but I'm pretty sure LLVM doesn't know how to generate the correct code. llvm-svn: 69552 | ||||
* | TargetInfo::validateAsmConstraint now takes a reference to the full ↵ | Anders Carlsson | 2009-02-28 | 1 | -2/+2 |
| | | | | | | constraints string. This will make it possible to support multi-character constraints. No functionality change (for now). llvm-svn: 65696 | ||||
* | Give TargetInfo a new IntPtrType to hold the intptr_t type for | Chris Lattner | 2009-02-13 | 1 | -0/+1 |
| | | | | | | | | | | a target. Make Preprocessor.cpp define a new __INTPTR_TYPE__ macro based on this. On linux/32, set intptr_t to int, instead of long. This fixes PR3563. llvm-svn: 64495 | ||||
* | simplify and refactor a bunch of type definition code in Preprocessor | Chris Lattner | 2009-02-06 | 1 | -0/+16 |
| | | | | | | predefines buffer initialization. llvm-svn: 63919 | ||||
* | If an input constraint refers to an output constraint, it should have the ↵ | Anders Carlsson | 2009-01-27 | 1 | -0/+5 |
| | | | | | | same constraint info as the output constraint. Fixes PR3417 llvm-svn: 63127 | ||||
* | Handle the 'X' constraint. Fixes <rdar://problem/6504897>. | Anders Carlsson | 2009-01-18 | 1 | -0/+2 |
| | | | | llvm-svn: 62446 | ||||
* | Add sema support for symbolic names in inline asm statements. | Anders Carlsson | 2009-01-18 | 1 | -1/+39 |
| | | | | llvm-svn: 62441 | ||||
* | Allow targets to override IntMaxTWidth | Nate Begeman | 2009-01-17 | 1 | -0/+1 |
| | | | | llvm-svn: 62434 | ||||
* | Change TargetInfo::validateInputConstraint to take begin/end name iterators ↵ | Anders Carlsson | 2009-01-17 | 1 | -2/+4 |
| | | | | | | instead of the number of outputs. No functionality change. llvm-svn: 62433 |