Michael Gottesman
fd4828e40a
Eliminate -assume-parsing-unqualified-ownership-sil from tests.
...
I am doing this separately from the actual change to eliminate the option to
make it easier to review.
2018-12-19 12:54:13 -08:00
Vedant Kumar
d71d3fb0f7
[Coverage] Test lowering of ill-formed SIL profiling intrinsics ( #16607 )
...
* [Coverage] Parse SIL coverage maps for top-level code decls
This adds SIL printer/parser support for SILCoverageMaps representing
top-level code decls.
* [Coverage] Test lowering of ill-formed SIL profiling intrinsics
This adds a test case to exercise a path in IRGen which discards
ill-formed profiling intrinsics.
rdar://40133800 & r://39146527
2018-05-15 11:16:31 -07:00
Vedant Kumar
6debe84674
[Coverage] Record PGO function name in SILCoverageMap
...
This simplifies the lowering of instrprof_increment by getting rid of a
call to llvm::getPGOFuncName().
2018-01-05 17:20:20 -08:00
Michael Gottesman
20dd563efb
[semantic-arc] Update tests for qualified/unqualified ownership and SILGen emission of copy_value, destroy_value.
2016-10-29 20:11:09 -07:00
Dmitri Gribenko
d175b3b66d
Migrate FileCheck to %FileCheck in tests
2016-08-10 23:52:02 -07:00
Mark Lacey
ac1d27e049
Remove -enable-sil-verify-all from sil-opt tests that run no transforms.
...
Swift SVN r32200
2015-09-24 16:01:00 +00:00
Mark Lacey
517723dbe9
Add -enable-sil-verify-all to sil-opt tests.
...
Also remove -verify from almost all of them, since only two actually
have expected diagnostic output that is tested.
Swift SVN r32198
2015-09-24 07:25:15 +00:00
Joe Groff
c0a2994564
AST: Start printing function types with @convention instead of old attributes.
...
And update tests to match.
Swift SVN r27262
2015-04-13 22:51:34 +00:00
Justin Bogner
322005d027
InstrProf: Track the filename in coverage maps
...
If multiple swift files are compiled together, then guessing as to the
file when we emit IR obviously doesn't work. Find the filename when we
generate a function's coverage map and propagate it through SIL.
Swift SVN r25436
2015-02-20 21:26:20 +00:00
Justin Bogner
59bb06b0fb
InstrProf: SIL-level coverage mapping and lowering to LLVM
...
The adds the sil_coveragemap construct to SIL and the needed IRGen to
turn these into LLVM's coverage maps.
Swift SVN r25210
2015-02-12 00:28:39 +00:00