Commit Graph

8 Commits

Author SHA1 Message Date
Dmitri Hrybenko
61286f0260 Fix warnings produced by a newer version of Clang
Swift SVN r25257
2015-02-12 23:50:47 +00:00
Michael Gottesman
93b92a8f9f Add in Passes.def for metaprogramming with SILPassKinds.
This simplifies some code in SILOpt and SILPasses. The real reason to do it is
to use it to procedurally generate random pipelines.

Swift SVN r23996
2014-12-17 23:56:26 +00:00
Michael Gottesman
2c84a0ac82 [sil-aa] Typed Based TBAA with all the necessary fixes.
This commit fixes a bunch of problems I found in TBAA. Some fun
examples:

1. We were not handling protocols correctly.
2. We were not handling enums correctly.
3. We were not handling builtins correctly all the time.
...
And much more.

I also added a fairly exhaustive test.

Additionally I checked the benchmarks and did not see any regressions.

rdar://16651852

Swift SVN r18148
2014-05-16 00:21:41 +00:00
Michael Gottesman
198b453c81 [sil-aa] Given a pair of values (a,b), only dump (b,a) if the aa result for (b,a) differs from (a,b).
This reduces the amount of test output from aa-dumper which makes it
easier to write tests. We do not lose any test coverage since our
checking of Pair #s implies that if we emit an additional such pair, the
pair #s output by the aa-dumper will differ causing the test to fail.

rdar://16651852

Swift SVN r18141
2014-05-15 23:39:01 +00:00
Andrew Trick
731000b4cd Added -sil-print-all and -sil-verify-all options.
Swift SVN r13662
2014-02-07 23:07:11 +00:00
Michael Gottesman
69d738e24c [sil-aa] A SILArgument is only a no-alias SILArgument if it is an argument to the first BB of a function.
Swift SVN r13608
2014-02-07 00:17:42 +00:00
Michael Gottesman
b99eb1266c [sil-aa] Change output of SILDumper to make FileCheck matching easier.
Swift SVN r13606
2014-02-07 00:01:35 +00:00
Michael Gottesman
cd0e0b8c27 Rename AAEvaluator => AADumper as per request.
Swift SVN r13603
2014-02-06 23:19:35 +00:00