Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | 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 | |||||
* | Fix an assert-on-inline-inline-asm bug. | Chris Lattner | 2006-06-08 | 1 | -12/+18 | |
| | | | | llvm-svn: 28727 | |||||
* | Remove dead var | Chris Lattner | 2006-05-12 | 1 | -1/+0 | |
| | | | | llvm-svn: 28250 | |||||
* | Refactor a bunch of includes so that TargetMachine.h doesn't have to include | Owen Anderson | 2006-05-12 | 1 | -0/+1 | |
| | | | | | | | TargetData.h. This should make recompiles a bit faster with my current TargetData tinkering. llvm-svn: 28238 | |||||
* | Fix a regression in my patch from last night that broke the llvmgcc4 build on | Chris Lattner | 2006-05-09 | 1 | -1/+1 | |
| | | | | | | ppc llvm-svn: 28205 | |||||
* | Implement MASM sections correctly, without a "has masm sections flag" and a ↵ | Chris Lattner | 2006-05-09 | 1 | -27/+17 | |
| | | | | | | bunch of special case code. llvm-svn: 28194 | |||||
* | Oh yeah, there are two of these now, unify both. | Chris Lattner | 2006-05-09 | 1 | -22/+15 | |
| | | | | llvm-svn: 28192 | |||||
* | Setting SwitchToSectionDirective properly in the MASM backend permits a bunch | Chris Lattner | 2006-05-09 | 1 | -22/+15 | |
| | | | | | | of code to be unified. llvm-svn: 28191 | |||||
* | Don't prefix section directives with a tab. Doing so causes blank lines to | Chris Lattner | 2006-05-09 | 1 | -1/+1 | |
| | | | | | | be emitted to the .s file. llvm-svn: 28189 | |||||
* | Make the masm codepath work like the normal code path. | Chris Lattner | 2006-05-09 | 1 | -2/+4 | |
| | | | | llvm-svn: 28188 | |||||
* | The MASM asmprinter has been fixed, these hacks are no longer needed. | Chris Lattner | 2006-05-09 | 1 | -20/+2 | |
| | | | | llvm-svn: 28186 | |||||
* | Split SwitchSection into SwitchTo{Text|Data}Section methods. | Chris Lattner | 2006-05-09 | 1 | -14/+56 | |
| | | | | llvm-svn: 28184 | |||||
* | Fix some loose ends in MASM support. | Jeff Cohen | 2006-05-06 | 1 | -5/+5 | |
| | | | | llvm-svn: 28148 | |||||
* | Indent multiline asm strings more nicely | Chris Lattner | 2006-05-05 | 1 | -5/+9 | |
| | | | | llvm-svn: 28132 | |||||
* | Refactor TargetMachine, pushing handling of TargetData into the ↵ | Owen Anderson | 2006-05-03 | 1 | -16/+16 | |
| | | | | | | | | target-specific subclasses. This has one caller-visible change: getTargetData() now returns a pointer instead of a reference. This fixes PR 759. llvm-svn: 28074 | |||||
* | Print function number instead of name | Nate Begeman | 2006-05-02 | 1 | -3/+2 | |
| | | | | llvm-svn: 28057 | |||||
* | Extend printBasicBlockLabel a bit so that it can be used to print all | Nate Begeman | 2006-05-02 | 1 | -3/+8 | |
| | | | | | | | basic block labels, consolidating the code to do so in one place for each target. llvm-svn: 28050 | |||||
* | De-virtualize SwitchSection. | Jeff Cohen | 2006-05-02 | 1 | -10/+42 | |
| | | | | llvm-svn: 28047 | |||||
* | De-virtualize EmitZeroes. | Jeff Cohen | 2006-05-02 | 1 | -3/+7 | |
| | | | | llvm-svn: 28046 | |||||
* | Make Intel syntax mode friendlier to Microsoft ML assembler (still needs ↵ | Jeff Cohen | 2006-05-02 | 1 | -10/+16 | |
| | | | | | | more work). llvm-svn: 28044 | |||||
* | Format #APP lines a bit nicer | Chris Lattner | 2006-05-01 | 1 | -2/+2 | |
| | | | | llvm-svn: 28026 | |||||
* | JumpTable support! What this represents is working asm and jit support for | Nate Begeman | 2006-04-22 | 1 | -0/+38 | |
| | | | | | | | | x86 and ppc for 100% dense switch statements when relocations are non-PIC. This support will be extended and enhanced in the coming days to support PIC, and less dense forms of jump tables. llvm-svn: 27947 | |||||
* | Use "llvm.metadata" section for debug globals. Filter out these globals in the | Jim Laskey | 2006-03-07 | 1 | -2/+6 | |
| | | | | | | asm printer. llvm-svn: 26599 | |||||
* | Move #include "llvm/CodeGen/AsmPrinter.h" to top since it's the interface. | Evan Cheng | 2006-03-03 | 1 | -1/+1 | |
| | | | | llvm-svn: 26493 | |||||
* | Don't print llvm constant in assmebly file. Assembler won't like comments that | Evan Cheng | 2006-03-01 | 1 | -1/+3 | |
| | | | | | | span multiple lines. llvm-svn: 26463 | |||||
* | Use the PrintAsmMemoryOperand to print addressing modes. | Chris Lattner | 2006-02-24 | 1 | -4/+19 | |
| | | | | llvm-svn: 26364 | |||||
* | Pass all the flags to the asm printer, not just the # operands. | Chris Lattner | 2006-02-24 | 1 | -2/+4 | |
| | | | | llvm-svn: 26362 | |||||
* | Record all of the expanded registers in the DAG and machine instr, fixing | Chris Lattner | 2006-02-23 | 1 | -5/+12 | |
| | | | | | | several bugs in inline asm expanded operands. llvm-svn: 26332 | |||||
* | Adjust to MachineConstantPool interface change: instead of keeping a | Chris Lattner | 2006-02-09 | 1 | -1/+7 | |
| | | | | | | value/alignment pair for each constant, keep a value/offset pair. llvm-svn: 26078 | |||||
* | rename fields of constant pool entries | Chris Lattner | 2006-02-09 | 1 | -4/+4 | |
| | | | | llvm-svn: 26076 | |||||
* | Simplify code, alignment must be specified now. | Chris Lattner | 2006-02-09 | 1 | -10/+1 | |
| | | | | llvm-svn: 26074 | |||||
* | Add support for assembler directives that wrap inline asm | Chris Lattner | 2006-02-08 | 1 | -1/+4 | |
| | | | | llvm-svn: 26065 | |||||
* | Add support for modifier characters to operand printers | Chris Lattner | 2006-02-06 | 1 | -2/+21 | |
| | | | | llvm-svn: 26021 | |||||
* | make sure that global doubles are aligned to 8 bytes | Chris Lattner | 2006-02-05 | 1 | -5/+10 | |
| | | | | llvm-svn: 25981 | |||||
* | Implement the AsmPrinter::getPreferredAlignmentLog method. | Chris Lattner | 2006-02-05 | 1 | -0/+16 | |
| | | | | llvm-svn: 25978 | |||||
* | Implement smart printing of inline asm strings, handling variants and | Chris Lattner | 2006-02-01 | 1 | -5/+112 | |
| | | | | | | | | | | | | | | | | | | | | | | substituted operands. For this testcase: int %test(int %A, int %B) { %C = call int asm "xyz $0, $1, $2", "=r,r,r"(int %A, int %B) ret int %C } we now emit: _test: or r2, r3, r3 or r3, r4, r4 xyz r2, r2, r3 ;; look here or r3, r2, r2 blr ... note the substituted operands. :) llvm-svn: 25886 |