Lines Matching full:cache
3 ; RUN: opt -module-summary %p/Inputs/cache.ll -o %t2.o
5 ; RUN: rm -Rf %t.cache
8 ; RUN: --plugin-opt=cache-dir=%t.cache \
11 ; Since nothing was added to the cache, there shouldn't be a timestamp file yet.
12 ; RUN: not ls %t.cache
18 ; RUN: opt -module-hash -module-summary %p/Inputs/cache.ll -o %t2.o
20 ; RUN: rm -Rf %t.cache
23 ; RUN: --plugin-opt=cache-dir=%t.cache \
27 ; RUN: ls %t.cache | count 3
30 ; Create two files that would be removed by cache pruning due to age.
33 ; RUN: touch -t 197001011200 %t.cache/llvmcache-foo %t.cache/foo
36 ; RUN: --plugin-opt=cache-dir=%t.cache \
37 ; RUN: --plugin-opt=cache-policy=prune_after=1h:prune_interval=0s \
41 ; RUN: ls %t.cache | count 4
45 ; RUN: %python -c "print(' ' * 65536)" > %t.cache/llvmcache-foo
50 ; RUN: --plugin-opt=cache-dir=%t.cache \
51 ; RUN: --plugin-opt=cache-policy=cache_size_bytes=128k:prune_interval=0s \
53 ; RUN: ls %t.cache | count 5
57 ; RUN: touch -r %t.cache/llvmcache-foo -d '-2 minutes' %t.cache/llvmcache-foo
63 ; RUN: --plugin-opt=cache-dir=%t.cache \
64 ; RUN: --plugin-opt=cache-policy=cache_size_bytes=32k:prune_interval=0s \
66 ; RUN: ls %t.cache | count 4