Douglas Gregor
b385b7c62e
Dead Code Elimination
...
llvm-svn: 83686
2009-10-09 22:56:12 +00:00
Douglas Gregor
7d195b93d8
Add some FIXMEs
...
llvm-svn: 83685
2009-10-09 22:54:25 +00:00
Devang Patel
df45c7f642
Extract scope information from the variable itself, instead of relying on alloca or llvm.dbg.declare location.
...
While recording beginning of a function, use scope info from the first location entry instead of just relying on first location entry itself.
llvm-svn: 83684
2009-10-09 22:42:28 +00:00
Douglas Gregor
8413751fab
Experimental, ultra-hacking Emacs minor mode for Clang-based code completion.
...
llvm-svn: 83681
2009-10-09 22:17:40 +00:00
Douglas Gregor
58acf32af2
Minor tweaks for code-completion:
...
- Filter out unnamed declarations
- Filter out declarations whose names are reserved for the
implementation (e.g., __bar, _Foo)
- Place OVERLOAD: or COMPLETION: at the beginning of each
code-completion result, so we can easily separate them from other
compilation results.
llvm-svn: 83680
2009-10-09 22:16:47 +00:00
Anders Carlsson
82a108b4ed
Update Xcode project.
...
llvm-svn: 83679
2009-10-09 22:16:24 +00:00
Jeffrey Yasskin
307c053f2e
ExecutionEngine::clearGlobalMappingsFromModule failed to remove reverse
...
mappings, which could cause errors and assert-failures. This patch fixes that,
adds a test, and refactors the global-mapping-removal code into a single place.
llvm-svn: 83678
2009-10-09 22:10:27 +00:00
Dan Gohman
f4eb6777e5
Add a const qualifier.
...
llvm-svn: 83677
2009-10-09 22:09:05 +00:00
Devang Patel
3028a43f57
Revert 83567.
...
llvm-svn: 83676
2009-10-09 22:06:15 +00:00
Dale Johannesen
96a5b87ae2
Use names instead of numbers for some of the magic
...
constants used in inlining heuristics (especially
those used in more than one file). No functional change.
llvm-svn: 83675
2009-10-09 21:42:02 +00:00
John McCall
9f3059a192
Refactor the LookupResult API to simplify most common operations. Require users to
...
pass a LookupResult reference to lookup routines. Call out uses which assume a single
result.
llvm-svn: 83674
2009-10-09 21:13:30 +00:00
Kevin Enderby
a2b99107c4
Added another bit of the ARM target assembler to llvm-mc to parse register
...
lists. Changed ARMAsmParser::MatchRegisterName to return -1 instead of 0 on
errors so 0-15 values could be returned as register numbers. Also added the
rest of the arm register names to the currently hacked up version to allow more
testing. Some changes to ARMAsmParser::ParseOperand to give different errors
for things not yet supported and some additions to the hacked
ARMAsmParser::MatchInstruction to allow more testing for now.
llvm-svn: 83673
2009-10-09 21:12:28 +00:00
Douglas Gregor
7f34baeb4b
When declaring a friend class template, we may end up finding an
...
injected-class-name (e.g., when we're referring to other
specializations of the current class template). Make sure that we see
the template rather than the injected-class-name. Fixes PR4768.
llvm-svn: 83672
2009-10-09 21:11:42 +00:00
Dan Gohman
e19c1810d7
isTriviallyReMaterializable checks the
...
TargetInstrDesc::isRematerializable flag, so it isn't necessary to do
this check in its callers.
llvm-svn: 83671
2009-10-09 21:02:10 +00:00
Dan Gohman
7d9dffb413
Fix the x86 test-shrink optimization so that it doesn't shrink comparisons
...
when one of the bits being tested would end up being the sign bit in the
narrower type, and a signed comparison is being performed, since this would
change the result of the signed comparison. This fixes PR5132.
llvm-svn: 83670
2009-10-09 20:35:19 +00:00
Bob Wilson
35b6173a17
Merge a bunch of NEON tests into larger files so they run faster.
...
llvm-svn: 83667
2009-10-09 20:20:54 +00:00
Mike Stump
1ba6edb030
Efficiency refinements.
...
llvm-svn: 83666
2009-10-09 20:16:49 +00:00
Axel Naumann
c5b2d917de
Do not install CMakeLists.txt (nor any other txt files) into include/ subdirectories
...
llvm-svn: 83665
2009-10-09 20:03:20 +00:00
Mike Stump
e752333c66
Push all the way out to 80.
...
llvm-svn: 83664
2009-10-09 19:42:16 +00:00
Axel Naumann
04ca7e181f
Passing const Triple& is sufficient for AddDefaultSystemIncludePaths()
...
llvm-svn: 83663
2009-10-09 19:37:12 +00:00
Mike Stump
fc8ff639cb
Allow customization for the producer information in the debug output.
...
llvm-svn: 83659
2009-10-09 18:38:12 +00:00
Dan Gohman
dd76bb23d1
Add basic infrastructure and x86 support for preserving MachineMemOperand
...
information when unfolding memory references.
llvm-svn: 83656
2009-10-09 18:10:05 +00:00
Devang Patel
fafa1fe2ad
Check invalid debug info for enums. This may happen when underlyng enum is optimized away. Eventually DwarfChecker will clean this up during llvm verification stage.
...
llvm-svn: 83655
2009-10-09 17:51:49 +00:00
Jim Grosbach
26070c5cff
when previous scratch register is killed, flag the value as no longer tracking
...
llvm-svn: 83653
2009-10-09 17:33:33 +00:00
Mike Stump
727170d2d8
Allow customization for the version line.
...
llvm-svn: 83652
2009-10-09 17:31:54 +00:00
Bob Wilson
6dd3b9ad58
Convert some ARM tests with lots of greps to use FileCheck.
...
llvm-svn: 83651
2009-10-09 17:20:46 +00:00
Fariborz Jahanian
0fe5e0308e
Produce good looking diagnostics on ambiguous built-in operators.
...
Now we produce things like:
bug1.cpp:21:11: error: use of overloaded operator '->*' is ambiguous
int i = c->*pmf; // expected-error {{use of overloaded operator '->*' is ambiguous}} \
~^ ~~~
bug1.cpp:21:11: note: built-in candidate operator ->* ('struct A volatile *', 'int const struct A::*')
bug1.cpp:21:11: note: built-in candidate operator ->* ('struct A volatile *', 'int restrict struct A::*')
...
Still need to look at an issue (indicated as FIXME in the test case).
llvm-svn: 83650
2009-10-09 17:09:58 +00:00
Dan Gohman
dc4893abfe
Revert r83606 and add comments explaining why it isn't safe.
...
llvm-svn: 83649
2009-10-09 16:35:06 +00:00
Fariborz Jahanian
4dc1246d87
Use the new API for applying the qualifiers on built-in '->*'
...
operator's types.
llvm-svn: 83648
2009-10-09 16:34:40 +00:00
Nicolas Geoffray
31c4d8b0ba
As it turns out, the bug fixes in GC codegen did not make it
...
to llvm-2.6. Remove the precise garbage collection feature.
llvm-svn: 83638
2009-10-09 13:17:57 +00:00
Nicolas Geoffray
7d33d21da1
80-columns!
...
llvm-svn: 83628
2009-10-09 10:17:14 +00:00
Nicolas Geoffray
4b7479ab35
Add initial information on VMKit.
...
llvm-svn: 83627
2009-10-09 10:13:08 +00:00
Chris Lattner
0dd2acae0d
more random updates.
...
llvm-svn: 83625
2009-10-09 06:36:25 +00:00
Evan Cheng
7ddb844a2d
Give Dan and my recent changes, machine LICM is now code size neutral.
...
llvm-svn: 83624
2009-10-09 06:31:25 +00:00
Chris Lattner
7c442bddf4
checkpoint.
...
llvm-svn: 83623
2009-10-09 06:24:25 +00:00
Evan Cheng
ccd4545ecb
Fix a logic error that caused non-rematable loop invariants loads to be licm'ed out of loop.
...
llvm-svn: 83622
2009-10-09 06:21:52 +00:00
Chris Lattner
c9bf49dfea
checkpoint.
...
llvm-svn: 83621
2009-10-09 05:55:04 +00:00
Mikhail Glushenkov
28bca602a4
Slight rewording.
...
llvm-svn: 83620
2009-10-09 05:45:38 +00:00
Mikhail Glushenkov
0bd47063ab
Omit the 'out_file_index != -1' check when possible.
...
llvm-svn: 83619
2009-10-09 05:45:21 +00:00
Mikhail Glushenkov
8f30148560
Use llvm-as only for compiling .ll -> .bc.
...
llc can compile .ll files directly these days.
llvm-svn: 83618
2009-10-09 05:45:01 +00:00
Bob Wilson
e9b19f76cb
Commit one last NEON test to use FileCheck. That's all of them now!
...
llvm-svn: 83617
2009-10-09 05:31:56 +00:00
Bob Wilson
24b84fecf2
Convert more NEON tests to use FileCheck.
...
llvm-svn: 83616
2009-10-09 05:14:48 +00:00
Chris Lattner
303d23251b
update clang section.
...
llvm-svn: 83615
2009-10-09 05:01:15 +00:00
Mikhail Glushenkov
fc8809d0ac
Raise the limit on built-in plugins in llvmc to 10.
...
llvm-svn: 83614
2009-10-09 04:15:52 +00:00
Mikhail Glushenkov
9fdea9e401
Reconfigure automatically when Base.td.in is changed.
...
Thanks to Chris for heads-up!
llvm-svn: 83613
2009-10-09 02:40:01 +00:00
Zhongxing Xu
9b6a9be301
Remove unused code.
...
llvm-svn: 83612
2009-10-09 02:24:00 +00:00
Zhongxing Xu
e77cd12f10
Make the behavior explicit by not using the method call.
...
llvm-svn: 83611
2009-10-09 02:18:31 +00:00
Zhongxing Xu
fd15882213
Remove unused code.
...
llvm-svn: 83610
2009-10-09 02:12:00 +00:00
Mike Stump
0d479e6653
Avoid warning.
...
llvm-svn: 83609
2009-10-09 01:25:47 +00:00
Evan Cheng
be27d61cbc
Reset kill markers after live interval is reconstructed.
...
llvm-svn: 83608
2009-10-09 01:17:11 +00:00