Home
last modified time | relevance | path

Searched refs:save (Results 1 – 25 of 1167) sorted by relevance

12345678910>>...47

/llvm-project/llvm/test/tools/llvm-ar/
H A Dmri-end.test19 # RUN: llvm-ar -M < no-save.mri
20 # RUN: test ! -e no-save.ar
22 # RUN: llvm-ar -M < no-save-end.mri
23 # RUN: test ! -e no-save-end.ar
26 # RUN: llvm-ar -M < save.mri
27 # RUN: llvm-ar t save.ar | FileCheck %s
29 # RUN: llvm-ar -M < save-end.mri
30 # RUN: llvm-ar t save-end.ar | FileCheck %s
33 # RUN: llvm-ar -M < duplicate-end-no-save.mri
34 # RUN: test ! -e duplicate-end-no-save.ar
[all …]
H A Dmri-delete.test72 save
79 save
87 save
98 save
108 save
117 save
127 save
136 save
145 save
152 save
[all …]
/llvm-project/clang/test/Driver/
H A Dhip-save-temps.hip2 // RUN: %clang -### --target=x86_64-linux-gnu -nogpulib -save-temps \
7 // RUN: %clang -### --target=x86_64-linux-gnu -nogpulib -save-temps \
12 // RUN: %clang -### --target=x86_64-linux-gnu -nogpulib -save-temps \
17 // RUN: %clang -### --target=x86_64-linux-gnu -nogpulib -save-temps \
22 // RUN: %clang -### --target=x86_64-linux-gnu -nogpulib -save-temps \
27 // UN: %clang -### --target=x86_64-linux-gnu -nogpulib -save-temps \
32 // RDCL: "{{.*clang.*}}" "-cc1" {{.*}} "-E" {{.*}} "-o" "hip-save-temps-host-x86_64-unknown-linux-gnu.hipi"
33 // RDCL: "{{.*clang.*}}" "-cc1" {{.*}} "-emit-llvm-bc" {{.*}} "-o" "hip-save-temps-host-x86_64-unknown-linux-gnu.bc"
34 // RDCL: "{{.*clang.*}}" "-cc1" {{.*}} "-S" {{.*}} "-o" "hip-save-temps-host-x86_64-unknown-linux-gnu.s"
35 // RDCL: "{{.*clang.*}}" "-cc1as" {{.*}} "-o" "hip-save
[all...]
/llvm-project/llvm/include/llvm/Support/
H A DStringSaver.h30 StringRef save(const char *S) { return save(StringRef(S)); } in save() function
31 StringRef save(StringRef S);
32 StringRef save(const Twine &S);
33 StringRef save(const std::string &S) { return save(StringRef(S)); } in save() function
52 StringRef save(const char *S) { return save(StringRef(S)); } in save() function
53 StringRef save(StringRef S);
54 StringRef save(const Twine &S);
55 StringRef save(const std::string &S) { return save(StringRef(S)); } in save() function
/llvm-project/llvm/test/MC/ARM/
H A Deh-directive-save-diagnostics.s4 @ Check the diagnostics for .save directive
6 @ .save directive should always come after .fnstart directive and
13 @ TEST1: .save before .fnstart
18 .save {r4, r5, r6, r7}
19 @ CHECK: error: .fnstart must precede .save or .vsave directives
20 @ CHECK: .save {r4, r5, r6, r7}
29 @ TEST2: .save after .handlerdata
37 .save {r4, r5, r6, r7}
38 @ CHECK: error: .save or .vsave must precede .handlerdata directive
39 @ CHECK: .save {r4, r5, r6, r7}
H A Deh-directive-save.s4 @ Check the .save directive
6 @ The .save directive records the GPR registers which are pushed to the
14 @ If register list specifed by .save directive is possible to be encoded
29 .save {r0}
42 .save {r0, r1}
55 .save {r0, r2}
68 .save {r1, r2}
81 .save {r0, r1, r2, r3}
112 .save {r4}
125 .save {r4, r5}
[all …]
H A Dra-auth-code.s9 .save {ra_auth_code}
10 .save {ra_auth_code, r13}
11 .save {r11, ra_auth_code, r13}
12 .save {r11, ra_auth_code}
/llvm-project/lld/test/ELF/lto/
H A Dsave-temps-eq.ll1 ;; This test is similar to llvm/test/ThinLTO/X86/selective-save-temps.ll
14 ;; Create the .all dir with save-temps saving everything, this will be used to compare
15 ;; with the output from individualized save-temps later
16 ; RUN: ld.lld main.o thin1.o --save-temps -o %t/all/a.out
21 ;; Check precedence if both --save-temps and --save-temps= are present
22 ; RUN: ld.lld main.o thin1.o --save-temps=preopt --save-temps --save-temps=\opt -o %t/all2/a.out
29 ;; for each option of save-temps=
39 ; RUN: ld.lld main.o thin1.o --save-temps=preopt
46 ; RUN: ld.lld main.o thin1.o --save-temps=promote
52 ; RUN: ld.lld main.o thin1.o --save-temps=internalize
[all …]
H A Dthinlto.ll11 ; RUN: ld.lld -save-temps --thinlto-jobs=1 -shared a.o d/b.o -o e/out
17 ; RUN: ld.lld -save-temps --thinlto-jobs=2 -shared a.o d/b.o -o e/out
23 ; RUN: ld.lld -save-temps --plugin-opt=jobs=2 -shared a.o d/b.o -o e/out
29 ; RUN: ld.lld -save-temps --threads=2 -shared a.o d/b.o -o e/out
35 ; RUN: ld.lld -save-temps --threads=1 --plugin-opt=jobs=2 -shared a.o d/b.o -o e/out
41 ; RUN: ld.lld -save-temps --thinlto-jobs=all -shared a.o d/b.o -o e/out
47 ; RUN: ld.lld -save-temps --thinlto-jobs=100 -shared a.o d/b.o -o e/out
53 ; RUN: not ld.lld -save-temps --thinlto-jobs=foo -shared a.o d/b.o -o e/out 2>&1 | FileCheck %s --c…
57 ; RUN: ld.lld -shared -save-temps a.o d/b.o -o e/out
61 ; Check that -save-temps is usable with thin archives
[all …]
/llvm-project/llvm/lib/Support/
H A DStringSaver.cpp15 StringRef StringSaver::save(StringRef S) { in save() function in StringSaver
23 StringRef StringSaver::save(const Twine &S) { in save() function in StringSaver
25 return save(S.toStringRef(Storage)); in save()
28 StringRef UniqueStringSaver::save(StringRef S) { in save() function in UniqueStringSaver
31 *R.first = Strings.save(S); // safe replacement with equal value in save()
35 StringRef UniqueStringSaver::save(const Twine &S) { in save() function in UniqueStringSaver
37 return save(S.toStringRef(Storage)); in save()
/llvm-project/llvm/test/LTO/X86/
H A Dinternalize.ll3 ; RUN: llvm-lto %t1.bc -o %t1.save.opt --exported-symbol=_foo -save-merged-module -O0
4 ; RUN: llvm-dis < %t1.save.opt.merged.bc | FileCheck %s --check-prefix=INTERNALIZE
8 ; RUN: llvm-lto %t1.bc -enable-lto-internalization=false -o %t1.save.opt \
9 ; RUN: --exported-symbol=_foo -save-merged-module -O0
10 ; RUN: llvm-dis < %t1.save.opt.merged.bc | FileCheck %s --check-prefix=INTERNALIZE-OPTION-DISABLE
12 ; RUN: llvm-lto2 run %t1.bc -o %t.o -save-temps \
19 ; RUN: llvm-lto2 run %t1.bc -o %t.o -save-temps -enable-lto-internalization=false \
/llvm-project/llvm/test/Transforms/Coroutines/
H A Dcoro-save-nomerge.ll4 declare token @llvm.coro.save(ptr) #0
13 ; CHECK-NEXT: [[TMP0:%.*]] = call token @llvm.coro.save(ptr null)
17 ; CHECK-NEXT: [[TMP2:%.*]] = call token @llvm.coro.save(ptr null)
28 %0 = call token @llvm.coro.save(ptr null)
33 %2 = call token @llvm.coro.save(ptr null)
47 ; CHECK-NEXT: [[TMP0:%.*]] = call token @llvm.coro.save(ptr null)
51 ; CHECK-NEXT: [[TMP2:%.*]] = call token @llvm.coro.save(ptr null)
62 %0 = call token @llvm.coro.save(ptr null)
67 %2 = call token @llvm.coro.save(ptr null)
H A Dcoro-alloca-08.ll25 %save = call token @llvm.coro.save(ptr null)
26 %suspend = call i8 @llvm.coro.suspend(token %save, i1 false)
32 %StrayCoroSave = call token @llvm.coro.save(ptr null)
47 %save = call token @llvm.coro.save(ptr null)
48 %suspend = call i8 @llvm.coro.suspend(token %save, i1 false)
54 %StrayCoroSave = call token @llvm.coro.save(ptr null)
74 declare token @llvm.coro.save(ptr) #3
H A Dcoro-split-sink-lifetime-01.ll25 %save = call token @llvm.coro.save(ptr null)
26 %suspend = call i8 @llvm.coro.suspend(token %save, i1 false)
32 %StrayCoroSave = call token @llvm.coro.save(ptr null)
64 %save = call token @llvm.coro.save(ptr null)
65 %suspend = call i8 @llvm.coro.suspend(token %save, i1 false)
71 %StrayCoroSave = call token @llvm.coro.save(ptr null)
89 declare token @llvm.coro.save(ptr) #3
/llvm-project/llvm/test/ThinLTO/X86/
H A Dselective-save-temps.ll11 ;; Create the .all dir with save-temps saving everything, this will be used to compare
12 ;; with the output from individualized save-temps later
17 ; RUN: -save-temps
20 ;; for each option of save-temps=
33 ; RUN: -select-save-temps=preopt
45 ; RUN: -select-save-temps=promote
55 ; RUN: -select-save-temps=internalize
65 ; RUN: -select-save-temps=import
75 ; RUN: -select-save-temps=\opt
86 ; RUN: -select-save-temps=precodegen
[all …]
/llvm-project/llvm/test/LTO/Resolution/X86/
H A Dlink-odr-availextern.ll8 ; RUN: llvm-lto2 run -o %t3 %t1 %t2ae -r %t1,f,p -r %t2ae,f, -save-temps
11 ; RUN: llvm-lto2 run -o %t3 %t1 %t2odr -r %t1,f,p -r %t2odr,f, -save-temps
14 ; RUN: llvm-lto2 run -o %t3 %t2ae %t1 -r %t1,f,p -r %t2ae,f, -save-temps
17 ; RUN: llvm-lto2 run -o %t3 %t2odr %t1 -r %t1,f,p -r %t2odr,f, -save-temps
20 ; RUN: llvm-lto2 run -o %t3 %t2ae -r %t2ae,f, -save-temps
23 ; RUN: llvm-lto2 run -o %t3 %t2odr -r %t2odr,f, -save-temps
26 ; RUN: llvm-lto2 run -o %t3 %t2odr %t1 -r %t1,f, -r %t2odr,f, -save-temps
/llvm-project/libcxx/test/std/algorithms/alg.sorting/alg.sort/stable.sort/
H A Dstable_sort.pass.cpp32 std::vector<T> save(first, last); in test_sort_helper()
33 std::stable_sort(save.begin(), save.end()); in test_sort_helper()
34 assert(std::is_sorted(save.begin(), save.end())); in test_sort_helper()
37 value_type* save(new value_type[len]); test_sort_helper() local
/llvm-project/llvm/test/CodeGen/ARM/
H A Dthumbv6m-atomic32.ll8 ; NO-ATOMIC32-NEXT: .save {r7, lr}
26 ; NO-ATOMIC32-NEXT: .save {r7, lr}
47 ; NO-ATOMIC32-NEXT: .save {r7, lr}
56 ; ATOMIC32-NEXT: .save {r7, lr}
70 ; NO-ATOMIC32-NEXT: .save {r7, lr}
87 ; ATOMIC32-NEXT: .save {r7, lr}
103 ; NO-ATOMIC32-NEXT: .save {r7, lr}
121 ; NO-ATOMIC32-NEXT: .save {r7, lr}
142 ; NO-ATOMIC32-NEXT: .save {r7, lr}
151 ; ATOMIC32-NEXT: .save {r7, lr}
[all …]
H A Daapcs-hfa-code.ll10 ; CHECK-NEXT: .save {r11, lr}
18 ; CHECK-M4F-NEXT: .save {r7, lr}
30 ; CHECK-NEXT: .save {r11, lr}
39 ; CHECK-M4F-NEXT: .save {r7, lr}
52 ; CHECK-NEXT: .save {r11, lr}
62 ; CHECK-M4F-NEXT: .save {r7, lr}
76 ; CHECK-NEXT: .save {r11, lr}
84 ; CHECK-M4F-NEXT: .save {r7, lr}
103 ; CHECK-NEXT: .save {r11, lr}
115 ; CHECK-M4F-NEXT: .save {r7, lr}
[all …]
H A Dfloat-helpers.s42 ; CHECK-SOFT: .save {r11, lr}
65 ; CHECK-SOFT: .save {r11, lr}
88 ; CHECK-SOFT: .save {r11, lr}
111 ; CHECK-SOFT: .save {r11, lr}
134 ; CHECK-SOFT: .save {r11, lr}
165 ; CHECK-SOFT: .save {r11, lr}
196 ; CHECK-SOFT: .save {r11, lr}
227 ; CHECK-SOFT: .save {r11, lr}
258 ; CHECK-SOFT: .save {r11, lr}
289 ; CHECK-SOFT: .save {r11, lr}
[all …]
/llvm-project/llvm/test/CodeGen/SPARC/
H A Dfp16-promote.ll22 ; V8-NEXT: save %sp, -96, %sp
30 ; V9-NEXT: save %sp, -96, %sp
38 ; SPARC64-NEXT: save %sp, -176, %sp
51 ; V8-NEXT: save %sp, -96, %sp
60 ; V9-NEXT: save %sp, -96, %sp
69 ; SPARC64-NEXT: save %sp, -176, %sp
83 ; V8-OPT-NEXT: save %sp, -112, %sp
101 ; V8-UNOPT-NEXT: save %sp, -112, %sp
127 ; V9-NEXT: save %sp, -112, %sp
145 ; SPARC64-NEXT: save %sp, -192, %sp
[all …]
/llvm-project/llvm/test/CodeGen/Thumb/
H A Dcallee_save.ll7 ; only need to save the low registers.
11 ; CHECK-NEXT: .save {r4, r5, r6, r7, lr}
22 ; argument/return register to help save/restore it.
27 ; CHECK-NEXT: .save {r8}
40 ; 4 arg/return regs for the save/restore.
48 ; CHECK-NEXT: .save {r8, r9, r10, r11}
65 ; lr to save/restore r8.
69 ; CHECK-NEXT: .save {r4, r7, lr}
72 ; CHECK-NEXT: .save {r8}
89 ; CHECK-NEXT: .save {r4, r5, r6, r7, lr}
[all …]
/llvm-project/llvm/test/CodeGen/Mips/
H A Ds2rem.ll18 ; PIC: save $16, $17, $ra, [[FS:[0-9]+]]
19 ; STATIC: save $16, $ra, [[FS:[0-9]+]]
35 ; PIC: save $16, $17, $ra, $18, [[FS:[0-9]+]]
49 ; PIC: save $16, $17, $ra, $18, [[FS:[0-9]+]]
64 ; PIC: save $16, $17, $ra, $18, [[FS:[0-9]+]]
79 ; PIC: save $16, $ra, [[FS:[0-9]+]]
80 ; STATIC: save $16, $ra, [[FS:[0-9]+]]
/llvm-project/clang-tools-extra/clangd/unittests/remote/
H A DMarshallingTests.cpp42 return Strings.save(URI.toString()).begin(); in testPathURI()
58 Sym.Name = Strings.save("Foo"); in createSymbol()
59 Sym.Scope = Strings.save("llvm::foo::bar::"); in createSymbol()
78 Sym.Signature = Strings.save("(int X, char Y, Type T)"); in createSymbol()
79 Sym.TemplateSpecializationArgs = Strings.save("<int, char, bool, Type>"); in createSymbol()
81 Strings.save("({1: int X}, {2: char Y}, {3: Type T})"); in createSymbol()
82 Sym.Documentation = Strings.save("This is my amazing Foo constructor!"); in createSymbol()
83 Sym.ReturnType = Strings.save("Foo"); in createSymbol()
130 Strings.save(UnittestURI->toString()).begin(); in TEST()
190 Sym.Definition.FileURI = Strings.save(UnittestURI->toString()).begin(); in TEST()
[all …]
/llvm-project/lld/test/wasm/lto/
H A Dthinlto.ll10 ; RUN: wasm-ld -r -save-temps --thinlto-jobs=1 a.o d/b.o -o e/out
16 ; RUN: wasm-ld -r -save-temps --thinlto-jobs=2 a.o d/b.o -o e/out
22 ; RUN: wasm-ld -r -save-temps --threads=2 a.o d/b.o -o e/out
28 ; RUN: wasm-ld -r -save-temps --threads=1 --thinlto-jobs=2 a.o d/b.o -o e/out
34 ; RUN: wasm-ld -r -save-temps --thinlto-jobs=all a.o d/b.o -o e/out
40 ; RUN: wasm-ld -r -save-temps --thinlto-jobs=100 a.o d/b.o -o e/out
46 ; RUN: not wasm-ld -r -save-temps --thinlto-jobs=foo a.o d/b.o -o e/out 2>&1 | FileCheck %s --check-prefix=BAD-JOBS
51 ; RUN: wasm-ld -r -save-temps a.o d/b.o -o e/out

12345678910>>...47