Benjamin Kramer
b82de426de
SimplifyCFG: don't turn volatile stores to null/undef into unreachable. Fixes PR7369.
...
llvm-svn: 105914
2010-06-13 14:35:54 +00:00
Benjamin Kramer
c49ea3c50e
Let SmallVector take advantage of LiveRange's podness.
...
llvm-svn: 105913
2010-06-13 12:52:38 +00:00
John McCall
30576cdce3
TemplateSpecializationType's isCurrentInstantiation bit can be derived
...
from its canonical type.
llvm-svn: 105912
2010-06-13 09:25:03 +00:00
Chris Lattner
f3d3b36870
Allow an asm label specifier on C++ methods, like GCC does.
...
Patch by David Majnemer!
llvm-svn: 105909
2010-06-13 05:34:18 +00:00
Nate Begeman
d773fe67dd
Most of NEON sema checking & fix to polynomial type detection
...
llvm-svn: 105908
2010-06-13 04:47:52 +00:00
Nate Begeman
444e9f0a35
Add a helping of comments
...
Add code for generating bits of semachecking
llvm-svn: 105907
2010-06-13 04:47:03 +00:00
Eli Friedman
3afb70c85a
Fix include paths; please check that this works on Mac.
...
llvm-svn: 105906
2010-06-13 02:17:17 +00:00
Eli Friedman
3afa33ced6
Remove Mac-specific includes.
...
llvm-svn: 105905
2010-06-13 02:13:20 +00:00
Chris Lattner
fa04338f38
don't make libclang depend on codegen. Patch by Peter Collingbourne!
...
llvm-svn: 105901
2010-06-12 22:54:45 +00:00
Rafael Espindola
e302f833e1
Merge getStoreRegOpcode and getLoadRegOpcode.
...
llvm-svn: 105900
2010-06-12 20:13:29 +00:00
Greg Clayton
474966a41e
I have eliminated RTTI from LLDB!
...
Also added a shell script build phase that fixes the headers in
LLDB.framework.
llvm-svn: 105899
2010-06-12 18:59:55 +00:00
Eli Friedman
a84b380d46
Add missing include.
...
llvm-svn: 105898
2010-06-12 18:38:40 +00:00
Eli Friedman
1978d861c3
Add missing includes.
...
llvm-svn: 105897
2010-06-12 18:37:54 +00:00
Eli Friedman
81ad726f04
Move SharingPtr.h into include/.
...
llvm-svn: 105896
2010-06-12 18:29:53 +00:00
Greg Clayton
ef59f829e4
Switched over to using the new lldb::SharingPtr from Howard Hinnant.
...
We need to put this in LLDB since we need to vend this in our API
because our public API uses shared pointers to our private objects.
Removed a deprecated file: include/lldb/Host/Types.h
Added the new SharingPtr.cpp/.h files into source/Utility.
Added a shell script build phase that fixes up all headers in the
LLDB.framework.
llvm-svn: 105895
2010-06-12 17:45:57 +00:00
Daniel Dunbar
250a21b79b
tests: Run macho-dump with binary unbuffered streams on Windows, I can't find a Python 2.6 way to change stdin to binary.
...
llvm-svn: 105894
2010-06-12 17:05:28 +00:00
Charles Davis
63c0a744f7
Really make the Itanium C++ ABI the default.
...
llvm-svn: 105893
2010-06-12 16:58:00 +00:00
Greg Clayton
af3cf2caa3
Reverted changes for eByteOrderHost detection, but added linux support for using <endian.h>. No files in "API" can include any LLVM header files. We must keep LLVM behind our API.
...
llvm-svn: 105892
2010-06-12 16:46:01 +00:00
Daniel Dunbar
edcc628289
tests: Make macho-dump.bat actually work.
...
llvm-svn: 105891
2010-06-12 16:21:54 +00:00
Daniel Dunbar
12225eb687
tests: Propogate LLVM_SRC_ROOT and PYTHON_EXECUTABLE environment variables to tests.
...
llvm-svn: 105890
2010-06-12 16:21:19 +00:00
Chris Lattner
bc6bcabc61
fix PR7360: -P mode turns off line markers, but not blank space.
...
Apparently some programs which abuse the preprocessor depend
on this.
llvm-svn: 105889
2010-06-12 16:20:56 +00:00
Daniel Dunbar
0892ee503a
lit: Replace /dev/null in scripts with temporary files on Windows.
...
llvm-svn: 105888
2010-06-12 16:00:10 +00:00
Chris Lattner
2ed39551a7
improve verifier error about unterminated block to include
...
function name, patch by Yuri
llvm-svn: 105887
2010-06-12 15:50:24 +00:00
Chris Lattner
05466ef7eb
declare a class with 'class' instead of struct to avoid tag mismatch
...
warnings, and don't shift by a bool. Patch by Rizky Herucakra!
llvm-svn: 105886
2010-06-12 15:46:56 +00:00
Greg Clayton
c9af18a502
Moved files around for linux build. Fixed up Xcode project to
...
refer to the new locations.
llvm-svn: 105885
2010-06-12 15:43:35 +00:00
Greg Clayton
c0cc73efd4
Patched in Pawel Wodnicki's lldb.swig changes for linux compatability.
...
llvm-svn: 105884
2010-06-12 15:34:20 +00:00
Greg Clayton
1ba811dd81
Fixed an issue with the new DW_TAG_ptr_to_member_type changes where the clang type that was being created was using the pointee_type for both the class and the member pointer.
...
llvm-svn: 105883
2010-06-12 15:33:14 +00:00
Abramo Bagnara
da41d0cf5b
Added template parameters info for out-of-line definitions of class template methods.
...
llvm-svn: 105882
2010-06-12 08:15:14 +00:00
Charles Davis
7dacc95299
Microsoft C++ Mangler:
...
- Don't mangle static variables at global scope.
- Add support for mangling builtin types. This will be used later.
llvm-svn: 105881
2010-06-12 08:11:16 +00:00
Abramo Bagnara
8075c85230
Don't omit class explicit instantiation from AST.
...
llvm-svn: 105880
2010-06-12 07:44:57 +00:00
Nate Begeman
c6ac0ce89f
Shifts complete. Only vld & sema checking of constants remain.
...
llvm-svn: 105879
2010-06-12 06:06:07 +00:00
Eli Friedman
e17e4aea2a
Add README entry; based on testcase from Bill Hart.
...
llvm-svn: 105878
2010-06-12 05:54:27 +00:00
Christopher Friesen
fa7936bc8d
Fix utilities text
...
llvm-svn: 105877
2010-06-12 03:34:21 +00:00
Bruno Cardoso Lopes
ada854f8b6
make the avx intrinsics 3 address
...
llvm-svn: 105876
2010-06-12 03:12:14 +00:00
Nate Begeman
dd715805ab
vbsl, vrev* is implemented via arm_neon.h
...
llvm-svn: 105875
2010-06-12 03:11:41 +00:00
Nate Begeman
b90b010a2d
Add generic vector support for bitselect & element byteswap
...
llvm-svn: 105874
2010-06-12 03:09:49 +00:00
Bruno Cardoso Lopes
f203703467
Add some basic fp intrinsics for AVX
...
llvm-svn: 105873
2010-06-12 02:38:32 +00:00
Bill Wendling
5d6103318a
When performing the Horrible Hack(tm-Duncan) on the EH code to convert a
...
clean-up to a catch-all after inlining, take into account that there could be
filter IDs as well. The presence of filters don't mean that the selector catches
anything. It's just metadata information.
llvm-svn: 105872
2010-06-12 02:34:29 +00:00
John McCall
45d30c3e36
When deciding whether an expression has the boolean nature, don't look through
...
explicit casts. Fixes PR7359.
llvm-svn: 105871
2010-06-12 01:56:02 +00:00
Bruno Cardoso Lopes
a714ea0f7d
More AVX: {ADD,SUB,MUL,DIV}{PD,PS}rm
...
llvm-svn: 105870
2010-06-12 01:53:48 +00:00
Bruno Cardoso Lopes
b06f54b852
More AVX: {ADD,SUB,MUL,DIV}{PD,PS}rr
...
Handle OpSize TSFlag for AVX
llvm-svn: 105869
2010-06-12 01:23:26 +00:00
Greg Clayton
9b81a3146f
Anders Carlsson patch for member pointers. Thanks Anders.
...
llvm-svn: 105868
2010-06-12 01:20:30 +00:00
Greg Clayton
e20855403b
Fixed the build after recent header changes.
...
Fixed an extra include path in the Xcode project.
llvm-svn: 105867
2010-06-12 01:12:23 +00:00
Greg Clayton
b852a111d0
Avoid calls to memcpy.
...
llvm-svn: 105866
2010-06-12 01:03:17 +00:00
Jason Molenda
3041cbd2b2
Include mach/mach_types.h in two files to adjust for their
...
removal from lldb-types.h
llvm-svn: 105865
2010-06-12 00:43:41 +00:00
Jason Molenda
8edec78f84
Update USER_HEADER_SEARCH_PATHS settings to all be the same.
...
Change the Release -rpath LDFLAG to look for LLDB.framework in the
same directory as the lldb binary itself. For the BuildAndIntegration
target, continue to use the ../../ etc path to match how we install
the binaries inside Apple.
Patch from Dimiter "malkia" Stanev. I still need to look at the
suggested changing of ONLY_ACTIVE_ARCH settings.
llvm-svn: 105864
2010-06-12 00:38:35 +00:00
Eli Friedman
2a16001328
Remove platform-specific includes from platform-independent code. Mac users,
...
please check whether this breaks anything.
llvm-svn: 105863
2010-06-12 00:22:37 +00:00
Evan Cheng
e60273fd70
Allow target to provide its own hazard recognizer to post-ra scheduler.
...
llvm-svn: 105862
2010-06-12 00:12:18 +00:00
Evan Cheng
cb1fe56fd9
Code formatting.
...
llvm-svn: 105861
2010-06-12 00:11:53 +00:00
Bruno Cardoso Lopes
8947c32493
Add some comments about REX fields
...
llvm-svn: 105860
2010-06-12 00:03:52 +00:00