Anders Carlsson
ceca18404c
Add files to xcode project.
...
llvm-svn: 83423
2009-10-06 22:07:00 +00:00
Bob Wilson
e6b778d5ff
Add codegen support for NEON vld2 operations on quad registers.
...
llvm-svn: 83422
2009-10-06 22:01:59 +00:00
Bob Wilson
74b3d284f2
Use copyRegToReg hook to copy registers.
...
llvm-svn: 83421
2009-10-06 22:01:15 +00:00
Anders Carlsson
11d00cf972
When mangling names, always use the canonical decl. Fixes PR5144.
...
llvm-svn: 83420
2009-10-06 21:58:01 +00:00
Devang Patel
542ab5f551
InsertSubprogramStart if ATTACH_DEBUG_INFO_TO_AN_INSN is not defined.
...
llvm-svn: 83419
2009-10-06 21:53:41 +00:00
Jeffrey Yasskin
e2595b5be6
r83391 was completely broken since Twines keep references to their inputs, and
...
some of the inputs were temporaries. Here's a real fix for the miscompilation.
Thanks to sabre for pointing out the problem.
llvm-svn: 83417
2009-10-06 21:45:26 +00:00
Douglas Gregor
27c26e9a09
Test explicit specialization for all of the various cases where
...
explicit specializations can occur. Also, fix a minor recovery bug
where we should allow declarations coming from the parser to be NULL.
llvm-svn: 83416
2009-10-06 21:27:51 +00:00
Bob Wilson
3251776d1d
Update NEON struct names to match llvm-gcc changes.
...
(This is not required for correctness but might help with sanity.)
llvm-svn: 83415
2009-10-06 21:16:19 +00:00
Edward O'Callaghan
bc85722d34
Improve doc readability.
...
llvm-svn: 83414
2009-10-06 21:03:43 +00:00
Edward O'Callaghan
e1cc630483
Update compiler-rt online docs to reflex recent work and testing.
...
llvm-svn: 83413
2009-10-06 21:01:17 +00:00
Mike Stump
23491449d6
Add more of __builtin_abort, WIP, still missing codegen.
...
llvm-svn: 83410
2009-10-06 20:30:09 +00:00
Ted Kremenek
9ece95150e
Updated checker build.
...
llvm-svn: 83408
2009-10-06 20:19:01 +00:00
Bob Wilson
dc7d1ce575
Fix a comment typo.
...
Patch by Johnny Chen.
llvm-svn: 83407
2009-10-06 20:18:46 +00:00
Nicolas Geoffray
08506ee6b0
Bugfix for the CommaSeparated option. The original code was adding the whole
...
string at the end of the list, instead of the last comma-separated string.
llvm-svn: 83405
2009-10-06 19:55:53 +00:00
Ted Kremenek
2275a7dfef
Update CMake file.
...
llvm-svn: 83404
2009-10-06 19:45:38 +00:00
Jeffrey Yasskin
531ccba54e
Fix illegal cross-type aliasing. Found by baldrick on a newer gcc.
...
llvm-svn: 83401
2009-10-06 19:06:16 +00:00
Devang Patel
4598eb6214
Add support to handle debug info attached to an instruction.
...
This is not yet enabled.
llvm-svn: 83400
2009-10-06 18:37:31 +00:00
Devang Patel
5d90d62701
Add support to attach debug info to an instruction.
...
This is not yet enabled.
llvm-svn: 83399
2009-10-06 18:36:08 +00:00
Anders Carlsson
273cdf096c
Fix test.
...
llvm-svn: 83398
2009-10-06 18:12:12 +00:00
Anders Carlsson
6b7378bbe1
Emit the destructor epilogue in a cleanup block so a return from a destructor body still calls the epilogue.
...
llvm-svn: 83397
2009-10-06 18:09:57 +00:00
Douglas Gregor
36d1b14dde
Refactor the code that walks a C++ inheritance hierarchy, searching
...
for bases, members, overridden virtual methods, etc. The operations
isDerivedFrom and lookupInBases are now provided by CXXRecordDecl,
rather than by Sema, so that CodeGen and other clients can use them
directly.
llvm-svn: 83396
2009-10-06 17:59:45 +00:00
Anders Carlsson
80ef6f1a46
Pass the right type to GetAddrOfFunction when getting functions for the VTable. Fixes PR5021.
...
llvm-svn: 83395
2009-10-06 17:54:23 +00:00
Dan Gohman
e66abdc58f
Make LLVMContext's pImpl member const.
...
llvm-svn: 83393
2009-10-06 17:43:57 +00:00
Dan Gohman
10d3dc569b
Instead of printing unnecessary basic block labels as labels in
...
verbose-asm mode, print comments instead. This eliminates a non-comment
difference between verbose-asm mode and non-verbose-asm mode.
Also, factor out the relevant code out of all the targets and into
target-independent code.
llvm-svn: 83392
2009-10-06 17:38:38 +00:00
Jeffrey Yasskin
92e3a06623
Fix PR5112, a miscompilation on gcc-4.0.3. Patch by Collin Winter!
...
llvm-svn: 83391
2009-10-06 17:25:50 +00:00
Chris Lattner
a893f5bdf5
remove predicate simplifier, it never got the last bugs beaten
...
out of it, and jump threading, condprop and gvn are now getting
most of the benefit. This was approved by Nicholas and Nicolas.
llvm-svn: 83390
2009-10-06 16:59:46 +00:00
Richard Osborne
692f6e7f9d
Remove xs1b predicate since it is no longer needed to differentiate betweem
...
xs1a and xs1b.
llvm-svn: 83383
2009-10-06 16:17:57 +00:00
Richard Osborne
d7b887410d
Remove xs1a subtarget. xs1a is a preproduction device used in
...
early development boards which is no longer supported in the
XMOS toolchain.
llvm-svn: 83381
2009-10-06 16:01:09 +00:00
Richard Osborne
29e8555056
Default to the xs1b subtarget
...
llvm-svn: 83380
2009-10-06 15:41:52 +00:00
Duncan Sands
9ed7b16bf3
Introduce and use convenience methods for getting pointer types
...
where the element is of a basic builtin type. For example, to get
an i8* use getInt8PtrTy.
llvm-svn: 83379
2009-10-06 15:40:36 +00:00
Jim Grosbach
fa21fe7c3d
grammar
...
llvm-svn: 83378
2009-10-06 15:03:44 +00:00
Rafael Espindola
7787d79c7b
Add the -nostdclanginc option to clang (the driver).
...
llvm-svn: 83377
2009-10-06 12:45:37 +00:00
Ted Kremenek
d5cf21a57b
Fix 'clang-cc -analyzer-display-progress' by flushing standard error after printing the name of the analyzed function.
...
llvm-svn: 83369
2009-10-06 03:49:25 +00:00
Ted Kremenek
2f935535b1
Fix crash introduced by r83358 where a symbol could be eagerly
...
evaluated to an APSInt with a different bitwidth than the other
operand in a binary expression.
llvm-svn: 83368
2009-10-06 03:44:49 +00:00
Devang Patel
7d838bb66e
Fix cut-n-pasto.
...
llvm-svn: 83367
2009-10-06 03:15:38 +00:00
Devang Patel
eb43b17074
Update processDebugLoc() to handle requests to process debug info, before and after emitting instructions.
...
llvm-svn: 83364
2009-10-06 03:04:58 +00:00
Devang Patel
051454a16f
Update processDebugLoc() so that it can be used to process debug info before and after printing an instruction.
...
llvm-svn: 83363
2009-10-06 02:19:11 +00:00
Devang Patel
2980a22028
Remove dead code.
...
llvm-svn: 83362
2009-10-06 02:01:32 +00:00
Devang Patel
8db360da7b
Add utility routine to set begin and end labels for DbgScopes.
...
This will be used by processDebugLoc().
llvm-svn: 83361
2009-10-06 01:50:42 +00:00
Ted Kremenek
8ec5771dcb
Fix: <rdar://problem/7275774> Static analyzer warns about NULL pointer when
...
adding assert
This fix required a few changes:
SimpleSValuator:
- Eagerly replace a symbolic value with its constant value in EvalBinOpNN
when it is constrained to a constant. This allows us to better constant fold
values along a path.
- Handle trivial case of '<', '>' comparison of pointers when the two pointers
are exactly the same.
RegionStoreManager:
llvm-svn: 83358
2009-10-06 01:39:48 +00:00
Rafael Espindola
c3031a9643
Refactor the c++ include path a bit.
...
llvm-svn: 83357
2009-10-06 01:33:02 +00:00
Devang Patel
849e59abb2
Remove unintentional function decl.
...
llvm-svn: 83356
2009-10-06 01:31:35 +00:00
Devang Patel
475d32a987
Add utility routine to collect variable debug info. This is not yet used.
...
llvm-svn: 83355
2009-10-06 01:26:37 +00:00
Jeffrey Yasskin
e97fe329e9
Fix http://llvm.org/PR5116 by rolling back r60822. This passes `make unittests
...
check-lit` on both x86-64 Linux and x86-32 Darwin.
llvm-svn: 83353
2009-10-06 00:35:55 +00:00
Devang Patel
faf7e9ad24
Set appropriate context for a global variable while emitting debug info.
...
llvm-svn: 83352
2009-10-06 00:35:31 +00:00
Fariborz Jahanian
333bb733a5
Refixed pr5086 by letting Expr::isNullPointerConstant
...
handle checking for a null pointer for a zero-valued
enumerator; moving the test case from CodeGen to Sema.
llvm-svn: 83350
2009-10-06 00:09:31 +00:00
Devang Patel
bb802206d2
Set default location for the function if it is not already set.
...
This code is not yet enabled.
llvm-svn: 83349
2009-10-06 00:09:08 +00:00
Devang Patel
d859d86538
Existence of a compile unit for input source file is a good indicator to check debug info's presence in a module.
...
llvm-svn: 83348
2009-10-06 00:03:14 +00:00
Devang Patel
1c9eef72b4
If subprogram die is not available then construct new one.
...
This can happen if debug info is processed lazily.
llvm-svn: 83347
2009-10-05 23:59:00 +00:00
Jeffrey Yasskin
ce133e5225
Add a test for http://llvm.org/PR3043 .
...
llvm-svn: 83346
2009-10-05 23:51:08 +00:00