summaryrefslogtreecommitdiffstats
path: root/llvm/lib
Commit message (Collapse)AuthorAgeFilesLines
...
* MCize tis, and make it keep CurrentFnSym up to date with CurrentFnName.Chris Lattner2010-01-161-17/+39
| | | | llvm-svn: 93598
* Run the pre-register allocation tail duplication pass by default. RemoveBob Wilson2010-01-161-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 Lattner2010-01-161-38/+17
| | | | llvm-svn: 93595
* MCize a bunch more stuff, eliminating a lot of uses of the manglerChris Lattner2010-01-1610-196/+367
| | | | | | and CurrentFnName. llvm-svn: 93594
* remove two write-only sets.Chris Lattner2010-01-151-4/+0
| | | | llvm-svn: 93590
* supplement CurrentFnName with CurrentFnSym, which will eventuallyChris Lattner2010-01-154-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 Lattner2010-01-152-4/+18
| | | | llvm-svn: 93587
* use MCSymbol instead of getMangledName() in all cases except one.Chris Lattner2010-01-151-29/+62
| | | | llvm-svn: 93582
* BumpPtrAllocator: Have the DefaultSlabAllocator created at runtime, not ↵Ted Kremenek2010-01-151-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 Johannesen2010-01-151-2/+4
| | | | llvm-svn: 93580
* mc'ize a bunch of symbol stuff, eliminating std::strings.Chris Lattner2010-01-151-12/+9
| | | | llvm-svn: 93578
* add another helperChris Lattner2010-01-151-0/+11
| | | | llvm-svn: 93577
* Fix PR6019. A load has more than one use if it feeds a bitconvert thatDavid Greene2010-01-151-1/+4
| | | | | | has more than one use. llvm-svn: 93576
* add a AsmPrinter::GetGlobalValueSymbol and GetExternalSymbolSymbolChris Lattner2010-01-154-10/+21
| | | | | | helper method, use it to simplify some code. llvm-svn: 93575
* Update CMake build.Ted Kremenek2010-01-151-1/+0
| | | | llvm-svn: 93571
* Update CMake build.Ted Kremenek2010-01-151-1/+2
| | | | llvm-svn: 93570
* DEBUG_VALUE is now variable sized, as it has aDale Johannesen2010-01-151-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 properlyJim Grosbach2010-01-151-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 Gohman2010-01-151-1/+1
| | | | llvm-svn: 93563
* Add FIXME.Devang Patel2010-01-151-0/+1
| | | | llvm-svn: 93562
* Fix a comment typo.Bob Wilson2010-01-151-1/+1
| | | | llvm-svn: 93560
* Remove the InlineHint attribute. There are no current or plannedEric Christopher2010-01-155-6/+0
| | | | | | users. llvm-svn: 93558
* zext / truncate is free on msp430. Inform codegen about this.Anton Korobeynikov2010-01-152-0/+42
| | | | llvm-svn: 93556
* Add branch relaxation pass (shamelessly stolen from PPC).Anton Korobeynikov2010-01-157-1/+256
| | | | llvm-svn: 93554
* Provide instruction sizes & encoding. No opcodes yet (but not needed so far).Anton Korobeynikov2010-01-153-612/+839
| | | | llvm-svn: 93553
* Enable bit tests and setcc stuff.Anton Korobeynikov2010-01-152-20/+25
| | | | llvm-svn: 93552
* Add micro-optimization which allows us to fold imm into cmp. This allows us ↵Anton Korobeynikov2010-01-151-0/+32
| | | | | | to save 1 word (sometimes) and reduce register pressure. llvm-svn: 93551
* Add instruction formats & support stuffAnton Korobeynikov2010-01-151-10/+115
| | | | llvm-svn: 93550
* Don't make changes to the MBB in MachineBasicBlock::canFallThrough().Jakob Stoklund Olesen2010-01-151-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 Olesen2010-01-151-6/+2
| | | | llvm-svn: 93540
* unbreak the build, grr symlinks.Chris Lattner2010-01-151-1/+1
| | | | llvm-svn: 93539
* Add some debug routines to SelectionDAG to dump full DAGs.David Greene2010-01-152-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 Lattner2010-01-151-5/+5
| | | | | | unneeded argument from ParseExpression. llvm-svn: 93536
* add range information for mem X86Operand's, now allChris Lattner2010-01-151-7/+11
| | | | | | X86Operand's have range info. llvm-svn: 93535
* extend MCAsmParser::ParseExpression and ParseParenExpressionChris Lattner2010-01-152-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 Lattner2010-01-151-11/+13
| | | | llvm-svn: 93532
* Improve llvm.dbg.declare intrinsic by referring directly to the storage in ↵Victor Hernandez2010-01-155-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 agreedDale Johannesen2010-01-152-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 Lattner2010-01-151-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 Begeman2010-01-156-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 Lattner2010-01-151-53/+52
| | | | llvm-svn: 93526
* refactor ParseRegister to avoid using X86Operand as a temporaryChris Lattner2010-01-151-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 Hernandez2010-01-153-26/+34
| | | | | | auto-upgraded llvm-svn: 93515
* Fix http://llvm.org/PR6028, an assertion failure when an UndefValue ofJay Foad2010-01-151-2/+16
| | | | | | integer type is used. llvm-svn: 93509
* Change pre-regalloc tail duplication to only duplicate indirect branch blocks.Bob Wilson2010-01-151-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 Hernandez2010-01-153-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) andDale Johannesen2010-01-152-0/+29
| | | | | | print it as a comment on X86. llvm-svn: 93499
* Fix cmp emission on msp430: we definitely should turn stuff likeAnton Korobeynikov2010-01-152-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 Patel2010-01-151-3/+6
| | | | llvm-svn: 93494
* fix 80-column violationsJim Grosbach2010-01-151-12/+14
| | | | llvm-svn: 93487
OpenPOWER on IntegriCloud