Chris Lattner
6dde0bfef7
oink is dead.
...
llvm-svn: 74263
2009-06-26 04:10:17 +00:00
Anders Carlsson
5f212cbb73
Fix another assert related to using decls.
...
llvm-svn: 74262
2009-06-26 03:54:13 +00:00
Chris Lattner
e2355f70fa
rearrange more code, this avoids a token lookahead for foo<
...
llvm-svn: 74261
2009-06-26 03:52:38 +00:00
Chris Lattner
0eed3a6813
move some code around, no functionality change.
...
llvm-svn: 74260
2009-06-26 03:47:46 +00:00
Chris Lattner
704edfb095
simplify some code.
...
llvm-svn: 74259
2009-06-26 03:45:46 +00:00
Anders Carlsson
8d0f6b7c87
When creating LookupResults, see through UsingDecls. Fixes PR4450.
...
llvm-svn: 74258
2009-06-26 03:37:05 +00:00
Anders Carlsson
5140b3c4a6
Fix PR4448.
...
llvm-svn: 74257
2009-06-26 03:02:18 +00:00
Daniel Dunbar
b44c26b7aa
NewNightlyTest: Pull most VERBOSE handling into RunLoggedCommand function.
...
llvm-svn: 74256
2009-06-26 02:30:49 +00:00
Devang Patel
2cc6d183b2
Let's ignore MDStrings also!
...
llvm-svn: 74255
2009-06-26 02:26:12 +00:00
Devang Patel
62d414f327
Remove unnecessary includes.
...
llvm-svn: 74254
2009-06-26 02:25:46 +00:00
Daniel Dunbar
e7d42501c2
Fix may-be-used-uninitialized warning.
...
llvm-svn: 74253
2009-06-26 02:03:52 +00:00
Daniel Dunbar
2d3d1cd91a
NewNightlyTest: Factor out LLVM{Src,Obj,Test} variables.
...
- They can be overriden on the command line as well.
Add -teelogs option, which will also print the various logs on stdout.
llvm-svn: 74252
2009-06-26 01:53:05 +00:00
Devang Patel
0751a28888
Remove debug info anchors - llvm.dbg.compile_units, llvm.dbg.subprograms
...
and llvm.dbg.global_variables.
llvm-svn: 74251
2009-06-26 01:49:18 +00:00
Daniel Dunbar
aa311ca000
Fix unused variable warnings.
...
llvm-svn: 74250
2009-06-26 01:34:35 +00:00
Daniel Dunbar
07025e2c02
Fix spelling of 'count'
...
llvm-svn: 74249
2009-06-26 01:33:02 +00:00
Owen Anderson
276fc52b72
Fix error in the Win32 implementation pointed out by Howard Su.
...
llvm-svn: 74248
2009-06-26 00:51:20 +00:00
Nate Begeman
c69b740df4
OpenCL 1.0 support: explicit casts to ext-vector types
...
llvm-svn: 74247
2009-06-26 00:50:28 +00:00
Chris Lattner
2aaad91bbe
start adding logic in isel to determine asm printer semantics, step N of M.
...
llvm-svn: 74246
2009-06-26 00:43:52 +00:00
Ted Kremenek
bb597cdfc2
Remove '#include <sstream>' from libAnalysis.
...
llvm-svn: 74245
2009-06-26 00:43:22 +00:00
Ted Kremenek
af1ac826f6
Update method signature.
...
llvm-svn: 74244
2009-06-26 00:41:43 +00:00
Dan Gohman
ac3b5382b8
Change this code to a form about which VC++ reportedly isn't unhappy.
...
llvm-svn: 74243
2009-06-26 00:35:12 +00:00
Dan Gohman
7eaf50ecac
Fix LCSSA to avoid emitting a PHI node for the unwind destination of
...
an invoke instruction, since the value isn't really live across that
edge.
llvm-svn: 74242
2009-06-26 00:31:13 +00:00
Evan Cheng
e2c4d35f3e
Add a note about commuting conditional move.
...
llvm-svn: 74241
2009-06-26 00:28:48 +00:00
Dan Gohman
31167c61d5
Minor code simplification.
...
llvm-svn: 74240
2009-06-26 00:26:03 +00:00
Evan Cheng
cf661fc12a
These are done / no longer applicable.
...
llvm-svn: 74239
2009-06-26 00:25:27 +00:00
Ted Kremenek
18e1caa6bf
Unbreak build.
...
llvm-svn: 74238
2009-06-26 00:25:05 +00:00
Evan Cheng
5bf9011c2d
Mark a bunch of instructions commutable.
...
llvm-svn: 74237
2009-06-26 00:19:44 +00:00
Evan Cheng
9643ba8123
tst is also commutable.
...
llvm-svn: 74236
2009-06-26 00:19:07 +00:00
Owen Anderson
b99db00b64
Committed the wrong version in my last commit.
...
llvm-svn: 74235
2009-06-26 00:17:05 +00:00
Owen Anderson
1efcb40c0f
Privatize a static variable.
...
llvm-svn: 74234
2009-06-26 00:15:27 +00:00
Ted Kremenek
27433af0ee
Add missing header file.
...
llvm-svn: 74233
2009-06-26 00:15:05 +00:00
Douglas Gregor
4adbc6d947
Implicit instantiation for function template specializations.
...
For a FunctionDecl that has been instantiated due to template argument
deduction, we now store the primary template from which it was
instantiated and the deduced template arguments. From this
information, we can instantiate the body of the function template.
llvm-svn: 74232
2009-06-26 00:10:03 +00:00
Ted Kremenek
4ac764d72e
Remove orphaned header file.
...
llvm-svn: 74231
2009-06-26 00:08:20 +00:00
Owen Anderson
b74e84793d
Guards for the compiler driver plugin list.
...
llvm-svn: 74230
2009-06-26 00:06:28 +00:00
Ted Kremenek
1642bdaaa5
Introduce a new concept to the static analyzer: SValuator.
...
GRTransferFuncs had the conflated role of both constructing SVals (symbolic
expressions) as well as handling checker-specific logic. Now SValuator has the
role of constructing SVals from expressions and GRTransferFuncs just handles
checker-specific logic. The motivation is by separating these two concepts we
will be able to much more easily create richer constraint-generating logic
without coupling it to the main checker transfer function logic.
We now have one implementation of SValuator: SimpleSValuator.
SimpleSValuator is essentially the SVal-related logic that was in GRSimpleVals
(which is removed in this patch). This includes the logic for EvalBinOp,
EvalCast, etc. Because SValuator has a narrower role than the old
GRTransferFuncs, the interfaces are much simpler, and so is the implementation
of SimpleSValuator compared to GRSimpleVals. I also did a line-by-line review of
SVal-related logic in GRSimpleVals and cleaned it up while moving it over to
SimpleSValuator.
As a consequence of removing GRSimpleVals, there is no longer a
'-checker-simple' option. The '-checker-cfref' did everything that option did
but also ran the retain/release checker. Of course a user may not always wish to
run the retain/release checker, nor do we wish core analysis logic buried in the
checker-specific logic. The next step is to refactor the logic in CFRefCount.cpp
to separate out these pieces into the core analysis engine.
llvm-svn: 74229
2009-06-26 00:05:51 +00:00
Evan Cheng
97727a61f9
Select ADC, SBC, and RSC instead of the ADCS, SBCS, and RSCS when the carry bit def is not used.
...
llvm-svn: 74228
2009-06-25 23:34:10 +00:00
Owen Anderson
76cfd205ff
Support thread-local pretty stack traces.
...
llvm-svn: 74227
2009-06-25 23:31:33 +00:00
Owen Anderson
eba6e65291
Add support for const thread locals.
...
llvm-svn: 74226
2009-06-25 23:31:18 +00:00
Owen Anderson
eb51111851
Fix typo in assertion.
...
llvm-svn: 74225
2009-06-25 23:28:28 +00:00
Nate Begeman
8b68d6fb83
OpenCL 1.0 Support: support "bool, true, false" tokens when compiling for OpenCL
...
llvm-svn: 74224
2009-06-25 23:25:15 +00:00
David Goodwin
16f357cccf
Use MVN for ~t2_so_imm immediates.
...
llvm-svn: 74223
2009-06-25 23:11:21 +00:00
Owen Anderson
1154983b9c
Add a configure test for pthread_getspecific, and use it when building ThreadLocal.
...
llvm-svn: 74222
2009-06-25 23:10:26 +00:00
Nate Begeman
f2911667d8
Write/Read new Language Options
...
llvm-svn: 74221
2009-06-25 23:01:11 +00:00
Nate Begeman
9d90579b6d
PCH support for OpenCL language options
...
llvm-svn: 74220
2009-06-25 22:57:40 +00:00
David Goodwin
e85169cd1b
Add Def/Use of CPSR for Thumb-1 instructions.
...
llvm-svn: 74219
2009-06-25 22:49:55 +00:00
Daniel Dunbar
4a5a561a24
MC: Parse .org directives.
...
llvm-svn: 74218
2009-06-25 22:44:51 +00:00
Nate Begeman
95f48a5d87
OpenCL 1.0 patch 2/N: Language options & file extension
...
llvm-svn: 74217
2009-06-25 22:43:10 +00:00
Fariborz Jahanian
a158e018d4
Test case for my last patch.
...
llvm-svn: 74216
2009-06-25 22:40:36 +00:00
Devang Patel
0c044ecdb0
Simplify.
...
llvm-svn: 74215
2009-06-25 22:36:02 +00:00
Argyrios Kyrtzidis
02f3e84c5b
Check that index-test uses an up-to-date AST file.
...
llvm-svn: 74214
2009-06-25 22:15:12 +00:00