Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | MCize tis, and make it keep CurrentFnSym up to date with CurrentFnName. | Chris Lattner | 2010-01-16 | 1 | -17/+39 | |
| | | | | llvm-svn: 93598 | |||||
* | Run the pre-register allocation tail duplication pass by default. Remove | Bob Wilson | 2010-01-16 | 1 | -5/+3 | |
| | | | | | | | the -pre-regalloc-taildup command-line option, and add a new -disable-early-taildup option. llvm-svn: 93597 | |||||
* | revert the x86 part of my last patch, cygwin is mutating CurrentFnName! | Chris Lattner | 2010-01-16 | 1 | -38/+17 | |
| | | | | llvm-svn: 93595 | |||||
* | MCize a bunch more stuff, eliminating a lot of uses of the mangler | Chris Lattner | 2010-01-16 | 10 | -196/+367 | |
| | | | | | | and CurrentFnName. llvm-svn: 93594 | |||||
* | remove two write-only sets. | Chris Lattner | 2010-01-15 | 1 | -4/+0 | |
| | | | | llvm-svn: 93590 | |||||
* | supplement CurrentFnName with CurrentFnSym, which will eventually | Chris Lattner | 2010-01-15 | 4 | -52/+92 | |
| | | | | | | | replace it. Upgrade Alpha, Blackfin, and part of CellSPU to not use mangler anymore. CellSPU needs more invasive surgery. llvm-svn: 93589 | |||||
* | add a version of AsmPrinter::printVisibility that takes an MCSymbol. | Chris Lattner | 2010-01-15 | 2 | -4/+18 | |
| | | | | llvm-svn: 93587 | |||||
* | use MCSymbol instead of getMangledName() in all cases except one. | Chris Lattner | 2010-01-15 | 1 | -29/+62 | |
| | | | | llvm-svn: 93582 | |||||
* | BumpPtrAllocator: Have the DefaultSlabAllocator created at runtime, not ↵ | Ted Kremenek | 2010-01-15 | 1 | -2/+4 | |
| | | | | | | initialization time. This removes one of the 'init_constructors' reported in <rdar://problem/7545356>. llvm-svn: 93581 | |||||
* | Adjust some comments per review. | Dale Johannesen | 2010-01-15 | 1 | -2/+4 | |
| | | | | llvm-svn: 93580 | |||||
* | mc'ize a bunch of symbol stuff, eliminating std::strings. | Chris Lattner | 2010-01-15 | 1 | -12/+9 | |
| | | | | llvm-svn: 93578 | |||||
* | add another helper | Chris Lattner | 2010-01-15 | 1 | -0/+11 | |
| | | | | llvm-svn: 93577 | |||||
* | Fix PR6019. A load has more than one use if it feeds a bitconvert that | David Greene | 2010-01-15 | 1 | -1/+4 | |
| | | | | | | has more than one use. llvm-svn: 93576 | |||||
* | add a AsmPrinter::GetGlobalValueSymbol and GetExternalSymbolSymbol | Chris Lattner | 2010-01-15 | 4 | -10/+21 | |
| | | | | | | helper method, use it to simplify some code. llvm-svn: 93575 | |||||
* | Update CMake build. | Ted Kremenek | 2010-01-15 | 1 | -1/+0 | |
| | | | | llvm-svn: 93571 | |||||
* | Update CMake build. | Ted Kremenek | 2010-01-15 | 1 | -1/+2 | |
| | | | | llvm-svn: 93570 | |||||
* | DEBUG_VALUE is now variable sized, as it has a | Dale Johannesen | 2010-01-15 | 1 | -0/+24 | |
| | | | | | | | | target-dependent memory address representation in it. Restore X86 printing of DEBUG_VALUE; lowering is done in X86RegisterInfo using the normal algorithm. llvm-svn: 93565 | |||||
* | Update Thumb1 storeRegToStackSlot() and loadRegFromStackSlot() to properly | Jim Grosbach | 2010-01-15 | 1 | -2/+6 | |
| | | | | | | | handle physical registers R0-R7 when described as having a non-tGPR register class. llvm-svn: 93564 | |||||
* | Fix a typo that Anton noticed. | Dan Gohman | 2010-01-15 | 1 | -1/+1 | |
| | | | | llvm-svn: 93563 | |||||
* | Add FIXME. | Devang Patel | 2010-01-15 | 1 | -0/+1 | |
| | | | | llvm-svn: 93562 | |||||
* | Fix a comment typo. | Bob Wilson | 2010-01-15 | 1 | -1/+1 | |
| | | | | llvm-svn: 93560 | |||||
* | Remove the InlineHint attribute. There are no current or planned | Eric Christopher | 2010-01-15 | 5 | -6/+0 | |
| | | | | | | users. llvm-svn: 93558 | |||||
* | zext / truncate is free on msp430. Inform codegen about this. | Anton Korobeynikov | 2010-01-15 | 2 | -0/+42 | |
| | | | | llvm-svn: 93556 | |||||
* | Add branch relaxation pass (shamelessly stolen from PPC). | Anton Korobeynikov | 2010-01-15 | 7 | -1/+256 | |
| | | | | llvm-svn: 93554 | |||||
* | Provide instruction sizes & encoding. No opcodes yet (but not needed so far). | Anton Korobeynikov | 2010-01-15 | 3 | -612/+839 | |
| | | | | llvm-svn: 93553 | |||||
* | Enable bit tests and setcc stuff. | Anton Korobeynikov | 2010-01-15 | 2 | -20/+25 | |
| | | | | llvm-svn: 93552 | |||||
* | Add micro-optimization which allows us to fold imm into cmp. This allows us ↵ | Anton Korobeynikov | 2010-01-15 | 1 | -0/+32 | |
| | | | | | | to save 1 word (sometimes) and reduce register pressure. llvm-svn: 93551 | |||||
* | Add instruction formats & support stuff | Anton Korobeynikov | 2010-01-15 | 1 | -10/+115 | |
| | | | | llvm-svn: 93550 | |||||
* | Don't make changes to the MBB in MachineBasicBlock::canFallThrough(). | Jakob Stoklund Olesen | 2010-01-15 | 1 | -1/+1 | |
| | | | | | | | This fixes the regression for -pre-regalloc-taildup in MultiSource/Applications/lambda-0.1.3. llvm-svn: 93541 | |||||
* | Simplify logic. Any functional change is unintended. | Jakob Stoklund Olesen | 2010-01-15 | 1 | -6/+2 | |
| | | | | llvm-svn: 93540 | |||||
* | unbreak the build, grr symlinks. | Chris Lattner | 2010-01-15 | 1 | -1/+1 | |
| | | | | llvm-svn: 93539 | |||||
* | Add some debug routines to SelectionDAG to dump full DAGs. | David Greene | 2010-01-15 | 2 | -1/+44 | |
| | | | | | | | | | | | print/dumpWithDepth allows one to dump a DAG up to N levels deep. dump/printWithFullDepth prints the whole DAG, subject to a depth limit on 100 in the default case (to prevent infinite recursion). Have CannotYetSelect to a dumpWithFullDepth so it is clearer exactly what the non-matching DAG looks like. llvm-svn: 93538 | |||||
* | fix a bug in range information for $42, eliminate an | Chris Lattner | 2010-01-15 | 1 | -5/+5 | |
| | | | | | | unneeded argument from ParseExpression. llvm-svn: 93536 | |||||
* | add range information for mem X86Operand's, now all | Chris Lattner | 2010-01-15 | 1 | -7/+11 | |
| | | | | | | X86Operand's have range info. llvm-svn: 93535 | |||||
* | extend MCAsmParser::ParseExpression and ParseParenExpression | Chris Lattner | 2010-01-15 | 2 | -14/+32 | |
| | | | | | | | to return range information for subexpressions. Use this to provide range info for several new X86Operands. llvm-svn: 93534 | |||||
* | give X86Operand a ctor and start passing SMLoc's into it. | Chris Lattner | 2010-01-15 | 1 | -11/+13 | |
| | | | | llvm-svn: 93532 | |||||
* | Improve llvm.dbg.declare intrinsic by referring directly to the storage in ↵ | Victor Hernandez | 2010-01-15 | 5 | -35/+38 | |
| | | | | | | | | | its first argument, via function-local metadata (instead of via a bitcast). This patch also cleans up code that expects there to be a bitcast in the first argument and testcases that call llvm.dbg.declare. It also strips old llvm.dbg.declare intrinsics that did not pass metadata as the first argument. llvm-svn: 93531 | |||||
* | Revert 93499. After discussion with Chris we agreed | Dale Johannesen | 2010-01-15 | 2 | -29/+0 | |
| | | | | | | | | | FrameIndexes should be lowered, but the same way as everything else (target dependent) rather than in a special hacked way. The lowering needs to be done for eventual purposes of Dwarf generation. llvm-svn: 93530 | |||||
* | add range location info for registers, change | Chris Lattner | 2010-01-15 | 1 | -33/+42 | |
| | | | | | | | X86Operand::Create* implementations to avoid copy ctor use. llvm-svn: 93528 | |||||
* | Hook up llc's -filetype=obj to use MCStreamer if an MCCodeEmitter is available. | Nate Begeman | 2010-01-15 | 6 | -1549/+127 | |
| | | | | | | | | | Remove most of old Mach-O Writer support, it has been replaced by MCMachOStreamer Further refactoring to completely remove MachOWriter and drive the object file writer with the AsmPrinter MCInst/MCSection logic is forthcoming. llvm-svn: 93527 | |||||
* | clean up the memory management of the operands. | Chris Lattner | 2010-01-15 | 1 | -53/+52 | |
| | | | | llvm-svn: 93526 | |||||
* | refactor ParseRegister to avoid using X86Operand as a temporary | Chris Lattner | 2010-01-15 | 1 | -15/+12 | |
| | | | | | | datastructure when parsing a mem operand. llvm-svn: 93521 | |||||
* | Revert r93504 because older uses of llvm.dbg.declare intrinsics need to be ↵ | Victor Hernandez | 2010-01-15 | 3 | -26/+34 | |
| | | | | | | auto-upgraded llvm-svn: 93515 | |||||
* | Fix http://llvm.org/PR6028, an assertion failure when an UndefValue of | Jay Foad | 2010-01-15 | 1 | -2/+16 | |
| | | | | | | integer type is used. llvm-svn: 93509 | |||||
* | Change pre-regalloc tail duplication to only duplicate indirect branch blocks. | Bob Wilson | 2010-01-15 | 1 | -4/+11 | |
| | | | | | | | | | The pre-regalloc pass caused some regressions in both compile time and performance of the generated code, and it did not improve performance, except for indirect branches. I also moved the check for single-block loops to speed up the common case when running the taildup pass before reg allocation. llvm-svn: 93505 | |||||
* | Improve llvm.dbg.declare intrinsic by referring directly to the storage in ↵ | Victor Hernandez | 2010-01-15 | 3 | -34/+26 | |
| | | | | | | | | its first argument, via function-local metadata (instead of via a bitcast). This patch also cleans up code that expects there to be a bitcast in the first argument and testcases that call llvm.dbg.declare. llvm-svn: 93504 | |||||
* | Lower FrameIndex operand of DEBUG_VALUE (specially) and | Dale Johannesen | 2010-01-15 | 2 | -0/+29 | |
| | | | | | | print it as a comment on X86. llvm-svn: 93499 | |||||
* | Fix cmp emission on msp430: we definitely should turn stuff like | Anton Korobeynikov | 2010-01-15 | 2 | -25/+27 | |
| | | | | | | "icmp lhs, rhs" into "cmp rhs, lhs". This should fix PR5979. llvm-svn: 93496 | |||||
* | Do not use AT_specification die for static variables. It confuses gdb. | Devang Patel | 2010-01-15 | 1 | -3/+6 | |
| | | | | llvm-svn: 93494 | |||||
* | fix 80-column violations | Jim Grosbach | 2010-01-15 | 1 | -12/+14 | |
| | | | | llvm-svn: 93487 |