Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | add llvm-mc support for parsing the .lcomm directive, patch by Kevin Enderby! | Chris Lattner | 2009-07-09 | 1 | -3/+6 |
| | | | | llvm-svn: 75148 | ||||
* | Add support for other GraphViz display tools. This can help | David Greene | 2009-07-09 | 1 | -6/+48 |
| | | | | | | | with very large graphs, where dot isn't necessarily the most visually pleasing way of looking at the graph. llvm-svn: 75144 | ||||
* | remove dead function. | Chris Lattner | 2009-07-09 | 1 | -9/+0 |
| | | | | llvm-svn: 75143 | ||||
* | Misc encoding fixes; reported on llvmdev. | Eli Friedman | 2009-07-09 | 1 | -4/+4 |
| | | | | llvm-svn: 75142 | ||||
* | eraseFromDisk no longer throws. | Chris Lattner | 2009-07-09 | 1 | -4/+1 |
| | | | | llvm-svn: 75139 | ||||
* | There's no need to consider PHI nodes in the same block as the instruction | Nick Lewycky | 2009-07-09 | 1 | -0/+4 |
| | | | | | | we're inserting sigma/phi functions for. Patch by Andre Tavares. llvm-svn: 75138 | ||||
* | Add some statistics to SSI so we can see what it's up to. | Nick Lewycky | 2009-07-09 | 1 | -0/+43 |
| | | | | | | Add an -ssi-everything pass which calls createSSI on everything in the function. llvm-svn: 75135 | ||||
* | Missing ) | Bill Wendling | 2009-07-09 | 1 | -1/+1 |
| | | | | llvm-svn: 75126 | ||||
* | Add a -t="dir" option to the driver. This can be used to specify the ↵ | Sanjiv Gupta | 2009-07-09 | 2 | -0/+11 |
| | | | | | | directory to be used as TempDir if somebody doesn't want to use the standard /tmp. llvm-svn: 75121 | ||||
* | simplify this logic a bit more. | Chris Lattner | 2009-07-09 | 1 | -6/+2 |
| | | | | llvm-svn: 75118 | ||||
* | move reasoning about darwin $non_lazy_ptr stubs from asmprinter into | Chris Lattner | 2009-07-09 | 4 | -40/+98 |
| | | | | | | isel. llvm-svn: 75117 | ||||
* | Targets sometimes assign fixed stack object to spill certain callee-saved | Evan Cheng | 2009-07-09 | 4 | -8/+29 |
| | | | | | | | | | | registers based on dynamic conditions. For example, X86 EBP/RBP, when used as frame register has to be spilled in the first fixed object. It should inform PEI this so it doesn't get allocated another stack object. Also, it should not be spilled as other callee-saved registers but rather its spilling and restoring are being handled by emitPrologue and emitEpilogue. Avoid spilling it twice. llvm-svn: 75116 | ||||
* | Reorg includes. | Evan Cheng | 2009-07-09 | 2 | -2/+1 |
| | | | | llvm-svn: 75115 | ||||
* | rearrange some code, no functionality change. | Chris Lattner | 2009-07-09 | 1 | -23/+28 |
| | | | | llvm-svn: 75113 | ||||
* | make direct calls set MO_PLT or MO_DARWIN_STUB as appropriate with fast isel. | Chris Lattner | 2009-07-09 | 1 | -7/+36 |
| | | | | llvm-svn: 75112 | ||||
* | reduce nesting by rearranging branches. | Chris Lattner | 2009-07-09 | 1 | -17/+12 |
| | | | | llvm-svn: 75110 | ||||
* | make isel use MO_PIC_BASE_OFFSET when lowering globalvalues on darwin in pic | Chris Lattner | 2009-07-09 | 2 | -6/+5 |
| | | | | | | mode, instead of having asmprinter just "know" to print them. llvm-svn: 75109 | ||||
* | various minor cleanups, no functionality change. | Chris Lattner | 2009-07-09 | 1 | -6/+6 |
| | | | | llvm-svn: 75108 | ||||
* | make isel decide whether to emit $stub's on darwin instead of asmprinter. | Chris Lattner | 2009-07-09 | 3 | -48/+48 |
| | | | | llvm-svn: 75107 | ||||
* | pc-relative references are *always* to functions, never to globals. ISel | Chris Lattner | 2009-07-09 | 1 | -21/+8 |
| | | | | | | is incapable of lowering direct references to globals like this, zap the code. llvm-svn: 75106 | ||||
* | make cygwin use its own stubs set, instead of overloading a darwin one. | Chris Lattner | 2009-07-09 | 2 | -4/+3 |
| | | | | llvm-svn: 75105 | ||||
* | Make isel determine where to emit PLT-relative calls instead of having | Chris Lattner | 2009-07-09 | 2 | -18/+31 |
| | | | | | | asmprinter do it. llvm-svn: 75104 | ||||
* | isPICStyleStub() is now never true in -static mode, so simplify code. | Chris Lattner | 2009-07-09 | 1 | -9/+4 |
| | | | | llvm-svn: 75102 | ||||
* | simplify some code based on the fact that picstyles != none are only valid | Chris Lattner | 2009-07-09 | 4 | -23/+16 |
| | | | | | | in pic or dynamic-no-pic mode. Also, x86-64 never used picstylegot. llvm-svn: 75101 | ||||
* | all this logic always returns true because GOT mode is never active in ↵ | Chris Lattner | 2009-07-09 | 1 | -16/+5 |
| | | | | | | | | x86-64 mode. Simplify it away, someone should evaluate this. llvm-svn: 75100 | ||||
* | isPICStyleRIPRel() and friends are never true in -static mode. | Chris Lattner | 2009-07-09 | 2 | -36/+29 |
| | | | | | | Simplify code based on this. llvm-svn: 75099 | ||||
* | Move PR4517 to README.txt. | Nick Lewycky | 2009-07-09 | 1 | -0/+22 |
| | | | | llvm-svn: 75098 | ||||
* | Improved tracking of value number kills. VN kills are now represented | Lang Hames | 2009-07-09 | 6 | -42/+102 |
| | | | | | | | | | | | | as an (index,bool) pair. The bool flag records whether the kill is a PHI kill or not. This code will be used to enable splitting of live intervals containing PHI-kills. A slight change to live interval weights introduced an extra spill into lsr-code-insertion (outside the critical sections). The test condition has been updated to reflect this. llvm-svn: 75097 | ||||
* | .o file writing shouldn't mess around with pic/relo models like the JIT does. | Chris Lattner | 2009-07-09 | 1 | -18/+0 |
| | | | | llvm-svn: 75096 | ||||
* | move a hack out of the asm-printer specific path to the main target ↵ | Chris Lattner | 2009-07-09 | 1 | -12/+17 |
| | | | | | | selection path. llvm-svn: 75095 | ||||
* | many more cleanups, for example if in the "none" pic-style, | Chris Lattner | 2009-07-09 | 1 | -26/+26 |
| | | | | | | | make sure we're set to static codegen. Simplify the decision tree of target->picstyle/picmode settings. llvm-svn: 75094 | ||||
* | Reduce indentation in GVRequiresExtraLoad. Return true for windows | Chris Lattner | 2009-07-09 | 1 | -26/+28 |
| | | | | | | with DLLImport symbols even when in -static mode. llvm-svn: 75093 | ||||
* | When in -static mode, force the PIC style to none. Doing this requires fixing | Chris Lattner | 2009-07-09 | 3 | -19/+33 |
| | | | | | | | code which conflated RIPRel PIC with x86-64. Fix these to just check for X86-64 directly. llvm-svn: 75092 | ||||
* | merge two identical functions and simplify things that are GOT specific | Chris Lattner | 2009-07-09 | 1 | -41/+33 |
| | | | | llvm-svn: 75091 | ||||
* | hoist check for IsTailCall to callers. Eliminate redundant check for | Chris Lattner | 2009-07-09 | 1 | -10/+6 |
| | | | | | | x86-64: GOT-style PIC is never used on x86-64. llvm-svn: 75090 | ||||
* | change a few methods to be static functions. | Chris Lattner | 2009-07-09 | 2 | -14/+17 |
| | | | | llvm-svn: 75089 | ||||
* | one more added assert. | Chris Lattner | 2009-07-09 | 1 | -1/+3 |
| | | | | llvm-svn: 75088 | ||||
* | move handling of dllimport linkage in isel, not in asmprinter. | Chris Lattner | 2009-07-09 | 4 | -17/+27 |
| | | | | llvm-svn: 75086 | ||||
* | one more assertion! | Chris Lattner | 2009-07-09 | 1 | -1/+3 |
| | | | | llvm-svn: 75083 | ||||
* | add some more assertions. Remove code to handle dllimport on darwin. | Chris Lattner | 2009-07-09 | 1 | -3/+6 |
| | | | | llvm-svn: 75082 | ||||
* | Make SelectionDAG::getVectorShuffle work properly for VECTOR_SHUFFLE | Dan Gohman | 2009-07-09 | 1 | -2/+2 |
| | | | | | | | | nodes with operand types that differ from the result type. (This doesn't normally happen right now, because SelectionDAGLowering::visitShuffleVector normalizes vector shuffles.) llvm-svn: 75081 | ||||
* | remove "asmcall", using print_pcrel_imm instead of printOperand. | Chris Lattner | 2009-07-09 | 1 | -27/+8 |
| | | | | llvm-svn: 75080 | ||||
* | simplify some logic | Chris Lattner | 2009-07-09 | 1 | -13/+15 |
| | | | | llvm-svn: 75079 | ||||
* | * add some assertions for sanity checking. | Chris Lattner | 2009-07-09 | 1 | -23/+25 |
| | | | | | | | | * remove some old code that was needed when we'd put ESP in the scale instead of the base of some instructions. * Fix a bug with the P modifier in inline asm that caused us to drop it. llvm-svn: 75077 | ||||
* | LLVMContext-ification. | Owen Anderson | 2009-07-08 | 2 | -7/+10 |
| | | | | llvm-svn: 75072 | ||||
* | Use common code for both ARM and Thumb-2 instruction and register info. | David Goodwin | 2009-07-08 | 13 | -1125/+106 |
| | | | | llvm-svn: 75067 | ||||
* | * manually concatenate two string literals | Chris Lattner | 2009-07-08 | 1 | -3/+1 |
| | | | | | | * remove some dead code: darwin doesn't support dllimport linkage. llvm-svn: 75066 | ||||
* | - Add some NEON ld / st instruction static encoding. | Evan Cheng | 2009-07-08 | 2 | -4/+38 |
| | | | | | | | - Make bits 25-27 for ldrh, etc. explicitly zero. Previously only the JIT uses the encoding information and it's assuming anything not specified to be zero. Making them explicit so the disassembler is happy. Patch by Sean Callanan. llvm-svn: 75065 | ||||
* | Fix thinko. | Devang Patel | 2009-07-08 | 1 | -1/+1 |
| | | | | llvm-svn: 75061 | ||||
* | Fix the AssertingVH unittests. | Jeffrey Yasskin | 2009-07-08 | 1 | -2/+1 |
| | | | | llvm-svn: 75060 |