1 ##=== TEST.llc.report - Report description for llc tests -------*- perl -*-===##
3 # This file defines a report to be generated for the llc test.
5 ##===----------------------------------------------------------------------===##
9 $TrimRepeatedPrefix = 1;
11 # These are the columns for the report. The first entry is the header for the
12 # column, the second is the regex to use to match the value. Empty list create
13 # seperators, and closures may be put in for custom processing.
16 ["Name:" , '\'([^\']+)\' Program'],
19 ["LiveVar", '([0-9.]+) \([^)]+\)[ 0-9A-Za-z]+Live Variable'],
20 ["LiveInt", '([0-9.]+) \([^)]+\)[ 0-9A-Za-z]+Live Interval'],
21 ["RASetup", sub { return AddColumns(@_,-1,-2); }],
22 ["RA" , '([0-9.]+) \([^)]+\)[ 0-9A-Za-z]+Register Allocator'],
23 ["RATotal", sub { return AddColumns(@_,-1,-2); }],
24 ["Total" , 'real ([0-9.]+)'],
27 ["#MCInsts", '([0-9]+).*Number of machine instrs printed'],
28 ["#IntOrig", '([0-9]+).*Number of original intervals'],
29 ["#IntCoal", '([0-9]+).*Number of intervals after coalescing'],
30 ["Eff ", '(\d+\.\d+).*Ratio of intervals processed over total intervals'],
32 # Number of transformations
33 ["#store" , '([0-9]+).*Number of stores added'],
34 ["#load" , '([0-9]+).*Number of loads added'],
35 ["#ld/st" , sub { return AddColumns(@_,-1,-2); }],
36 ["#fold" , '([0-9]+).*Number of loads/stores folded into instructions'],
37 ["#memref", sub { return AddColumns(@_,-1,-3,-4); }],
38 ["#spill" , '([0-9]+).*Number of register spills'],
39 ["#i-mov" , '([0-9]+).*Number of identity moves eliminated'],
40 ["#tot-el", sub { return AddColumns(@_,-1,-2); }],
41 ["#pre", '([0-9]+).*Number of pre-indexed nodes created'],
42 ["#post", '([0-9]+).*Number of post-indexed nodes created'],
43 ["#indexed", sub { return AddColumns(@_,-1,-2); }],