summaryrefslogtreecommitdiffstats
path: root/llvm/lib
Commit message (Collapse)AuthorAgeFilesLines
* Make Value::getNameLen not crash on an empty name, fixing PR1712.Chris Lattner2007-09-281-1/+1
| | | | llvm-svn: 42444
* Remove a poor scheduling heuristic.Evan Cheng2007-09-281-34/+5
| | | | llvm-svn: 42443
* Trim some unneeded fields.Evan Cheng2007-09-283-26/+12
| | | | llvm-svn: 42442
* Fix long double -> uint64 conversion.Dale Johannesen2007-09-281-1/+5
| | | | llvm-svn: 42440
* minor long double related changesDale Johannesen2007-09-283-4/+21
| | | | llvm-svn: 42439
* Make the checks for DW_FORM_data4 consistent with the others, andDan Gohman2007-09-281-2/+6
| | | | | | add more such code for DIEDwarfLabel::SizeOf and DIEObjectLabel::SizeOf. llvm-svn: 42435
* Use 32-bit data directives for DW_FORM_data4 format data, even onDan Gohman2007-09-281-8/+10
| | | | | | targets with 64-bit addresses. llvm-svn: 42434
* Refactor the memcpy lowering for the x86 target.Rafael Espindola2007-09-282-56/+62
| | | | | | | | The only generated code difference is that now we call memcpy when the size of the array is unknown. This matches GCC behavior and is better since the run time value can be arbitrarily large. llvm-svn: 42433
* Stop inventing new words. :-)Evan Cheng2007-09-281-1/+1
| | | | llvm-svn: 42429
* Remove unneeded #include.Owen Anderson2007-09-281-1/+0
| | | | llvm-svn: 42428
* Have PostDomTree use the newly templated DFSPass.Owen Anderson2007-09-283-51/+3
| | | | llvm-svn: 42427
* Pessimisively assume ADJCALLSTACKDOWN / ADJCALLSTACKUP (which becomes sub / ↵Evan Cheng2007-09-281-1/+3
| | | | | | add) clobbers EFLAGS. llvm-svn: 42426
* Add sqrt and powi intrinsics for long double.Dale Johannesen2007-09-284-6/+25
| | | | llvm-svn: 42423
* Don't do SRA for unions with long double fields.Dale Johannesen2007-09-281-0/+6
| | | | | | Fixes a SWB crash. llvm-svn: 42422
* Convert DFSPass into a templated friend function, in preparation for making ↵Owen Anderson2007-09-273-66/+5
| | | | | | it common to DomTree and PostDomTree. llvm-svn: 42420
* TargetAsmInfo::getAddressSize() was incorrect for x86-64 and 64-bit targetsDan Gohman2007-09-274-19/+18
| | | | | | | | other than PPC64. Instead of fixing it, just remove it and fix all the places that use it to use TargetData::getPointerSize() instead, as there aren't very many. Most of the references were in DwarfWriter.cpp. llvm-svn: 42419
* CollectorMetadata abstractly describes stack maps for a function.Gordon Henriksen2007-09-271-0/+185
| | | | | | | | | | | | | | | | | | | | It includes: - location and of each safe point in machine code (identified by a label) - location of each root within the stack frame (identified by an offset), including the metadata tag provided to llvm.gcroot in the user program - size of the stack frame (for collectors which want to cheat on stack crawling :) - and eventually will include liveness It is to be populated by back-ends during code-generation. CollectorModuleMetadata aggregates this information across the entire module. llvm-svn: 42418
* Use GR64 in 64-bit mode.Evan Cheng2007-09-271-1/+4
| | | | llvm-svn: 42417
* My previous Registry.h header, as well as Collectors.h, which is theGordon Henriksen2007-09-271-0/+21
| | | | | | registry for dynamically-loaded garbage collection compiler plugins. llvm-svn: 42415
* Doh. Calls clobber EFLAGS.Evan Cheng2007-09-271-1/+1
| | | | llvm-svn: 42413
* Avoid inserting a live register more than once.Evan Cheng2007-09-271-8/+18
| | | | llvm-svn: 42410
* Ignore redundant constraintsDaniel Berlin2007-09-271-2/+20
| | | | llvm-svn: 42397
* Build the correct range for loops with unusual bounds. Fix from Jay Foad.Nick Lewycky2007-09-271-1/+1
| | | | llvm-svn: 42394
* Silence a compiler warning.Evan Cheng2007-09-271-1/+1
| | | | llvm-svn: 42389
* Boogs.Evan Cheng2007-09-271-10/+10
| | | | llvm-svn: 42388
* Be smarter about which node to force schedule. Reduce # of duplications + ↵Evan Cheng2007-09-271-84/+120
| | | | | | copies; Added statistics. llvm-svn: 42387
* Backtracking only when it won't create a cycle.Evan Cheng2007-09-271-23/+35
| | | | llvm-svn: 42384
* Make temporaries explicit to avoid prematureDale Johannesen2007-09-264-5/+14
| | | | | | destruction of compiler-created ones. llvm-svn: 42383
* - Move getPhysicalRegisterRegClass() from ScheduleDAG to MRegisterInfo.Evan Cheng2007-09-263-89/+206
| | | | | | | - Added ability to emit cross class register copies to the BBRU scheduler. - More aggressive backtracking. llvm-svn: 42375
* Whitespace and compiler warning cleanup.Neil Booth2007-09-261-76/+91
| | | | llvm-svn: 42373
* - Added MRegisterInfo::getCrossCopyRegClass() hook. For register classes ↵Evan Cheng2007-09-262-0/+33
| | | | | | | | where reg to reg copies are not possible, this returns another register class which registers in the specified register class can be copied to (and copy back from). - X86 copyRegToReg() now supports copying between EFLAGS and GR32 / GR64 registers. llvm-svn: 42372
* Some assemblers do not recognize aliases pushfd, pushfq, popfd, and popfq. ↵Evan Cheng2007-09-262-4/+4
| | | | | | Just emit them as pushf and popf. llvm-svn: 42371
* Enable codegen for long double abs, sin, cosDale Johannesen2007-09-262-3/+10
| | | | llvm-svn: 42368
* Added C and Ocaml bindings for functions, basic blocks, and Gordon Henriksen2007-09-261-9/+453
| | | | | | | | | instruction creation. No support yet for instruction introspection. Also eliminated allocas from the Ocaml bindings for portability, and avoided unnecessary casts. llvm-svn: 42367
* Fix f80 UNDEF.Dale Johannesen2007-09-261-1/+2
| | | | llvm-svn: 42359
* Typos: POPQ -> POPFQ, POPD -> POPFD.Evan Cheng2007-09-262-2/+2
| | | | llvm-svn: 42348
* move PR1160 here.Chris Lattner2007-09-261-0/+31
| | | | llvm-svn: 42347
* Allow copyRegToReg to emit cross register classes copies.Evan Cheng2007-09-2620-60/+113
| | | | | | Tested with "make check"! llvm-svn: 42346
* move PR1264 here.Chris Lattner2007-09-261-1/+28
| | | | llvm-svn: 42345
* Add pushf{d|q}, popf{d|q} to push and pop EFLAGS register.Evan Cheng2007-09-262-4/+12
| | | | llvm-svn: 42335
* translateX86CC updates the last two operands.Evan Cheng2007-09-261-2/+5
| | | | llvm-svn: 42333
* Correctly restore stack pointer after realignment in main() on Cygwin/Mingw32Anton Korobeynikov2007-09-261-1/+8
| | | | llvm-svn: 42332
* Remove no-longer-used variable.Dale Johannesen2007-09-251-3/+2
| | | | llvm-svn: 42329
* Make APFloat->int conversions deterministic even inDale Johannesen2007-09-252-7/+33
| | | | | | cases with undefined behavior. llvm-svn: 42328
* Missing load / store folding entries.Evan Cheng2007-09-251-0/+8
| | | | llvm-svn: 42323
* Partly revert invalid r41774Anton Korobeynikov2007-09-251-0/+20
| | | | llvm-svn: 42322
* More explicit keywords.Dan Gohman2007-09-257-9/+9
| | | | llvm-svn: 42316
* Add a newline to the end of this file.Duncan Sands2007-09-251-1/+1
| | | | llvm-svn: 42314
* Fix a typo in a comment.Dan Gohman2007-09-251-1/+1
| | | | llvm-svn: 42313
* New style x87 cmp instructions.Evan Cheng2007-09-252-0/+24
| | | | llvm-svn: 42312
OpenPOWER on IntegriCloud