Recommit "rL366894: [yaml2obj] - Allow custom fields for the SHT_UNDEF sections."
[llvm-complete.git] / test / tools / llvm-opt-report / Inputs / q.yaml
blob42a9d530447e861b045f1e48fb017a1479450e1e
1 --- !Missed
2 Pass:            inline
3 Name:            NoDefinition
4 DebugLoc:        { File: Inputs/q.c, Line: 4, Column: 5 }
5 Function:        foo
6 Args:            
7   - Callee:          bar
8   - String:          ' will not be inlined into '
9   - Caller:          foo
10   - String:          ' because its definition is unavailable'
11 ...
12 --- !Analysis
13 Pass:            inline
14 Name:            CanBeInlined
15 DebugLoc:        { File: Inputs/q.c, Line: 8, Column: 3 }
16 Function:        quack
17 Args:            
18   - Callee:          foo
19   - String:          ' can be inlined into '
20   - Caller:          quack
21   - String:          ' with cost='
22   - Cost:            '40'
23   - String:          ' (threshold='
24   - Threshold:       '275'
25   - String:          ')'
26 ...
27 --- !Passed
28 Pass:            inline
29 Name:            Inlined
30 DebugLoc:        { File: Inputs/q.c, Line: 8, Column: 3 }
31 Function:        quack
32 Args:            
33   - Callee:          foo
34   - String:          ' inlined into '
35   - Caller:          quack
36 ...
37 --- !Passed
38 Pass:            loop-unroll
39 Name:            FullyUnrolled
40 DebugLoc:        { File: Inputs/q.c, Line: 3, Column: 3 }
41 Function:        quack
42 Args:            
43   - String:          'completely unrolled loop with '
44   - UnrollCount:     '4'
45   - String:          ' iterations'
46 ...
47 --- !Analysis
48 Pass:            inline
49 Name:            CanBeInlined
50 DebugLoc:        { File: Inputs/q.c, Line: 12, Column: 3 }
51 Function:        quack2
52 Args:            
53   - Callee:          foo
54   - String:          ' can be inlined into '
55   - Caller:          quack2
56   - String:          ' with cost='
57   - Cost:            '40'
58   - String:          ' (threshold='
59   - Threshold:       '275'
60   - String:          ')'
61 ...
62 --- !Passed
63 Pass:            inline
64 Name:            Inlined
65 DebugLoc:        { File: Inputs/q.c, Line: 12, Column: 3 }
66 Function:        quack2
67 Args:            
68   - Callee:          foo
69   - String:          ' inlined into '
70   - Caller:          quack2
71 ...
72 --- !Passed
73 Pass:            loop-unroll
74 Name:            FullyUnrolled
75 DebugLoc:        { File: Inputs/q.c, Line: 3, Column: 3 }
76 Function:        quack2
77 Args:            
78   - String:          'completely unrolled loop with '
79   - UnrollCount:     '4'
80   - String:          ' iterations'
81 ...
82 --- !Analysis
83 Pass:            loop-vectorize
84 Name:            CantVectorizeCall
85 DebugLoc:        { File: Inputs/q.c, Line: 4, Column: 5 }
86 Function:        foo
87 Args:            
88   - String:          'loop not vectorized: '
89   - String:          call instruction cannot be vectorized
90 ...
91 --- !Missed
92 Pass:            loop-vectorize
93 Name:            MissedDetails
94 DebugLoc:        { File: Inputs/q.c, Line: 3, Column: 3 }
95 Function:        foo
96 Args:            
97   - String:          'loop not vectorized: use -Rpass-analysis=loop-vectorize for more info'
98 ...