summaryrefslogtreecommitdiffstats
path: root/llvm/tools
Commit message (Collapse)AuthorAgeFilesLines
* Document OptionPreprocessor.Mikhail Glushenkov2009-10-251-12/+62
| | | | llvm-svn: 85030
* Include config.h in order to have HAVE_STDINT_H be defined.Duncan Sands2009-10-221-0/+1
| | | | | | | In the latest binutils the plugin-api.h needs this - without it the LLVM gold plugin fails to compile. llvm-svn: 84861
* llvm-ld doesn't throw.Chris Lattner2009-10-223-174/+167
| | | | llvm-svn: 84819
* this doesn't use EH either.Chris Lattner2009-10-223-38/+29
| | | | llvm-svn: 84818
* nothing opt uses can throw, remove the try block and -fexceptions whenChris Lattner2009-10-223-163/+150
| | | | | | building opt. llvm-svn: 84816
* Add some command line options for twiddling the default data layoutChris Lattner2009-10-221-2/+20
| | | | | | used by opt when a module doesn't specify one. Patch from Kenneth Uildriks! llvm-svn: 84814
* Added more options to mcc16 driver.Sanjiv Gupta2009-10-213-38/+124
| | | | llvm-svn: 84752
* Clarify documentation on multi_val options.Mikhail Glushenkov2009-10-211-2/+3
| | | | llvm-svn: 84729
* Delete the MacOSJITEventListener per echristo's request. It was disabled byJeffrey Yasskin2009-10-211-1/+0
| | | | | | default and didn't work anyway. llvm-svn: 84720
* First draft of the OptionPreprocessor.Mikhail Glushenkov2009-10-171-0/+12
| | | | | | More to follow... llvm-svn: 84352
* -O[0-3] options should be also forwarded to opt and llc.Mikhail Glushenkov2009-10-171-1/+19
| | | | | | | This will require implementing OptionPreprocessor to forbid invalid invocations such as 'llvmc -O1 -O2'. llvm-svn: 84349
* llvm-as: Simplify, and don't create empty output files with -disable-output.Daniel Dunbar2009-10-171-31/+35
| | | | llvm-svn: 84304
* Add a CodeGenOpt::Less level to match -O1. It'll be used by clients which do ↵Evan Cheng2009-10-162-2/+2
| | | | | | not want post-regalloc scheduling. llvm-svn: 84272
* MC: Remove unneeded context argument to MCExpr::Evaluate*.Daniel Dunbar2009-10-161-1/+1
| | | | llvm-svn: 84233
* MC: Tweak variable assignment diagnostics, and make reassignment of non-absoluteDaniel Dunbar2009-10-161-7/+18
| | | | | | variables and symbols invalid. llvm-svn: 84232
* MC: When parsing a variable reference, substitute absolute variables immediatelyDaniel Dunbar2009-10-161-4/+15
| | | | | | since they are allowed to be redefined. llvm-svn: 84230
* There seems to be no reason for opt's -S option to be hidden.Duncan Sands2009-10-141-2/+1
| | | | | | Make it visible. llvm-svn: 84127
* Fix Makefile to build correctly on Darwin. Patch by Sandeep Patel!Nick Lewycky2009-10-111-2/+3
| | | | llvm-svn: 83813
* Slight rewording.Mikhail Glushenkov2009-10-091-2/+2
| | | | llvm-svn: 83620
* Use llvm-as only for compiling .ll -> .bc.Mikhail Glushenkov2009-10-091-3/+5
| | | | | | llc can compile .ll files directly these days. llvm-svn: 83618
* Unbreak the build.Mikhail Glushenkov2009-10-081-3/+3
| | | | | | Forgot about the need to reconfigure after modifying Base.td.in.... llvm-svn: 83529
* Make the Base plugin understand -MF and -MT.Mikhail Glushenkov2009-10-081-5/+16
| | | | llvm-svn: 83525
* Introduce and use convenience methods for getting pointer typesDuncan Sands2009-10-061-2/+2
| | | | | | | where the element is of a basic builtin type. For example, to get an i8* use getInt8PtrTy. llvm-svn: 83379
* remove llvm-db: it is completely broken and if anyone wants to do a debugger,Chris Lattner2009-10-059-1621/+1
| | | | | | they should not base it on llvm-db (which not following almost any "best practices"). llvm-svn: 83288
* CMake: remove .so file extension from library names when buildingOscar Fuentes2009-10-041-1/+1
| | | | | | | | dependency info. Patch by Peter Collingbourne! llvm-svn: 83275
* Add a way to query the number of input files.Mikhail Glushenkov2009-09-282-0/+9
| | | | llvm-svn: 82957
* Document the 'not' combinator.Mikhail Glushenkov2009-09-281-8/+11
| | | | llvm-svn: 82956
* add a new DirectiveMap stringmap, which allows more efficient dispatchingChris Lattner2009-09-272-23/+35
| | | | | | | | to directive handlers and allows for easier extensibility. I only switched a few over for now. llvm-svn: 82926
* avoid copying MCAsmInfo by value, add an (extremely low prio) fixme.Chris Lattner2009-09-272-5/+3
| | | | llvm-svn: 82911
* Make llvm-bcanalyzer percentages more readable.Daniel Dunbar2009-09-251-5/+7
| | | | llvm-svn: 82772
* Strip trailing whitespace.Daniel Dunbar2009-09-251-60/+60
| | | | llvm-svn: 82771
* Print INST_INBOUNDS_GEP rather than UnknownCode30.Duncan Sands2009-09-251-47/+49
| | | | | | Likewise for constant inbounds GEP. llvm-svn: 82763
* pretty mechanical changes to match coding guidelines (blessed by sabre on IRC)Gabor Greif2009-09-231-41/+41
| | | | llvm-svn: 82603
* Fix llvm-config --src-root and --obj-root for CMake builds.Daniel Dunbar2009-09-221-0/+2
| | | | llvm-svn: 82529
* llvm-config: Remove unused variables.Daniel Dunbar2009-09-221-11/+0
| | | | llvm-svn: 82528
* Add an intel syntax MCInstPrinter implementation. You can nowChris Lattner2009-09-201-3/+5
| | | | | | transcode from AT&T to intel syntax with "llvm-mc foo.s -output-asm-variant=1" llvm-svn: 82385
* Remove the default value for ConstantStruct::get's isPacked parameter andNick Lewycky2009-09-191-2/+2
| | | | | | update the code which was broken by this. llvm-svn: 82327
* Write and read metadata attachments.Devang Patel2009-09-181-9/+16
| | | | llvm-svn: 82259
* Now that llc can read .ll files directly, teach it to recognize .ll asDan Gohman2009-09-161-1/+3
| | | | | | | an extension, so that the default output filename for foo.ll is foo.s, not foo.ll.s llvm-svn: 82071
* Fixed some problems with the logic of parsing line comments by addingKevin Enderby2009-09-162-9/+13
| | | | | | | isAtStartOfComment and using that instead in two places where a loop to check if the char was in MAI.getCommentString(). llvm-svn: 82059
* Make cmake generated llvm-config output correct JIT backend for non X86 targets.Xerxes Ranby2009-09-161-1/+1
| | | | llvm-svn: 82049
* use an accessor to simplify code.Chris Lattner2009-09-161-5/+2
| | | | llvm-svn: 81997
* Give llvm-link a -S option.Dan Gohman2009-09-151-3/+9
| | | | llvm-svn: 81859
* Don't bother using a PassManager just to print a Module.Dan Gohman2009-09-151-7/+2
| | | | llvm-svn: 81858
* Change MCAsmStreamer to take an MCInstPrinter instead of a Chris Lattner2009-09-141-5/+8
| | | | | | | | | | | full AsmPrinter, and change TargetRegistry to keep track of registered MCInstPrinters. llvm-mc is still linking in the entire target foo to get the code emitter stuff, but this is an important step in the right direction. llvm-svn: 81754
* Convert llvm-link to IRReader.Dan Gohman2009-09-123-16/+13
| | | | llvm-svn: 81632
* De-bork CMake build. llvm-extract depends on asmparserDouglas Gregor2009-09-111-1/+1
| | | | llvm-svn: 81574
* Fix llvm-extract's "writing bitcode to a terminal" warning, which wasn'tDan Gohman2009-09-115-34/+37
| | | | | | | | | | | | | | | working. To support this, add an is_displayed() function to raw_ostream, and generalize Process::StandardOutIsDisplayed and friends in order to support it. Also, call RemoveFileOnSignal before creating a file instead of after, so that the file isn't left behind if the program is interrupted between when the file is created and RemoveFileOnSignal is called. While here, add a -S to llvm-extract and port it to IRReader so that it supports assembly input. llvm-svn: 81568
* Added the ParseInstruction() hook for target specific assembler directives soKevin Enderby2009-09-102-2/+6
| | | | | | | | that things like .word can be parsed as target specific. Moved parsing .word out of AsmParser.cpp into X86AsmParser.cpp as it is 2 bytes on X86 and 4 bytes for other targets that support the .word directive. llvm-svn: 81461
* Allow llvmc to take .bc files as input.Mikhail Glushenkov2009-09-101-0/+1
| | | | llvm-svn: 81452
OpenPOWER on IntegriCloud