Add polly tests to configure file.
[llvm-testsuite.git] / TEST.aa.report
blobafa3bc1ca91264fe4e6398e8887c34b0b093d58a
1 ##=== TEST.aa.report - Report description for AA tests ---------*- perl -*-===##
3 # This file defines a report to be generated for the alias analysis comparison
4 # test.
6 ##===----------------------------------------------------------------------===##
8 # Helper function
9 sub Ratio {
10   my ($Cols, $Col) = @_;
11   if ($Cols->[$Col-2] ne "*" and
12       $Cols->[$Col-2] != "0") {
13     return $Cols->[$Col-1]/$Cols->[$Col-2];
14   } else {
15     return "n/a";
16   }
19 sub OnlyMayInfo {
20   $_[0] =~ m|/([0-9]+)%/|;
21   return $1."\\%";
24 # Sort by ds time...
25 $SortCol = 12;
26 $SortNumeric = 1;
28 # Sort in ascending order
29 $SortReverse = 0;
31 # For latex output, limit benchmarks and rename as appropriate
32 @LatexRowMapOrder = (
33             'treeadd'    => 'Olden-treeadd',
34             'bisort'     => 'Olden-bisort',
35             'mst'        => 'Olden-mst',
36             'perimeter'  => 'Olden-perimeter',
37             'health'     => 'Olden-health',
38             'tsp'        => 'Olden-tsp',
39             'power'      => 'Olden-power',
40             'em3d'       => 'Olden-em3d',
41             'voronoi'    => 'Olden-voronoi',
42             'bh'         => 'Olden-bh',
43             '-' => '-',
44             'anagram'    => 'ptrdist-anagram',
45             'ks'         => 'ptrdist-ks',
46             'ft'         => 'ptrdist-ft',
47             'yacr2'      => 'ptrdist-yacr2',
48             'bc'         => 'ptrdist-bc',
49             '-' => '-',
50             '179.art'    => '179.art',
51             '183.equake' => '183.equake',
52             '181.mcf'    => '181.mcf',
53             '256.bzip2'  => '256.bzip2',
54             '164.gzip'   => '164.gzip',
55             '197.parser' => '197.parser',
56             '188.ammp'   => '188.ammp',
57             '175.vpr'    => '175.vpr',
58             '300.twolf'  => '300.twolf',
59             '186.crafty' => '186.crafty',
60             '255.vortex' => '255.vortex',
61             '254.gap'    => '254.gap',
62             '-' => '-',
63             'sgefa'      => 'sgefa',
64             'sim'        => 'sim',
65             'burg'       => 'burg'
66            );
68 @LatexColumns = (2, 3, 4, 5, 6);
70 # Specify how to reformat columns to be presentable...
71 %LatexColumnFormat = (
72                       2 => \&OnlyMayInfo,
73                       3 => \&OnlyMayInfo,
74                       4 => \&OnlyMayInfo,
75                       5 => \&OnlyMayInfo,
76                       6 => \&OnlyMayInfo);
78 # These are the columns for the report.  The first entry is the header for the
79 # column, the second is the regex to use to match the value.  Empty list create
80 # seperators, and closures may be put in for custom processing.
82 # Name
83             ["Name:",     '\'([^\']+)\' Program'],
84             [],
85 # Precision
86             ["basic",     '.basic.txt: [^:]*Summary: (.*)'],
87             ["steens-fi", '.steens-fi.txt: [^:]*Summary: (.*)'],
88             ["steens",    '.steens.txt: [^:]*Summary: (.*)'],
89             ["ds-fi",     '.ds-fi.txt: [^:]*Summary: (.*)'],
90             ["ds",        '.ds.txt: [^:]*Summary: (.*)'],
91             [],
92 # Times
93 #Output/treeadd.aa.andersens.txt:   Total Execution Time: 0 seconds (0.00111997 wall clock)
94             ["basic",     '.basic.txt: [^(]*\(([-e0-9.]+) wall'],
95             ["steens-fi", '.steens-fi.txt: [^(]*\(([-e0-9.]+) wall'],
96             ["steens",    '.steens.txt: [^(]*\(([-e0-9.]+) wall'],
97             ["ds-fi",     '.ds-fi.txt: [^(]*\(([-e0-9.]+) wall'],
98             ["ds",        '.ds.txt: [^(]*\(([-e0-9.]+) wall'],
99             []