summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Check that the function prototypes are correct before assuming that the Nick Lewycky2008-12-272-18/+47
| | | | | | parameters are pointers. llvm-svn: 61451
* add testcase for type parsing.Chris Lattner2008-12-271-0/+21
| | | | llvm-svn: 61449
* implement simplify_type for PATypeHolder so that isa<FooType>(PATypeHolder)Chris Lattner2008-12-271-0/+16
| | | | | | works. llvm-svn: 61448
* - Remove Tilmann's custom truncate lowering: it completely hosed overScott Michel2008-12-2719-653/+1509
| | | | | | | | | | | | | | | | | | | | | | | | DAGcombine's ability to find reasons to remove truncates when they were not needed. Consequently, the CellSPU backend would produce correct, but _really slow and horrible_, code. Replaced with instruction sequences that do the equivalent truncation in SPUInstrInfo.td. - Re-examine how unaligned loads and stores work. Generated unaligned load code has been tested on the CellSPU hardware; see the i32operations.c and i64operations.c in CodeGen/CellSPU/useful-harnesses. (While they may be toy test code, it does prove that some real world code does compile correctly.) - Fix truncating stores in bug 3193 (note: unpack_df.ll will still make llc fault because i64 ult is not yet implemented.) - Added i64 eq and neq for setcc and select/setcc; started new instruction information file for them in SPU64InstrInfo.td. Additional i64 operations should be added to this file and not to SPUInstrInfo.td. llvm-svn: 61447
* Add a MS specific intrinsic.Anders Carlsson2008-12-271-0/+6
| | | | llvm-svn: 61446
* Eli noticed that I had forgotten some #defines. Add them.Anders Carlsson2008-12-261-0/+12
| | | | llvm-svn: 61445
* Add float.h header. Eli, please review :)Anders Carlsson2008-12-261-0/+59
| | | | llvm-svn: 61444
* Add __builtin_flt_roundsAnders Carlsson2008-12-261-0/+2
| | | | llvm-svn: 61443
* Add support for out-of-line definitions of conversion functions and member ↵Douglas Gregor2008-12-264-39/+51
| | | | | | operators llvm-svn: 61442
* Fix implementation of _mm_pause.Anders Carlsson2008-12-261-1/+1
| | | | llvm-svn: 61441
* OK, all tests pass. Let's start using the SSE2 headerAnders Carlsson2008-12-262-2/+3
| | | | llvm-svn: 61440
* Add two more builtinsAnders Carlsson2008-12-261-0/+2
| | | | llvm-svn: 61439
* Complete the test after adding handling of merged attributes on decls.Anton Korobeynikov2008-12-261-3/+1
| | | | llvm-svn: 61438
* Add full dllimport / dllexport support: both sema checks and codegen.Anton Korobeynikov2008-12-267-15/+135
| | | | | | Patch by Ilya Okonsky llvm-svn: 61437
* Testcase for stdcall/fastcall sema checks.Anton Korobeynikov2008-12-261-0/+12
| | | | | | Patch by Ilya Okonsky! llvm-svn: 61436
* Fix formattingAnders Carlsson2008-12-261-13/+13
| | | | llvm-svn: 61435
* Add _mm_pause and _MM_SHUFFLEAnders Carlsson2008-12-261-0/+7
| | | | llvm-svn: 61434
* More SSE2 intrinsicsAnders Carlsson2008-12-261-0/+137
| | | | llvm-svn: 61433
* More SSE2 intrinsicsAnders Carlsson2008-12-251-2/+344
| | | | llvm-svn: 61432
* Add parser support for __forceinline, __w64, __ptr64.Steve Naroff2008-12-254-3/+21
| | | | llvm-svn: 61431
* Add parser support for __cdecl, __stdcall, and __fastcall.Steve Naroff2008-12-254-3/+48
| | | | | | Change preprocessor implementation of _cdecl to reference __cdecl. llvm-svn: 61430
* Add Fedora 10 GCC paths.Zhongxing Xu2008-12-251-0/+10
| | | | llvm-svn: 61429
* Make _mm_add_si64 inlinedAnders Carlsson2008-12-251-1/+1
| | | | llvm-svn: 61428
* add PR #Chris Lattner2008-12-251-0/+1
| | | | llvm-svn: 61427
* Add a simple pattern for matching 'bt'.Chris Lattner2008-12-252-10/+66
| | | | llvm-svn: 61426
* Fix some JIT encodings.Chris Lattner2008-12-252-10/+10
| | | | llvm-svn: 61425
* BT memory operands load from their address operand.Chris Lattner2008-12-252-3/+3
| | | | llvm-svn: 61424
* translateX86CC can never fail. Simplify it based on this.Chris Lattner2008-12-241-42/+30
| | | | llvm-svn: 61423
* Add explicit "fuzzy" parse support for Microsoft declspec.Steve Naroff2008-12-245-1/+29
| | | | | | Remove previous __declspec macro that would effectively erase the construct prior to parsing. llvm-svn: 61422
* Fix try statement deserialization.Sebastian Redl2008-12-241-0/+3
| | | | llvm-svn: 61421
* Darwin likes for the EH frame to be non-local.Bill Wendling2008-12-244-4/+25
| | | | llvm-svn: 61420
* Add a bunch of comments and FIXMEs.Ted Kremenek2008-12-241-13/+90
| | | | llvm-svn: 61419
* set region default value if there are not enough init values for array and ↵Zhongxing Xu2008-12-241-5/+5
| | | | | | struct. llvm-svn: 61418
* Add serialization support for TypeOfType.Zhongxing Xu2008-12-242-1/+31
| | | | llvm-svn: 61417
* Add serialization support for TypeOfExpr.Zhongxing Xu2008-12-242-0/+28
| | | | llvm-svn: 61416
* GCC doesn't emit DW_EH_PE_sdata4 for the FDE encoding on Darwin. I'm not sureBill Wendling2008-12-244-4/+26
| | | | | | about other platforms. llvm-svn: 61415
* Revert the changes in this testcase until Anton can fix them.Bill Wendling2008-12-241-11/+15
| | | | llvm-svn: 61414
* Keep track of template arguments when we parse them. Right now, we don't ↵Douglas Gregor2008-12-2415-87/+284
| | | | | | actually do anything with the template arguments, but they'll be used to create template declarations llvm-svn: 61413
* Add integer arithmetic intrinsicsAnders Carlsson2008-12-241-0/+156
| | | | llvm-svn: 61412
* Add store/set/load intrisicsAnders Carlsson2008-12-241-0/+103
| | | | llvm-svn: 61411
* Start implementing some SSE2 instructionsAnders Carlsson2008-12-241-0/+371
| | | | llvm-svn: 61410
* Comment and fixup GDM entries for RegionStore to use unique 'tag classes' to ↵Ted Kremenek2008-12-241-40/+66
| | | | | | identify GDM entries. llvm-svn: 61409
* Fix a compiler-abort on a testcase where the stack-pointer is added toDan Gohman2008-12-242-6/+46
| | | | | | | a symbolic constant. This is unlikely to be intentional, but it shouldn't crash the compiler. llvm-svn: 61408
* indentationChris Lattner2008-12-241-9/+8
| | | | llvm-svn: 61407
* Correct the order in which we cope with end-of-class-definitionDouglas Gregor2008-12-2416-36/+124
| | | | | | | | | | | | | | | | | | | | | | semantics and improve our handling of default arguments. Specifically, we follow this order: - As soon as the see the '}' in the class definition, the class is complete and we add any implicit declarations (default constructor, copy constructor, etc.) to the class. - If there are any default function arguments, parse them - If there were any inline member function definitions, parse them As part of this change, we now keep track of the the fact that we've seen unparsed default function arguments within the AST. See the new ParmVarDecl::hasUnparsedDefaultArg member. This allows us to properly cope with calls inside default function arguments to other functions where we're making use of the default arguments. Made some C++ error messages regarding failed initializations more specific. llvm-svn: 61406
* Change comments so everybody can understand them, hopefully.Dale Johannesen2008-12-231-2/+2
| | | | llvm-svn: 61405
* simplify some control flow and reduce indentation, no functionality change.Chris Lattner2008-12-231-63/+46
| | | | llvm-svn: 61404
* Revert 61362 and 61402 until SPEC breakage is fixed.Dale Johannesen2008-12-231-135/+43
| | | | llvm-svn: 61403
* This fixes the bug in 175.vpr. It doesn't fix theDale Johannesen2008-12-231-2/+9
| | | | | | | | other SPEC breakage. I'll be reverting all recent changes shortly, this checking is mostly so this change doesn't get lost. llvm-svn: 61402
* Add another permutation where we should get rid of a-a.Dale Johannesen2008-12-232-4/+35
| | | | llvm-svn: 61401
OpenPOWER on IntegriCloud