summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Add EmitString helper methodKovarththanan Rajaratnam2010-03-141-2/+6
| | | | llvm-svn: 98488
* fix these two get the mcsymbol operand instead of imm operand.Chris Lattner2010-03-141-5/+2
| | | | llvm-svn: 98487
* add a new CreateTempSymbol method, the use case forChris Lattner2010-03-142-0/+10
| | | | | | | CreateTempSymbol vs GetOrCreateTemporarySymbol are completely different. llvm-svn: 98486
* don't use getDWLabel("label" anymore, always go through MMI.Chris Lattner2010-03-141-2/+2
| | | | llvm-svn: 98485
* remove now-dead code, all labels use MCSymbols.Chris Lattner2010-03-141-10/+1
| | | | llvm-svn: 98484
* change SrcLineInfo to contain a label instead of a label ID.Chris Lattner2010-03-142-9/+7
| | | | llvm-svn: 98483
* Now that DBG_LABEL is updated, we can finally make MachineMove Chris Lattner2010-03-1410-124/+86
| | | | | | contain an MCSymbol instead of a label index. llvm-svn: 98482
* change the DBG_LABEL MachineInstr to always be createdChris Lattner2010-03-149-27/+29
| | | | | | with an MCSymbol instead of an immediate. llvm-svn: 98481
* Unbreak last commit. This should have been part of r98478.Kovarththanan Rajaratnam2010-03-141-3/+3
| | | | llvm-svn: 98480
* xfail properlyChris Lattner2010-03-141-1/+1
| | | | llvm-svn: 98479
* Pass file string by referenceKovarththanan Rajaratnam2010-03-141-6/+4
| | | | llvm-svn: 98478
* unbreak the build, grr symlinks.Chris Lattner2010-03-141-3/+3
| | | | llvm-svn: 98477
* xfail these tests temporarily to get teh buildbots back to happy land.Chris Lattner2010-03-144-0/+6
| | | | llvm-svn: 98476
* Change this code to allocate temporary labels from mccontext,Chris Lattner2010-03-141-1/+1
| | | | | | not from MMI. llvm-svn: 98475
* switch GC_LABEL to use an MCSymbol operand instead of a label ID operand.Chris Lattner2010-03-147-44/+40
| | | | llvm-svn: 98474
* Path related cleanup. Remove unnecessary variables.Kovarththanan Rajaratnam2010-03-141-6/+2
| | | | llvm-svn: 98473
* Use makeAbsolute()Kovarththanan Rajaratnam2010-03-142-32/+19
| | | | llvm-svn: 98472
* Fix some EH failures on NNT I introduced in r98461Chris Lattner2010-03-141-4/+6
| | | | llvm-svn: 98471
* fix a bug I introduced in r98459, causing some NNT failures.Chris Lattner2010-03-141-1/+1
| | | | llvm-svn: 98470
* Move to anonymous namespaceKovarththanan Rajaratnam2010-03-141-1/+1
| | | | llvm-svn: 98469
* Check in tablegen changes to fix disassembler related failures caused by r98465.Evan Cheng2010-03-142-0/+5
| | | | llvm-svn: 98468
* Do not force indirect tailcall through fixed registers: eax, r11. Add ↵Evan Cheng2010-03-149-92/+188
| | | | | | support to allow loads to be folded to tail call instructions. llvm-svn: 98465
* MC: Fix a crash on invalid, attempting to evaluate undefined symbols.Daniel Dunbar2010-03-142-4/+5
| | | | llvm-svn: 98464
* change the LabelSDNode to be EHLabelSDNode and make it holdChris Lattner2010-03-1414-50/+61
| | | | | | | | an MCSymbol. Make the EH_LABEL MachineInstr hold its label with an MCSymbol instead of ID. Fix a bug in MMI.cpp which would return labels named "Label4" instead of "label4". llvm-svn: 98463
* eliminate InvalidateLabel and LabelIDList from MMI and replaceChris Lattner2010-03-145-55/+7
| | | | | | them with a counter. llvm-svn: 98462
* use Label->isDefined() instead of isLabelDeleted() now that weChris Lattner2010-03-143-16/+9
| | | | | | | consistently use MCSymbol and only call this predicate after they should have been emitted. llvm-svn: 98461
* fix some pointless layering violations.Chris Lattner2010-03-141-2/+1
| | | | llvm-svn: 98460
* change EH related stuff (other than EH_LABEL) to use MCSymbolChris Lattner2010-03-1414-159/+139
| | | | | | | | | | | | | | | | instead of label ID's. This cleans up and regularizes a bunch of code and makes way for future progress. Unfortunately, this pointed out to me that JITDwarfEmitter.cpp is largely copy and paste from DwarfException/MachineModuleInfo and other places. This is very sad and disturbing. :( One major change here is that TidyLandingPads moved from being called in DwarfException::BeginFunction to being called in DwarfException::EndFunction. There should not be any functionality change from doing this, but I'm not an EH expert. llvm-svn: 98459
* X86_64: Fix encoding for the rest of the 64i32 instructions too.Daniel Dunbar2010-03-131-12/+12
| | | | llvm-svn: 98458
* X86: Fix ADD64i32 encoding.Daniel Dunbar2010-03-132-2/+5
| | | | llvm-svn: 98457
* MC/X86_64: Symbol support.Daniel Dunbar2010-03-133-152/+309
| | | | llvm-svn: 98456
* Fixed copy-and-paste error causing categories to contain the protocols ↵David Chisnall2010-03-131-2/+2
| | | | | | declared on the class, not the protocols declared on the category. llvm-svn: 98455
* MC/Mach-O: Initial x86_64 support.Daniel Dunbar2010-03-133-52/+644
| | | | llvm-svn: 98454
* macho-dump: Basic Mach 64 support.Daniel Dunbar2010-03-131-19/+45
| | | | llvm-svn: 98453
* Revert 98439. There is a bad race condition in sys::Path::makeUnique on win32.Benjamin Kramer2010-03-134-12/+18
| | | | llvm-svn: 98452
* eliminate the now-unneeded context argument of MBB::getSymbol()Chris Lattner2010-03-1321-34/+35
| | | | llvm-svn: 98451
* rearrange MCContext ownership. Before LLVMTargetMachine created it Chris Lattner2010-03-1324-116/+116
| | | | | | | | | | | and passing off ownership to AsmPrinter. Now MachineModuleInfo creates it and owns it by value. This allows us to use MCSymbols more consistently throughout the rest of the code generator, and simplifies a bit of code. This also allows MachineFunction to keep an MCContext reference handy, and cleans up the TargetRegistry interfaces for AsmPrinters. llvm-svn: 98450
* Make lit pay attention to --vg for unittests too.Jeffrey Yasskin2010-03-131-0/+8
| | | | llvm-svn: 98449
* Add missing space.Rafael Espindola2010-03-131-1/+1
| | | | llvm-svn: 98448
* Allow types that have been forwarded to to be freed.Jeffrey Yasskin2010-03-131-4/+11
| | | | | Tested: make check-lit && valgrind --dsymutil=yes --leak-check=full unittests/ExecutionEngine/JIT/Debug/JITTests llvm-svn: 98447
* Teach this test not to leak. Also, clean up all the cast<BinaryOperator> cruft.Nick Lewycky2010-03-131-36/+89
| | | | llvm-svn: 98446
* llvm-mc: Delete output files on error.Daniel Dunbar2010-03-131-0/+4
| | | | llvm-svn: 98445
* MC/X86_64: Fix matching of leaq.Daniel Dunbar2010-03-132-3/+4
| | | | llvm-svn: 98444
* MC/X86_64: Fix matching of callq.Daniel Dunbar2010-03-132-0/+9
| | | | llvm-svn: 98443
* add a hack to allow parsing negative minint. rdar://7751341Chris Lattner2010-03-131-2/+8
| | | | llvm-svn: 98442
* Give explicit template instantiations weak ODR linkage. FormerDouglas Gregor2010-03-1310-37/+47
| | | | | | | | | iterations of this patch gave explicit template instantiation link-once ODR linkage, which permitted the back end to eliminate unused symbols. Weak ODR linkage still requires the symbols to be generated. llvm-svn: 98441
* Fix PR6562. If a type is dependent, we don't know if it will have implicitRafael Espindola2010-03-132-0/+15
| | | | | | destructors. llvm-svn: 98440
* Make getTemporaryPath a static member of CIndexer and use it to replace ↵Benjamin Kramer2010-03-134-18/+12
| | | | | | | | tmpnam calls. This fixes linker warnings on linux. llvm-svn: 98439
* Use raw_ostream instead of sprintf.Benjamin Kramer2010-03-131-3/+2
| | | | llvm-svn: 98438
* Simplify code.Benjamin Kramer2010-03-131-11/+5
| | | | llvm-svn: 98437
OpenPOWER on IntegriCloud