summaryrefslogtreecommitdiffstats
path: root/llvm/lib
Commit message (Collapse)AuthorAgeFilesLines
* Flag to control exception handling.Jim Laskey2007-01-292-2/+9
| | | | llvm-svn: 33628
* Measure timings.Devang Patel2007-01-291-2/+3
| | | | llvm-svn: 33627
* Move TimingInfo into PassManagers.h so that other libs can use it.Devang Patel2007-01-291-53/+5
| | | | llvm-svn: 33626
* Disable zero landing pads for now.Jim Laskey2007-01-291-1/+2
| | | | llvm-svn: 33625
* Landing pad-less eh for PPC.Jim Laskey2007-01-295-122/+208
| | | | llvm-svn: 33622
* Remove tabs.Reid Spencer2007-01-291-2/+2
| | | | llvm-svn: 33620
* Implement use of new IntrinsicLowering interface.Reid Spencer2007-01-292-5/+10
| | | | llvm-svn: 33619
* Use TargetData to obtain the correct size of the "size_t" argument forReid Spencer2007-01-291-9/+24
| | | | | | | | functions like memcpy, memmove and memset. Ensure only one prototype is used for these functions and that it matches the system definition by using the appropriate type for the size argument. llvm-svn: 33618
* Simplify names of lattice values. SGTUNE becomes SGT, for example.Nick Lewycky2007-01-291-71/+127
| | | | | | | | | | | | | Fix initializeConstant, now initializeInt. Fixes major performance bottleneck. X == Y || X->DominatedBy(Y) is redundant. Remove the X == Y part. Fix crasher in makeEqual where getOrInsertNode would add a new constant, producing an NE relationship between the two members we're trying to make equal. This now allows us to mark more BBs as unreachable. llvm-svn: 33612
* Read from the right place.Chris Lattner2007-01-291-1/+1
| | | | llvm-svn: 33611
* Fix PR1139Chris Lattner2007-01-291-17/+24
| | | | llvm-svn: 33610
* For PR1138:Reid Spencer2007-01-281-4/+11
| | | | | | | Force memcpy to be the 32-bit variant. Since this is only used with CBE and lli which both target 32-bit machines, this should be okay. llvm-svn: 33608
* Arguments are counting from 1. not from 0. Maybe we should changeAnton Korobeynikov2007-01-281-1/+1
| | | | | | numbering somehow? E.g. make return argument the last? llvm-svn: 33606
* More cleanupAnton Korobeynikov2007-01-282-4/+5
| | | | llvm-svn: 33605
* Fix compile error "jump to case label crosses initialization".Nick Lewycky2007-01-281-5/+6
| | | | | | What compiler are people using that accepts this code? llvm-svn: 33603
* RegenerateAnton Korobeynikov2007-01-283-3599/+3980
| | | | llvm-svn: 33599
* Propagate changes from my local tree. This patch includes:Anton Korobeynikov2007-01-2818-817/+470
| | | | | | | | | | | | | | | | | | | | | | 1. New parameter attribute called 'inreg'. It has meaning "place this parameter in registers, if possible". This is some generalization of gcc's regparm(n) attribute. It's currently used only in X86-32 backend. 2. Completely rewritten CC handling/lowering code inside X86 backend. Merged stdcall + c CCs and fastcall + fast CC. 3. Dropped CSRET CC. We cannot add struct return variant for each target-specific CC (e.g. stdcall + csretcc and so on). 4. Instead of CSRET CC introduced 'sret' parameter attribute. Setting in on first attribute has meaning 'This is hidden pointer to structure return. Handle it gently'. 5. Fixed small bug in llvm-extract + add new feature to FunctionExtraction pass, which relinks all internal-linkaged callees from deleted function to external linkage. This will allow further linking everything together. NOTEs: 1. Documentation will be updated soon. 2. llvm-upgrade should be improved to translate csret => sret. Before this, there will be some unexpected test fails. llvm-svn: 33597
* This file has been dead for a long time. Remove it.Reid Spencer2007-01-281-191/+0
| | | | llvm-svn: 33596
* Fix test/Transforms/InstCombine/2007-01-27-AndICmp.ll, a miscompilation ofChris Lattner2007-01-271-1/+2
| | | | | | Mozilla that Anton tracked down. llvm-svn: 33591
* Make d'tor out-of-line.Bill Wendling2007-01-272-1/+2
| | | | llvm-svn: 33585
* implement SmallPtrSet::eraseChris Lattner2007-01-271-0/+27
| | | | llvm-svn: 33581
* add a noteChris Lattner2007-01-271-1/+2
| | | | llvm-svn: 33578
* Add a new SmallSet ADT specialized for pointers.Chris Lattner2007-01-271-0/+113
| | | | llvm-svn: 33577
* Return an X86ELFWriterInfo object.Bill Wendling2007-01-271-1/+6
| | | | llvm-svn: 33574
* Use TargetELFWriterInfo class.Bill Wendling2007-01-271-2/+2
| | | | llvm-svn: 33573
* X86 implementation of the TargetELFWriterInfo class.Bill Wendling2007-01-272-0/+46
| | | | llvm-svn: 33571
* New entry.Evan Cheng2007-01-271-0/+4
| | | | llvm-svn: 33569
* Thumb jumptable support.Evan Cheng2007-01-273-3/+32
| | | | llvm-svn: 33568
* Thumb add / sub with carry.Evan Cheng2007-01-271-1/+17
| | | | llvm-svn: 33562
* Some asm directives fixes for ELF.Lauro Ramos Venancio2007-01-261-8/+7
| | | | | | Now we can compile llvm-gcc on arm-linux-gnueabi! llvm-svn: 33558
* Fix a spelling errorNate Begeman2007-01-261-1/+1
| | | | llvm-svn: 33556
* Handle multiple functions, properly mangle symbols, and fix support forNate Begeman2007-01-262-28/+64
| | | | | | scattered relocations. llvm-svn: 33555
* rename filesJim Laskey2007-01-261-37/+37
| | | | llvm-svn: 33552
* Represent tADDspi and tSUBspi as two-address instructions.Evan Cheng2007-01-262-5/+5
| | | | llvm-svn: 33551
* Change the MachineDebugInfo to MachineModuleInfo to better reflect usageJim Laskey2007-01-2614-95/+95
| | | | | | for debugging and exception handling. llvm-svn: 33550
* Fix Data16bitsDirective for ELF.Lauro Ramos Venancio2007-01-261-1/+0
| | | | llvm-svn: 33549
* Conditional branch being fixed up is not the last MI in the BB, there is aEvan Cheng2007-01-261-13/+51
| | | | | | | | | | | | | unconditional branch following it. Simply invert the condition and swap destinations if the conditional branch can reach the destination of the unconditional branch: beq L1 b L2 => bne L2 b L1 llvm-svn: 33548
* If the constant pool value is a extern weak symbol, emit the weak reference.Lauro Ramos Venancio2007-01-261-1/+7
| | | | llvm-svn: 33543
* extload -> zextloadEvan Cheng2007-01-261-0/+5
| | | | llvm-svn: 33542
* Make LABEL a builtin opcode.Jim Laskey2007-01-2628-75/+47
| | | | llvm-svn: 33537
* Clarify some constants.Jim Laskey2007-01-261-4/+5
| | | | llvm-svn: 33536
* For PR761:Reid Spencer2007-01-264-43/+29
| | | | | | | The Module::setEndianness and Module::setPointerSize methods have been removed. Instead you can get/set the DataLayout. Adjust thise accordingly. llvm-svn: 33530
* For PR761:Reid Spencer2007-01-263-36/+16
| | | | | | | Remove the Endianness and PointerSize fields from the ModuleHeader and replace it with the DataLayout field. llvm-svn: 33529
* For PR761:Reid Spencer2007-01-261-20/+0
| | | | | | | Remove the setEndianess and setPointerSize methods. These are now handled via the setDataLayout method. llvm-svn: 33527
* Regenerate for PR645 and PR761Reid Spencer2007-01-265-3581/+3787
| | | | llvm-svn: 33525
* For PR645:Reid Spencer2007-01-263-157/+173
| | | | | | | | | | | | | | Implement separation of local and global symbols. Local symbols and types now use % prefix. Global variables and functions now use @ prefix. For PR761: Replace: target endian = target pointersize = With: target datalayout = llvm-svn: 33524
* For PR645:Reid Spencer2007-01-261-93/+53
| | | | | | | Implement new syntax for local and global symbols. Types and local symbols use the % prefix. Global variables and functions use the @ prefix. llvm-svn: 33523
* For PR645:Reid Spencer2007-01-262-42/+0
| | | | | | | Remove the Function::renameLocalSymbols function as it is no longer needed. llvm-svn: 33522
* IntegerType is a sized DerivedType too.Reid Spencer2007-01-261-0/+3
| | | | llvm-svn: 33521
* Clean up comments and assert messages that still refer to the old type names.Reid Spencer2007-01-261-12/+12
| | | | llvm-svn: 33520
OpenPOWER on IntegriCloud