Home
last modified time | relevance | path

Searched refs:cache (Results 1 – 25 of 662) sorted by relevance

12345678910>>...27

/llvm-project-15.0.7/llvm/test/ThinLTO/X86/
H A Dcache.ll12 ; RUN: rm -Rf %t.cache.noindex && mkdir %t.cache.noindex
33 ; RUN: rm -Rf %t.cache.noindex && mkdir %t.cache.noindex
53 ; RUN: rm -Rf %t.cache.noindex && mkdir %t.cache.noindex
61 ; RUN: rm -Rf %t.cache.noindex && mkdir %t.cache.noindex
70 ; cache file is older than default cache expiration value.
71 ; RUN: rm -Rf %t.cache.noindex && mkdir %t.cache.noindex
81 ; cache file is older than default cache expiration value.
82 ; RUN: rm -Rf %t.cache.noindex && mkdir %t.cache.noindex
90 ; RUN: rm -Rf %t.cache.noindex && mkdir %t.cache.noindex
111 ; RUN: rm -Rf %t.cache.noindex && mkdir %t.cache.noindex
[all …]
H A Dcache-config.ll1 ; RUN: rm -rf %t.cache
4 ; RUN: llvm-lto2 run -o %t.o %t.bc -cache-dir %t.cache -r=%t.bc,globalfunc,plx
5 ; RUN: llvm-lto2 run -o %t.o %t.bc -cache-dir %t.cache -r=%t.bc,globalfunc,plx -mcpu=core2
6 ; RUN: llvm-lto2 run -o %t.o %t.bc -cache-dir %t.cache -r=%t.bc,globalfunc,plx -relax-elf-relocatio…
7 ; RUN: llvm-lto2 run -o %t.o %t.bc -cache-dir %t.cache -r=%t.bc,globalfunc,plx -function-sections
8 ; RUN: llvm-lto2 run -o %t.o %t.bc -cache-dir %t.cache -r=%t.bc,globalfunc,plx -data-sections
9 ; RUN: llvm-lto2 run -o %t.o %t.bc -cache-dir %t.cache -r=%t.bc,globalfunc,plx -debugger-tune=sce
10 ; RUN: llvm-lto2 run -o %t.o %t.bc -cache-dir %t.cache -r=%t.bc,globalfunc,plx -mattr=+sse2
13 ; RUN: llvm-lto2 run -o %t.o %t.bc -cache-dir %t.cache -r=%t.bc,globalfunc,plx -cg-opt-level=0
14 ; RUN: llvm-lto2 run -o %t.o %t.bc -cache-dir %t.cache -r=%t.bc,globalfunc,plx -O1
[all …]
H A Dempty_module_with_cache.ll5 ; RUN: rm -Rf %t.cache && mkdir %t.cache
6 ; RUN: llvm-lto -thinlto-action=run %t2.bc %t.bc -exported-symbol=main -thinlto-cache-dir %t.cache
8 ; RUN: ls %t.cache | count 3
11 ; RUN: rm -Rf %t.cache
12 ; RUN: llvm-lto2 run -o %t.o %t2.bc %t.bc -cache-dir %t.cache \
14 ; RUN: ls %t.cache | count 2
22 ; RUN: rm -Rf %t.cache && mkdir %t.cache
25 ; RUN: ls %t.cache | count 1
28 ; RUN: rm -Rf %t.cache
29 ; RUN: llvm-lto2 run -o %t.o %t2.bc %t.bc -cache-dir %t.cache \
[all …]
H A Dindex-const-prop-cache.ll1 ; Check that we correctly handle 'ReadOnly' attribute when computing cache key
6 ; RUN: rm -Rf %t.cache && mkdir %t.cache
10 ; RUN: -exported-symbol=main -exported-symbol=test -thinlto-cache-dir=%t.cache
11 ; RUN: ls %t.cache/llvmcache-* | count 3
15 ; RUN: -exported-symbol=main -exported-symbol=test -thinlto-cache-dir=%t.cache
16 ; RUN: ls %t.cache/llvmcache-* | count 6
19 ; RUN: rm -Rf %t.cache && mkdir %t.cache
20 ; RUN: llvm-lto2 run %t1.bc %t4.bc %t2.bc -cache-dir=%t.cache -o %t5 \
24 ; RUN: ls %t.cache/llvmcache-* | count 3
26 ; RUN: llvm-lto2 run %t1.bc %t3.bc %t2.bc -cache-dir %t.cache -o %t6 \
[all …]
H A Dsave_objects.ll2 ; RUN: opt -module-hash -module-summary %p/Inputs/cache.ll -o %t2.bc
4 ; Check that the generating object files is working without cache
9 ; Same with cache
11 ; RUN: rm -Rf %t.cache && mkdir %t.cache
12 …ts=%t.thin.out -thinlto-action=run %t2.bc %t.bc -exported-symbol=main -thinlto-cache-dir %t.cache
14 ; RUN: ls %t.cache | count 3
16 ; Same with hot cache
18 ; RUN: rm -Rf %t.cache && mkdir %t.cache
19 …ts=%t.thin.out -thinlto-action=run %t2.bc %t.bc -exported-symbol=main -thinlto-cache-dir %t.cache
21 ; RUN: ls %t.cache | count 3
H A Dcache-typeid-resolutions.ll2 ; RUN: opt -module-hash -module-summary %S/Inputs/cache-typeid-resolutions-import.ll -o %t-import.bc
4 ; RUN: llvm-as -o %t1.bc %S/Inputs/cache-typeid-resolutions1.ll
5 ; RUN: llvm-as -o %t2.bc %S/Inputs/cache-typeid-resolutions2.ll
6 ; RUN: llvm-as -o %t3.bc %S/Inputs/cache-typeid-resolutions3.ll
11 ; RUN: rm -rf %t.cache
12 ; RUN: llvm-lto2 run -o %t.o %t.bc %t-import.bc -cache-dir %t.cache -r=%t.bc,f1,plx -r=%t.bc,f1_act…
13 ; RUN: llvm-lto2 run -o %t.o %t.bc %t-import.bc %t1.bc -cache-dir %t.cache -r=%t.bc,f1,plx -r=%t.bc…
14 ; RUN: ls %t.cache | count 4
19 ; RUN: rm -rf %t.cache
20 ; RUN: llvm-lto2 run -o %t.o %t.bc %t-import.bc -cache-dir %t.cache -r=%t.bc,f1,plx -r=%t.bc,f2,plx…
[all …]
/llvm-project-15.0.7/lld/test/ELF/lto/
H A Dcache.ll8 ; RUN: rm -Rf %t.cache && mkdir %t.cache
11 ; RUN: touch -t 197001011200 %t.cache/llvmcache-foo %t.cache/foo
12 ; RUN: ld.lld --thinlto-cache-dir=%t.cache --thinlto-cache-policy prune_after=1h:prune_interval=0s …
15 ; RUN: ls %t.cache | count 4
21 ; RUN: ld.lld --thinlto-cache-dir=%t.cache --thinlto-cache-policy cache_size_bytes=128k:prune_inter…
22 ; RUN: ls %t.cache | count 5
29 ; RUN: ld.lld --thinlto-cache-dir=%t.cache --thinlto-cache-policy cache_size_bytes=32k:prune_interv…
30 ; RUN: ls %t.cache | count 4
34 ; RUN: ls %t.cache | count 4
41 ; RUN: rm -fr %t.cache
[all …]
/llvm-project-15.0.7/compiler-rt/lib/sanitizer_common/tests/
H A Dsanitizer_quarantine_test.cpp77 Cache cache; in TEST() local
86 Cache cache; in TEST() local
99 DeallocateCache(&cache); in TEST()
106 Cache cache; in TEST() local
109 cache.Transfer(&from); in TEST()
119 DeallocateCache(&cache); in TEST()
128 Cache cache; in TEST() local
133 cache.Transfer(&from); in TEST()
145 DeallocateCache(&cache); in TEST()
154 Cache cache; in TEST() local
[all …]
H A Dsanitizer_allocator_test.cpp219 memset(&cache, 0, sizeof(cache)); in TestSizeClassAllocator()
220 cache.Init(0); in TestSizeClassAllocator()
368 memset(&cache, 0, sizeof(cache)); in SizeClassAllocatorMetadataStress()
428 memset(&cache, 0, sizeof(cache)); in SizeClassAllocatorGetBlockBeginStress()
510 memset(&cache, 0, sizeof(cache)); in TEST()
546 memset(&cache, 0, sizeof(cache)); in TEST()
580 memset(&cache, 0, sizeof(cache)); in TEST()
687 memset(&cache, 0, sizeof(cache)); in TestCombinedAllocator()
784 memset(&cache, 0, sizeof(cache)); in TestSizeClassAllocatorLocalCache()
964 memset(&cache, 0, sizeof(cache)); in TestSizeClassAllocatorIteration()
[all …]
/llvm-project-15.0.7/lld/test/wasm/lto/
H A Dcache.ll7 ; RUN: rm -Rf %t.cache && mkdir %t.cache
10 ; RUN: touch -t 197001011200 %t.cache/llvmcache-foo %t.cache/foo
11 ; RUN: wasm-ld --thinlto-cache-dir=%t.cache --thinlto-cache-policy prune_after=1h:prune_interval=0s…
14 ; RUN: ls %t.cache | count 4
20 ; RUN: wasm-ld --thinlto-cache-dir=%t.cache --thinlto-cache-policy cache_size_bytes=128k:prune_inte…
21 ; RUN: ls %t.cache | count 5
28 ; RUN: wasm-ld --thinlto-cache-dir=%t.cache --thinlto-cache-policy cache_size_bytes=32k:prune_inter…
29 ; RUN: ls %t.cache | count 4
32 ; RUN: wasm-ld --thinlto-cache-dir=%t.cache --thinlto-cache-policy prune_after=0s:cache_size=0%:cac…
33 ; RUN: ls %t.cache | count 4
[all …]
/llvm-project-15.0.7/lld/test/MachO/
H A Dlto-cache.ll9 ; RUN: rm -Rf %t/cache && mkdir %t/cache
12 ; RUN: touch -t 197001011200 %t/cache/llvmcache-baz %t/cache/baz
18 ; RUN: ls %t/cache | count 4
24 ; RUN: ls %t/cache | count 4
33 ; RUN: ls %t/cache | count 5
38 ; RUN: %t/cache/llvmcache-baz
44 ; RUN: ls %t/cache | count 4
50 ; RUN: ls %t/cache | count 3
53 ; RUN: rm -fr %t/cache
54 ; RUN: mkdir %t/cache
[all …]
/llvm-project-15.0.7/libcxx/test/libcxx/ranges/range.nonprop.cache/
H A Demplace.pass.cpp39 Cache cache; in test() local
41 assert(&result == &*cache); in test()
48 Cache cache; in test() local
50 assert(&result == &*cache); in test()
56 Cache cache; in test() local
58 assert(&result == &*cache); in test()
65 Cache cache; in test() local
67 assert(&result == &*cache); in test()
73 Cache cache; in test() local
75 assert(&result == &*cache); in test()
[all …]
H A Demplace_from.pass.cpp39 Cache cache; in test() local
40 T& result = cache.__emplace_from([] { return T(); }); in test()
41 assert(&result == &*cache); in test()
47 Cache cache; in test() local
48 T& result = cache.__emplace_from([] { return T(X<0>{0}); }); in test()
49 assert(&result == &*cache); in test()
55 Cache cache; in test() local
56 T& result = cache.__emplace_from([] { return T(X<0>{0}, X<1>{1}); }); in test()
57 assert(&result == &*cache); in test()
65 Cache cache; in test() local
[all …]
H A Dderef.pass.cpp25 Cache cache; cache.__emplace(3); in test() local
26 T& result = *cache; in test()
32 Cache cache; cache.__emplace(3); in test() local
33 T const& result = *static_cast<Cache const&>(cache); in test()
/llvm-project-15.0.7/llvm/test/tools/gold/X86/
H A Dcache.ll5 ; RUN: rm -Rf %t.cache
8 ; RUN: --plugin-opt=cache-dir=%t.cache \
12 ; RUN: not ls %t.cache
20 ; RUN: rm -Rf %t.cache
23 ; RUN: --plugin-opt=cache-dir=%t.cache \
27 ; RUN: ls %t.cache | count 3
33 ; RUN: touch -t 197001011200 %t.cache/llvmcache-foo %t.cache/foo
36 ; RUN: --plugin-opt=cache-dir=%t.cache \
50 ; RUN: --plugin-opt=cache-dir=%t.cache \
57 ; RUN: touch -r %t.cache/llvmcache-foo -d '-2 minutes' %t.cache/llvmcache-foo
[all …]
/llvm-project-15.0.7/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_allocator.cpp52 if (cache == 0) { in RawInternalAlloc()
63 if (cache == 0) { in RawInternalRealloc()
72 if (!cache) { in RawInternalFree()
76 internal_allocator()->Deallocate(cache, ptr); in RawInternalFree()
87 void *p = RawInternalAlloc(size, cache, alignment); in InternalAlloc()
94 void *p = RawInternalRealloc(addr, size, cache); in InternalRealloc()
101 InternalAllocatorCache *cache) { in InternalReallocArray() argument
109 return InternalRealloc(addr, count * size, cache); in InternalReallocArray()
119 void *p = InternalAlloc(count * size, cache); in InternalCalloc()
125 void InternalFree(void *addr, InternalAllocatorCache *cache) { in InternalFree() argument
[all …]
H A Dsanitizer_allocator_combined.h89 void Deallocate(AllocatorCache *cache, void *p) { in Deallocate() argument
100 return Allocate(cache, new_size, alignment); in Reallocate()
102 Deallocate(cache, p); in Reallocate()
108 void *new_p = Allocate(cache, new_size, alignment); in Reallocate()
111 Deallocate(cache, p); in Reallocate()
155 void InitCache(AllocatorCache *cache) { in InitCache() argument
156 cache->Init(&stats_); in InitCache()
159 void DestroyCache(AllocatorCache *cache) { in DestroyCache() argument
160 cache->Destroy(&primary_, &stats_); in DestroyCache()
163 void SwallowCache(AllocatorCache *cache) { in SwallowCache() argument
[all …]
/llvm-project-15.0.7/polly/lib/External/isl/
H A Disl_blk.c83 if (ctx->cache[best].size < n) { in isl_blk_alloc()
84 if (ctx->cache[i].size > ctx->cache[best].size) in isl_blk_alloc()
86 } else if (ctx->cache[i].size >= n && in isl_blk_alloc()
87 ctx->cache[i].size < ctx->cache[best].size) in isl_blk_alloc()
90 if (ctx->cache[best].size < 2 * n + 100) { in isl_blk_alloc()
91 block = ctx->cache[best]; in isl_blk_alloc()
93 ctx->cache[best] = ctx->cache[ctx->n_cached]; in isl_blk_alloc()
97 isl_blk_free_force(ctx, ctx->cache[0]); in isl_blk_alloc()
99 ctx->cache[0] = ctx->cache[ctx->n_cached]; in isl_blk_alloc()
122 ctx->cache[ctx->n_cached++] = block; in isl_blk_free()
[all …]
/llvm-project-15.0.7/clang/test/Modules/
H A Dmodules-cache-path-canonicalization.m1 // RUN: rm -rf %t/cache %t/rel
4 // a non-canonical modules-cache-path.
6 // Prime the module cache (note the '.' in the path).
7 // RUN: %clang_cc1 -fdisable-module-hash -fmodules-cache-path=%t/./cache \
14 // RUN: -fmodules-cache-path=%t/./cache -fmodules -fimplicit-module-maps \
18 // RUN: %clang_cc1 -fdisable-module-hash -fmodules-cache-path=%t/./cache \
25 // RUN: %clang_cc1 -working-directory %t/rel -fmodules-cache-path=./cache \
29 // CHECK: {{/|\\}}rel{{/|\\}}cache{{/|\\}}CoreText.pcm
H A Dmodify-module.m9 // RUN: %clang_cc1 -fdisable-module-hash -fmodules-cache-path=%t/cache -fmodules -fimplicit-module-…
11 // RUN: %clang_cc1 -fdisable-module-hash -fmodules-cache-path=%t/cache -fmodules -fimplicit-module-…
13 // RUN: %clang_cc1 -fdisable-module-hash -fmodules-cache-path=%t/cache -fmodules -fimplicit-module-…
14 // RUN: rm %t/cache/ModA.pcm
15 // RUN: %clang_cc1 -fdisable-module-hash -fmodules-cache-path=%t/cache -fmodules -fimplicit-module-…
16 // RUN: touch %t/cache/ModA.pcm
17 // RUN: %clang_cc1 -fdisable-module-hash -fmodules-cache-path=%t/cache -fmodules -fimplicit-module-…
H A Dadd-remove-irrelevant-module-map.m16 // RUN: %clang_cc1 -fmodules -fimplicit-module-maps -fmodules-cache-path=%t/cache -fdisable-module-…
18 // RUN: mv %t/cache %t/cache-without-b
22 // RUN: %clang_cc1 -fmodules -fimplicit-module-maps -fmodules-cache-path=%t/cache -fdisable-module-…
24 // RUN: mv %t/cache %t/cache-with-b
28 // RUN: %clang_cc1 -module-file-info %t/cache-without-b/a.pcm | FileCheck %s --check-prefix=CHECK-B
29 // RUN: %clang_cc1 -module-file-info %t/cache-with-b/a.pcm | FileCheck %s --check-prefix=CHECK-B
50 // RUN: %clang_cc1 -fmodules -fmodules-cache-path=%t/cache -fdisable-module-hash \
57 // RUN: %clang_cc1 -module-file-info %t/cache/c.pcm | FileCheck %s --check-prefix=CHECK-D
/llvm-project-15.0.7/clang/test/VFS/
H A Dreal-path-found-first.m7 // RUN: rm -rf %t %t-cache %t.pch
13 // RUN: %clang_cc1 -fmodules -fimplicit-module-maps -fmodules-cache-path=%t-cache -F %t \
19 // RUN: %clang_cc1 -fmodules -fimplicit-module-maps -fmodules-cache-path=%t-cache -F %t \
24 // RUN: %clang_cc1 -fmodules -fimplicit-module-maps -fmodules-cache-path=%t-cache -F %t \
28 // RUN: %clang_cc1 -fmodules -fimplicit-module-maps -fmodules-cache-path=%t-cache -F %t \
34 // RUN: c-index-test -index-file %s -fmodules -fimplicit-module-maps -fmodules-cache-path=%t-cache
38 // RUN: c-index-test -index-file %s -fmodules -fimplicit-module-maps -fmodules-cache-path=%t-cache
50 // RUN: %clang_cc1 -fmodules -fimplicit-module-maps -fmodules-cache-path=%t-cache -F %t \
54 // RUN: %clang_cc1 -fmodules -fimplicit-module-maps -fmodules-cache-path=%t-cache -F %t \
60 // RUN: %clang_cc1 -fmodules -fimplicit-module-maps -fmodules-cache-path=%t-cache -F %t \
[all …]
/llvm-project-15.0.7/llvm/utils/Reviewing/
H A Dfind_interesting_reviews.py228 cache.write_cache_to_disk()
259 cache.write_cache_to_disk()
265 cache.oldest_info = oldest_info
266 cache.write_cache_to_disk()
281 phabReview = cache.get(id)
320 phabUser = cache.get(id)
343 cache.get_name(), len(cache.get_ids_in_cache())))
345 cache.get_name(),
358 cache.write_cache_to_disk()
478 self.cache = {}
[all …]
/llvm-project-15.0.7/lld/test/COFF/
H A Dlto-cache.ll6 ; 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
/llvm-project-15.0.7/lldb/test/Shell/Reproducer/Modules/
H A DTestModuleCXX.test6 # RUN: rm -rf %t.clang-cache
7 # RUN: rm -rf %t.lldb-cache
11 # RUN: mkdir -p %t.clang-cache
12 # RUN: mkdir -p %t.lldb-cache
19 # RUN: %clang_host %t.root/main.cpp -g -fmodules -fcxx-modules -fmodules-cache-path=%t.clang-cache
22 # RUN: %lldb -x -b -o 'settings set symbols.clang-modules-cache-path %t.lldb-cache' -s %S/Inputs/Mo…
32 # RUN: rm -rf %t.clang-cache
33 # RUN: rm -rf %t.lldb-cache

12345678910>>...27