Bob Wilson
b6d61dc291
Support alignment for NEON vld-lane and vst-lane instructions.
...
llvm-svn: 116776
2010-10-19 00:16:32 +00:00
Johnny Chen
92b9e6e323
Add an assert that 'output.txt' exists before opening it.
...
llvm-svn: 116775
2010-10-19 00:16:14 +00:00
Douglas Gregor
0787b3224d
Tweak code-completion result priorities, so that exact and similar
...
type matches have a bigger impact. The impetus for this change was
that, when initializing an enumeration value, we want enumerators of
that enumeration type to have a higher priority than, e.g., unrelated
local variables.
llvm-svn: 116774
2010-10-19 00:03:23 +00:00
Kevin Enderby
49843c0162
Added a few tweaks to the Intel Descriptor-table support instructions to allow
...
word forms and suffixed versions to match the darwin assembler in 32-bit and
64-bit modes. This is again for use just with assembly source for llvm-mc .
llvm-svn: 116773
2010-10-19 00:01:44 +00:00
Bill Wendling
9987c0ea42
We shouldn't keep track of MMX registers "needed" separately from the SSE
...
registers needed.
llvm-svn: 116772
2010-10-18 23:51:38 +00:00
Eric Christopher
8a8673ea39
From scratch rewrite of mm_malloc.h.
...
Patch by Matthew Beaumont-Gay!
llvm-svn: 116771
2010-10-18 23:38:51 +00:00
Daniel Dunbar
cb79c22678
tests: Force triple to avoid limited precision warning on win32.
...
llvm-svn: 116770
2010-10-18 23:37:08 +00:00
Ted Kremenek
da8a79ac8d
"Fix" bogus idempotent operations warning due to loop unrolling not unrolling enough loops to show that an invariant
...
doesn't hold. This fix is to increase the loop unrolling count to 4, which experiments show doesn't typically impact
analysis time. The real fix is to modify the IdempotentOperationsChecker to suppress warnings where an analysis point
could be preceded by a point where we gave up due to loop unrolling.
llvm-svn: 116769
2010-10-18 23:36:05 +00:00
Jim Grosbach
1c6fd774f7
ARM encoding information for [SU]SAT* instructions.
...
llvm-svn: 116768
2010-10-18 23:35:38 +00:00
Dan Gohman
e4a82e2f21
Make the representation of AliasSets explicitly differentiate
...
between "not known yet" and "known no tbaa info" so that it
can merge them properly.
llvm-svn: 116767
2010-10-18 23:31:47 +00:00
Chandler Carruth
af645b57de
Add a virtual destructor to silence a GCC warning.
...
llvm-svn: 116766
2010-10-18 23:18:51 +00:00
Caroline Tice
e206be2129
Add header files that were added to lldb.swig to the build
...
script, so it can keep track of dependencies accurately (for
knowing when to re-build LLDBWrapPython.cpp).
llvm-svn: 116765
2010-10-18 23:00:51 +00:00
Caroline Tice
c0dbdfb6c2
Combine eArgTypeSignalName and eArgTypeUnixSignalNumber into a single
...
argument type, eArgTypeUnixSignal.
llvm-svn: 116764
2010-10-18 22:56:57 +00:00
Johnny Chen
5517f64dae
Uncomment the @skip decorator to reproduce the hang while running the test suite.
...
llvm-svn: 116763
2010-10-18 22:54:25 +00:00
Eric Christopher
7b92c2a9a0
Revert r116220 - thus turning arm fast isel back on by default.
...
llvm-svn: 116762
2010-10-18 22:53:53 +00:00
Daniel Dunbar
473f8a6f88
Driver: Reject -fasm-blocks except on X86 (where we just ignore it, since
...
passing it is very prevalent in some circles).
llvm-svn: 116761
2010-10-18 22:49:46 +00:00
Caroline Tice
9bc6dbb027
Fix small mistake in previous commit (fixing aliases for commands that
...
take raw input).
llvm-svn: 116760
2010-10-18 22:38:05 +00:00
Daniel Dunbar
2b4de14b1d
Driver/IA: Accept and ignore -force_cpusubtype_ALL, as in 'clang -c
...
-Wa,-force_cpusubtype_ALL t.c'.
- Tweaks -Wa, and -Xassembler handling to only accept an explicit short list of
arguments and give an obvious unsupported error on others.
llvm-svn: 116759
2010-10-18 22:36:15 +00:00
Daniel Dunbar
767bbabb24
Driver/Darwin: Forward -ObjC when linking, which may be needed when using static
...
libraries with Objective-C code.
llvm-svn: 116758
2010-10-18 22:08:36 +00:00
Douglas Gregor
c769d6e007
Fix the translation of the PCC_ForInit code-completion context for
...
C++/C99/Objective-C, so that we properly include types. This fix
affects global caching of code-completion results; without caching,
the behavior was already correct.
llvm-svn: 116757
2010-10-18 22:01:46 +00:00
Jason W Kim
d4cc3d420a
Get rid of unneeded FormatOutput global variable
...
llvm-svn: 116756
2010-10-18 21:59:38 +00:00
Daniel Dunbar
418e7046f7
CrashRecoveryContext: Add missing return, so that the signal fires after we our
...
routine is off the stack. Otherwise we show up rather confusingly in the stack
trace.
llvm-svn: 116755
2010-10-18 21:55:18 +00:00
Douglas Gregor
643c330b91
Provide code completion for types after the '^' that starts a block
...
literal.
llvm-svn: 116754
2010-10-18 21:34:55 +00:00
Jason W Kim
eae048885d
Changed elf-dump to output hex format by default.
...
Also updated tests.
llvm-svn: 116753
2010-10-18 21:32:41 +00:00
John McCall
18e4edae82
Fix some bugs in local class mangling brought up in PR8355.
...
Patch by Richard Smith!
llvm-svn: 116752
2010-10-18 21:28:44 +00:00
Dan Gohman
408beac597
Don't pass the raw invalid pointer used to represent conflicting
...
TBAA information to AliasAnalysis.
llvm-svn: 116751
2010-10-18 21:28:00 +00:00
Bill Wendling
337a31133b
Don't recompute MachineRegisterInfo in the Optimize* method.
...
llvm-svn: 116750
2010-10-18 21:22:31 +00:00
Mikhail Glushenkov
cf2afe008d
Trailing whitespace.
...
llvm-svn: 116749
2010-10-18 21:16:00 +00:00
Johnny Chen
5a7b94d97d
Remove out-dated comments.
...
llvm-svn: 116748
2010-10-18 21:14:58 +00:00
Johnny Chen
8af753dc32
Add a docs/testsuite directory for tips on writing lldb test cases.
...
llvm-svn: 116747
2010-10-18 21:05:09 +00:00
Douglas Gregor
8e3e8743fb
Introduce code completion results for Objective-C methods, both when
...
declaring methods and when sending messages to them, by bringing all
of the selector into TypedCheck chunks in the completion result. This
way, we can improve the sorting of these results to account for the
full selector name rather than just the first chunk.
llvm-svn: 116746
2010-10-18 21:05:04 +00:00
Dan Gohman
fe8abf88a0
Add a basic testcase for TBAA-aware LICM.
...
llvm-svn: 116745
2010-10-18 21:00:09 +00:00
Rafael Espindola
fba9f74932
Implement R_386_GOT32.
...
llvm-svn: 116744
2010-10-18 20:47:21 +00:00
Dan Gohman
71af9db0e8
Make AliasSetTracker TBAA-aware, enabling TBAA-enabled LICM.
...
llvm-svn: 116743
2010-10-18 20:44:50 +00:00
Howard Hinnant
b2b5513dcc
Changing <atomic> to follow Design A
...
llvm-svn: 116742
2010-10-18 20:39:07 +00:00
Rafael Espindola
0a5314fdb3
Relocate with .bss instead of using the symbol. Matches gas behavior.
...
llvm-svn: 116741
2010-10-18 20:25:33 +00:00
Rafael Espindola
3604d4441a
Reenable assert.
...
llvm-svn: 116738
2010-10-18 19:33:01 +00:00
Argyrios Kyrtzidis
9beef8e53d
Read/write declaration attributes from/to PCH properly. Embed them in the declaration block instead of trying to create another block.
...
The new block was messing with the assumption that after decls block comes the stmts block.
Fixes http://llvm.org/PR8406
llvm-svn: 116737
2010-10-18 19:20:11 +00:00
Argyrios Kyrtzidis
754fb5ffb3
Merge header & cpp for test/PCH/attrs.c - more convenient to keep the tests in one source file.
...
llvm-svn: 116736
2010-10-18 19:20:05 +00:00
Caroline Tice
38c22f5692
Fix bug where aliases for commands that take raw input were not
...
executing properly.
llvm-svn: 116735
2010-10-18 19:18:31 +00:00
Devang Patel
218f3206fa
Transfer debug loc to lowered call.
...
Patch by Alexander Herz!
llvm-svn: 116733
2010-10-18 18:53:44 +00:00
Dan Gohman
52dacc0d7f
Add TypeBasedAliasAnalysis to the standard pass lists. Note that it
...
is currently inert by default.
llvm-svn: 116732
2010-10-18 18:50:27 +00:00
Dan Gohman
f7a5e20372
Run tbaa before basicaa, since that's how it's expected to be used.
...
llvm-svn: 116731
2010-10-18 18:45:59 +00:00
Dan Gohman
f3702452c8
Fix BasicAA to pass TBAAInfo through to the chained analysis.
...
llvm-svn: 116730
2010-10-18 18:45:11 +00:00
Jim Grosbach
6706f3c4b4
For Thumb2, try to use frame pointer references for stack slots even when a
...
base register is available. rdar://8525298
llvm-svn: 116729
2010-10-18 18:39:46 +00:00
Rafael Espindola
e3dc9e2ea1
Produce ELF::R_386_GOTPC relocations.
...
llvm-svn: 116728
2010-10-18 18:36:12 +00:00
Caroline Tice
dc8f777f6b
Prevent Python script interpreter initialization from changing
...
the termios settings on the debugger's input handle.
llvm-svn: 116725
2010-10-18 18:24:17 +00:00
Douglas Gregor
1b035bbe3a
When providing code completions of Objective-C method declarations
...
(after - or +), always traverse superclasses and all categories. The
programmer may want to complete a method from *anywhere*.
llvm-svn: 116723
2010-10-18 18:21:28 +00:00
Dan Gohman
33fcde9b9c
Make TypeBasedAliasAnalysis default to doing nothing, with a command-line
...
option to enable it.
llvm-svn: 116722
2010-10-18 18:17:47 +00:00
Dan Gohman
f0a3bed6d6
Use chaining in TypeBasedAliasAnalysis::pointsToConstantMemory.
...
llvm-svn: 116721
2010-10-18 18:10:31 +00:00