Preston Gurd
82cac0acc0
Trivial change to make the test use -mcpu=generic so as to avoid
...
a failure if run on an Intel Atom with post RA instruction scheduling.
llvm-svn: 155587
2012-04-25 21:04:54 +00:00
Enrico Granata
de93b6b42f
Fixing a typo in the NSArray data formatter
...
llvm-svn: 155586
2012-04-25 20:59:02 +00:00
Fariborz Jahanian
94ee181e08
objective-c modern translator: more tests.
...
llvm-svn: 155585
2012-04-25 20:48:00 +00:00
Michael J. Spencer
aa53d680bb
[docs] Minor spelling fix. Thanks Gabor!
...
llvm-svn: 155581
2012-04-25 19:59:06 +00:00
Kaelyn Uhrain
76e07347ba
Add an error message with fixit hint for changing '.' to '->'.
...
This is mainly for attempting to recover in cases where a class provides
a custom operator-> and a '.' was accidentally used instead of '->' when
accessing a member of the object returned by the current object's
operator->.
llvm-svn: 155580
2012-04-25 19:49:54 +00:00
Jim Ingham
e5b2245d68
Make sure the end of the first line is still within the function, and if not, don't push the prologue past it.
...
rdar://problem/11271074
llvm-svn: 155579
2012-04-25 19:48:30 +00:00
Michael J. Spencer
365f1ec246
[docs] Add getting started guide.
...
llvm-svn: 155578
2012-04-25 19:34:24 +00:00
Greg Clayton
d712ef0fd7
Remove the "-x" from the finish-swig-Python-LLDB.sh shell options so it doesn't print out all of the commands when executing the shell script.
...
Cleaned up the lldb.utils.symbolication, lldb.macosx.heap and lldb.macosx.crashlog. The lldb.macosx.heap can now build a dylib for the current triple into a temp directory and use it from there.
llvm-svn: 155577
2012-04-25 18:40:20 +00:00
Argyrios Kyrtzidis
6fe744cc38
When resolving default template arguments, it should be done in the declaration context
...
of the template what we are going to instantiate.
Fixes various crashes of rdar://11242625 & http://llvm.org/PR11421 .
llvm-svn: 155576
2012-04-25 18:39:17 +00:00
Richard Smith
1ad04d95bc
PR12625: Cope with classes which have incomplete base or member types:
...
Don't try to query whether an incomplete type has a trivial copy constructor
when determining whether a move constructor should be declared.
llvm-svn: 155575
2012-04-25 18:28:49 +00:00
Benjamin Kramer
2823f58038
Use a SmallMap for StoredDeclsMap, it's usually sparsely populated so we can avoid initializing memory for 64 buckets.
...
llvm-svn: 155571
2012-04-25 18:21:27 +00:00
Benjamin Kramer
4f947ff10b
Convert a std::map that usually has between 0 and 10 elements to SmallMap.
...
llvm-svn: 155570
2012-04-25 18:21:21 +00:00
Fariborz Jahanian
78731c7098
improve a modern objc translator test.
...
llvm-svn: 155569
2012-04-25 18:11:57 +00:00
Benjamin Kramer
31f2704a3d
Reapply the SmallMap patch with a fix.
...
Comparing ~0UL with an unsigned will always return false when long is 64 bits long.
llvm-svn: 155568
2012-04-25 18:01:58 +00:00
Jakob Stoklund Olesen
293673d788
Print IV chain numbers while collecting them.
...
llvm-svn: 155567
2012-04-25 18:01:32 +00:00
Jakob Stoklund Olesen
01f201f484
Remove more dead code.
...
llvm-svn: 155566
2012-04-25 18:01:30 +00:00
Richard Barton
ba5b0cc82e
Unify internal representation of ARM instructions with a register right-shifted by #32 . These are stored as shifts by #0 in the MCInst and correctly marshalled when transforming from or to assembly representation.
...
llvm-svn: 155565
2012-04-25 18:00:18 +00:00
Fariborz Jahanian
e49a42cae9
modern objc rewriter: fixes a bug writing
...
a const qualified static c-function.
// rdar://11314329
llvm-svn: 155564
2012-04-25 17:56:48 +00:00
Enrico Granata
7d22221759
Returning data formatters to their previous working condition - Plus fixing an issue that was preventing Python oneliners from executing
...
llvm-svn: 155563
2012-04-25 17:53:41 +00:00
Eric Christopher
4ff88c67e0
Revert "First implementation of:"
...
This reverts commit 76271a3366731d4c372fdebcd8d3437e6e09a61b.
as it's breaking the bots.
llvm-svn: 155562
2012-04-25 17:51:00 +00:00
Sean Callanan
e8dea98b5e
Hardened LLDB against NULL identifiers being passed
...
into FindExternalVisibleDeclsByName.
llvm-svn: 155561
2012-04-25 17:46:01 +00:00
Jim Ingham
5d2735e502
Suspend program threads before sending the SIGSTOP & resuming, so other threads won't get into trouble while we are waiting for the SIGSTOP.
...
rdar://problem/11174834
llvm-svn: 155560
2012-04-25 17:45:26 +00:00
Stepan Dyatkovskiy
7ce39cdb9f
First implementation of:
...
- FlatArrayMap. Very simple map container that uses flat array inside.
- MultiImplMap. Map container interface, that has two modes, one for small amount of elements and one for big amount.
- SmallMap. SmallMap is DenseMap compatible MultiImplMap. It uses FlatArrayMap for small mode, and DenseMap for big mode.
Also added unittests for new classes and update for ProgrammersManual.
For more details about new classes see ProgrammersManual and comments in sourcecode.
llvm-svn: 155557
2012-04-25 17:09:38 +00:00
Enrico Granata
eb36cadb68
Fixing an over-substitution of text
...
llvm-svn: 155556
2012-04-25 16:35:54 +00:00
Enrico Granata
85ce21c04d
Make the C++ formatters importable by having them use the right package to import and reference the Logger
...
llvm-svn: 155555
2012-04-25 16:32:39 +00:00
Jakob Stoklund Olesen
60d660fe94
Simplify LiveIntervals::getApproximateInstructionCount().
...
This function is only used for a heuristic during -join-physregs. It
doesn't need floating point.
llvm-svn: 155554
2012-04-25 16:32:23 +00:00
Jakob Stoklund Olesen
e64664e178
Remove a dead function.
...
llvm-svn: 155553
2012-04-25 16:32:20 +00:00
Jakob Stoklund Olesen
983dd43b15
Remove the -disable-cross-class-join option.
...
Cross-class joins have been normal and fully supported for a while now.
With TableGen generating the getMatchingSuperRegClass() hook, they are
unlikely to cause problems again.
llvm-svn: 155552
2012-04-25 16:17:50 +00:00
Jakob Stoklund Olesen
d11cf9677f
Cross-class joining is winning.
...
Remove the heuristic for disabling cross-class joins. The greedy
register allocator can handle the narrow register classes, and when it
splits a live range, it can pick a larger register class.
Benchmarks were unaffected by this change.
<rdar://problem/11302212>
llvm-svn: 155551
2012-04-25 16:17:47 +00:00
Manuel Klimek
85e60b5dc9
Adds documentation for how to use the tooling library.
...
llvm-svn: 155550
2012-04-25 14:20:13 +00:00
Manuel Klimek
06b0a7369f
Adds a document describing the various tooling approaches and their pros and
...
cons.
llvm-svn: 155549
2012-04-25 13:57:00 +00:00
Tobias Grosser
460e9a463d
ScheduleOptimizer: Move functions into class
...
llvm-svn: 155548
2012-04-25 13:22:43 +00:00
Hongbin Zheng
8a8466106c
Refactor: Move the code generation related header files to include/polly/CodeGen.
...
llvm-svn: 155547
2012-04-25 13:18:28 +00:00
Hongbin Zheng
3b11a16a44
Refactor: Move the declaration of the BlockGenerator/VectorBlockGenerator
...
to standalone header and source files.
llvm-svn: 155546
2012-04-25 13:16:49 +00:00
Hongbin Zheng
39645abf4c
ScopStmt: Provide a function to allow users look up the corresponding
...
memory access of a particular instruction, the function will return
null if no such memory access.
llvm-svn: 155544
2012-04-25 09:34:33 +00:00
Evgeniy Stepanov
0a0655affa
Make asan-ld test windows-safe.
...
llvm-svn: 155543
2012-04-25 09:28:10 +00:00
Manuel Klimek
3778a435d1
Fixes the header search logic for tools:
...
The driver needs to get the correct path to the executable to deduce
the header search path.
llvm-svn: 155542
2012-04-25 09:25:41 +00:00
Evgeniy Stepanov
7786671b5a
Clang driver support for linking on Android.
...
llvm-svn: 155541
2012-04-25 08:59:22 +00:00
Evgeniy Stepanov
78eaa2cd1b
Fix default cpu for -march=armv5e.
...
llvm-svn: 155540
2012-04-25 08:35:56 +00:00
Hongbin Zheng
86a37745eb
Minor change: Replace convertInt in ScopInfo.cpp by utostr_32, which is
...
defined in StringExtras.h.
llvm-svn: 155539
2012-04-25 08:01:38 +00:00
Craig Topper
3ec7c2aa84
Add ifdef around getSubtargetFeatureName in tablegen output file so that only targets that want the function get it. This prevents other targets from getting an unused function warning.
...
llvm-svn: 155538
2012-04-25 06:56:34 +00:00
Craig Topper
5ff6dc34b9
Use vector_shuffles instead of target specific unpack nodes for AVX ZERO_EXTEND/ANY_EXTEND combine. These will be converted to target specific nodes during lowering. This is more consistent with other code.
...
llvm-svn: 155537
2012-04-25 06:39:39 +00:00
Chris Lattner
07d9073df2
openbsd doesn't support soname, patch by Brad Smith!
...
llvm-svn: 155536
2012-04-25 06:37:20 +00:00
Chris Lattner
024e12df52
OpenBSD: Remove incorrect -pthread preprocessor define _POSIX_THREADS and replace
...
with _REENTRANT. Also remove undef _POSIX_THREADS in phread.h.
Patch by Brad Smith!
llvm-svn: 155535
2012-04-25 06:12:24 +00:00
Chris Lattner
7073c47dc4
don't use soname on OpenBSD, it doesn't support it. Patch by
...
Brad Smith!
llvm-svn: 155534
2012-04-25 06:09:30 +00:00
Chandler Carruth
eeb9e5810a
Actually delete now-empty file.
...
llvm-svn: 155532
2012-04-25 02:30:00 +00:00
Lang Hames
2fd0c69125
Reverting r155468. Chris and Chandler have convinced me that it's dangerous and
...
in poor taste.
Talking through some alternate solutions with Chandler.
llvm-svn: 155530
2012-04-25 02:16:54 +00:00
Greg Clayton
ed3eee6e55
Now that we have an LLDB package, make the "lldb.macosx.crashlog" module work with all of the new module paths.
...
llvm-svn: 155528
2012-04-25 01:49:50 +00:00
Jason Molenda
68b922590d
Bump to lldb-144.
...
llvm-svn: 155527
2012-04-25 01:44:49 +00:00
Enrico Granata
28399adad8
Making the Cocoa formatters comply with the new on-disk layout of the Python resources - This is one of the steps towards making the data formatters work again
...
llvm-svn: 155526
2012-04-25 01:39:27 +00:00