summaryrefslogtreecommitdiffstats
path: root/llvm/lib
Commit message (Collapse)AuthorAgeFilesLines
* add llvm-mc support for parsing the .lcomm directive, patch by Kevin Enderby!Chris Lattner2009-07-091-3/+6
| | | | llvm-svn: 75148
* Add support for other GraphViz display tools. This can helpDavid Greene2009-07-091-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 Lattner2009-07-091-9/+0
| | | | llvm-svn: 75143
* Misc encoding fixes; reported on llvmdev.Eli Friedman2009-07-091-4/+4
| | | | llvm-svn: 75142
* eraseFromDisk no longer throws.Chris Lattner2009-07-091-4/+1
| | | | llvm-svn: 75139
* There's no need to consider PHI nodes in the same block as the instructionNick Lewycky2009-07-091-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 Lewycky2009-07-091-0/+43
| | | | | | Add an -ssi-everything pass which calls createSSI on everything in the function. llvm-svn: 75135
* Missing )Bill Wendling2009-07-091-1/+1
| | | | llvm-svn: 75126
* Add a -t="dir" option to the driver. This can be used to specify the ↵Sanjiv Gupta2009-07-092-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 Lattner2009-07-091-6/+2
| | | | llvm-svn: 75118
* move reasoning about darwin $non_lazy_ptr stubs from asmprinter intoChris Lattner2009-07-094-40/+98
| | | | | | isel. llvm-svn: 75117
* Targets sometimes assign fixed stack object to spill certain callee-savedEvan Cheng2009-07-094-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 Cheng2009-07-092-2/+1
| | | | llvm-svn: 75115
* rearrange some code, no functionality change.Chris Lattner2009-07-091-23/+28
| | | | llvm-svn: 75113
* make direct calls set MO_PLT or MO_DARWIN_STUB as appropriate with fast isel.Chris Lattner2009-07-091-7/+36
| | | | llvm-svn: 75112
* reduce nesting by rearranging branches.Chris Lattner2009-07-091-17/+12
| | | | llvm-svn: 75110
* make isel use MO_PIC_BASE_OFFSET when lowering globalvalues on darwin in picChris Lattner2009-07-092-6/+5
| | | | | | mode, instead of having asmprinter just "know" to print them. llvm-svn: 75109
* various minor cleanups, no functionality change.Chris Lattner2009-07-091-6/+6
| | | | llvm-svn: 75108
* make isel decide whether to emit $stub's on darwin instead of asmprinter.Chris Lattner2009-07-093-48/+48
| | | | llvm-svn: 75107
* pc-relative references are *always* to functions, never to globals. ISel Chris Lattner2009-07-091-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 Lattner2009-07-092-4/+3
| | | | llvm-svn: 75105
* Make isel determine where to emit PLT-relative calls instead of havingChris Lattner2009-07-092-18/+31
| | | | | | asmprinter do it. llvm-svn: 75104
* isPICStyleStub() is now never true in -static mode, so simplify code.Chris Lattner2009-07-091-9/+4
| | | | llvm-svn: 75102
* simplify some code based on the fact that picstyles != none are only valid Chris Lattner2009-07-094-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 Lattner2009-07-091-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 Lattner2009-07-092-36/+29
| | | | | | Simplify code based on this. llvm-svn: 75099
* Move PR4517 to README.txt.Nick Lewycky2009-07-091-0/+22
| | | | llvm-svn: 75098
* Improved tracking of value number kills. VN kills are now representedLang Hames2009-07-096-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 Lattner2009-07-091-18/+0
| | | | llvm-svn: 75096
* move a hack out of the asm-printer specific path to the main target ↵Chris Lattner2009-07-091-12/+17
| | | | | | selection path. llvm-svn: 75095
* many more cleanups, for example if in the "none" pic-style,Chris Lattner2009-07-091-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 windowsChris Lattner2009-07-091-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 fixingChris Lattner2009-07-093-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 specificChris Lattner2009-07-091-41/+33
| | | | llvm-svn: 75091
* hoist check for IsTailCall to callers. Eliminate redundant check for Chris Lattner2009-07-091-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 Lattner2009-07-092-14/+17
| | | | llvm-svn: 75089
* one more added assert.Chris Lattner2009-07-091-1/+3
| | | | llvm-svn: 75088
* move handling of dllimport linkage in isel, not in asmprinter.Chris Lattner2009-07-094-17/+27
| | | | llvm-svn: 75086
* one more assertion!Chris Lattner2009-07-091-1/+3
| | | | llvm-svn: 75083
* add some more assertions. Remove code to handle dllimport on darwin.Chris Lattner2009-07-091-3/+6
| | | | llvm-svn: 75082
* Make SelectionDAG::getVectorShuffle work properly for VECTOR_SHUFFLEDan Gohman2009-07-091-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 Lattner2009-07-091-27/+8
| | | | llvm-svn: 75080
* simplify some logicChris Lattner2009-07-091-13/+15
| | | | llvm-svn: 75079
* * add some assertions for sanity checking.Chris Lattner2009-07-091-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 Anderson2009-07-082-7/+10
| | | | llvm-svn: 75072
* Use common code for both ARM and Thumb-2 instruction and register info.David Goodwin2009-07-0813-1125/+106
| | | | llvm-svn: 75067
* * manually concatenate two string literalsChris Lattner2009-07-081-3/+1
| | | | | | * remove some dead code: darwin doesn't support dllimport linkage. llvm-svn: 75066
* - Add some NEON ld / st instruction static encoding.Evan Cheng2009-07-082-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 Patel2009-07-081-1/+1
| | | | llvm-svn: 75061
* Fix the AssertingVH unittests.Jeffrey Yasskin2009-07-081-2/+1
| | | | llvm-svn: 75060
OpenPOWER on IntegriCloud