summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* hoist the new isel interpreter out of DAGISelHeader.hChris Lattner2010-02-283-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 ClangChandler Carruth2010-02-281-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 embeddingChris Lattner2010-02-283-143/+45
| | | | | | immediate sizes into the opcode. llvm-svn: 97423
* Improve name mangling for dependently-scoped declaration references.Douglas Gregor2010-02-282-1/+31
| | | | llvm-svn: 97422
* move all the opcodes out of DAGISelHeader.h (which getsChris Lattner2010-02-282-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 Lattner2010-02-281-9/+7
| | | | llvm-svn: 97420
* enhance the EmitNode/MorphNodeTo operands to take a bit thatChris Lattner2010-02-286-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 namesDouglas Gregor2010-02-282-3/+28
| | | | llvm-svn: 97418
* enhance the new isel to handle the 'node already exists'Chris Lattner2010-02-282-16/+30
| | | | | | case of MorphNodeTo directly. llvm-svn: 97417
* use MorphNodeTo instead of SelectNodeTo. SelectNodeToChris Lattner2010-02-285-43/+46
| | | | | | is just a silly wrapper around MorphNodeTo. llvm-svn: 97416
* enhance the new isel to use SelectNodeTo for most patterns,Chris Lattner2010-02-287-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 Tryzelaar2010-02-284-0/+36
| | | | llvm-svn: 97414
* Add support for global aliases to ocaml.Erick Tryzelaar2010-02-284-0/+29
| | | | llvm-svn: 97413
* Add support for inserting inline asm to ocaml.Erick Tryzelaar2010-02-284-1/+28
| | | | llvm-svn: 97412
* add some random nounwinds.Chris Lattner2010-02-282-2/+2
| | | | llvm-svn: 97411
* I'm removing andersaa after the branch is made.Chris Lattner2010-02-281-0/+1
| | | | llvm-svn: 97409
* simplify this code, return only ever has zero or one operands.Chris Lattner2010-02-281-8/+6
| | | | llvm-svn: 97408
* Remove debug output.Anders Carlsson2010-02-281-2/+0
| | | | llvm-svn: 97407
* Handle unused functions in construction vtables correctly.Anders Carlsson2010-02-282-9/+24
| | | | llvm-svn: 97406
* pull some altivec stuff out of line.Chris Lattner2010-02-282-59/+79
| | | | llvm-svn: 97405
* Warn about the deprecated string literal -> char* conversion. Fixes PR6428.Douglas Gregor2010-02-288-15/+22
| | | | llvm-svn: 97404
* Implement PR6423 by using one token of lookahead to disambiguate Chris Lattner2010-02-284-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 Carlsson2010-02-282-10/+30
| | | | | | to check if the vtable is a primary base in the layout class. llvm-svn: 97402
* Add another construction vtable test.Anders Carlsson2010-02-281-0/+43
| | | | llvm-svn: 97401
* Support constant-evaluation of __builtin_nans* as well as the correct constantJohn McCall2010-02-282-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 anJohn McCall2010-02-281-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 McCall2010-02-283-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 Tryzelaar2010-02-283-0/+12
| | | | llvm-svn: 97380
* Add a way to look up a type by it's name in a module.Erick Tryzelaar2010-02-284-0/+27
| | | | llvm-svn: 97379
* Add replace_all_uses_with to ocaml.Erick Tryzelaar2010-02-282-0/+7
| | | | llvm-svn: 97378
* Add support for global variables in an address space for llvm-c and ocaml.Erick Tryzelaar2010-02-286-25/+103
| | | | llvm-svn: 97377
* Add indirect br support to llvm-c and ocaml.Erick Tryzelaar2010-02-286-0/+73
| | | | llvm-svn: 97376
* Add metadata functions to llvm-c and ocaml.Erick Tryzelaar2010-02-286-1/+289
| | | | llvm-svn: 97375
* remove redundant instruction.Chris Lattner2010-02-281-2/+2
| | | | llvm-svn: 97374
* Use getBody() to get the function definition when the decl referenced is notZhongxing Xu2010-02-281-1/+1
| | | | | | definition. llvm-svn: 97373
* Add the new builder arthmetic instructions to llvm-c and ocaml.Erick Tryzelaar2010-02-286-1/+320
| | | | llvm-svn: 97372
* Add the new union arthmetic instructions to llvm-c and ocaml.Erick Tryzelaar2010-02-286-7/+61
| | | | llvm-svn: 97371
* Add generic binary op and cast builder functions.Erick Tryzelaar2010-02-282-0/+18
| | | | llvm-svn: 97370
* Rename ocaml vmcore tests to make it easier to insert tests.Erick Tryzelaar2010-02-281-228/+226
| | | | llvm-svn: 97369
* Fix incorrect uses of an ocaml llbuilder without extracting it from ocaml.Erick Tryzelaar2010-02-281-4/+3
| | | | llvm-svn: 97368
* Remove malloc and free from the ocaml bindings.Erick Tryzelaar2010-02-284-51/+3
| | | | llvm-svn: 97367
* Revert r97245 which seems to be causing performance problems.Bob Wilson2010-02-283-9/+7
| | | | llvm-svn: 97366
* Fix typo.Ted Kremenek2010-02-281-1/+1
| | | | llvm-svn: 97365
* Teach APFloat how to create both QNaNs and SNaNs and with arbitrary-widthJohn McCall2010-02-286-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 numbersChris Lattner2010-02-285-11/+26
| | | | | | it will populate. llvm-svn: 97363
* add infrastructure to support forming selectnodeto. Not used yetChris Lattner2010-02-285-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 Carlsson2010-02-283-43/+105
| | | | | | correctly (I hope). llvm-svn: 97361
* Don't try to replace physical registers when doing CSE.Dan Gohman2010-02-282-1/+51
| | | | llvm-svn: 97360
* Opt into the Verifier now that it's an opt-in feature ofDan Gohman2010-02-281-1/+10
| | | | | | addPassesToEmitFile. llvm-svn: 97358
* Add a flag to addPassesToEmit* to disable the Verifier pass runDan Gohman2010-02-287-20/+42
| | | | | | after LSR, so that clients can opt in. llvm-svn: 97357
OpenPOWER on IntegriCloud