summaryrefslogtreecommitdiffstats
path: root/llvm/lib
Commit message (Collapse)AuthorAgeFilesLines
...
* use symbols instead of strings, eliminating a bunch of getMangledNameChris Lattner2010-01-161-39/+55
| | | | | | calls. Add FIXMEs about a bunch of nondeterminism in stub output. llvm-svn: 93621
* simplify some code.Chris Lattner2010-01-161-9/+5
| | | | llvm-svn: 93619
* Retrying r91337:Bill Wendling2010-01-163-8/+28
| | | | | | | | The CIE says that the LSDA point in the FDE section is an "sdata4". That's fine, but we need it to actually be 4-bytes in the FDE for some platforms. Allow individual platforms to decide for themselves. llvm-svn: 93616
* eliminate uses of mangler and simplify code.Chris Lattner2010-01-166-67/+33
| | | | llvm-svn: 93615
* fix inverted conditionalChris Lattner2010-01-161-1/+1
| | | | llvm-svn: 93614
* CurrentFnName is now dead, remove it.Chris Lattner2010-01-161-2/+1
| | | | llvm-svn: 93612
* get pic16 off CurrentFnNameChris Lattner2010-01-161-14/+13
| | | | llvm-svn: 93610
* remove the string form of printVisibility.Chris Lattner2010-01-163-35/+26
| | | | llvm-svn: 93609
* switch more stuff onto MCSymbolsChris Lattner2010-01-163-61/+122
| | | | llvm-svn: 93608
* Temporarily revert r93581. It was causing failures in the ExecutionEngine testsBill Wendling2010-01-161-4/+2
| | | | | | on the build bots. llvm-svn: 93606
* eliminate uses of deprecated mangler apisChris Lattner2010-01-161-54/+71
| | | | llvm-svn: 93605
* switch X86 target off CurFunctionName and MCIze more.Chris Lattner2010-01-164-35/+45
| | | | | | | | | Note that the code wasn't calling DecorateCygMingName when emitting the ".ascii -export" stuff at the end of file for DLLExported functions. I don't know if it should or not, but I'm preserving behavior. llvm-svn: 93603
* Treat indirect branches specially only during pre-regalloc tail duplication,Bob Wilson2010-01-161-13/+13
| | | | | | not during the later post-alloc tail duplication. llvm-svn: 93600
* 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
OpenPOWER on IntegriCloud