summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Teach DAG scheduling how to properly emit subreg insert/extract machine ↵Christopher Lamb2007-07-262-0/+155
| | | | | | instructions. PR1350 llvm-svn: 40520
* Have register info provide the inverse mapping of register->superregisters. ↵Christopher Lamb2007-07-262-10/+65
| | | | | | PR1350 llvm-svn: 40519
* Add target independent MachineInstr's to represent subreg insert/extract in ↵Christopher Lamb2007-07-266-7/+72
| | | | | | MBB's. PR1350 llvm-svn: 40518
* Same goes for constantpool, etc.Evan Cheng2007-07-261-5/+5
| | | | llvm-svn: 40517
* Add selection DAG nodes for subreg insert/extract. PR1350Christopher Lamb2007-07-264-2/+35
| | | | llvm-svn: 40516
* Fix 80 col violation.Christopher Lamb2007-07-261-2/+3
| | | | llvm-svn: 40515
* Remove subreg index from MachineInstr's and also keep vregs as unsigned when ↵Christopher Lamb2007-07-263-16/+1
| | | | | | adding operands. llvm-svn: 40514
* Teach TableGen about the new vector types.Christopher Lamb2007-07-261-0/+4
| | | | llvm-svn: 40513
* add another link.Chris Lattner2007-07-261-0/+6
| | | | llvm-svn: 40512
* don't expect to be able to reparse arbitrary system headers.Chris Lattner2007-07-261-1/+1
| | | | llvm-svn: 40511
* Fix infinite recursion for when extract_vector_elt is legal. Unfortunately ↵Christopher Lamb2007-07-261-1/+1
| | | | | | no public targets use this code-path, so no test. llvm-svn: 40510
* Forgot a return stmt (oops).Steve Naroff2007-07-261-0/+1
| | | | llvm-svn: 40509
* Various improvements to Sema::ParseMemberReferenceExpr().Steve Naroff2007-07-263-25/+39
| | | | | | | | | | | - Added source range support to Diag's. - Used the new type predicate API to remove dealing with the canonical type explicitly. - Added Type::isRecordType(). - Removed some casts. - Removed a const qualifier from RecordType::getDecl(). llvm-svn: 40508
* Fix comments for new types.Christopher Lamb2007-07-261-2/+2
| | | | llvm-svn: 40507
* Add support for 3 element 32-bit vector ValueTypes.Christopher Lamb2007-07-263-11/+30
| | | | llvm-svn: 40506
* Remove X86ISD::LOAD_PACK and X86ISD::LOAD_UA and associated code from theDan Gohman2007-07-264-71/+36
| | | | | | | x86 target, replacing them with the new alignment attributes on memory references. llvm-svn: 40504
* Fix what is _hopefully_ the last corner case for loops.Owen Anderson2007-07-252-2/+92
| | | | llvm-svn: 40503
* Mac OS X x86-64 lower 4G address is not available.Evan Cheng2007-07-251-1/+2
| | | | llvm-svn: 40502
* Mac OS X should use 0x90 to fill in gaps to satisfy function alignment ↵Evan Cheng2007-07-251-3/+12
| | | | | | requirements. llvm-svn: 40501
* EmitAlignment() also emits optional fill value.Evan Cheng2007-07-252-4/+10
| | | | llvm-svn: 40500
* Functions with LinkOnce and weak linkage still need to be aligned. Doh.Evan Cheng2007-07-251-0/+1
| | | | llvm-svn: 40499
* My last commit was not correct for nested loops. Fix it, and add a testcase ↵Owen Anderson2007-07-252-1/+41
| | | | | | for it. llvm-svn: 40498
* Fix an infinite loop on 300.twolf.Owen Anderson2007-07-252-6/+31
| | | | llvm-svn: 40497
* Forgot to include this file in my last commit.Owen Anderson2007-07-251-1/+2
| | | | llvm-svn: 40496
* Fix a bug in non-local memdep that was causing an infinite loop on 175.vpr.Owen Anderson2007-07-252-3/+27
| | | | llvm-svn: 40495
* Fix a bug that was causing GVN to crash on 252.eon.Owen Anderson2007-07-252-2/+38
| | | | llvm-svn: 40494
* Fix example code.Devang Patel2007-07-251-0/+1
| | | | llvm-svn: 40493
* - Fix commit in Parser.h (patch by Kevin Andre).Steve Naroff2007-07-252-5/+3
| | | | | | - Add comment and minor cleanup to yesterday's fix to ParseCallExpr(). llvm-svn: 40492
* Add basic support for performing whole-function RLE.Owen Anderson2007-07-256-44/+195
| | | | | | Note: This has not yet been thoroughly tested. Use at your own risk. llvm-svn: 40489
* Moving regression test to reflect move in source and headers to Bitcode.Chandler Carruth2007-07-253-0/+0
| | | | llvm-svn: 40488
* Don't ignore the return value of AsmPrinter::doInitialization andDan Gohman2007-07-258-32/+23
| | | | | | AsmPrinter::doFinalization. llvm-svn: 40487
* Add BasicInliner interface. Devang Patel2007-07-255-246/+553
| | | | | | | This interface allows clients to inline bunch of functions with module level call graph information.:wq llvm-svn: 40486
* test commitChris Lattner2007-07-251-1/+1
| | | | llvm-svn: 40484
* Fix debug info and globals filled with zeros.Nick Lewycky2007-07-252-13/+26
| | | | llvm-svn: 40483
* Fix a couple of bugs, add some new cool stuff.Chris Lattner2007-07-257-5/+29
| | | | | | | | | | | | | | | 1. Fix a todo in Parser::ParseTag, to recover better. On code like that in test/Sema/decl-invalid.c it causes us to return a single error instead of multiple. 2. Fix an error in Sema::ParseDeclarator, where it would crash if the declarator didn't have an identifier. Instead, diagnose the problem. 3. Start adding infrastructure to track the range of locations covered by a declspec or declarator. This is mostly implemented for declspec, but could be improved, it is missing for declarator. Thanks to Neil for pointing out this crash. llvm-svn: 40482
* Minor cleanup:Anton Korobeynikov2007-07-252-2/+5
| | | | | | | - Split EH and debug infiormation - Make DwarfWriter more verbose in some cases llvm-svn: 40481
* Add const to CanBeFoldedBy, CheckAndMask, and CheckOrMask.Dan Gohman2007-07-243-7/+11
| | | | llvm-svn: 40480
* A minor simplication in the generated code.Dan Gohman2007-07-241-2/+2
| | | | llvm-svn: 40479
* Use movaps to load a v4f32 build_vector of all-constant values into aDan Gohman2007-07-242-0/+14
| | | | | | register instead of loading each element individually. llvm-svn: 40478
* Add initial support for non-local memory dependence analysis.Owen Anderson2007-07-242-7/+58
| | | | | | NOTE: This has only been cursorily tested. Expected improvements soon. llvm-svn: 40476
* Fix Sema::ParseCallExpr()...it wasn't doing the default array/function ↵Steve Naroff2007-07-246-14/+34
| | | | | | | | | | | | | | | | | | | | | | | | promotions on it's argument types. This resulted in the following errors when compiling promote_types_in_proto.c test... [dylan:~/llvm/tools/clang] admin% ../../Debug/bin/clang test/Parser/promote_types_in_proto.c test/Parser/promote_types_in_proto.c:7:24: error: incompatible types passing 'char *[]' to function expecting 'char *const []' arrayPromotion(argv); ~~~~~~~~~~~~~~ ^~~~ test/Parser/promote_types_in_proto.c:8:27: error: incompatible types passing 'void (char *const [])' to function expecting 'void (char *const [])' functionPromotion(arrayPromotion); ~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~ 2 diagnostics generated. When fixing this, noticed that both ParseCallExpr() and ParseReturnStmt() were prematurely comparing types for equivalence. This is incorrect (since the expr. promotions haven't been done yet). To fix this, I moved the check "down" to Sema::CheckAssignmentConstraints(). I also converted Type::isArrayType() to the modern API (since I needed it). Still more Type predicates to convert. llvm-svn: 40475
* Make the copy constructor of SmallPtrSet much faster.Owen Anderson2007-07-241-22/+12
| | | | llvm-svn: 40474
* Heal EH handling stuff by emitting correct offsets to callee-saved registers.Anton Korobeynikov2007-07-241-1/+13
| | | | | | Pretty hackish, but code itself is dirty mess, so we won't make anything worse. :) llvm-svn: 40472
* add documentation skeletonChris Lattner2007-07-241-0/+4
| | | | llvm-svn: 40471
* add a bare bones web pageChris Lattner2007-07-241-0/+28
| | | | llvm-svn: 40470
* Add a GVN pass, using the value numbering code I developed for GVNPRE and theOwen Anderson2007-07-246-0/+850
| | | | | | load elimination code from RedundantLoadElimination. llvm-svn: 40469
* Fix a comment, patch by Kevin Andre!Chris Lattner2007-07-241-1/+1
| | | | llvm-svn: 40466
* implement ast building and trivial semantic analysis of stmt exprs.Chris Lattner2007-07-249-9/+96
| | | | | | This implements test/Sema/stmt_exprs.c llvm-svn: 40465
* Make output match actual condition tested. Thanks, Duncan.Reid Spencer2007-07-241-1/+1
| | | | llvm-svn: 40464
* avoid std::string yet again.Chris Lattner2007-07-241-2/+4
| | | | llvm-svn: 40462
OpenPOWER on IntegriCloud