summaryrefslogtreecommitdiffstats
path: root/llvm/test/tools/llvm-opt-report/Inputs/dm.yaml
blob: 5e6cc54a0a3075108ed9af2714814a01db0267c1 (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
99
100
101
102
103
104
--- !Missed
Pass:            inline
Name:            NoDefinition
DebugLoc:        { File: Inputs/dm.c, Line: 3, Column: 12 }
Function:        foo
Args:            
  - Callee:          bar
  - String:          ' will not be inlined into '
  - Caller:          foo
    DebugLoc:        { File: Inputs/dm.c, Line: 2, Column: 0 }
  - String:          ' because its definition is unavailable'
...
--- !Analysis
Pass:            inline
Name:            CanBeInlined
DebugLoc:        { File: Inputs/dm.c, Line: 7, Column: 3 }
Function:        quack
Args:            
  - Callee:          foo
    DebugLoc:        { File: Inputs/dm.c, Line: 2, Column: 0 }
  - String:          ' can be inlined into '
  - Caller:          quack
    DebugLoc:        { File: Inputs/dm.c, Line: 6, Column: 0 }
  - String:          ' with cost='
  - Cost:            '-35'
  - String:          ' (threshold='
  - Threshold:       '375'
  - String:          ')'
...
--- !Passed
Pass:            inline
Name:            Inlined
DebugLoc:        { File: Inputs/dm.c, Line: 7, Column: 3 }
Function:        quack
Args:            
  - Callee:          foo
    DebugLoc:        { File: Inputs/dm.c, Line: 2, Column: 0 }
  - String:          ' inlined into '
  - Caller:          quack
    DebugLoc:        { File: Inputs/dm.c, Line: 6, Column: 0 }
...
--- !Analysis
Pass:            inline
Name:            CanBeInlined
DebugLoc:        { File: Inputs/dm.c, Line: 11, Column: 3 }
Function:        quack2
Args:            
  - Callee:          foo
    DebugLoc:        { File: Inputs/dm.c, Line: 2, Column: 0 }
  - String:          ' can be inlined into '
  - Caller:          quack2
    DebugLoc:        { File: Inputs/dm.c, Line: 10, Column: 0 }
  - String:          ' with cost='
  - Cost:            '-5'
  - String:          ' (threshold='
  - Threshold:       '375'
  - String:          ')'
...
--- !Passed
Pass:            inline
Name:            Inlined
DebugLoc:        { File: Inputs/dm.c, Line: 11, Column: 3 }
Function:        quack2
Args:            
  - Callee:          foo
    DebugLoc:        { File: Inputs/dm.c, Line: 2, Column: 0 }
  - String:          ' inlined into '
  - Caller:          quack2
    DebugLoc:        { File: Inputs/dm.c, Line: 10, Column: 0 }
...
--- !Analysis
Pass:            loop-vectorize
Name:            CFGNotUnderstood
DebugLoc:        { File: Inputs/dm.c, Line: 3, Column: 28 }
Function:        foo
Args:            
  - String:          'loop not vectorized: '
  - String:          loop control flow is not understood by vectorizer
...
--- !Missed
Pass:            loop-vectorize
Name:            MissedDetails
DebugLoc:        { File: Inputs/dm.c, Line: 3, Column: 28 }
Function:        foo
Args:            
  - String:          loop not vectorized
...
--- !Analysis
Pass:            loop-vectorize
Name:            CFGNotUnderstood
DebugLoc:        { File: Inputs/dm.c, Line: 3, Column: 28 }
Function:        quack
Args:            
  - String:          'loop not vectorized: '
  - String:          loop control flow is not understood by vectorizer
...
--- !Missed
Pass:            loop-vectorize
Name:            MissedDetails
DebugLoc:        { File: Inputs/dm.c, Line: 3, Column: 28 }
Function:        quack
Args:            
  - String:          loop not vectorized
...
OpenPOWER on IntegriCloud