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