Home
last modified time | relevance | path

Searched full:save (Results 1 – 25 of 2422) sorted by relevance

12345678910>>...97

/llvm-project/llvm/test/CodeGen/RISCV/
H A Dcalling-conv-ilp32e.ll7 ; RUN: llc -mtriple=riscv32 -target-abi ilp32e -mattr=+save-restore -verify-machineinstrs < %s \
8 ; RUN: | FileCheck -check-prefix=ILP32E-FPELIM-SAVE-RESTORE %s
9 ; RUN: llc -mtriple=riscv32 -target-abi ilp32e -mattr=+save-restore -frame-pointer=all \
11 ; RUN: | FileCheck -check-prefix=ILP32E-WITHFP-SAVE-RESTORE %s
63 ; ILP32E-FPELIM-SAVE-RESTORE-LABEL: callee_float_in_regs:
64 ; ILP32E-FPELIM-SAVE-RESTORE: # %bb.0:
65 ; ILP32E-FPELIM-SAVE-RESTORE-NEXT: call t0, __riscv_save_1
66 ; ILP32E-FPELIM-SAVE-RESTORE-NEXT: .cfi_def_cfa_offset 8
67 ; ILP32E-FPELIM-SAVE-RESTORE-NEXT: .cfi_offset ra, -4
68 ; ILP32E-FPELIM-SAVE
[all...]
/llvm-project/flang/test/Semantics/
H A Dresolve45.f902 !ERROR: The function result variable 'f1' may not have an explicit SAVE attribute
4 !ERROR: The dummy argument 'x' may not have an explicit SAVE attribute
6 save x,y
7 !ERROR: The dummy argument 'y' may not have an explicit SAVE attribute
9 save f1
12 !ERROR: The entity 'f2' with an explicit SAVE attribute must be a variable, procedure pointer, or C…
14 save f2
15 !ERROR: The function result variable 'r' may not have an explicit SAVE attribute
16 real, save :: r
17 !ERROR: The dummy argument 'x' may not have an explicit SAVE attribute
[all …]
H A Dresolve107.f902 ! Check warning on multiple SAVE attribute specifications
4 save x
5 save y
6 !CHECK: SAVE attribute was already specified on 'y'
7 integer, save :: y
8 integer, save :: z
9 !CHECK: SAVE attribute was already specified on 'x'
10 !CHECK: SAVE attribute was already specified on 'z'
11 save x,z
12 save :: p
[all …]
H A Dresolve121.f901 ! Check that symbols without SAVE attribute from an EQUIVALENCE
3 ! have implicit SAVE attribute.
8 ! CHECK: i1, SAVE size=4 offset=0: ObjectEntity type: INTEGER(4) init:1_4
9 ! CHECK: j1, SAVE size=4 offset=0: ObjectEntity type: INTEGER(4)
17 ! CHECK: i1, SAVE size=4 offset=0: ObjectEntity type: INTEGER(4) init:1_4
18 ! CHECK: j1, SAVE size=4 offset=0: ObjectEntity type: INTEGER(4)
26 ! CHECK: i1, SAVE size=4 offset=0: ObjectEntity type: INTEGER(4)
27 ! CHECK: j1, SAVE size=4 offset=0: ObjectEntity type: INTEGER(4)
28 ! CHECK: k1, SAVE size=4 offset=0: ObjectEntity type: INTEGER(4)
32 save /blk/
[all …]
H A Dtypeinfo01.f9010 !CHECK: .c.t1, SAVE, TARGET (CompilerCreated, ReadOnly): ObjectEntity type: TYPE(component) shape: 0_8:0_8 init:[component::component(name=.n.n,genre=1_1,category=0_1,kind=4_1,rank=0_1,offset=0_8,characterlen=value(genre=1_1,value=0_8),derived=NULL(),lenvalue=NULL(),bounds=NULL(),initialization=NULL())]
11 !CHECK: .dt.t1, SAVE, TARGET (CompilerCreated, ReadOnly): ObjectEntity type: TYPE(derivedtype) init:derivedtype(binding=NULL(),name=.n.t1,sizeinbytes=4_8,uninstantiated=NULL(),kindparameter=NULL(),lenparameterkind=NULL(),component=.c.t1,procptr=NULL(),special=NULL(),specialbitset=0_4,hasparent=0_1,noinitializationneeded=1_1,nodestructionneeded=1_1,nofinalizationneeded=1_1)
12 !CHECK: .n.n, SAVE, TARGET (CompilerCreated, ReadOnly): ObjectEntity type: CHARACTER(1_8,1) init:"n"
13 !CHECK: .n.t1, SAVE, TARGET (CompilerCreated, ReadOnly): ObjectEntity type: CHARACTER(2_8,1) init:"t1"
24 !CHECK: .c.child, SAVE, TARGET (CompilerCreated, ReadOnly): ObjectEntity type: TYPE(component) shape: 0_8:1_8 init:[component::component(name=.n.parent,genre=1_1,category=6_1,kind=0_1,rank=0_1,offset=0_8,characterlen=value(genre=1_1,value=0_8),derived=.dt.parent,lenvalue=NULL(),bounds=NULL(),initialization=NULL()),component(name=.n.cn,genre=1_1,category=0_1,kind=4_1,rank=0_1,offset=4_8,characterlen=value(genre=1_1,value=0_8),derived=NULL(),lenvalue=NULL(),bounds=NULL(),initialization=NULL())]
25 !CHECK: .c.parent, SAVE, TARGET (CompilerCreated, ReadOnly): ObjectEntity type: TYPE(component) shape: 0_8:0_8 init:[component::component(name=.n.pn,genre=1_1,category=0_1,kind=4_1,rank=0_1,offset=0_8,characterlen=value(genre=1_1,value=0_8),derived=NULL(),lenvalue=NULL(),bounds=NULL(),initialization=NULL())]
26 !CHECK: .dt.child, SAVE, TARGET (CompilerCreated, ReadOnly): ObjectEntity type: TYPE(derivedtype) init:derivedtype(binding=NULL(),name=.n.child,sizeinbytes=8_8,uninstantiated=NULL(),kindparameter=NULL(),lenparameterkind=NULL(),component=.c.child,procptr=NULL(),special=NULL(),specialbitset=0_4,hasparent=1_1,noinitializationneeded=1_1,nodestructionneeded=1_1,nofinalizationneeded=1_1)
27 !CHECK: .dt.parent, SAVE, TARGET (CompilerCreated, ReadOnly): ObjectEntity type: TYPE(derivedtype) init:derivedtype(binding=NULL(),name=.n.parent,sizeinbytes=4_8,uninstantiated=NULL(),kindparameter=NULL(),lenparameterkind=NULL(),component=.c.parent,procptr=NULL(),special=NULL(),specialbitset=0_4,hasparent=0_1,noinitializationneeded=1_1,nodestructionneeded=1_1,nofinalizationneeded=1_1)
36 !CHECK: .c.kpdt.4, SAVE, TARGET (CompilerCreated, ReadOnly): ObjectEntity type: TYPE(component) shape: 0_8:0_8 init:[component::component(name=.n.a,genre=1_1,category=2_1,kind=4_1,rank=0_1,offset=0_8,characterlen=value(genre=1_1,value=0_8),derived=NULL(),lenvalue=NULL(),bounds=NULL(),initialization=NULL())]
37 !CHECK: .dt.kpdt.4, SAVE, TARGE
[all...]
/llvm-project/clang/test/Driver/
H A Dsave-temps.c1 // RUN: %clang -target x86_64-apple-darwin -save-temps -arch x86_64 %s -### 2>&1 \
3 // CHECK: "-o" "save-temps.i"
6 // CHECK: "-o" "save-temps.bc"
7 // CHECK: "-o" "save-temps.s"
8 // CHECK: "-o" "save-temps.o"
11 // Check -save-temps=cwd which should work the same as -save-temps above
13 // RUN: %clang -target x86_64-apple-darwin -save-temps=cwd -arch x86_64 %s -### 2>&1 \
15 // CWD: "-o" "save-temps.i"
18 // CWD: "-o" "save-temps.bc"
19 // CWD: "-o" "save-temps.s"
[all …]
H A Dsave-stats.c1 // RUN: %clang -target x86_64-apple-darwin -save-stats %s -### 2>&1 | FileCheck %s
2 // RUN: %clang -target x86_64-apple-darwin -save-stats=cwd %s -### 2>&1 | FileCheck %s
3 // CHECK: "-stats-file=save-stats.stats"
4 // CHECK: "{{.*}}save-stats.c"
8 // NO-STATS: "{{.*}}save-stats.c"
11 // RUN: %clang -target x86_64-apple-darwin -save-stats=obj -c -o obj/dir/save-stats.o %s -### 2>&1 …
12 // CHECK-OBJ: "-stats-file=obj/dir{{/|\\\\}}save-stats.stats"
13 // CHECK-OBJ: "-o" "obj/dir{{/|\\\\}}save-stats.o"
15 // RUN: %clang -target x86_64-apple-darwin -save-stats=obj -c %s -### 2>&1 | FileCheck %s -check-pr…
16 // CHECK-OBJ-NOO: "-stats-file=save-stats.stats"
[all …]
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...]
H A Dthinlto_backend.c14 // -save-temps should be passed to cc1
15 …-fthinlto-index=%t.thinlto.bc -save-temps -### 2>&1 | FileCheck %s -check-prefix=CHECK-SAVE-TEMPS …
16 …thinlto-index=%t.thinlto.bc -save-temps=cwd -### 2>&1 | FileCheck %s -check-prefix=CHECK-SAVE-TEMP…
17 …thinlto-index=%t.thinlto.bc -save-temps=obj -### 2>&1 | FileCheck %s -check-prefix=CHECK-SAVE-TEMP…
18 // CHECK-SAVE-TEMPS-NOT: -emit-llvm-bc
19 // CHECK-SAVE-TEMPS-CWD: -save-temps=cwd
20 // CHECK-SAVE-TEMPS-OBJ: -save-temps=obj
21 // CHECK-SAVE-TEMPS-NOT: -emit-llvm-bc
H A Davr-mmcu.c6 // RUN: %clang -### --target=avr -mmcu=at90s2313 -save-temps %s 2>&1 | FileCheck -check-prefix=CHECK1 %s
10 // RUN: %clang -### --target=avr -mmcu=at90s8515 -save-temps %s 2>&1 | FileCheck -check-prefix=CHECK2 %s
14 // RUN: %clang -### --target=avr -mmcu=attiny13a -save-temps %s 2>&1 | FileCheck -check-prefix=CHECK3 %s
18 // RUN: %clang -### --target=avr -mmcu=attiny88 -save-temps %s 2>&1 | FileCheck -check-prefix=CHECK4 %s
22 // RUN: %clang -### --target=avr -mmcu=attiny88 -save-temps %s 2>&1 | FileCheck -check-prefix=CHECK5 %s
26 // RUN: %clang -### --target=avr -mmcu=atmega8u2 -save-temps %s 2>&1 | FileCheck -check-prefix=CHECK6 %s
30 // RUN: %clang -### --target=avr -mmcu=atmega8u2 -save-temps %s 2>&1 | FileCheck -check-prefix=CHECK7 %s
34 // RUN: %clang -### --target=avr -mmcu=atmega8a -save-temps %s 2>&1 | FileCheck -check-prefix=CHECK8 %s
38 // RUN: %clang -### --target=avr -mmcu=atmega8a -save-temps %s 2>&1 | FileCheck -check-prefix=CHECK9 %s
42 // RUN: %clang -### --target=avr -mmcu=atmega16a -save
[all...]
/llvm-project/llvm/test/tools/llvm-ar/
H A Dmri-end.test18 ## Without SAVE.
19 # 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
25 ## With SAVE.
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
[all …]
H A Dmri-create.test33 # RUN: not llvm-ar -M < save.mri 2>&1 | FileCheck --check-prefix=MULTIPLE %s -DLINE=3
34 # RUN: not llvm-ar -M < thin-save.mri 2>&1 | FileCheck --check-prefix=MULTIPLE %s -DLINE=3
40 SAVE
44 SAVE thin.mri
48 SAVE
52 SAVE
60 SAVE
65 SAVE
69 SAVE
73 SAVE
[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/flang/test/Driver/
H A Dsave-temps.f901 ! Tests for the `-save-temps` flag. As `flang` does not implement `-fc1as` (i.e. a driver for the i…
7 ! Basic case: `-save-temps`
9 ! RUN: %flang -save-temps -fno-integrated-as %s -### 2>&1 | FileCheck %s
10 ! CHECK: "-o" "save-temps.i"
11 ! CHECK-NEXT: "-o" "save-temps.bc"
12 ! CHECK-NEXT: "-o" "save-temps.s"
13 ! CHECK-NEXT: "-o" "save-temps.o"
17 ! `-save-temps=cwd`
19 ! This should work the same as -save-temps above
21 ! RUN: %flang -save-temps=cwd -fno-integrated-as %s -### 2>&1 | FileCheck %s -check-prefix=CWD
[all …]
H A Dsave-mlir-temps.f901 ! Tests for the `-save-temps` flag. Instead of checking the commands generated
2 ! by the driver with `-###` (like the save-temps.f90 test does), here we check
16 ! RUN: not %flang_fc1 -emit-llvm-bc -save-temps=#invalid-dir -o - %s 2>&1 | FileCheck %s -check-pre…
20 ! Save to cwd
23 ! RUN: pushd %t && %flang -c -fno-integrated-as -save-temps=cwd -o out.o %s 2>&1
24 ! RUN: FileCheck %s -input-file=save-mlir-temps-fir.mlir -check-prefix=MLIR-FIR
25 ! RUN: FileCheck %s -input-file=save-mlir-temps-llvmir.mlir -check-prefix=MLIR-LLVMIR
29 ! RUN: pushd %t && %flang -c -fno-integrated-as -save-temps -o out.o %s 2>&1
30 ! RUN: FileCheck %s -input-file=save-mlir-temps-fir.mlir -check-prefix=MLIR-FIR
31 ! RUN: FileCheck %s -input-file=save-mlir-temps-llvmir.mlir -check-prefix=MLIR-LLVMIR
[all …]
/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 …]
/llvm-project/llvm/include/llvm/Support/
H A DStringSaver.h29 // All returned strings are null-terminated: *save(S).end() == 0.
30 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
51 // All returned strings are null-terminated: *save(S).end() == 0.
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/lib/CodeGen/
H A DShrinkWrap.cpp11 // The safe point for the prologue (resp. epilogue) is called Save
15 // between 2) two executions of the Save (resp. Restore) point there is an
16 // execution of the Restore (resp. Save) point.
20 // Save
24 // Indeed, the execution looks like Save -> Restore -> Save -> Restore ...
27 // Save
34 // Indeed, the execution looks like Save -> Save -> ... -> Restore -> Restore.
122 MachineBasicBlock *Save
123 MachineBasicBlock *Save = nullptr; global() member in __anon326b4ad00111::ShrinkWrap
[all...]
/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}
/llvm-project/llvm/test/CodeGen/ARM/
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/lldb/test/API/commands/session/save/
H A DTestSessionSave.py2 Test the session save feature
27 # Make sure "save-transcript" is on, so that all the following setings
31 self.runCmd("settings set interpreter.save-transcript true")
58 cmd = "session save /root/file"
66 interpreter.HandleCommand("session save " + output_file, res)
80 "settings set interpreter.save-session-directory " + td.name, res
85 interpreter.HandleCommand("session save", res)
89 self.assertNotIn("interpreter.save-transcript is set to false", res.GetError())
102 self.runCmd("settings set interpreter.save-transcript false")
108 "settings set interpreter.save
[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/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/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
30 if (R.second) // cache miss, need to actually save the string in save()
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/compiler-rt/lib/tsan/rtl/
H A Dtsan_rtl_mips64.S10 // save env parameters
17 // calculate and save pointer to GOT
23 // save jmp_buf
62 // Save env parameters
69 // calculate and save pointer to GOT
75 // save jmp_buf
114 // Save env parameters
121 // calculate and save pointer to GOT
127 // save jmp_buf and savesig
168 // Save env parameters
[all …]

12345678910>>...97