summaryrefslogtreecommitdiffstats
path: root/llvm/tools
Commit message (Collapse)AuthorAgeFilesLines
* Move types back to the 2.5 API.Owen Anderson2009-07-292-5/+4
| | | | llvm-svn: 77516
* Move ConstantExpr to 2.5 API.Owen Anderson2009-07-291-1/+1
| | | | llvm-svn: 77494
* Add a bugpoint flag to disable block extraction.David Goodwin2009-07-281-1/+5
| | | | llvm-svn: 77389
* Update CMakeListsDaniel Dunbar2009-07-281-1/+0
| | | | llvm-svn: 77385
* Move X86 instruction parsing into X86/AsmParser.Daniel Dunbar2009-07-284-278/+2
| | | | llvm-svn: 77384
* Make expression parsing and error/warning reporting available through theDaniel Dunbar2009-07-281-24/+15
| | | | | | generic MCAsmParser interface. llvm-svn: 77381
* Provide generic MCAsmParser when constructing target specific parsers.Daniel Dunbar2009-07-282-21/+27
| | | | llvm-svn: 77362
* Change ConstantArray to 2.5 API.Owen Anderson2009-07-282-2/+2
| | | | llvm-svn: 77347
* Switch X86 assembly parser to using the generic lexer interface.Daniel Dunbar2009-07-281-28/+28
| | | | llvm-svn: 77341
* Expose Tokens to target specific assembly parsers.Daniel Dunbar2009-07-282-81/+6
| | | | llvm-svn: 77337
* Switch AsmLexer::Lex to returning a reference to the current token.Daniel Dunbar2009-07-283-9/+6
| | | | llvm-svn: 77328
* Drop some AsmLexer methods in favor of their AsmToken equivalents.Daniel Dunbar2009-07-284-37/+34
| | | | llvm-svn: 77323
* llvm-mc: Sink token enum into AsmToken.Daniel Dunbar2009-07-285-210/+213
| | | | llvm-svn: 77322
* Remove memory corruption bug. string.c_str() was returning a temporary that wasNick Lewycky2009-07-281-2/+2
| | | | | | dead before we used it. llvm-svn: 77304
* llvm-mc: Factor AsmToken class out of AsmLexer.Daniel Dunbar2009-07-282-83/+108
| | | | llvm-svn: 77292
* llvm-mc: Stop uniqueing string tokens, nothing actually uses this.Daniel Dunbar2009-07-282-20/+4
| | | | llvm-svn: 77287
* Pass true to the Internalize parameter of createStandardLTOPasses,Dan Gohman2009-07-271-1/+1
| | | | | | to match llvm-ld's default behavior. llvm-svn: 77273
* llvm-mc: Implement .abort fully in the front endDaniel Dunbar2009-07-273-7/+16
| | | | llvm-svn: 77272
* Move ConstantStruct back to 2.5 API.Owen Anderson2009-07-271-1/+1
| | | | llvm-svn: 77266
* llvm-mc: Move AsmLexer::getCurStrVal to StringRef based API.Daniel Dunbar2009-07-274-96/+103
| | | | | | - My DFS traversal of LLVM is, at least for now, nearly complete! :) llvm-svn: 77258
* Fix libLTO:Nick Lewycky2009-07-262-6/+13
| | | | | | | | | | | | * Call InitializeAllTargets on every path where we might query the TargetRegistry. This fixes PR4604. * flush the formatted_raw_ostream& or else not all of the assembly will make it to the .s file. (It doesn't do this in its destructor?!) * Due to a reversed conditional, libLTO was reporting many symbols as both defined and undefined, including two definitions of the same symbol name in its symbol list. llvm-svn: 77170
* Remove Value::getName{Start,End}, the last of the old Name APIs.Daniel Dunbar2009-07-261-2/+2
| | | | llvm-svn: 77152
* Factor commonality in triple match routines into helper template for registeringDaniel Dunbar2009-07-261-3/+3
| | | | | | classes, and migrate existing targets over. llvm-svn: 77126
* Add TargetRegistry::lookupTarget.Daniel Dunbar2009-07-264-7/+16
| | | | | | | | | | | | | | - This is a simplified mechanism which just looks up a target based on the target triple, with a few additional flags. - Remove getClosestStaticTargetForModule, the moral equivalent is now: lookupTarget(Mod->getTargetTriple, true, false, ...); - This no longer does the fuzzy matching with target data (based on endianness and pointer width) that getClosestStaticTargetForModule was doing, but this was deemed unnecessary. llvm-svn: 77111
* Remove Value::setName(const char*, unsigned).Daniel Dunbar2009-07-261-2/+2
| | | | llvm-svn: 77100
* One more getName -> getNameStrDaniel Dunbar2009-07-251-3/+3
| | | | llvm-svn: 77027
* Revert the ConstantInt constructors back to their 2.5 forms where possible, ↵Owen Anderson2009-07-241-1/+1
| | | | | | thanks to contexts-on-types. More to come. llvm-svn: 77011
* Switch to getNameStr().Daniel Dunbar2009-07-241-1/+1
| | | | llvm-svn: 76962
* Re-committing r76828 with the JIT memory manager changes now that the buildReid Kleckner2009-07-231-3/+0
| | | | | | bots like the BumpPtrAllocator changes. llvm-svn: 76902
* Convert StringMap to using StringRef for its APIs.Daniel Dunbar2009-07-232-9/+11
| | | | | | | | | | | | - Yay for '-'s and simplifications! - I kept StringMap::GetOrCreateValue for compatibility purposes, this can eventually go away. Likewise the StringMapEntry Create functions still follow the old style. - NIFC. llvm-svn: 76888
* Reverting r76825 and r76828, since they caused clang runtime errors and some ↵Reid Kleckner2009-07-231-0/+3
| | | | | | build failure involving memset. llvm-svn: 76838
* Derive MDNode from MetadataBase instead of Constant. Emit MDNodes into ↵Devang Patel2009-07-231-1/+1
| | | | | | METADATA_BLOCK in bitcode file. llvm-svn: 76834
* Make the JIT code emitter properly retry and ask for more memory when it runsReid Kleckner2009-07-231-3/+0
| | | | | | | | | | | | | out of memory, and also make the default memory manager allocate more memory when it runs out. Also, switch function stubs and global data over to using the BumpPtrAllocator. This makes it so the JIT no longer mmaps (or the equivalent on Windows) 16 MB of memory, and instead allocates in 512K slabs. I suspect this size could go lower, especially on embedded platforms, now that more slabs can be allocated. llvm-svn: 76828
* Switch some clients to Value::getName(), and other getName() userDaniel Dunbar2009-07-222-3/+3
| | | | | | | simplification. - NFC llvm-svn: 76789
* Added -b option to override the default bitcode output file name.Sanjiv Gupta2009-07-221-10/+18
| | | | llvm-svn: 76768
* Introduce MetadataBase, a base class for MDString and MDNode.Devang Patel2009-07-221-1/+6
| | | | | | | Derive MDString directly from MetadataBase. Introduce new bitcode block to hold metadata. llvm-svn: 76759
* Get rid of the Pass+Context magic.Owen Anderson2009-07-222-2/+2
| | | | llvm-svn: 76702
* 80 col violation.Evan Cheng2009-07-211-9/+9
| | | | llvm-svn: 76629
* Simplify / normalize some uses of Value::getName.Daniel Dunbar2009-07-211-3/+3
| | | | llvm-svn: 76553
* Removed the DumpSymbolsandMacros and LoadSymbolsandMacros MCStreamer API asKevin Enderby2009-07-202-7/+9
| | | | | | | | | the parsing of the .dump and .load should be done in the assembly parser and not have any need for an MCStreamer API. Changed the code for now so these just produce an error saying these specific directives are not yet implemented since they are likely no longer used and may never need to be implemented. llvm-svn: 76462
* Add MCAsmLexer interface.Daniel Dunbar2009-07-202-1/+5
| | | | | | - This provides the AsmLexer interface to the target specific assembly parsers. llvm-svn: 76460
* Add MCAsmParser interface.Daniel Dunbar2009-07-203-6/+15
| | | | | | | - This provides the AsmParser interface to the target specific assembly parsers. llvm-svn: 76453
* For remote execution, must cd to the executable directory since the exe ↵David Goodwin2009-07-201-3/+4
| | | | | | expects to find a dylib in the CWD ('.'). llvm-svn: 76432
* Add -std-{compile,link}-opts to bugpoint.Daniel Dunbar2009-07-201-0/+40
| | | | | | - Sheesh. llvm-svn: 76402
* Add plumbing for the `linker_private' linkage type. This type is meant forBill Wendling2009-07-201-1/+2
| | | | | | | | | "private" symbols which the assember shouldn't strip, but which the linker may remove after evaluation. This is mostly useful for Objective-C metadata. This is plumbing, so we don't have a use of it yet. More to come, etc. llvm-svn: 76385
* fix testChris Lattner2009-07-191-1/+2
| | | | llvm-svn: 76378
* DisambiguateGlobalSymbols should not mangle intrinsics.Chris Lattner2009-07-191-2/+2
| | | | llvm-svn: 76377
* Require a remote command to exit with the exit status of the test program or ↵Viktor Kutuzov2009-07-181-11/+59
| | | | | | with 255 if an error occurred. llvm-svn: 76323
* Switch lli back to using allocate-gvs-with-code behavior.Daniel Dunbar2009-07-181-2/+5
| | | | | | | | | - Otherwise we get two regressions in llvm-test for applications which run out of space. - Once the JIT memory manager is improved, this can be switched back. llvm-svn: 76291
* Add EngineBuilder to ExecutionEngine in favor of the five optional argument ↵Reid Kleckner2009-07-181-2/+9
| | | | | | | | EE::create(). Also a test commit. llvm-svn: 76276
OpenPOWER on IntegriCloud