Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Putting more constants which do not contain relocations into .literal{4|8|16} | Evan Cheng | 2007-03-08 | 1 | -6/+9 |
| | | | | llvm-svn: 35026 | ||||
* | For Darwin, put constant data into .const, .const_data, .literal{4|8|16} | Evan Cheng | 2007-03-08 | 1 | -2/+24 |
| | | | | | | sections. llvm-svn: 35017 | ||||
* | Emit low/high immediate loads properly for Linux/PPC. | Nick Lewycky | 2007-03-03 | 1 | -6/+10 |
| | | | | llvm-svn: 34871 | ||||
* | Add support for changes in DwarfWriter. | Jim Laskey | 2007-02-21 | 1 | -0/+14 |
| | | | | llvm-svn: 34478 | ||||
* | Fix CodeGen/PowerPC/2007-01-31-InlineAsmAddrMode.ll | Chris Lattner | 2007-02-01 | 1 | -1/+4 |
| | | | | llvm-svn: 33732 | ||||
* | For PR1136: Rename GlobalVariable::isExternal as isDeclaration to avoid | Reid Spencer | 2007-01-30 | 1 | -2/+2 |
| | | | | | | confusion with external linkage types. llvm-svn: 33663 | ||||
* | Darwin -static should codegen static ctors / dtors to .constructor / ↵ | Evan Cheng | 2007-01-30 | 1 | -1/+8 |
| | | | | | | .destructor sections. llvm-svn: 33657 | ||||
* | Change the MachineDebugInfo to MachineModuleInfo to better reflect usage | Jim Laskey | 2007-01-26 | 1 | -5/+5 |
| | | | | | | for debugging and exception handling. llvm-svn: 33550 | ||||
* | Fix test/CFrontend/2007-01-24-InlineAsmCModifier.c on PPC | Chris Lattner | 2007-01-25 | 1 | -0/+4 |
| | | | | llvm-svn: 33494 | ||||
* | add support for hidden visibility to darwin/ppc and linux/ppc targets | Chris Lattner | 2007-01-14 | 1 | -1/+21 |
| | | | | llvm-svn: 33200 | ||||
* | Changes from Nick Lewycky with a simplified PPCTargetAsmInfo. | Jim Laskey | 2006-12-21 | 1 | -1/+223 |
| | | | | llvm-svn: 32735 | ||||
* | Oops. | Jim Laskey | 2006-12-20 | 1 | -1/+1 |
| | | | | llvm-svn: 32724 | ||||
* | Original patch was overly complicated. | Jim Laskey | 2006-12-20 | 1 | -34/+11 |
| | | | | llvm-svn: 32723 | ||||
* | Changes to target powerpc for non-Darwin assemblers. | Jim Laskey | 2006-12-20 | 1 | -10/+62 |
| | | | | | | | | 1. Patches from Nick Lewycky. 2. Code to filter register names and print them as numeric values on non-Darwin systems. llvm-svn: 32721 | ||||
* | eliminate static ctors for Statistic objects. | Chris Lattner | 2006-12-19 | 1 | -2/+2 |
| | | | | llvm-svn: 32703 | ||||
* | move ExtWeakSymbols to AsmPrinter | Rafael Espindola | 2006-12-18 | 1 | -15/+3 |
| | | | | llvm-svn: 32648 | ||||
* | Honor cpu directive, take two. | Jim Laskey | 2006-12-12 | 1 | -17/+20 |
| | | | | llvm-svn: 32492 | ||||
* | Rollback changes to take a different tack. | Jim Laskey | 2006-12-12 | 1 | -0/+5 |
| | | | | llvm-svn: 32488 | ||||
* | Honor the command line specification for machine type. | Jim Laskey | 2006-12-12 | 1 | -1/+12 |
| | | | | llvm-svn: 32483 | ||||
* | What should be the last unnecessary <iostream>s in the library. | Bill Wendling | 2006-12-07 | 1 | -3/+2 |
| | | | | llvm-svn: 32333 | ||||
* | Detemplatize the Statistic class. The only type it is instantiated with | Chris Lattner | 2006-12-06 | 1 | -1/+1 |
| | | | | | | is 'unsigned'. llvm-svn: 32279 | ||||
* | Add weak reference directive. | Evan Cheng | 2006-12-01 | 1 | -5/+7 |
| | | | | llvm-svn: 32091 | ||||
* | Copy and paste error. An initialized global cannot be a weak reference. | Evan Cheng | 2006-12-01 | 1 | -3/+0 |
| | | | | llvm-svn: 32075 | ||||
* | ExternalWeak case in wrong location. | Jim Laskey | 2006-12-01 | 1 | -1/+1 |
| | | | | llvm-svn: 32073 | ||||
* | A initialized global variable cannot be extern weak. However, if a global ↵ | Evan Cheng | 2006-12-01 | 1 | -0/+10 |
| | | | | | | value's initializer is itself a external weak symbol, emit the weak reference. llvm-svn: 32069 | ||||
* | Darwin PPC external weak linkage support. | Evan Cheng | 2006-12-01 | 1 | -1/+15 |
| | | | | llvm-svn: 32068 | ||||
* | Prime text sections to improve branch locality in large object files. | Jim Laskey | 2006-11-28 | 1 | -0/+13 |
| | | | | llvm-svn: 31969 | ||||
* | Pretty print 'rldicr r2, r2, 2, 61' as 'sldi r2, r2, 2'. | Chris Lattner | 2006-11-18 | 1 | -0/+12 |
| | | | | llvm-svn: 31838 | ||||
* | start using PPC predicates more consistently. | Chris Lattner | 2006-11-17 | 1 | -0/+1 |
| | | | | llvm-svn: 31833 | ||||
* | fix a regression that I introduced. stdu should scale the offset by 4 | Chris Lattner | 2006-11-16 | 1 | -1/+10 |
| | | | | | | before printing it. llvm-svn: 31791 | ||||
* | Go through all kinds of trouble to mark 'blr' as having a predicate operand | Chris Lattner | 2006-11-04 | 1 | -0/+30 |
| | | | | | | | | | | that takes a register and condition code. Print these pieces of BLR the right way, even though it is currently set to 'always'. Next up: get the JIT encoding right, then enhance branch folding to produce predicated blr for simple examples. llvm-svn: 31449 | ||||
* | For PR786: | Reid Spencer | 2006-11-02 | 1 | -2/+0 |
| | | | | | | | | | | Turn on -Wunused and -Wno-unused-parameter. Clean up most of the resulting fall out by removing unused variables. Remaining warnings have to do with unused functions (I didn't want to delete code without review) and unused variables in generated code. Maintainers should clean up the remaining issues when they see them. All changes pass DejaGnu tests and Olden. llvm-svn: 31380 | ||||
* | 1. Clean up code due to changes in SwitchTo*Section(2) | Anton Korobeynikov | 2006-10-31 | 1 | -5/+5 |
| | | | | | | | | | | 2. Added partial debug support for mingw\cygwin targets (the same as Linux\ELF). Please note, that currently mingw\cygwin uses 'stabs' format for storing debug info by default, thus many (runtime) libraries has this information included. These formats shouldn't be mixed in one binary ('stabs' & 'DWARF'), otherwise binutils tools will be confused. llvm-svn: 31311 | ||||
* | Doh. Must check if GV is constant first before putting it in .cstring. | Evan Cheng | 2006-10-28 | 1 | -2/+2 |
| | | | | llvm-svn: 31253 | ||||
* | Place cstrings in .cstring section. | Evan Cheng | 2006-10-26 | 1 | -0/+8 |
| | | | | llvm-svn: 31207 | ||||
* | Move getPreferredAlignmentLog from AsmPrinter to TargetData | Devang Patel | 2006-10-24 | 1 | -1/+1 |
| | | | | llvm-svn: 31171 | ||||
* | Pass the MachineFunction into EmitJumpTableInfo. | Chris Lattner | 2006-10-05 | 1 | -1/+1 |
| | | | | llvm-svn: 30742 | ||||
* | Move getSectionForFunction to AsmPrinter, change it to return a string. | Chris Lattner | 2006-10-05 | 1 | -2/+17 |
| | | | | llvm-svn: 30735 | ||||
* | implement DarwinTargetAsmInfo::getSectionForFunction, use it when outputting | Chris Lattner | 2006-10-05 | 1 | -4/+2 |
| | | | | | | function bodies llvm-svn: 30733 | ||||
* | emit jump table before debug info | Chris Lattner | 2006-10-05 | 1 | -3/+3 |
| | | | | llvm-svn: 30731 | ||||
* | Always emit the jump table after the function so it's part of the same 'atom' | Chris Lattner | 2006-10-05 | 1 | -3/+3 |
| | | | | | | as the function body. llvm-svn: 30730 | ||||
* | The DarwinAsmPrinter need not check for isDarwin. createPPCAsmPrinterPass | Chris Lattner | 2006-09-20 | 1 | -11/+12 |
| | | | | | | should create the right asmprinter subclass. llvm-svn: 30542 | ||||
* | Wrap some darwin'isms with isDarwin checks. | Chris Lattner | 2006-09-20 | 1 | -4/+7 |
| | | | | llvm-svn: 30541 | ||||
* | Make target asm info a property of the target machine. | Jim Laskey | 2006-09-07 | 1 | -40/+4 |
| | | | | llvm-svn: 30162 | ||||
* | Separate target specific asm properties from the asm printers. | Jim Laskey | 2006-09-06 | 1 | -45/+40 |
| | | | | llvm-svn: 30126 | ||||
* | s|llvm/Support/Visibility.h|llvm/Support/Compiler.h| | Chris Lattner | 2006-08-27 | 1 | -1/+1 |
| | | | | llvm-svn: 29911 | ||||
* | Encode pc-relative conditional branch offset as pc+(num of bytes / 4). The | Evan Cheng | 2006-08-25 | 1 | -1/+1 |
| | | | | | | | | | asm printer will print it as offset*4. e.g. bne cr0, $+8. The PPC code emitter was expecting the offset to be number of instructions, not number of bytes. This fixes a whole bunch of JIT failures. llvm-svn: 29885 | ||||
* | Emit .set directives for jump table entries when possible, which reduces | Nate Begeman | 2006-08-12 | 1 | -0/+1 |
| | | | | | | the number of relocations in object files, shrinkifying them. llvm-svn: 29650 | ||||
* | Support jump tables when in PIC relocation model | Nate Begeman | 2006-07-27 | 1 | -2/+2 |
| | | | | llvm-svn: 29318 | ||||
* | Rename RelocModel::PIC to PIC_, to avoid conflicts with -DPIC. | Chris Lattner | 2006-07-26 | 1 | -3/+3 |
| | | | | llvm-svn: 29307 |