summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* AST: Move C++ record layout dumping to ASTContext::DumpRecordLayout.Daniel Dunbar2010-04-083-212/+208
| | | | llvm-svn: 100746
* IRgen: Move the bit-field access type into CGBitFieldInfo, and change ↵Daniel Dunbar2010-04-085-27/+39
| | | | | | bit-field LValues to just store the base address of object containing the bit-field. llvm-svn: 100745
* Make post regalloc machine licm functional. It now passes all of MultiSource.Evan Cheng2010-04-081-79/+169
| | | | llvm-svn: 100742
* typoChris Lattner2010-04-081-2/+2
| | | | llvm-svn: 100738
* document isvolatile etc.Chris Lattner2010-04-081-31/+37
| | | | llvm-svn: 100737
* mpsadbw is not commutative.Eric Christopher2010-04-081-1/+1
| | | | | | Fixes PR3440. llvm-svn: 100736
* Added support for ARM disassembly to edis.Sean Callanan2010-04-089-284/+677
| | | | | | | | | | | I also added a rule to the ARM target's Makefile to build the ARM-specific instruction information table for the enhanced disassembler. I will add the test harness for all this stuff in a separate commit. llvm-svn: 100735
* Patch to implement gcc's cstyle arguments in objcFariborz Jahanian2010-04-086-9/+65
| | | | | | methods. wip. llvm-svn: 100734
* refactor out a function.Chris Lattner2010-04-081-24/+29
| | | | llvm-svn: 100733
* Fix a (bogus) uninitialized-member-of-local warning.John McCall2010-04-081-1/+1
| | | | llvm-svn: 100732
* convert a report_fatal_error that I was able to trigger into a nice errorChris Lattner2010-04-081-3/+9
| | | | | | | | | | | | | | so the user at least knows what inline asm is a problem. For example: error: inline asm not supported yet: don't know how to handle tied indirect register inputs pr8788-1.c:14:10: note: generated from here asm ("\n" : "+r" (stack->regs) ^ Instead of: fatal error: error in backend: Don't know how to handle tied indirect register inputs yet! llvm-svn: 100731
* Use SmallVector instead of an std::queue.Ted Kremenek2010-04-081-2/+1
| | | | llvm-svn: 100730
* When a template (without arguments) is passed as a template typeJeffrey Yasskin2010-04-086-6/+53
| | | | | | | parameter, explicitly ask the user to give it arguments. We used to complain that it wasn't a type and expect the user to figure it out. llvm-svn: 100729
* Fix typo.Evan Cheng2010-04-071-1/+1
| | | | llvm-svn: 100726
* minor tidying.Chris Lattner2010-04-072-5/+4
| | | | llvm-svn: 100725
* use assertions instead of unreachable for logic errors.Chris Lattner2010-04-071-28/+26
| | | | llvm-svn: 100724
* introduce a new recoverable error handling API to LLVMContextChris Lattner2010-04-073-3/+50
| | | | | | | | | | | | | | | | | | | | | | | | and use it in one place in inline asm handling stuff. Before we'd generate this for an invalid modifier letter: $ clang asm.c -c -o t.o fatal error: error in backend: Invalid operand found in inline asm: 'abc incl ${0:Z}' INLINEASM <es:abc incl ${0:Z}>, 10, %EAX<def>, 2147483657, %EAX, 14, %EFLAGS<earlyclobber,def,dead>, <!-1> Now we generate this: $ clang asm.c -c -o t.o error: invalid operand in inline asm: 'incl ${0:Z}' asm.c:3:12: note: generated from here __asm__ ("incl %Z0" : "+r" (X)); ^ 1 error generated. This is much better but still admittedly not great ("why" is the operand invalid??), codegen should try harder with its diagnostics :) llvm-svn: 100723
* Fix some redundant errors by changing CXXScopeSpec::isSet calls intoJeffrey Yasskin2010-04-076-9/+12
| | | | | | isNotEmpty calls. llvm-svn: 100722
* Say bitcast instead of bitconvert.Dan Gohman2010-04-072-2/+2
| | | | llvm-svn: 100720
* Add svn:ignore.Dan Gohman2010-04-070-0/+0
| | | | llvm-svn: 100719
* update for api change.Chris Lattner2010-04-071-1/+1
| | | | llvm-svn: 100718
* rename llvm_install_error_handler -> install_fatal_error_handlerChris Lattner2010-04-072-25/+22
| | | | | | and friends. llvm-svn: 100717
* Implement checking for template literal operator functions. ThisAlexis Hunt2010-04-071-4/+21
| | | | | | | code won't actually get used yet because we don't handle non-type parameter packs, but when we do, this code should jump in and work. llvm-svn: 100716
* Update CMake build.Ted Kremenek2010-04-071-0/+1
| | | | llvm-svn: 100714
* Update cmake build.Benjamin Kramer2010-04-071-0/+1
| | | | llvm-svn: 100713
* Add support for stpncpy_chk.Eric Christopher2010-04-071-0/+1
| | | | llvm-svn: 100711
* Add support for stpncpy_chk.Eric Christopher2010-04-072-7/+7
| | | | llvm-svn: 100710
* rename llvm::llvm_report_error -> llvm::report_fatal_errorChris Lattner2010-04-0752-143/+143
| | | | llvm-svn: 100709
* rename llvm::llvm_report_error -> llvm::report_fatal_errorChris Lattner2010-04-0711-18/+18
| | | | llvm-svn: 100708
* Updated comment to reflect changes made in the most recent draft.Alexis Hunt2010-04-071-5/+3
| | | | llvm-svn: 100707
* add newlines at end of files.Chris Lattner2010-04-077-7/+7
| | | | llvm-svn: 100706
* add newlines at the end of files.Chris Lattner2010-04-0733-33/+33
| | | | llvm-svn: 100705
* Fixed 80-cols violationAlexis Hunt2010-04-071-1/+1
| | | | llvm-svn: 100704
* remove some unneeded errorhandling stuff.Chris Lattner2010-04-072-16/+20
| | | | llvm-svn: 100703
* minor tidying upChris Lattner2010-04-072-3/+2
| | | | llvm-svn: 100702
* tidy upChris Lattner2010-04-071-5/+5
| | | | llvm-svn: 100700
* Generalize IVUsers to track arbitrary expressions rather than expressionsDan Gohman2010-04-0710-279/+743
| | | | | | | | | | | | | | | explicitly split into stride-and-offset pairs. Also, add the ability to track multiple post-increment loops on the same expression. This refines the concept of "normalizing" SCEV expressions used for to post-increment uses, and introduces a dedicated utility routine for normalizing and denormalizing expressions. This fixes the expansion of expressions which are post-increment users of more than one loop at a time. More broadly, this takes LSR another step closer to being able to reason about more than one loop at a time. llvm-svn: 100699
* Missed this one line for the previous checkin to fix build warnings.Johnny Chen2010-04-071-1/+0
| | | | llvm-svn: 100697
* Fixed warnings pointed out by clang.Johnny Chen2010-04-071-7/+19
| | | | llvm-svn: 100696
* Fixed warnings pointed out by clang.Johnny Chen2010-04-071-2/+16
| | | | | | Next to work on is ARMDisassemblerCore.cpp. llvm-svn: 100695
* Fixed a bug where the disassembler would allow an immediateSean Callanan2010-04-073-1/+5
| | | | | | | | | argument that had to be between 0 and 7 to have any value, firing an assert later in the AsmPrinter. Now, the disassembler rejects instructions with out-of-range values for that immediate. llvm-svn: 100694
* Fixed 3 warnings pointed out by clang.Johnny Chen2010-04-071-3/+3
| | | | llvm-svn: 100693
* unXFAIL, arm disassembler was reenabled.Benjamin Kramer2010-04-073-3/+0
| | | | llvm-svn: 100692
* Fix typo and correct comment somewhat.Eric Christopher2010-04-071-1/+1
| | | | llvm-svn: 100691
* Re-enable ARM/Thumb disassembler and add a workaround for a memcpy() call inJohnny Chen2010-04-073-4/+25
| | | | | | ARMDecoderEmitter.cpp, with FIXME comment. llvm-svn: 100690
* add a new driver-level -ferror-limit=412 option, which causes clang to stopChris Lattner2010-04-073-0/+11
| | | | | | | | | | | | | | | | | emitting diagnostics after it has produced that many errors. Give this a default value of 20 which produces plenty of errors for people to fix before recompiling but not so many that their entire console scrolls away when the compiler gets confused. The experience looks like this: $ clang foo.c <tons of crap> foo.c:102:3: error: unknown type name 'somethingbad' somethingbad x; ^ fatal error: too many errors emitted, stopping now 36 warnings and 20 errors generated. llvm-svn: 100689
* Split big test into multiple directories to cater toDale Johannesen2010-04-0712-11/+363
| | | | | | those who don't build all targets. llvm-svn: 100688
* add clang -cc1 level support for "-ferror-limit 42"Chris Lattner2010-04-076-5/+19
| | | | llvm-svn: 100687
* Return early from Sema::MarkDeclarationReferenced when we know thereDouglas Gregor2010-04-072-2/+11
| | | | | | | | | isn't any extra work to perform. Also, don't check for unused parameters when the warnings will be suppressed anyway. Improves performance of -fsyntax-only on 403.gcc's combine.c by ~2.5%. <rdar://problem/7836787> llvm-svn: 100686
* Added an AsmLexer for the ARM target, which usesSean Callanan2010-04-072-0/+143
| | | | | | | a simple mapping of register names to IDs to identify register tokens. llvm-svn: 100685
OpenPOWER on IntegriCloud