aboutsummaryrefslogtreecommitdiffstats
path: root/tools/llc
Commit message (Collapse)AuthorAgeFilesLines
* rename selection library to selectiondagChris Lattner2003-08-151-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7878 91177308-0d34-0410-b5e6-96231b3b80d8
* Incorporate mapping library into the sparc libraryChris Lattner2003-08-131-2/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7800 91177308-0d34-0410-b5e6-96231b3b80d8
* Include the new selection library for the X86 targetChris Lattner2003-08-111-0/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7720 91177308-0d34-0410-b5e6-96231b3b80d8
* Revert change: default architecture is never set, it is guessed from inputMisha Brukman2003-07-301-8/+1
| | | | | | | | bytecode file. This means that LLC on X86 will compile to Sparc assembly given a 64-bit input bytecode file... git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7419 91177308-0d34-0410-b5e6-96231b3b80d8
* Initialize the target architecture based on compiler defines, so if compiled onMisha Brukman2003-07-181-1/+8
| | | | | | | | | x86 or Sparc, LLC will automatically default to that platform, no guessing required. On another platform, it will default to `noarch' and will have to guess which architecture to compile to. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7207 91177308-0d34-0410-b5e6-96231b3b80d8
* Fixed indentation.Misha Brukman2003-07-071-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7122 91177308-0d34-0410-b5e6-96231b3b80d8
* Minor cleanupsChris Lattner2003-06-201-22/+10
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6799 91177308-0d34-0410-b5e6-96231b3b80d8
* tools/llc/llc.cpp: Make "-o -" work.Brian Gaeke2003-06-181-12/+16
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6780 91177308-0d34-0410-b5e6-96231b3b80d8
* lib/Target/Sparc/Sparc.cpp:Brian Gaeke2003-06-182-62/+50
| | | | | | | | | | | | | | | | | | | | | | Move LowerAllocations, PrintFunction, and SymbolStripping passes, and the corresponding -disable-strip and -d options, over here to the SPARC target-specific bits of llc. Rename -d to -dump-asm. tools/llc/Makefile: Reindent. Add x86 library so that llc compiles again. tools/llc/llc.cpp: Remove support for running arbitrary optimization passes. Use opt instead. Remove LowerAllocations, PrintFunction, and SymbolStripping passes, as noted above. Allow user to select a backend (x86 or SPARC); default to guessing from the endianness/pointer size of the input bytecode file. Fix typos. Delete empty .s file and exit with error status if target does not support static compilation. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6776 91177308-0d34-0410-b5e6-96231b3b80d8
* Reindent code to match the rest of the fileChris Lattner2003-06-181-38/+30
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6772 91177308-0d34-0410-b5e6-96231b3b80d8
* Use $(PLATFORMLIBDL) to selectively bring in -ldl only on those platforms whereBrian Gaeke2003-06-171-1/+1
| | | | | | | it is needed. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6753 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove duplicate passChris Lattner2003-06-051-4/+0
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6631 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove ugly hack (that I put in originally) for building in trace stuffChris Lattner2003-05-272-115/+15
| | | | | | | automatically in LLC git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6358 91177308-0d34-0410-b5e6-96231b3b80d8
* Add a new option to disable stripping of bytecode filesChris Lattner2003-04-281-1/+6
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5969 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove two fields from TargetData which are target specific.Chris Lattner2003-04-261-2/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5963 91177308-0d34-0410-b5e6-96231b3b80d8
* Make sure to copy double alignment as wellChris Lattner2003-04-251-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5936 91177308-0d34-0410-b5e6-96231b3b80d8
* Kill using declarationsChris Lattner2003-04-251-32/+31
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5934 91177308-0d34-0410-b5e6-96231b3b80d8
* Make sure to add a targetdata instance to the passmanager, and make it match theChris Lattner2003-04-251-0/+5
| | | | | | | one in use by the TargetMachine git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5931 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove support for "target data" pass ctorsChris Lattner2003-04-241-2/+0
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5900 91177308-0d34-0410-b5e6-96231b3b80d8
* * Prune down library list. In particular, llc doesn't need all of IPO, and ↵Chris Lattner2003-01-191-10/+6
| | | | | | | | | none of data structure and IPA completely! * Do not keep symbols by default! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5375 91177308-0d34-0410-b5e6-96231b3b80d8
* Rename headerChris Lattner2003-01-141-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5283 91177308-0d34-0410-b5e6-96231b3b80d8
* Eliminate direct access to TargetData structureChris Lattner2002-12-281-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5156 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix link errors due to new IPModRef pass.Vikram S. Adve2002-12-091-2/+4
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4960 91177308-0d34-0410-b5e6-96231b3b80d8
* Don't build llc symbols by default.Vikram S. Adve2002-11-061-1/+0
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4565 91177308-0d34-0410-b5e6-96231b3b80d8
* No need to explicitly inclue ExportSymbols nowChris Lattner2002-11-041-2/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4543 91177308-0d34-0410-b5e6-96231b3b80d8
* * Privatize the TargetNameChris Lattner2002-10-291-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4418 91177308-0d34-0410-b5e6-96231b3b80d8
* Allow TargetMachine to refuse static code genChris Lattner2002-10-291-4/+8
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4415 91177308-0d34-0410-b5e6-96231b3b80d8
* * Remove explicit strcmp callsChris Lattner2002-10-291-3/+3
| | | | | | | * Rename Sparc.h to TargetMachineImpls.h git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4406 91177308-0d34-0410-b5e6-96231b3b80d8
* After removing stuff from TargetMachine, we now no longer have to includeChris Lattner2002-10-281-1/+1
| | | | | | | it twice. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4311 91177308-0d34-0410-b5e6-96231b3b80d8
* Add codegen libraryChris Lattner2002-10-281-3/+22
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4305 91177308-0d34-0410-b5e6-96231b3b80d8
* Change LowerAllocations pass to 'require' TargetData instead of it beingChris Lattner2002-09-251-1/+1
| | | | | | | passed in. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3930 91177308-0d34-0410-b5e6-96231b3b80d8
* Renamed library preselect to preopts.Vikram S. Adve2002-09-201-1/+3
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3841 91177308-0d34-0410-b5e6-96231b3b80d8
* Indent a comment right, add a new oneChris Lattner2002-09-191-2/+3
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3819 91177308-0d34-0410-b5e6-96231b3b80d8
* Enable correct support for dynamic loading on LinuxChris Lattner2002-09-171-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3779 91177308-0d34-0410-b5e6-96231b3b80d8
* Change several entries to use the .o instead of .a to expose pass options.Vikram S. Adve2002-09-161-3/+4
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3754 91177308-0d34-0410-b5e6-96231b3b80d8
* Make all registered optimization passes available to llc.Vikram S. Adve2002-09-161-90/+151
| | | | | | | | | Eliminate duplicate tracing options and use those defined by the trace passes. Making the tracing step a module pass that runs before any llc-specific passes. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3753 91177308-0d34-0410-b5e6-96231b3b80d8
* Function.h is unnecessary when Module.h is included.Misha Brukman2002-09-141-1/+0
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3716 91177308-0d34-0410-b5e6-96231b3b80d8
* Added mapping lib in llc makefileAnand Shukla2002-08-271-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3514 91177308-0d34-0410-b5e6-96231b3b80d8
* Only include the sparc.o file once!Chris Lattner2002-08-071-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3257 91177308-0d34-0410-b5e6-96231b3b80d8
* Print the tool name when an error comes from so that I can tell whichChris Lattner2002-07-301-4/+6
| | | | | | | tool of a pipeline is having issues. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3167 91177308-0d34-0410-b5e6-96231b3b80d8
* *** empty log message ***Chris Lattner2002-07-232-3/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3040 91177308-0d34-0410-b5e6-96231b3b80d8
* *** empty log message ***Chris Lattner2002-07-231-2/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3002 91177308-0d34-0410-b5e6-96231b3b80d8
* *** empty log message ***Chris Lattner2002-07-221-9/+20
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2985 91177308-0d34-0410-b5e6-96231b3b80d8
* Strip the symbols out of the bytecode to inflate generated executables less.Chris Lattner2002-06-301-0/+3
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2811 91177308-0d34-0410-b5e6-96231b3b80d8
* Changes for 64bit gccAnand Shukla2002-06-251-0/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2799 91177308-0d34-0410-b5e6-96231b3b80d8
* MEGAPATCH checkin.Chris Lattner2002-06-251-6/+6
| | | | | | | For details, See: docs/2002-06-25-MegaPatchInfo.txt git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2779 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix tracing code support to link in the tracing routines if neccesary.Chris Lattner2002-05-201-37/+74
| | | | | | | | | | | | This is required because trace code can insert calls to functions that are (now) in an LLVM library, not a native library. This change makes it easier to use the tracing code because the native link options don't have to change, and it fits in a lot better with the LLVM model. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2675 91177308-0d34-0410-b5e6-96231b3b80d8
* Add libsparc.a a second time to resolve link errors.Vikram S. Adve2002-05-191-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2661 91177308-0d34-0410-b5e6-96231b3b80d8
* Merge all include/llvm/Transforms/Scalar/* into a single Scalar.hChris Lattner2002-05-071-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2538 91177308-0d34-0410-b5e6-96231b3b80d8
* Straighten out makefiles after moving code to new Transform Utils libraryChris Lattner2002-05-071-2/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2520 91177308-0d34-0410-b5e6-96231b3b80d8