Lines Matching full:cache
6 ; RUN: opt -module-hash -module-summary %p/Inputs/lto-cache.ll -o %t2.o
8 ; RUN: rm -Rf %t.cache && mkdir %t.cache
9 ; Create two files that would be removed by cache pruning due to age.
11 ; RUN: touch -t 197001011200 %t.cache/llvmcache-foo %t.cache/Thin-123.tmp.o %t.cache/foo
12 ; RUN: lld-link /lldltocache:%t.cache /lldltocachepolicy:prune_after=1h /out:%t3 /entry:main %t2.o …
15 ; RUN: ls %t.cache | count 4
17 ;; Check that mllvm options participate in the cache key
18 ; RUN: rm -rf %t.cache && mkdir %t.cache
19 ; RUN: lld-link /lldltocache:%t.cache /entry:main /out:%t3 %t2.o %t.o
20 ; RUN: ls %t.cache | count 3
21 ; RUN: lld-link /lldltocache:%t.cache /entry:main /out:%t3 %t2.o %t.o /mllvm:-enable-ml-inliner=def…
22 ; RUN: ls %t.cache | count 5
24 ;; Adding another option resuls in 2 more cache entries
25 ; RUN: rm -rf %t.cache && mkdir %t.cache
26 ; RUN: lld-link /lldltocache:%t.cache /entry:main /out:%t3 %t2.o %t.o
27 ; RUN: ls %t.cache | count 3
28 ; RUN: lld-link /lldltocache:%t.cache /entry:main /out:%t3 %t2.o %t.o /mllvm:-enable-ml-inliner=def…
29 ; RUN: ls %t.cache | count 5
30 ; RUN: lld-link /lldltocache:%t.cache /entry:main /out:%t3 %t2.o %t.o /mllvm:-enable-ml-inliner=def…
31 ; RUN: ls %t.cache | count 7
34 ; RUN: lld-link /lldltocache:%t.cache /entry:main /out:%t3 %t2.o %t.o /mllvm:-max-devirt-iterations…
35 ; RUN: ls %t.cache | count 9
38 ; RUN: lld-link /lldltocache:%t.cache /entry:main /out:%t3 %t2.o %t.o /mllvm:-enable-ml-inliner=def…
39 ; RUN: ls %t.cache | count 9
42 ; RUN: rm -rf %t.cache && mkdir %t.cache
43 ; RUN: lld-link /lldltocache:%t.cache /entry:main /out:%t3 %t2.o %t.o /mllvm:-enable-ml-inliner=def…
44 ; RUN: ls %t.cache | count 3
45 ; RUN: lld-link /lldltocache:%t.cache /entry:main /out:%t3 %t2.o %t.o /mllvm:-enable-ml-inliner=def…
46 ; RUN: ls %t.cache | count 5
50 ; RUN: rm -rf %t.cache && mkdir %t.cache
51 ; RUN: lld-link /lldltocache:%t.cache /entry:main /out:%t3 %t2.o %t.o /mllvm:-enable-ml-inliner=def…
52 ; RUN: ls %t.cache | count 3
53 ; RUN: lld-link /lldltocache:%t.cache /entry:main /out:%t3 %t2.o %t.o /mllvm:-emit-dwarf-unwind=def…
54 ; RUN: ls %t.cache | count 5
55 ; RUN: lld-link /lldltocache:%t.cache /entry:main /out:%t3 %t2.o %t.o /mllvm:-enable-ml-inliner=def…
56 ; RUN: ls %t.cache | count 5
57 ; RUN: lld-link /lldltocache:%t.cache /entry:main /out:%t3 %t2.o %t.o /mllvm:-enable-ml-inliner=def…
58 ; RUN: ls %t.cache | count 7
59 ; RUN: lld-link /lldltocache:%t.cache /entry:main /out:%t3 %t2.o %t.o /mllvm:-emit-dwarf-unwind=def…
60 ; RUN: ls %t.cache | count 9