summaryrefslogtreecommitdiffstats
path: root/llvm/tools
Commit message (Collapse)AuthorAgeFilesLines
* Switch some obvious clients to using the new TargetRegistry.Daniel Dunbar2009-07-152-7/+7
| | | | llvm-svn: 75767
* Teach Makefiles & CMake to link in the <TARGET>Info library when linking theDaniel Dunbar2009-07-151-1/+6
| | | | | | | | TARGET component. - Also, updated some CMake library dependencies, it is still missing some though. :( llvm-svn: 75755
* eliminate the Mangler::PreserveAsmNames bit, the sole client of thisChris Lattner2009-07-151-5/+10
| | | | | | can do it perfectly well itself. llvm-svn: 75743
* control reaches end of non-void function.Evan Cheng2009-07-141-0/+2
| | | | llvm-svn: 75714
* Added llvm-mc support for parsing the .include directive.Kevin Enderby2009-07-142-0/+25
| | | | llvm-svn: 75711
* Move EVER MORE stuff over to LLVMContext.Owen Anderson2009-07-142-13/+16
| | | | llvm-svn: 75703
* Added llvm-mc support for parsing the .lsym directive.Kevin Enderby2009-07-142-0/+33
| | | | llvm-svn: 75685
* Have asm printers use formatted_raw_ostream directly to avoid aDavid Greene2009-07-143-15/+25
| | | | | | dynamic_cast<>. llvm-svn: 75670
* Fix for bugpoint -remote-clientViktor Kutuzov2009-07-141-7/+15
| | | | llvm-svn: 75665
* Reapply my previous asmprinter changes now with more testing and two Chris Lattner2009-07-143-6/+6
| | | | | | | | | | | | | | | | | | | | additional bug fixes: 1. The bug that everyone hit was a problem in the asmprinter where it would remove $stub but keep the L prefix on a name when emitting the indirect symbol. This is easy to fix by keeping the name of the stub and the name of the symbol in a StringMap instead of just keeping a StringSet and trying to reconstruct it late. 2. There was a problem printing the personality function. The current logic to print out the personality function from the DWARF information is a bit of a cesspool right now that duplicates a bunch of other logic in the asm printer. The short version of it is that it depends on emitting both the L and _ prefix for symbols (at least on darwin) and until I can untangle it, it is best to switch the mangler back to emitting both prefixes. llvm-svn: 75646
* Added llvm-mc support for parsing the .desc directive.Kevin Enderby2009-07-142-0/+34
| | | | llvm-svn: 75645
* Revert r7561{9,8,7,6}, which depend on r75610. Daniel Dunbar2009-07-143-6/+6
| | | | | | | | | | | | | | | | | | --- Reverse-merging r75619 into '.': U lib/Target/DarwinTargetAsmInfo.cpp U lib/CodeGen/AsmPrinter/AsmPrinter.cpp --- Reverse-merging r75618 into '.': U lib/CodeGen/ELFWriter.cpp U lib/CodeGen/MachOCodeEmitter.cpp U lib/CodeGen/MachOWriter.cpp --- Reverse-merging r75617 into '.': U lib/Target/CBackend/CBackend.cpp --- Reverse-merging r75616 into '.': U tools/bugpoint/Miscompilation.cpp U tools/lto/LTOCodeGenerator.cpp U tools/lto/LTOModule.cpp llvm-svn: 75638
* Move main llvm-prof functionality into a ModulePass.Daniel Dunbar2009-07-141-110/+148
| | | | | | | | | | | - To support using the ProfileInfo analysis results instead of accessing the ProfileInfoLoader directly. - Based on (part of) a patch by Andreas Neustifter. - No functionality change. llvm-svn: 75625
* rename getValueName -> getMangledNameChris Lattner2009-07-143-6/+6
| | | | llvm-svn: 75616
* Added llvm-mc support for parsing the .abort directive.Kevin Enderby2009-07-132-0/+27
| | | | llvm-svn: 75545
* #include "llvm/Assembly/Writer.h" to get the declaration for WriteAsOperand.Dan Gohman2009-07-131-0/+1
| | | | llvm-svn: 75542
* Fix the build.Owen Anderson2009-07-131-0/+1
| | | | llvm-svn: 75536
* As Chris pointed out, this doesn't actually need an LLVMContext to operate.Owen Anderson2009-07-131-1/+1
| | | | llvm-svn: 75508
* add llvm-mc support for parsing the .subsections_via_symbols directive.Kevin Enderby2009-07-132-0/+19
| | | | llvm-svn: 75500
* Added a fixme for platform specific GetDirSeparator().Sanjiv Gupta2009-07-131-0/+2
| | | | llvm-svn: 75461
* allow mcc16 users to specify --save-temps even though it is hidden by mcc16.Sanjiv Gupta2009-07-132-2/+1
| | | | | | link libstd.so with llvm-ld by default with all the programs user is trying to build. llvm-svn: 75460
* Begin the painful process of tearing apart the rat'ss nest that is ↵Owen Anderson2009-07-135-5/+7
| | | | | | | | | Constants.cpp and ConstantFold.cpp. This involves temporarily hard wiring some parts to use the global context. This isn't ideal, but it's the only way I could figure out to make this process vaguely incremental. llvm-svn: 75445
* Match declaration to definition.Daniel Dunbar2009-07-121-1/+1
| | | | llvm-svn: 75440
* silence vc++ warning.Chris Lattner2009-07-111-1/+1
| | | | llvm-svn: 75394
* Fix unused function warning.Daniel Dunbar2009-07-111-0/+2
| | | | llvm-svn: 75386
* Update documentation.Mikhail Glushenkov2009-07-111-2/+4
| | | | llvm-svn: 75375
* Erase the temp dir before starting.Sanjiv Gupta2009-07-111-0/+7
| | | | llvm-svn: 75367
* add support for .zerofill, patch by Kevin Enderby!Chris Lattner2009-07-102-1/+95
| | | | llvm-svn: 75301
* Support remote execute for ARM.David Goodwin2009-07-104-7/+37
| | | | llvm-svn: 75292
* Add a --with-oprofile flag to configure, which uses OProfile's agentJeffrey Yasskin2009-07-101-0/+1
| | | | | | | | | | | | | | | | | | library to tell it the addresses of JITted functions. For a particular program, this changes the opreport -l output from: samples % image name symbol name 48182 98.9729 anon (tgid:19412 range:0x7f12ccaab000-0x7f12cdaab000) anon (tgid:19412 range:0x7f12ccaab000-0x7f12cdaab000) 11 0.0226 libstdc++.so.6.0.9 /usr/lib/libstdc++.so.6.0.9 to: samples % image name symbol name 24565 60.7308 19814.jo fib_left 15365 37.9861 19814.jo fib_right 22 0.0544 ld-2.7.so do_lookup_x llvm-svn: 75279
* Link std.lib (.bc code) with llvm-ld.Sanjiv Gupta2009-07-101-2/+2
| | | | | | Link devices.lib (processor specific variables) with mplink. llvm-svn: 75263
* This started as a small change, I swear. Unfortunately, lots of things call ↵Owen Anderson2009-07-091-2/+2
| | | | | | the [I|F]CmpInst constructors. Who knew!? llvm-svn: 75200
* Documentation update.Mikhail Glushenkov2009-07-091-0/+3
| | | | llvm-svn: 75166
* We don't need to set SaveTemps here.Mikhail Glushenkov2009-07-091-1/+0
| | | | | | '--temp-dir' always overrides 'save-temps'. llvm-svn: 75165
* Adjust comment.Mikhail Glushenkov2009-07-091-2/+2
| | | | llvm-svn: 75164
* By default -t is always on for mcc16 and it uses ./tmp-objs as the temp ↵Sanjiv Gupta2009-07-091-1/+2
| | | | | | directory. llvm-svn: 75155
* add llvm-mc support for parsing the .lcomm directive, patch by Kevin Enderby!Chris Lattner2009-07-092-12/+15
| | | | llvm-svn: 75148
* Added few more options to individual tools.Sanjiv Gupta2009-07-091-2/+2
| | | | llvm-svn: 75120
* Return dir separator as per platform.Sanjiv Gupta2009-07-091-0/+4
| | | | llvm-svn: 75119
* Don't create undefined symbols for aliases.Nick Lewycky2009-07-091-2/+5
| | | | llvm-svn: 75111
* Switch GlobalVariable ctors to a sane API, where *either* a context or a ↵Owen Anderson2009-07-082-10/+9
| | | | | | module is required. llvm-svn: 75025
* Push LLVMContext through GlobalVariables and IRBuilder.Owen Anderson2009-07-082-4/+8
| | | | llvm-svn: 74985
* Fix http://llvm.org/PR4481: Make llvm-config print the right include paths whenJeffrey Yasskin2009-07-071-3/+6
| | | | | | srcdir!=objdir. llvm-svn: 74956
* Implement parsing support for the .comm directive. Patch byChris Lattner2009-07-072-0/+61
| | | | | | Kevin Enderby! llvm-svn: 74944
* Fix lli to print an error and exit when EE returns null but no string. PatchChris Lattner2009-07-071-2/+5
| | | | | | by Eric Rannaud! llvm-svn: 74930
* Documentation update.Mikhail Glushenkov2009-07-071-1/+2
| | | | llvm-svn: 74913
* Show how to modify built-in options.Mikhail Glushenkov2009-07-071-2/+19
| | | | | | | Sanjiv complained about the need to maintain local changes to lib/CompilerDriver. llvm-svn: 74912
* Documentation update.Mikhail Glushenkov2009-07-071-0/+6
| | | | llvm-svn: 74907
* Add the Object Code Emitter class. Original patch by Aaron Gray, I did someBruno Cardoso Lopes2009-07-062-8/+9
| | | | | | cleanup, removed some #includes and moved Object Code Emitter out-of-line. llvm-svn: 74813
* LLVMC doesn't need ENABLE_PIC to build now.Mikhail Glushenkov2009-07-041-2/+2
| | | | llvm-svn: 74783
OpenPOWER on IntegriCloud