Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | For PR950: | Reid Spencer | 2006-12-31 | 1 | -5/+5 | |
| | | | | | | | | | | | | | | | | | | Three changes: 1. Convert signed integer types to signless versions. 2. Implement the @sext and @zext parameter attributes. Previously the type of an function parameter was used to determine whether it should be sign extended or zero extended before the call. This information is now communicated via the function type's parameter attributes. 3. The interface to LowerCallTo had to be changed in order to accommodate the parameter attribute information. Although it would have been convenient to pass in the FunctionType itself, there isn't always one present in the caller. Consequently, a signedness indication for the result type and for each parameter was provided for in the interface to this method. All implementations were changed to make the adjustment necessary. llvm-svn: 32788 | |||||
* | Just print integer constants as signed values. The actual signedness | Reid Spencer | 2006-12-21 | 1 | -7/+1 | |
| | | | | | | doesn't matter as it is determined in the way the constant is used. llvm-svn: 32733 | |||||
* | Fix for PR1059: http://llvm.org/PR1059 | Anton Korobeynikov | 2006-12-19 | 1 | -3/+6 | |
| | | | | llvm-svn: 32685 | |||||
* | move ExtWeakSymbols to AsmPrinter | Rafael Espindola | 2006-12-18 | 1 | -0/+12 | |
| | | | | llvm-svn: 32648 | |||||
* | 1. Tidy up jump table info. | Jim Laskey | 2006-12-14 | 1 | -28/+23 | |
| | | | | | | 2. Allow the jit to handle PIC relocable jump tables. llvm-svn: 32581 | |||||
* | split up inttoptr from ptrtoint handling, the cases aren't similar at all. | Chris Lattner | 2006-12-12 | 1 | -22/+15 | |
| | | | | llvm-svn: 32471 | |||||
* | the operand of a bitcast is always the right size, just emit it in place. | Chris Lattner | 2006-12-12 | 1 | -2/+4 | |
| | | | | llvm-svn: 32470 | |||||
* | Tidy up a bit. | Reid Spencer | 2006-12-12 | 1 | -1/+1 | |
| | | | | llvm-svn: 32462 | |||||
* | Change inferred cast creation calls to more specific cast creations. | Reid Spencer | 2006-12-12 | 1 | -1/+5 | |
| | | | | llvm-svn: 32460 | |||||
* | Changed llvm_ostream et all to OStream. llvm_cerr, llvm_cout, llvm_null, are | Bill Wendling | 2006-12-07 | 1 | -19/+18 | |
| | | | | | | now cerr, cout, and NullStream resp. llvm-svn: 32298 | |||||
* | Converted to using llvm streams instead of <iostream>s | Bill Wendling | 2006-11-29 | 1 | -12/+13 | |
| | | | | llvm-svn: 31992 | |||||
* | For PR950: | Reid Spencer | 2006-11-27 | 1 | -1/+14 | |
| | | | | | | | | | | The long awaited CAST patch. This introduces 12 new instructions into LLVM to replace the cast instruction. Corresponding changes throughout LLVM are provided. This passes llvm-test, llvm/test, and SPEC CPUINT2000 with the exception of 175.vpr which fails only on a slight floating point output difference. llvm-svn: 31931 | |||||
* | Global label not handled correctly. | Jim Laskey | 2006-11-20 | 1 | -3/+11 | |
| | | | | llvm-svn: 31883 | |||||
* | Add a printSetLabel that takes two id's. | Evan Cheng | 2006-11-01 | 1 | -0/+13 | |
| | | | | llvm-svn: 31347 | |||||
* | 1. Clean up code due to changes in SwitchTo*Section(2) | Anton Korobeynikov | 2006-10-31 | 1 | -6/+6 | |
| | | | | | | | | | | 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 | |||||
* | don't print dead jump tables | Chris Lattner | 2006-10-28 | 1 | -0/+3 | |
| | | | | llvm-svn: 31266 | |||||
* | Move getPreferredAlignmentLog from AsmPrinter to TargetData | Devang Patel | 2006-10-24 | 1 | -23/+0 | |
| | | | | llvm-svn: 31171 | |||||
* | For PR950: | Reid Spencer | 2006-10-20 | 1 | -11/+12 | |
| | | | | | | | | This patch implements the first increment for the Signless Types feature. All changes pertain to removing the ConstantSInt and ConstantUInt classes in favor of just using ConstantInt. llvm-svn: 31063 | |||||
* | Clean up interface to getGlobalLinkName. | Jim Laskey | 2006-10-17 | 1 | -2/+3 | |
| | | | | llvm-svn: 31001 | |||||
* | Basic support for getGlobalLinkName. | Jim Laskey | 2006-10-17 | 1 | -0/+10 | |
| | | | | llvm-svn: 30997 | |||||
* | Jimptables working again on alpha. | Andrew Lenharth | 2006-10-11 | 1 | -1/+1 | |
| | | | | | | As a bonus, use the GOT node instead of the AlphaISD::GOT for internal stuff. llvm-svn: 30873 | |||||
* | If a target uses a GOT, put it in the jt data section, not the text | Chris Lattner | 2006-10-06 | 1 | -4/+12 | |
| | | | | | | | section. This will fix alpha when Andrew implements AlphaTargetMachine::getTargetLowering(). llvm-svn: 30779 | |||||
* | Don't crash if an MBB doesn't have an LLVM BB | Chris Lattner | 2006-10-05 | 1 | -1/+1 | |
| | | | | llvm-svn: 30757 | |||||
* | Emit pic jumptables to the same section that the function is emitted to, | Chris Lattner | 2006-10-05 | 1 | -1/+4 | |
| | | | | | | allowing label differences to work. This fixes CodeGen/X86/pic_jumptable.ll llvm-svn: 30744 | |||||
* | Pass the MachineFunction into EmitJumpTableInfo. | Chris Lattner | 2006-10-05 | 1 | -1/+2 | |
| | | | | llvm-svn: 30742 | |||||
* | move getSectionForFunction to AsmPrinter | Chris Lattner | 2006-10-05 | 1 | -0/+4 | |
| | | | | llvm-svn: 30736 | |||||
* | Use $( $| $) to represent alternatives in asm blocks instead of {|}. This | Chris Lattner | 2006-10-03 | 1 | -28/+34 | |
| | | | | | | is needed to support targets where {|} aren't special symbols. llvm-svn: 30712 | |||||
* | simplify code | Chris Lattner | 2006-09-28 | 1 | -1/+1 | |
| | | | | llvm-svn: 30659 | |||||
* | Add support for ${:private} which prints "L" on darwin. | Chris Lattner | 2006-09-27 | 1 | -1/+3 | |
| | | | | llvm-svn: 30620 | |||||
* | Add support for ${:comment}, which expands to the current target's comment | Chris Lattner | 2006-09-26 | 1 | -0/+24 | |
| | | | | | | | character, and ${:uid} which expands to a unique ID for the MachineInstr. More can be added if/when they are needed. llvm-svn: 30619 | |||||
* | Add support for targets that want to do something with the llvm.used list, | Chris Lattner | 2006-09-26 | 1 | -2/+21 | |
| | | | | | | because they have an aggressive linker that does dead code stripping. llvm-svn: 30604 | |||||
* | Add support for other relocation bases to jump tables, as well as custom asm ↵ | Andrew Lenharth | 2006-09-24 | 1 | -3/+8 | |
| | | | | | | directives llvm-svn: 30593 | |||||
* | oops | Andrew Lenharth | 2006-09-18 | 1 | -1/+0 | |
| | | | | llvm-svn: 30462 | |||||
* | absolute addresses must match pointer size | Andrew Lenharth | 2006-09-18 | 1 | -0/+1 | |
| | | | | llvm-svn: 30461 | |||||
* | Use MachineConstantPoolEntry getOffset() and getType() accessors. | Evan Cheng | 2006-09-14 | 1 | -13/+7 | |
| | | | | llvm-svn: 30326 | |||||
* | Added support for machine specific constantpool values. These are useful for | Evan Cheng | 2006-09-12 | 1 | -35/+58 | |
| | | | | | | representing expressions that can only be resolved at link time, etc. llvm-svn: 30278 | |||||
* | Make target asm info a property of the target machine. | Jim Laskey | 2006-09-07 | 1 | -1/+2 | |
| | | | | llvm-svn: 30162 | |||||
* | Fix pasto that was breaking x86 tests. | Evan Cheng | 2006-09-07 | 1 | -2/+2 | |
| | | | | llvm-svn: 30151 | |||||
* | Separate target specific asm properties from the asm printers. | Jim Laskey | 2006-09-06 | 1 | -132/+105 | |
| | | | | llvm-svn: 30126 | |||||
* | Don't call isDef on non-registers | Chris Lattner | 2006-09-05 | 1 | -1/+2 | |
| | | | | llvm-svn: 30117 | |||||
* | Emit .set directives for jump table entries when possible, which reduces | Nate Begeman | 2006-08-12 | 1 | -3/+39 | |
| | | | | | | the number of relocations in object files, shrinkifying them. llvm-svn: 29650 | |||||
* | Instead of blindly looking past constantexpr casts, actually constant | Chris Lattner | 2006-07-29 | 1 | -14/+20 | |
| | | | | | | | | fold them. This correctly truncates constants that are too large for the destination slot and makes the code easier to understand. This fixes PR853 and Regression/CodeGen/X86/2006-07-28-AsmPrint-Long-As-Pointer.ll llvm-svn: 29408 | |||||
* | Print empty inline asms as a blank line instead of: | Chris Lattner | 2006-07-28 | 1 | -1/+8 | |
| | | | | | | | | # InlineAsm Start # InlineAsm End llvm-svn: 29372 | |||||
* | Code cleanups, per review | Nate Begeman | 2006-07-27 | 1 | -3/+7 | |
| | | | | llvm-svn: 29347 | |||||
* | Support jump tables when in PIC relocation model | Nate Begeman | 2006-07-27 | 1 | -16/+18 | |
| | | | | llvm-svn: 29318 | |||||
* | On 64-bit targets like ppc64, we should use .quad to output pointer directives, | Chris Lattner | 2006-07-15 | 1 | -1/+9 | |
| | | | | | | not .long. llvm-svn: 29157 | |||||
* | Add support to print 4-, 8-, and 16- byte constant literals in special | Evan Cheng | 2006-06-29 | 1 | -10/+48 | |
| | | | | | | sections. e.g. On Darwin that would be .literal4 and .literal8. llvm-svn: 28977 | |||||
* | Was pointed out that structure alignment and type alignment are not the same | Jim Laskey | 2006-06-15 | 1 | -0/+3 | |
| | | | | | | thing. Doubles still need to be special cased. llvm-svn: 28806 | |||||
* | Alignment of globals has not been quite right. Needed to drop the pointer type | Jim Laskey | 2006-06-15 | 1 | -5/+3 | |
| | | | | | | to get the alignment of the element type. llvm-svn: 28799 | |||||
* | Assert. Rather than silently stop printing. | Evan Cheng | 2006-06-15 | 1 | -0/+2 | |
| | | | | llvm-svn: 28794 |