Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | hoist the new isel interpreter out of DAGISelHeader.h | Chris Lattner | 2010-02-28 | 3 | -823/+871 | |
| | | | | | | | | (which gets #included into the middle of each target's DAGISel class) into a .cpp file where it is only compiled once. llvm-svn: 97425 | |||||
* | Pass '-no-canonical-prefixes' on down to GCC. It's not specific to the Clang | Chandler Carruth | 2010-02-28 | 1 | -1/+1 | |
| | | | | | | driver and was in fact based on a feature in GCC. =] llvm-svn: 97424 | |||||
* | change a few opcodes to use VBRs instead of embedding | Chris Lattner | 2010-02-28 | 3 | -143/+45 | |
| | | | | | | immediate sizes into the opcode. llvm-svn: 97423 | |||||
* | Improve name mangling for dependently-scoped declaration references. | Douglas Gregor | 2010-02-28 | 2 | -1/+31 | |
| | | | | llvm-svn: 97422 | |||||
* | move all the opcodes out of DAGISelHeader.h (which gets | Chris Lattner | 2010-02-28 | 2 | -55/+58 | |
| | | | | | | | #included into the middle of each isel class) into a real header. llvm-svn: 97421 | |||||
* | resolve a fixme by using hte new flag. | Chris Lattner | 2010-02-28 | 1 | -9/+7 | |
| | | | | llvm-svn: 97420 | |||||
* | enhance the EmitNode/MorphNodeTo operands to take a bit that | Chris Lattner | 2010-02-28 | 6 | -33/+43 | |
| | | | | | | | | specifies whether there is an output flag or not. Use this instead of redundantly encoding the chain/flag results in the output vtlist. llvm-svn: 97419 | |||||
* | Add name mangling for DeclRefExprs that refer to external names | Douglas Gregor | 2010-02-28 | 2 | -3/+28 | |
| | | | | llvm-svn: 97418 | |||||
* | enhance the new isel to handle the 'node already exists' | Chris Lattner | 2010-02-28 | 2 | -16/+30 | |
| | | | | | | case of MorphNodeTo directly. llvm-svn: 97417 | |||||
* | use MorphNodeTo instead of SelectNodeTo. SelectNodeTo | Chris Lattner | 2010-02-28 | 5 | -43/+46 | |
| | | | | | | is just a silly wrapper around MorphNodeTo. llvm-svn: 97416 | |||||
* | enhance the new isel to use SelectNodeTo for most patterns, | Chris Lattner | 2010-02-28 | 7 | -75/+218 | |
| | | | | | | | | | even some the old isel didn't. There are several parts of this that make me feel dirty, but it's no worse than the old isel. I'll clean up the parts I can do without ripping out the old one next. llvm-svn: 97415 | |||||
* | Add support getting the operands of a User to ocaml. | Erick Tryzelaar | 2010-02-28 | 4 | -0/+36 | |
| | | | | llvm-svn: 97414 | |||||
* | Add support for global aliases to ocaml. | Erick Tryzelaar | 2010-02-28 | 4 | -0/+29 | |
| | | | | llvm-svn: 97413 | |||||
* | Add support for inserting inline asm to ocaml. | Erick Tryzelaar | 2010-02-28 | 4 | -1/+28 | |
| | | | | llvm-svn: 97412 | |||||
* | add some random nounwinds. | Chris Lattner | 2010-02-28 | 2 | -2/+2 | |
| | | | | llvm-svn: 97411 | |||||
* | I'm removing andersaa after the branch is made. | Chris Lattner | 2010-02-28 | 1 | -0/+1 | |
| | | | | llvm-svn: 97409 | |||||
* | simplify this code, return only ever has zero or one operands. | Chris Lattner | 2010-02-28 | 1 | -8/+6 | |
| | | | | llvm-svn: 97408 | |||||
* | Remove debug output. | Anders Carlsson | 2010-02-28 | 1 | -2/+0 | |
| | | | | llvm-svn: 97407 | |||||
* | Handle unused functions in construction vtables correctly. | Anders Carlsson | 2010-02-28 | 2 | -9/+24 | |
| | | | | llvm-svn: 97406 | |||||
* | pull some altivec stuff out of line. | Chris Lattner | 2010-02-28 | 2 | -59/+79 | |
| | | | | llvm-svn: 97405 | |||||
* | Warn about the deprecated string literal -> char* conversion. Fixes PR6428. | Douglas Gregor | 2010-02-28 | 8 | -15/+22 | |
| | | | | llvm-svn: 97404 | |||||
* | Implement PR6423 by using one token of lookahead to disambiguate | Chris Lattner | 2010-02-28 | 4 | -36/+109 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | an *almost* always incorrect case. This only does the lookahead in the insanely unlikely case, so it shouldn't impact performance. On this testcase: struct foo { } typedef int x; Before: t.c:3:9: error: cannot combine with previous 'struct' declaration specifier typedef int x; ^ After: t.c:2:2: error: expected ';' after struct } ^ ; llvm-svn: 97403 | |||||
* | When laying out vtables for virtual bases in construction vtables, we need ↵ | Anders Carlsson | 2010-02-28 | 2 | -10/+30 | |
| | | | | | | to check if the vtable is a primary base in the layout class. llvm-svn: 97402 | |||||
* | Add another construction vtable test. | Anders Carlsson | 2010-02-28 | 1 | -0/+43 | |
| | | | | llvm-svn: 97401 | |||||
* | Support constant-evaluation of __builtin_nans* as well as the correct constant | John McCall | 2010-02-28 | 2 | -16/+75 | |
| | | | | | | | | evaluation of __builtin_nan*. Most of the work to make this work is in LLVM. Fixes <rdar://problem/7696712> and part of PR 5255. llvm-svn: 97383 | |||||
* | Properly clear all the extra bits in a significand when making a NaN from an | John McCall | 2010-02-28 | 1 | -8/+28 | |
| | | | | | | | APInt. Be certain to set the integer bit in an x87 extended-precision significand so that we don't accidentally make a pseudo-NaN. llvm-svn: 97382 | |||||
* | Add an override to StringRef::getAsInteger which parses into an APInt. | John McCall | 2010-02-28 | 3 | -12/+132 | |
| | | | | | | | | | | It gets its own implementation totally divorced from the (presumably performance-sensitive) routines which parse into a uint64_t. Add APInt::operator|=(uint64_t), which is situationally much better than using a full APInt. llvm-svn: 97381 | |||||
* | Add support for getting a null pointer. | Erick Tryzelaar | 2010-02-28 | 3 | -0/+12 | |
| | | | | llvm-svn: 97380 | |||||
* | Add a way to look up a type by it's name in a module. | Erick Tryzelaar | 2010-02-28 | 4 | -0/+27 | |
| | | | | llvm-svn: 97379 | |||||
* | Add replace_all_uses_with to ocaml. | Erick Tryzelaar | 2010-02-28 | 2 | -0/+7 | |
| | | | | llvm-svn: 97378 | |||||
* | Add support for global variables in an address space for llvm-c and ocaml. | Erick Tryzelaar | 2010-02-28 | 6 | -25/+103 | |
| | | | | llvm-svn: 97377 | |||||
* | Add indirect br support to llvm-c and ocaml. | Erick Tryzelaar | 2010-02-28 | 6 | -0/+73 | |
| | | | | llvm-svn: 97376 | |||||
* | Add metadata functions to llvm-c and ocaml. | Erick Tryzelaar | 2010-02-28 | 6 | -1/+289 | |
| | | | | llvm-svn: 97375 | |||||
* | remove redundant instruction. | Chris Lattner | 2010-02-28 | 1 | -2/+2 | |
| | | | | llvm-svn: 97374 | |||||
* | Use getBody() to get the function definition when the decl referenced is not | Zhongxing Xu | 2010-02-28 | 1 | -1/+1 | |
| | | | | | | definition. llvm-svn: 97373 | |||||
* | Add the new builder arthmetic instructions to llvm-c and ocaml. | Erick Tryzelaar | 2010-02-28 | 6 | -1/+320 | |
| | | | | llvm-svn: 97372 | |||||
* | Add the new union arthmetic instructions to llvm-c and ocaml. | Erick Tryzelaar | 2010-02-28 | 6 | -7/+61 | |
| | | | | llvm-svn: 97371 | |||||
* | Add generic binary op and cast builder functions. | Erick Tryzelaar | 2010-02-28 | 2 | -0/+18 | |
| | | | | llvm-svn: 97370 | |||||
* | Rename ocaml vmcore tests to make it easier to insert tests. | Erick Tryzelaar | 2010-02-28 | 1 | -228/+226 | |
| | | | | llvm-svn: 97369 | |||||
* | Fix incorrect uses of an ocaml llbuilder without extracting it from ocaml. | Erick Tryzelaar | 2010-02-28 | 1 | -4/+3 | |
| | | | | llvm-svn: 97368 | |||||
* | Remove malloc and free from the ocaml bindings. | Erick Tryzelaar | 2010-02-28 | 4 | -51/+3 | |
| | | | | llvm-svn: 97367 | |||||
* | Revert r97245 which seems to be causing performance problems. | Bob Wilson | 2010-02-28 | 3 | -9/+7 | |
| | | | | llvm-svn: 97366 | |||||
* | Fix typo. | Ted Kremenek | 2010-02-28 | 1 | -1/+1 | |
| | | | | llvm-svn: 97365 | |||||
* | Teach APFloat how to create both QNaNs and SNaNs and with arbitrary-width | John McCall | 2010-02-28 | 6 | -17/+107 | |
| | | | | | | | | payloads. APFloat's internal folding routines always make QNaNs now, instead of sometimes making QNaNs and sometimes SNaNs depending on the type. llvm-svn: 97364 | |||||
* | enhance EmitNodeMatcher to keep track of the recorded slot numbers | Chris Lattner | 2010-02-28 | 5 | -11/+26 | |
| | | | | | | it will populate. llvm-svn: 97363 | |||||
* | add infrastructure to support forming selectnodeto. Not used yet | Chris Lattner | 2010-02-28 | 5 | -23/+79 | |
| | | | | | | because I have to go on another detour first. llvm-svn: 97362 | |||||
* | More improvements to construction vtables; we know handle vbase offsets ↵ | Anders Carlsson | 2010-02-28 | 3 | -43/+105 | |
| | | | | | | correctly (I hope). llvm-svn: 97361 | |||||
* | Don't try to replace physical registers when doing CSE. | Dan Gohman | 2010-02-28 | 2 | -1/+51 | |
| | | | | llvm-svn: 97360 | |||||
* | Opt into the Verifier now that it's an opt-in feature of | Dan Gohman | 2010-02-28 | 1 | -1/+10 | |
| | | | | | | addPassesToEmitFile. llvm-svn: 97358 | |||||
* | Add a flag to addPassesToEmit* to disable the Verifier pass run | Dan Gohman | 2010-02-28 | 7 | -20/+42 | |
| | | | | | | after LSR, so that clients can opt in. llvm-svn: 97357 |