Lines Matching +full:gcc +full:- +full:4
1 ; RUN: opt < %s -sample-profile -sample-profile-file=%S/Inputs/gcc-simple.afdo -S | FileCheck %s
2 ; RUN: opt < %s -passes=sample-profile -sample-profile-file=%S/Inputs/gcc-simple.afdo -S | FileChec…
3 ; XFAIL: powerpc64-, s390x, mips-, mips64-, sparc
19 ; This test was compiled down to bytecode at -O0 to avoid inlining foo() into
20 ; main(). The profile was generated using a GCC-generated binary (also compiled
21 ; at -O0). The conversion from the Linux Perf profile to the GCC autofdo
24 ; $ gcc -g -O0 gcc-simple.cc -o gcc-simple
25 ; $ perf record -b ./gcc-simple
26 ; $ create_gcov --binary=gcc-simple --gcov=gcc-simple.afdo
28 define i64 @_Z3fool(i64 %i) #0 !dbg !4 {
29 ; CHECK: !prof ![[EC1:[0-9]+]]
38 ; CHECK: !prof ![[PROF1:[0-9]+]]
47 br i1 %cmp2, label %if.then.3, label %if.else.4, !dbg !29
48 ; CHECK: !prof ![[PROF2:[0-9]+]]
54 if.else.4: ; preds = %if.else
58 return: ; preds = %if.else.4, %if.then.3, %if.then
71 ; CHECK: !prof ![[EC2:[0-9]+]]
73 %retval = alloca i32, align 4
75 %k = alloca i32, align 4
76 %i = alloca i32, align 4
77 store i32 0, i32* %retval, align 4
81 store i32 0, i32* %k, align 4, !dbg !39
84 for.cond: ; preds = %for.inc.4, %entry
85 %0 = load i32, i32* %k, align 4, !dbg !41
88 ; CHECK: !prof ![[PROF3:[0-9]+]]
92 store i32 0, i32* %i, align 4, !dbg !49
96 %1 = load i32, i32* %i, align 4, !dbg !51
99 ; CHECK: !prof ![[PROF4:[0-9]+]]
102 %2 = load i32, i32* %i, align 4, !dbg !57
111 %4 = load i32, i32* %i, align 4, !dbg !62
112 %inc = add nsw i32 %4, 1, !dbg !62
113 store i32 %inc, i32* %i, align 4, !dbg !62
117 br label %for.inc.4, !dbg !65
119 for.inc.4: ; preds = %for.end
120 %5 = load i32, i32* %k, align 4, !dbg !67
122 store i32 %inc5, i32* %k, align 4, !dbg !67
139 …-tail-calls"="false" "less-precise-fpmad"="false" "no-frame-pointer-elim"="true" "no-frame-pointer…
141 …-tail-calls"="false" "less-precise-fpmad"="false" "no-frame-pointer-elim"="true" "no-frame-pointer…
151 !4 = distinct !DISubprogram(name: "foo", linkageName: "_Z3fool", scope: !1, file: !1, line: 3, type…
160 !13 = !{i32 2, !"Dwarf Version", i32 4}
163 !16 = !DILocalVariable(name: "i", arg: 1, scope: !4, file: !1, line: 3, type: !8)
165 !18 = !DILocation(line: 3, column: 24, scope: !4)
166 !19 = !DILocation(line: 4, column: 7, scope: !20)
167 !20 = distinct !DILexicalBlock(scope: !4, file: !1, line: 4, column: 7)
168 !21 = !DILocation(line: 4, column: 14, scope: !20)
169 !22 = !DILocation(line: 4, column: 7, scope: !4)
170 !23 = !DILocation(line: 4, column: 21, scope: !24)
172 !25 = !DILocation(line: 4, column: 40, scope: !26)
174 !27 = distinct !DILexicalBlock(scope: !20, file: !1, line: 4, column: 40)
175 !28 = !DILocation(line: 4, column: 47, scope: !27)
176 !29 = !DILocation(line: 4, column: 40, scope: !20)
177 !30 = !DILocation(line: 4, column: 55, scope: !31)
179 !32 = !DILocation(line: 4, column: 71, scope: !33)
180 !33 = !DILexicalBlockFile(scope: !27, file: !1, discriminator: 4)
181 !34 = !DILocation(line: 5, column: 1, scope: !4)
210 !63 = !DILexicalBlockFile(scope: !54, file: !1, discriminator: 4)