summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Add bzero builtin; this should help codegen quality for code using thisEli Friedman2010-01-232-1/+3
| | | | | | function. llvm-svn: 94320
* fix a crash in jump threading, PR6119Chris Lattner2010-01-232-0/+31
| | | | llvm-svn: 94319
* implement a simple instcombine xform that has been in theChris Lattner2010-01-233-23/+44
| | | | | | readme forever. llvm-svn: 94318
* add a noteChris Lattner2010-01-231-0/+29
| | | | llvm-svn: 94317
* Change CheckSingleInitializer to take/return OwningExprResults instead. No ↵Anders Carlsson2010-01-231-24/+46
| | | | | | functionality change. llvm-svn: 94316
* Fix typo.Anders Carlsson2010-01-231-1/+1
| | | | llvm-svn: 94315
* Simplify code with StringRef.Benjamin Kramer2010-01-231-6/+5
| | | | llvm-svn: 94314
* No need to terminate this buffer.Benjamin Kramer2010-01-231-4/+3
| | | | llvm-svn: 94313
* add some notes, making posix-memalign be nocapture would be an easy improvement.Chris Lattner2010-01-231-0/+31
| | | | llvm-svn: 94312
* Add doxygen comment to clang_getClangVersion().Ted Kremenek2010-01-231-1/+5
| | | | llvm-svn: 94311
* Remove the '-disable-scheduling' flag and replace it with the 'source' option ofBill Wendling2010-01-237-696/+450
| | | | | | | | | the '-pre-RA-sched' flag. It actually makes more sense to do it this way. Also, keep track of the SDNode ordering by default. Eventually, we would like to make this ordering a way to break a "tie" in the scheduler. However, doing that now breaks the "CodeGen/X86/abi-isel.ll" test for 32-bit Linux. llvm-svn: 94308
* Adjust testcase for recent AsmPrinter changes, sigh.Benjamin Kramer2010-01-231-34/+34
| | | | llvm-svn: 94307
* Adjust testcase for recent DWARF printer changes.Benjamin Kramer2010-01-231-1/+1
| | | | llvm-svn: 94306
* Respect operator precedence (and silence a gcc 4.3 warning).Benjamin Kramer2010-01-231-1/+1
| | | | llvm-svn: 94304
* Produce a special diagnostic when users call a function with an argument ofJohn McCall2010-01-233-1/+44
| | | | | | | | | | | | | | | | incomplete type (or a pointer/reference to such). The causes of this problem are different enough to justify a different "design" for the diagnostic. Most notably, it doesn't give an operand index: it's usually pretty obvious which operand is the problem, it adds a lot of clutter to mention it, and the fix is usually in a different part of the file anyway. This is yet another diagnostic that should really have an analogue in the non-overloaded case --- which should be much easier to write because of the weaker space constraints. llvm-svn: 94303
* mcize lcomm, simplify .comm, extend both to support 64-bit sizes.Chris Lattner2010-01-2311-31/+46
| | | | llvm-svn: 94299
* resolve a fixme: the "nonexecutable stack directive" is actuallyChris Lattner2010-01-239-25/+34
| | | | | | | | | a .section. Switch to it with SwitchSection. However, I think that this directive should be safe on any ELF target. If so, we should hoist it up out of the X86 and SystemZ targets. llvm-svn: 94298
* remove a dead call.Chris Lattner2010-01-231-4/+0
| | | | llvm-svn: 94297
* use helpers.Chris Lattner2010-01-231-12/+5
| | | | llvm-svn: 94296
* mcize visibility directives.Chris Lattner2010-01-237-28/+40
| | | | llvm-svn: 94295
* move the various directive enums out of the MCStreamer classChris Lattner2010-01-2312-116/+126
| | | | | | into a new MCDirectives.h file. llvm-svn: 94294
* Change constantexpr global variable initializers to convert the constantsChris Lattner2010-01-234-122/+73
| | | | | | | to MCExpr then emit them through MCStreamer with EmitValue. I think all global variable initializers are now going through mcstreamer. llvm-svn: 94293
* Don't lower splat vector load to relative to the esp if theEric Christopher2010-01-232-37/+4
| | | | | | | | | | stack may be misaligned. Update test accordingly. Patch by Evan Cheng! llvm-svn: 94291
* mcstreamerize .no_dead_strip and .reference for static ctors/dtors.Chris Lattner2010-01-237-36/+35
| | | | llvm-svn: 94290
* Fix the EntityKind order so that all entity kinds that can be copied (using ↵Anders Carlsson2010-01-233-8/+9
| | | | | | copy constructors) come first. Also, fix a bug where EK_New was left out of the err_init_conversion_failed diagnostic (It is now reported as 'new value'). Please review Doug :) llvm-svn: 94289
* stop testing for invalid output.Chris Lattner2010-01-231-1/+0
| | | | llvm-svn: 94288
* Reapply 94059 while fixing the calling convention setupEric Christopher2010-01-231-0/+47
| | | | | | for strcpy. llvm-svn: 94287
* remove unneeded directive set.Chris Lattner2010-01-231-1/+0
| | | | llvm-svn: 94286
* use some helpers instead of duplicating logic.Chris Lattner2010-01-232-6/+7
| | | | llvm-svn: 94285
* mcize jump table and constant pool entry labels, .local on elf,Chris Lattner2010-01-234-30/+54
| | | | | | and some .weak directives. llvm-svn: 94284
* During overload resolution diagnostics, sort non-viable candidates by the ↵John McCall2010-01-232-5/+122
| | | | | | | | | | | | | quality of their conversions. To make this work, fill out all conversions for all candidates (but only when diagnosing overload failure). Split out a few cases from ovl_fail_bad_conversion which didn't actually involve a failed argument conversion. I'm pretty sure this is not a well-founded ordering, but I'm not sure it matters. llvm-svn: 94283
* emit .ascii and .asciz through MCStreamer.Chris Lattner2010-01-233-40/+14
| | | | llvm-svn: 94282
* simplify code a bit.Chris Lattner2010-01-231-5/+5
| | | | llvm-svn: 94281
* InstCombine should not fold sext/zext of a vector and a bitcast to a scalar ↵Mon P Wang2010-01-232-2/+14
| | | | | | to a sext/zext llvm-svn: 94280
* Separate EK_ArrayOrVectorElement into EK_ArrayElement and EK_VectorElement; ↵Anders Carlsson2010-01-232-12/+24
| | | | | | arrays and vectors are pretty different beasts in C++. Doug, please review/comment. llvm-svn: 94279
* Update CMake build.Ted Kremenek2010-01-231-0/+1
| | | | llvm-svn: 94278
* remove one form of EmitString, just use EmitBytes instead. We mustChris Lattner2010-01-235-46/+27
| | | | | | | be careful to add a \0 at the end though, because EmitString didn't do this. llvm-svn: 94277
* remove this test.Chris Lattner2010-01-231-14/+0
| | | | llvm-svn: 94276
* Added the skeleton for the implementation of the X86Sean Callanan2010-01-232-0/+46
| | | | | | | target-specific AsmLexer, and added the appropriate registration calls. llvm-svn: 94275
* Created __builtin___NSStringMakeConstantString() builtin, which generates ↵David Chisnall2010-01-2310-20/+50
| | | | | | constant Objective-C strings. llvm-svn: 94274
* Rename getClangFullVendorVersion() to getClangFullVersion().Ted Kremenek2010-01-234-4/+4
| | | | llvm-svn: 94273
* Fix test.Evan Cheng2010-01-231-1/+1
| | | | llvm-svn: 94272
* Fix tests.Evan Cheng2010-01-232-5/+5
| | | | llvm-svn: 94271
* Implement elementary access control.John McCall2010-01-2313-31/+368
| | | | llvm-svn: 94268
* Modified the register matcher function in AsmMatcher toSean Callanan2010-01-232-7/+11
| | | | | | | | | | | be static. Also made it possible for clients to get it and no other functions from ...GenAsmMatcher.inc by defining REGISTERS_ONLY before including GenAsmMatcher.inc. This sets the stage for target-specific lexers that can identify registers and return AsmToken::Register as appropriate. llvm-svn: 94266
* Teach the cursor visitor to recurse into the type information ofDouglas Gregor2010-01-232-0/+45
| | | | | | explicit casts, sizeof, alignof, and compound literals. llvm-svn: 94265
* Extern darwin-clang_rt.c test to also test targetting ARM ({armv6, armv7} xDaniel Dunbar2010-01-231-10/+90
| | | | | | {thumb,no-thumb}). llvm-svn: 94264
* Fix a FIXME, this test folds to a constant now.Daniel Dunbar2010-01-231-6/+3
| | | | llvm-svn: 94263
* Avoid using "Type" as the variable name.Devang Patel2010-01-232-15/+16
| | | | llvm-svn: 94262
* AsmMatcher: Add a comment.Daniel Dunbar2010-01-231-0/+4
| | | | llvm-svn: 94261
OpenPOWER on IntegriCloud