summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Removed TracingBrainF from examples Makefile.Garrison Venn2010-09-151-2/+1
| | | | llvm-svn: 113970
* Extend bracket insertion to handle nullary selectors, e.g.Douglas Gregor2010-09-152-1/+3
| | | | | | a getFoo] llvm-svn: 113969
* Implement bracket insertion for Objective-C instance message sends asDouglas Gregor2010-09-1510-28/+124
| | | | | | | | | | | | | | | | | | | | | | | part of parser recovery. For example, given: a method1:arg]; we detect after parsing the expression "a" that we have the start of a message send expression. We pretend we've seen a '[' prior to the a, then parse the remainder as a message send. We'll then give a diagnostic+fix-it such as: fixit-objc-message.m:17:3: error: missing '[' at start of message send expression a method1:arg]; ^ [ The algorithm here is very simple, and always assumes that the open bracket goes at the beginning of the message send. It also only works for non-super instance message sends at this time. llvm-svn: 113968
* If dbg.declare from non-entry block is using alloca from entry block then ↵Devang Patel2010-09-151-2/+14
| | | | | | use offset available in StaticAllocaMap to emit DBG_VALUE. Right now, this has no material impact because varible info also collected using offset table maintained in machine module info. llvm-svn: 113967
* Tweak regex not to accidentally match a trailing \r.Benjamin Kramer2010-09-151-1/+1
| | | | llvm-svn: 113966
* Release-Asserts no longer exists.Duncan Sands2010-09-151-1/+1
| | | | llvm-svn: 113965
* Fix pointer-signext.c test case: it was relying on value names, which don't ↵Cameron Esfahani2010-09-151-3/+3
| | | | | | appear in the non-assert build. Switch to using check-next as well. llvm-svn: 113964
* Test hardening.John McCall2010-09-151-6/+6
| | | | llvm-svn: 113963
* one piece of code is responsible for the lifetime of every aggregateJohn McCall2010-09-1520-222/+346
| | | | | | | | | | | | | slot. The easiest way to do that was to bundle up the information we care about for aggregate slots into a new structure which demands that its creators at least consider the question. I could probably be convinced that the ObjC 'needs GC' bit should be rolled into this structure. Implement generalized copy elision. The main obstacle here is that IR-generation must be much more careful about making sure that exactly llvm-svn: 113962
* 15-20% speed improvement when parsing DWARF. I used instruments toGreg Clayton2010-09-1510-298/+575
| | | | | | | | | find the hotspots in our code when indexing the DWARF. A combination of using SmallVector to avoid collection allocations, using fixed form sizes when possible, and optimizing the hot loops contributed to the speedup. llvm-svn: 113961
* Remove the Ada bindings which are unmaintained and unused. The project whichDuncan Sands2010-09-1525-17093/+0
| | | | | | | was the main putative user of the binding is actually maintaining its own different binding, see http://git.ada.cx/cgi-bin/cgit.cgi/draco.git/ llvm-svn: 113960
* Remove LLVM_GLOBAL_VISIBILITY, which is unused, and was not working properly.Duncan Sands2010-09-151-11/+1
| | | | | | | | | | | | | The problem was that the test for whether a compiler supports it or not was inaccurate, but has to be accurate: LLVM_LOCAL_VISIBILITY is an optimization and not needed for correctness, so wrongly thinking a compiler doesn't support it is not a big deal, but LLVM_GLOBAL_VISIBILITY is for correctness, and not an optimization: getting it wrong is fatal: it needs to be set based on a configure test not testing the gcc version. Since dragonegg has moved to a different scheme, and it was the only user of LLVM_GLOBAL_VISIBILITY, just remove this macro. llvm-svn: 113959
* Relax assertion in CFG builder when processing ForStmts. This fixes an ↵Ted Kremenek2010-09-152-1/+8
| | | | | | | | assertion failure on code containing GNU statement expressions reported in PR 8141. llvm-svn: 113953
* Modify "settings list" so you can specify a particular instance setting name,Caroline Tice2010-09-154-6/+268
| | | | | | | or a settings prefix, and it will list information about the subset of settings you requested. Also added tab-completion (now that it takes an optional argument). llvm-svn: 113952
* Fixed a missing newline when dumping mixed disassembly.Greg Clayton2010-09-1512-27/+72
| | | | | | | | | | | | | | | | | Added a "bool show_fullpaths" to many more objects that were previously always dumping full paths. Fixed a few places where the DWARF was not indexed when we we needed it to be when making queries. Also fixed an issue where the DWARF in .o files wasn't searching all .o files for the types. Fixed an issue with the output from "image lookup --type <TYPENAME>" where the name and byte size might not be resolved and might not display. We now call the accessors so we end up seeing all of the type info. llvm-svn: 113951
* Remove all visible uses of "[DEFAULT]" instance name.Caroline Tice2010-09-152-16/+77
| | | | | | | Add ability to rename UserSettingsInstances after they have been created (via UserSettingsController::RenameInstanceSettings. llvm-svn: 113950
* lcall and ljmp always default to lcalll and ljmpl. This finallyChris Lattner2010-09-152-10/+18
| | | | | | wraps up r8418316 llvm-svn: 113949
* apparently jmpl $1,$2 is an alias for ljmpl, similiarlyChris Lattner2010-09-153-1/+36
| | | | | | for call. Add this. llvm-svn: 113948
* Fixed a race condition that was sometimes stopping our command line Greg Clayton2010-09-151-1/+3
| | | | | | | | | | | | interpreter from working. The communication read thread could startup and immediately exit if m_read_thread_enabled was checked in the thread function before it was set by the thread that spawns the read thread. Now m_read_thread_enabled is set to true prior to spawning the read thread to avoid this issue. Hopefully this will clear up the sporatic failures in our test suite. llvm-svn: 113947
* Disambiguate lcall/ljmp to the 32-bit version. This happensChris Lattner2010-09-152-0/+16
| | | | | | even in 64-bit mode apparently. llvm-svn: 113945
* fix the encoding of sldt GR16 to have the 0x66 prefix, andChris Lattner2010-09-152-2/+13
| | | | | | | add sldt GR32, which isn't documented in the intel manual but which gas accepts. Part of rdar://8418316 llvm-svn: 113938
* implement aliases for shld/shrd, part of rdar://8418316Chris Lattner2010-09-152-0/+20
| | | | llvm-svn: 113937
* fix rdar://8431880 - rcl/rcr with no shift amount not recognizedChris Lattner2010-09-152-1/+20
| | | | llvm-svn: 113936
* tests/lit: Split options into two groups, so we don't get driver warnings aboutDaniel Dunbar2010-09-151-9/+10
| | | | | | unused linker arguments for compile only tests. llvm-svn: 113935
* tests: Remove some stray cleanup code.Daniel Dunbar2010-09-151-2/+0
| | | | llvm-svn: 113934
* So we can't use .debug_pubtypes as it, as designed, does not tell us about Greg Clayton2010-09-1510-548/+439
| | | | | | | | | | | | | | | | | all types in all compile units. I added a new kind of accelerator table to the DWARF that allows us to index the DWARF compile units and DIEs in a way that doesn't require the data to stay loaded. Currently when indexing the DWARF we check if the compile unit had parsed its DIEs and if it hasn't we index the data and free all of the DIEs so we can reparse later when we need to after using one of our complete accelerator tables to determine we need to reparse some DWARF. If the DIEs had already been parsed we leave them loaded. The new accelerator table uses the "const char *" pointers from our ConstString class as the keys, and NameToDIE::Info as the value. This info contains the compile unit index and the DIE index which means we are pointed right to the DIE we need unlike the other DWARF accelerator tables that often just point us to the compile unit we would find our answer in. llvm-svn: 113933
* add various broken forms of fnstsw. I didn't add the %raxChris Lattner2010-09-152-1/+28
| | | | | | | version because it adds a prefix and makes even less sense than the other broken forms. This wraps up rdar://8431422 llvm-svn: 113932
* tests: Fixup lit config, which got garbled somehow...Daniel Dunbar2010-09-151-2/+3
| | | | llvm-svn: 113931
* add some aliases for f[u]comi, part of rdar://8431422Chris Lattner2010-09-152-7/+23
| | | | llvm-svn: 113930
* add a bunch of aliases for fp operations with no operand,Chris Lattner2010-09-152-5/+47
| | | | | | rdar://8431422 llvm-svn: 113929
* test: Fix coff-dump section array indicies to 1 based to match file format.Michael J. Spencer2010-09-153-9/+11
| | | | llvm-svn: 113928
* Tabs to spacesMichael J. Spencer2010-09-151-485/+485
| | | | llvm-svn: 113927
* Cleanup coff-dump.pyMichael J. Spencer2010-09-151-113/+113
| | | | llvm-svn: 113926
* tests: Sketch a lit config for running libc++ tests; currently expects ↵Daniel Dunbar2010-09-151-0/+122
| | | | | | libc++ to have been installed. llvm-svn: 113925
* build: Start sketching code to allow grafting libc++ build into LLVM/Clang ↵Daniel Dunbar2010-09-151-0/+63
| | | | | | | | | build if libc++ is checked out into llvm/projects. - WIP, not on by default yet. llvm-svn: 113924
* lit: Expose FileBasedTest object and Test module via 'lit' object that getsDaniel Dunbar2010-09-152-0/+4
| | | | | | exposed to config files. llvm-svn: 113923
* lit: Rename main lit module to main.py, lit/lit/lit.py was a bit too, err,Daniel Dunbar2010-09-152-1/+1
| | | | | | alliterate. llvm-svn: 113922
* Diagnose invalid instructions like "incl" with "too few operands for ↵Chris Lattner2010-09-151-2/+4
| | | | | | | | | instruction" instead of crashing. This fixes: rdar://8431815 - crash when invalid operand is one that isn't present llvm-svn: 113921
* Disallow the use of UnknownVal as the index for ElementRegions. UnknownVals ↵Ted Kremenek2010-09-158-19/+55
| | | | | | | | | | | | | | | | | can be used as the index when the value evaluation isn't powerful enough. By creating ElementRegions with UnknownVals as the index, this gives the false impression that they are the same element, when they really aren't. This becomes really problematic when deriving symbols from these regions (e.g., those representing the initial value of the index), since two different indices will get the same symbol for their binding. This fixes an issue with the idempotent operations checker that would cause two indices that are clearly not the same to make it appear as if they always had the same value. Fixes <rdar://problem/8431728>. llvm-svn: 113920
* Use float64 instead of int64 vector elements for NEON vget_low and vget_highBob Wilson2010-09-151-7/+19
| | | | | | | functions, since int64 is not a legal type and using it leads to inefficient code. PR8036. llvm-svn: 113919
* Use VLD1/VST1 pseudo instructions for loadRegFromStackSlot andBob Wilson2010-09-152-33/+9
| | | | | | storeRegToStackSlot. llvm-svn: 113918
* Fix classification of statement expressions.Douglas Gregor2010-09-151-1/+1
| | | | llvm-svn: 113917
* If you have already loaded a file into the debugger, "process attach" will ↵Jim Ingham2010-09-151-20/+34
| | | | | | attach to a process with the filename, unless you specify otherwise. llvm-svn: 113916
* trailing whitespaceJim Grosbach2010-09-151-25/+25
| | | | llvm-svn: 113915
* Add x86MMX a few more places.Dale Johannesen2010-09-153-1/+4
| | | | llvm-svn: 113914
* fix PR8144, a bug where constant merge would merge globals markedChris Lattner2010-09-152-1/+41
| | | | | | attribute(used). llvm-svn: 113911
* Fix Windows64 target info so pointer arithmetic is done correctly, and no ↵Cameron Esfahani2010-09-152-0/+35
| | | | | | sign extension code is emitted: PtrDiffType needs to be a signed long long. Add a corresponding test case. llvm-svn: 113910
* Microsoft's flexible array rules relaxation:Francois Pichet2010-09-153-6/+45
| | | | | | | - in union - as the only element of a struct/class. llvm-svn: 113909
* The Mangled name comparision should prefer the mangled name.Jim Ingham2010-09-151-1/+1
| | | | llvm-svn: 113908
* Adding a bit more logging.Jim Ingham2010-09-151-0/+6
| | | | llvm-svn: 113907
OpenPOWER on IntegriCloud