summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Alphabetize this one flag, just to pull it out of my patch.Nick Lewycky2011-04-211-1/+1
| | | | llvm-svn: 129941
* Driver/Darwin: Allow OS X deployment targets like 10.4.11, even though theyDaniel Dunbar2011-04-213-5/+17
| | | | | | can't be represented in the environment define. llvm-svn: 129939
* Refactor.Devang Patel2011-04-213-30/+38
| | | | llvm-svn: 129938
* Hopefully fix the last fallout of 'commands' to 'command' change.Johnny Chen2011-04-211-4/+4
| | | | llvm-svn: 129937
* Use self.TraceOn() API.Johnny Chen2011-04-213-4/+14
| | | | llvm-svn: 129936
* Use self.TraceOn() API to decide whether to print debug output.Johnny Chen2011-04-213-16/+11
| | | | llvm-svn: 129935
* Test case for r129922Devang Patel2011-04-211-0/+105
| | | | llvm-svn: 129934
* Use the ArrayFiller to fill out "holes" in the array initializer due to ↵Argyrios Kyrtzidis2011-04-213-4/+16
| | | | | | | | designated initializers, avoiding to create separate Exprs for each one. llvm-svn: 129933
* PR9214: Convert Metadata API to use ArrayRef.Jay Foad2011-04-2110-66/+58
| | | | llvm-svn: 129932
* PR9214: Convert Metadata API to use ArrayRef.Jay Foad2011-04-215-7/+8
| | | | llvm-svn: 129929
* Don't recycle loop variables.Matt Beaumont-Gay2011-04-211-1/+1
| | | | llvm-svn: 129928
* More iteration on the new option value stuff. We now define an Greg Clayton2011-04-212-89/+108
| | | | | | | OptionValueCollection class that can be subclassed to provide access to internal settings that are stored as ObjectValue subclasses. llvm-svn: 129926
* Allow allocatable ranges from global live range splitting to be split again.Jakob Stoklund Olesen2011-04-213-7/+45
| | | | | | | | | | | | | | | | | | | | | These intervals are allocatable immediately after splitting, but they may be evicted because of later splitting. This is rare, but when it happens they should be split again. The remainder intervals that cannot be allocated after splitting still move directly to spilling. SplitEditor::finish can optionally provide a mapping from new live intervals back to the original interval indexes returned by openIntv(). Each original interval index can map to multiple new intervals after connected components have been separated. Dead code elimination may also add existing intervals to the list. The reverse mapping allows the SplitEditor client to treat the new intervals differently depending on the split region they came from. llvm-svn: 129925
* Adds a function to run FrontendActions over in-memory code. This isManuel Klimek2011-04-216-0/+358
| | | | | | | | the first step towards a standalone Clang tool infrastructure. The plan is to make it easy to build command line tools that run over the AST of source files in a project outside of the build system. llvm-svn: 129924
* Fix relative relocations. This is sufficient for running the rust testsuite withRafael Espindola2011-04-212-4/+27
| | | | | | MC :-) llvm-svn: 129923
* As per ARM docs, register Dx is described as DW_OP_regx(256+x) in DWARF.Devang Patel2011-04-211-24/+32
| | | | llvm-svn: 129922
* Add comment in output stream.Devang Patel2011-04-211-0/+3
| | | | llvm-svn: 129921
* Made the constructors public for all OptionValue classesGreg Clayton2011-04-212-113/+207
| | | | | | | | so we can instantiate them, and also moved the code that can get the specific subclass for a OptionValue into the OptionValue class. llvm-svn: 129920
* Driver: Tweak -Xarch diags a bit more, we can't actually differentiate betweenDaniel Dunbar2011-04-212-7/+1
| | | | | | | unknown and "required more arguments", but only the latter should be feasible in practice. llvm-svn: 129919
* Driver: Improve -Xarch argument diagnostics a bit.Daniel Dunbar2011-04-212-5/+16
| | | | llvm-svn: 129918
* Fixit suggestion for adding missing tag name should have a space after the ↵Argyrios Kyrtzidis2011-04-212-6/+16
| | | | | | tag name. Fixes rdar://9295072 llvm-svn: 129917
* Have #pragma message not turn into error by -Werror, by default. Fixes ↵Argyrios Kyrtzidis2011-04-213-2/+5
| | | | | | rdar://9308989. llvm-svn: 129916
* Revert r1296656, "Fix rdar://9289512 - not folding load into compare at -O0...",Daniel Dunbar2011-04-213-65/+16
| | | | | | which broke a couple GCC test suite tests at -O0. llvm-svn: 129914
* PTX: Expand useable register spaceJustin Holewinski2011-04-211-6/+226
| | | | llvm-svn: 129913
* http://llvm.org/bugs/show_bug.cgi?id=9765Howard Hinnant2011-04-211-1/+2
| | | | llvm-svn: 129910
* ptx: fix parameter orderingChe-Liang Chiou2011-04-212-8/+5
| | | | | | | | | This patch depends on the prior fix r129908 that changes to use std::find, rather than std::binary_search, on unordered array. Patch by Dan Bailey llvm-svn: 129909
* ptx: PTXMachineFunctionInfo no longer sort registers and so should not use ↵Che-Liang Chiou2011-04-211-2/+3
| | | | | | std::binary_search llvm-svn: 129908
* PR9772: Fix the definition of WINT_MIN and WINT_MAX on Linux -ffreestanding.Eli Friedman2011-04-213-2/+16
| | | | llvm-svn: 129907
* Don't allow per-register spill size and alignment.Jakob Stoklund Olesen2011-04-213-14/+0
| | | | | | | These values were not used for anything. Spill size and alignment is a property of the register class, not the register. llvm-svn: 129906
* In gcov profiling, give all functions an extra unified return block. This isNick Lewycky2011-04-211-5/+17
| | | | | | | necessary since gcov counts transitions between blocks. It can't see if you've run every line in a straight-line function, so we add an edge for it to notice. llvm-svn: 129905
* Fix think-o: emit all 8 bytes of the EOF marker. Also reflow a line in aNick Lewycky2011-04-211-3/+3
| | | | | | comment for 80 columns. llvm-svn: 129904
* Add independent controls for whether GCOV profiling should emit .gcno files orNick Lewycky2011-04-213-6/+18
| | | | | | | instrument the program to emit .gcda. TODO: we should emit slightly different .gcda files when .gcno emission is off. llvm-svn: 129903
* Fix typo in comment.Nick Lewycky2011-04-211-1/+1
| | | | llvm-svn: 129902
* docs/llvm.css: Introduce cascading style <div> and <p> continued on ↵NAKAMURA Takumi2011-04-213-114/+119
| | | | | | | | | | | | | | | | | | <h[2-5]>. For now, it is applied in AliasAnalysis.html and ReleaseNotes.html. <h2>Section Example</h2> <div> <!-- h2+div is applied --> <p>Section preamble.</p> <h3>Subsection Example</h3> <p> <!-- h3+p is applied --> Subsection body </p> <!-- End of section body --> </div> llvm-svn: 129901
* docs/Passes.html: Fix a garbage.NAKAMURA Takumi2011-04-211-1/+1
| | | | llvm-svn: 129900
* The 0.98 revision of the x86-64 ABI clarified a lot of things, someJohn McCall2011-04-213-10/+59
| | | | | | | of which break strict compatibility with previous compilers. Implement one of them and then immediately opt out on Darwin. llvm-svn: 129899
* Added a blog page with a description and tutorial on using the new "command ↵Greg Clayton2011-04-212-0/+129
| | | | | | | | regex" command. llvm-svn: 129898
* Fixed some more 'commands' to 'command' change.Johnny Chen2011-04-213-5/+5
| | | | llvm-svn: 129897
* ForArgyrios Kyrtzidis2011-04-219-17/+82
| | | | | | | | | | | | | | double data[20000000] = {0}; we would blow out the memory by creating 20M Exprs to fill out the initializer. To fix this, if the initializer list initializes an array with more elements than there are initializers in the list, have InitListExpr store a single 'ArrayFiller' expression that specifies an expression to be used for value initialization of the rest of the elements. Fixes rdar://9275920. llvm-svn: 129896
* Replace 'commands' with 'command', and update to the latest prompt.Johnny Chen2011-04-211-3/+3
| | | | llvm-svn: 129895
* Don't add type names for enums; they're never used in LLVM IR.Anders Carlsson2011-04-202-15/+16
| | | | llvm-svn: 129894
* fix a crash on code that uses the result value of __builtin___memcpy_chk.Chris Lattner2011-04-202-3/+9
| | | | llvm-svn: 129892
* Remove __builtin_ia32_loadup[sd] since clang can represent the actions natively.Bill Wendling2011-04-201-2/+0
| | | | llvm-svn: 129891
* Use self.TraceOn() API.Johnny Chen2011-04-201-0/+10
| | | | llvm-svn: 129890
* Renamed the "commands" command to "command" as this is the way we were usingGreg Clayton2011-04-201-70/+185
| | | | | | | | | | | | | | it everywhere internally. Modified the "command regex" command to be able to specify all regular expressions on the command line. For example: (lldb) command regex f s/^$/finish/ 's/([0-9]+)/frame select %1/' Also improved the error reporting when an invalid 's/<regex>/<subst>/' argument is given. llvm-svn: 129889
* Structs have elements not parameters. I'm surprised this ever compiled...Nick Lewycky2011-04-201-1/+1
| | | | llvm-svn: 129888
* Use self.TraceOn() API.Johnny Chen2011-04-201-2/+6
| | | | llvm-svn: 129885
* Remove -use-divmod-libcall. Let targets opt in when they are available.Evan Cheng2011-04-205-11/+5
| | | | llvm-svn: 129884
* Add debug output for rematerializable instructions.Jakob Stoklund Olesen2011-04-203-6/+10
| | | | llvm-svn: 129883
* Permit remat when a virtual register has multiple defs.Jakob Stoklund Olesen2011-04-201-5/+0
| | | | | | | | TII::isTriviallyReMaterializable() shouldn't depend on any properties of the register being defined by the instruction. Rematerialization is going to create a new virtual register anyway. llvm-svn: 129882
OpenPOWER on IntegriCloud