Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Add bzero builtin; this should help codegen quality for code using this | Eli Friedman | 2010-01-23 | 2 | -1/+3 | |
| | | | | | | function. llvm-svn: 94320 | |||||
* | fix a crash in jump threading, PR6119 | Chris Lattner | 2010-01-23 | 2 | -0/+31 | |
| | | | | llvm-svn: 94319 | |||||
* | implement a simple instcombine xform that has been in the | Chris Lattner | 2010-01-23 | 3 | -23/+44 | |
| | | | | | | readme forever. llvm-svn: 94318 | |||||
* | add a note | Chris Lattner | 2010-01-23 | 1 | -0/+29 | |
| | | | | llvm-svn: 94317 | |||||
* | Change CheckSingleInitializer to take/return OwningExprResults instead. No ↵ | Anders Carlsson | 2010-01-23 | 1 | -24/+46 | |
| | | | | | | functionality change. llvm-svn: 94316 | |||||
* | Fix typo. | Anders Carlsson | 2010-01-23 | 1 | -1/+1 | |
| | | | | llvm-svn: 94315 | |||||
* | Simplify code with StringRef. | Benjamin Kramer | 2010-01-23 | 1 | -6/+5 | |
| | | | | llvm-svn: 94314 | |||||
* | No need to terminate this buffer. | Benjamin Kramer | 2010-01-23 | 1 | -4/+3 | |
| | | | | llvm-svn: 94313 | |||||
* | add some notes, making posix-memalign be nocapture would be an easy improvement. | Chris Lattner | 2010-01-23 | 1 | -0/+31 | |
| | | | | llvm-svn: 94312 | |||||
* | Add doxygen comment to clang_getClangVersion(). | Ted Kremenek | 2010-01-23 | 1 | -1/+5 | |
| | | | | llvm-svn: 94311 | |||||
* | Remove the '-disable-scheduling' flag and replace it with the 'source' option of | Bill Wendling | 2010-01-23 | 7 | -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 Kramer | 2010-01-23 | 1 | -34/+34 | |
| | | | | llvm-svn: 94307 | |||||
* | Adjust testcase for recent DWARF printer changes. | Benjamin Kramer | 2010-01-23 | 1 | -1/+1 | |
| | | | | llvm-svn: 94306 | |||||
* | Respect operator precedence (and silence a gcc 4.3 warning). | Benjamin Kramer | 2010-01-23 | 1 | -1/+1 | |
| | | | | llvm-svn: 94304 | |||||
* | Produce a special diagnostic when users call a function with an argument of | John McCall | 2010-01-23 | 3 | -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 Lattner | 2010-01-23 | 11 | -31/+46 | |
| | | | | llvm-svn: 94299 | |||||
* | resolve a fixme: the "nonexecutable stack directive" is actually | Chris Lattner | 2010-01-23 | 9 | -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 Lattner | 2010-01-23 | 1 | -4/+0 | |
| | | | | llvm-svn: 94297 | |||||
* | use helpers. | Chris Lattner | 2010-01-23 | 1 | -12/+5 | |
| | | | | llvm-svn: 94296 | |||||
* | mcize visibility directives. | Chris Lattner | 2010-01-23 | 7 | -28/+40 | |
| | | | | llvm-svn: 94295 | |||||
* | move the various directive enums out of the MCStreamer class | Chris Lattner | 2010-01-23 | 12 | -116/+126 | |
| | | | | | | into a new MCDirectives.h file. llvm-svn: 94294 | |||||
* | Change constantexpr global variable initializers to convert the constants | Chris Lattner | 2010-01-23 | 4 | -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 the | Eric Christopher | 2010-01-23 | 2 | -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 Lattner | 2010-01-23 | 7 | -36/+35 | |
| | | | | llvm-svn: 94290 | |||||
* | Fix the EntityKind order so that all entity kinds that can be copied (using ↵ | Anders Carlsson | 2010-01-23 | 3 | -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 Lattner | 2010-01-23 | 1 | -1/+0 | |
| | | | | llvm-svn: 94288 | |||||
* | Reapply 94059 while fixing the calling convention setup | Eric Christopher | 2010-01-23 | 1 | -0/+47 | |
| | | | | | | for strcpy. llvm-svn: 94287 | |||||
* | remove unneeded directive set. | Chris Lattner | 2010-01-23 | 1 | -1/+0 | |
| | | | | llvm-svn: 94286 | |||||
* | use some helpers instead of duplicating logic. | Chris Lattner | 2010-01-23 | 2 | -6/+7 | |
| | | | | llvm-svn: 94285 | |||||
* | mcize jump table and constant pool entry labels, .local on elf, | Chris Lattner | 2010-01-23 | 4 | -30/+54 | |
| | | | | | | and some .weak directives. llvm-svn: 94284 | |||||
* | During overload resolution diagnostics, sort non-viable candidates by the ↵ | John McCall | 2010-01-23 | 2 | -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 Lattner | 2010-01-23 | 3 | -40/+14 | |
| | | | | llvm-svn: 94282 | |||||
* | simplify code a bit. | Chris Lattner | 2010-01-23 | 1 | -5/+5 | |
| | | | | llvm-svn: 94281 | |||||
* | InstCombine should not fold sext/zext of a vector and a bitcast to a scalar ↵ | Mon P Wang | 2010-01-23 | 2 | -2/+14 | |
| | | | | | | to a sext/zext llvm-svn: 94280 | |||||
* | Separate EK_ArrayOrVectorElement into EK_ArrayElement and EK_VectorElement; ↵ | Anders Carlsson | 2010-01-23 | 2 | -12/+24 | |
| | | | | | | arrays and vectors are pretty different beasts in C++. Doug, please review/comment. llvm-svn: 94279 | |||||
* | Update CMake build. | Ted Kremenek | 2010-01-23 | 1 | -0/+1 | |
| | | | | llvm-svn: 94278 | |||||
* | remove one form of EmitString, just use EmitBytes instead. We must | Chris Lattner | 2010-01-23 | 5 | -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 Lattner | 2010-01-23 | 1 | -14/+0 | |
| | | | | llvm-svn: 94276 | |||||
* | Added the skeleton for the implementation of the X86 | Sean Callanan | 2010-01-23 | 2 | -0/+46 | |
| | | | | | | | target-specific AsmLexer, and added the appropriate registration calls. llvm-svn: 94275 | |||||
* | Created __builtin___NSStringMakeConstantString() builtin, which generates ↵ | David Chisnall | 2010-01-23 | 10 | -20/+50 | |
| | | | | | | constant Objective-C strings. llvm-svn: 94274 | |||||
* | Rename getClangFullVendorVersion() to getClangFullVersion(). | Ted Kremenek | 2010-01-23 | 4 | -4/+4 | |
| | | | | llvm-svn: 94273 | |||||
* | Fix test. | Evan Cheng | 2010-01-23 | 1 | -1/+1 | |
| | | | | llvm-svn: 94272 | |||||
* | Fix tests. | Evan Cheng | 2010-01-23 | 2 | -5/+5 | |
| | | | | llvm-svn: 94271 | |||||
* | Implement elementary access control. | John McCall | 2010-01-23 | 13 | -31/+368 | |
| | | | | llvm-svn: 94268 | |||||
* | Modified the register matcher function in AsmMatcher to | Sean Callanan | 2010-01-23 | 2 | -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 of | Douglas Gregor | 2010-01-23 | 2 | -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} x | Daniel Dunbar | 2010-01-23 | 1 | -10/+90 | |
| | | | | | | {thumb,no-thumb}). llvm-svn: 94264 | |||||
* | Fix a FIXME, this test folds to a constant now. | Daniel Dunbar | 2010-01-23 | 1 | -6/+3 | |
| | | | | llvm-svn: 94263 | |||||
* | Avoid using "Type" as the variable name. | Devang Patel | 2010-01-23 | 2 | -15/+16 | |
| | | | | llvm-svn: 94262 | |||||
* | AsmMatcher: Add a comment. | Daniel Dunbar | 2010-01-23 | 1 | -0/+4 | |
| | | | | llvm-svn: 94261 |