[InstCombine] Signed saturation patterns
[llvm-complete.git] / test / tools / llvm-opt-report / Inputs / q2.yaml
blob4229dd3618b0aeee68c95864257fb7f46987738b
1 --- !Missed
2 Pass:            inline
3 Name:            NoDefinition
4 DebugLoc:        { File: Inputs/q2.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/q2.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:            '55'
23   - String:          ' (threshold='
24   - Threshold:       '275'
25   - String:          ')'
26 ...
27 --- !Passed
28 Pass:            inline
29 Name:            Inlined
30 DebugLoc:        { File: Inputs/q2.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/q2.c, Line: 3, Column: 31 }
41 Function:        quack
42 Args:            
43   - String:          'completely unrolled loop with '
44   - UnrollCount:     '4'
45   - String:          ' iterations'
46 ...
47 --- !Passed
48 Pass:            loop-unroll
49 Name:            FullyUnrolled
50 DebugLoc:        { File: Inputs/q2.c, Line: 3, Column: 3 }
51 Function:        quack
52 Args:            
53   - String:          'completely unrolled loop with '
54   - UnrollCount:     '4'
55   - String:          ' iterations'
56 ...
57 --- !Analysis
58 Pass:            inline
59 Name:            CanBeInlined
60 DebugLoc:        { File: Inputs/q2.c, Line: 12, Column: 3 }
61 Function:        quack2
62 Args:            
63   - Callee:          foo
64   - String:          ' can be inlined into '
65   - Caller:          quack2
66   - String:          ' with cost='
67   - Cost:            '55'
68   - String:          ' (threshold='
69   - Threshold:       '275'
70   - String:          ')'
71 ...
72 --- !Passed
73 Pass:            inline
74 Name:            Inlined
75 DebugLoc:        { File: Inputs/q2.c, Line: 12, Column: 3 }
76 Function:        quack2
77 Args:            
78   - Callee:          foo
79   - String:          ' inlined into '
80   - Caller:          quack2
81 ...
82 --- !Passed
83 Pass:            loop-unroll
84 Name:            FullyUnrolled
85 DebugLoc:        { File: Inputs/q2.c, Line: 3, Column: 31 }
86 Function:        quack2
87 Args:            
88   - String:          'completely unrolled loop with '
89   - UnrollCount:     '4'
90   - String:          ' iterations'
91 ...
92 --- !Passed
93 Pass:            loop-unroll
94 Name:            FullyUnrolled
95 DebugLoc:        { File: Inputs/q2.c, Line: 3, Column: 3 }
96 Function:        quack2
97 Args:            
98   - String:          'completely unrolled loop with '
99   - UnrollCount:     '4'
100   - String:          ' iterations'
102 --- !Analysis
103 Pass:            loop-vectorize
104 Name:            CantVectorizeCall
105 DebugLoc:        { File: Inputs/q2.c, Line: 4, Column: 5 }
106 Function:        foo
107 Args:            
108   - String:          'loop not vectorized: '
109   - String:          call instruction cannot be vectorized
111 --- !Missed
112 Pass:            loop-vectorize
113 Name:            MissedDetails
114 DebugLoc:        { File: Inputs/q2.c, Line: 3, Column: 31 }
115 Function:        foo
116 Args:            
117   - String:          'loop not vectorized: use -Rpass-analysis=loop-vectorize for more info'