Lines Matching +full:x +full:- +full:versions
29 ;; char *x = B(); // cold
32 ;; memset(x, 0, 10);
37 ;; delete[] x;
42 ;; Code compiled with -mllvm -memprof-ave-lifetime-cold-threshold=5 so that the
54 ;; The IR was then reduced using llvm-reduce with the expected FileCheck input.
56 ;; -stats requires asserts
59 ; RUN: opt -thinlto-bc %s >%t.o
60 ; RUN: llvm-lto2 run %t.o -enable-memprof-context-disambiguation \
61 ; RUN: -supports-hot-cold-new \
62 ; RUN: -r=%t.o,main,plx \
63 ; RUN: -r=%t.o,_ZdaPv, \
64 ; RUN: -r=%t.o,sleep, \
65 ; RUN: -r=%t.o,_Znam, \
66 ; RUN: -memprof-verify-ccg -memprof-verify-nodes -memprof-dump-ccg \
67 ; RUN: -stats -pass-remarks=memprof-context-disambiguation -save-temps \
68 ; RUN: -o %t.out 2>&1 | FileCheck %s --check-prefix=DUMP \
69 ; RUN: --check-prefix=STATS --check-prefix=STATS-BE --check-prefix=REMARKS
71 ; RUN: llvm-dis %t.out.1.4.opt.bc -o - | FileCheck %s --check-prefix=IR
75 ; RUN: llvm-lto2 run %t.o -enable-memprof-context-disambiguation \
76 ; RUN: -supports-hot-cold-new \
77 ; RUN: -thinlto-distributed-indexes \
78 ; RUN: -r=%t.o,main,plx \
79 ; RUN: -r=%t.o,_ZdaPv, \
80 ; RUN: -r=%t.o,sleep, \
81 ; RUN: -r=%t.o,_Znam, \
82 ; RUN: -memprof-verify-ccg -memprof-verify-nodes -memprof-dump-ccg \
83 ; RUN: -stats -pass-remarks=memprof-context-disambiguation \
84 ; RUN: -o %t2.out 2>&1 | FileCheck %s --check-prefix=DUMP \
85 ; RUN: --check-prefix=STATS
89 ; RUN: llvm-dis %t.o.thinlto.bc -o - | FileCheck %s --check-prefix=DISTRIB
92 ; RUN: opt -passes=memprof-context-disambiguation \
93 ; RUN: -memprof-import-summary=%t.o.thinlto.bc \
94 ; RUN: -stats -pass-remarks=memprof-context-disambiguation \
95 ; RUN: %t.o -S 2>&1 | FileCheck %s --check-prefix=IR \
96 ; RUN: --check-prefix=STATS-BE --check-prefix=REMARKS
98 source_filename = "duplicate-context-ids.ll"
99 target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
100 target triple = "x86_64-unknown-linux-gnu"
150 !2 = !{i64 6541423618768552252, i64 -6270142974039008131}
152 !4 = !{i64 6541423618768552252, i64 -4903163940066524832}
154 !6 = !{i64 -4903163940066524832}
155 !7 = !{i64 -6270142974039008131}
156 !8 = !{i64 -6270142974039008131, i64 -184525619819294889}
157 !9 = !{i64 -6270142974039008131, i64 1905834578520680781}
164 ; DUMP: Node [[D:0x[a-z0-9]+]]
165 ; DUMP: Versions: 1 MIB:
173 ; DUMP: Edge from Callee [[D]] to Caller: [[C:0x[a-z0-9]+]] AllocTypes: Cold ContextIds: 1
174 ; DUMP: Edge from Callee [[D]] to Caller: [[F:0x[a-z0-9]+]] AllocTypes: NotCold ContextIds: 2
183 ; DUMP: Versions: 1 MIB:
192 ; DUMP: Edge from Callee [[D]] to Caller: [[C1:0x[a-z0-9]+]] AllocTypes: Cold ContextIds: 3
193 ; DUMP: Edge from Callee [[D]] to Caller: [[C2:0x[a-z0-9]+]] AllocTypes: Cold ContextIds: 4
194 ; DUMP: Edge from Callee [[D]] to Caller: [[C0:0x[a-z0-9]+]] AllocTypes: Cold ContextIds: 1
199 ; DUMP: Versions: 1 MIB:
208 ; DUMP: Clones: [[D2:0x[a-z0-9]+]]
211 ; DUMP: Versions: 1 MIB:
235 ; IR: call {{.*}} @_Znam(i64 0) #[[NOTCOLD:[0-9]+]]
246 ; IR: call {{.*}} @_Znam(i64 0) #[[COLD:[0-9]+]]
251 ; STATS: 1 memprof-context-disambiguation - Number of cold static allocations (possibly cloned)
252 ; STATS-BE: 1 memprof-context-disambiguation - Number of cold static allocations (possibly cloned) …
253 ; STATS: 1 memprof-context-disambiguation - Number of not cold static allocations (possibly cloned)
254 ; STATS-BE: 1 memprof-context-disambiguation - Number of not cold static allocations (possibly clon…
255 ; STATS-BE: 2 memprof-context-disambiguation - Number of allocation versions (including clones) dur…
256 ; STATS: 1 memprof-context-disambiguation - Number of function clones created during whole program …
257 ; STATS-BE: 1 memprof-context-disambiguation - Number of function clones created during ThinLTO bac…
258 ; STATS-BE: 1 memprof-context-disambiguation - Number of functions that had clones created during T…
259 ; STATS-BE: 2 memprof-context-disambiguation - Maximum number of allocation versions created for an…
260 ; STATS-BE: 1 memprof-context-disambiguation - Number of original (not cloned) allocations with mem…
263 ; DISTRIB: ^[[E:[0-9]+]] = gv: (guid: 331966645857188136, {{.*}} callsites: ((callee: ^[[D:[0-9]+]]…
264 ; DISTRIB: ^[[D]] = gv: (guid: 11079124245221721799, {{.*}} allocs: ((versions: (notcold, cold)
265 ; DISTRIB: ^[[F:[0-9]+]] = gv: (guid: 11254287701717398916, {{.*}} callsites: ((callee: ^[[D]], clo…
266 ; DISTRIB: ^[[B:[0-9]+]] = gv: (guid: 13579056193435805313, {{.*}} callsites: ((callee: ^[[D]], clo…
267 ; DISTRIB: ^[[C:[0-9]+]] = gv: (guid: 15101436305866936160, {{.*}} callsites: ((callee: ^[[D:[0-9]+…