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