Home
last modified time | relevance | path

Searched full:reduced (Results 1 – 25 of 846) sorted by relevance

12345678910>>...34

/llvm-project/llvm/test/tools/llvm-reduce/
H A Doperands-skip.ll2 ; RUN: FileCheck %s --input-file %t --check-prefixes=REDUCED
5 ; REDUCED: store i32 43, ptr %imm, align 4
8 ; REDUCED: store i32 44, ptr %phi, align 4
11 ; REDUCED: store i32 45, ptr %val, align 4
14 ; REDUCED: store i32 46, ptr @Global, align 4
17 ; REDUCED: store i32 47, ptr %arg2, align 4
20 ; REDUCED: store i32 48, ptr %arg1, align 4
23 ; REDUCED: store i32 49, ptr null, align 4
25 ; REDUCED: store i32 50, ptr %arg1, align 4
26 ; REDUCED
[all...]
H A Doperands-to-args.ll2 ; RUN: FileCheck %s --input-file %t --check-prefixes=REDUCED,INTERESTING
4 ; REDUCED-LABEL: define void @func(i32 %k, ptr %Local, ptr %Global) {
12 ; REDUCED: store i32 21, ptr %Local, align 4
13 ; REDUCED: store i32 21, ptr %Global, align 4
14 ; REDUCED: store i32 0, ptr %Local, align 4
15 ; REDUCED: store i32 0, ptr %Global, align 4
16 ; REDUCED: store float 0.000000e+00, ptr %Global, align 4
23 ; REDUCED: call void @func(i32 21, ptr null, ptr null)
H A Dfile-output-type.test6 # A .ll input file should default to text output in reduced.ll
8 # RUN: llvm-as -disable-output reduced.ll
11 # A .bc input file should default to bitcode output, in reduced.bc (with bitcode intermediates)
12 # RUN: rm -f reduced.ll reduced.bc
14 # RUN: llvm-dis -disable-output reduced.bc
23 # RUN: rm -f reduced.ll reduced.bc
H A Dbitcode-uselistorder.ll7 ; RUN: --delta-passes=instructions -o %t.reduced.bc \
13 ; RUN: llvm-dis --preserve-ll-uselistorder -o %t.reduced.ll %t.reduced.bc
15 ; RUN: FileCheck -check-prefix=RESULT %s < %t.reduced.ll
H A Dremove-metadata-args.ll2 ; RUN: FileCheck %s --input-file %t --check-prefix=REDUCED
4 ; All exciting stuff must remain in the reduced file.
11 ; REDUCED-NOT: Boring{{.*}} !md !0
12 ; REDUCED-NOT: !md !0 {{.*}}Boring
/llvm-project/clang/test/Modules/
H A Dfunction-transitive-change.cppm1 // Test that, in C++20 modules reduced BMI, the implementation detail changes
9 // RUN: %clang_cc1 -std=c++20 %t/a.cppm -emit-reduced-module-interface -o %t/a.pcm
10 // RUN: %clang_cc1 -std=c++20 %t/a.v1.cppm -emit-reduced-module-interface -o %t/a.v1.pcm
16 // RUN: %clang_cc1 -std=c++20 %t/b.cppm -emit-reduced-module-interface -fmodule-file=a=%t/a.pcm \
18 // RUN: %clang_cc1 -std=c++20 %t/b.cppm -emit-reduced-module-interface -fmodule-file=a=%t/a.v1.pcm \
23 // RUN: %clang_cc1 -std=c++20 %t/M-A.cppm -emit-reduced-module-interface -o %t/M-A.pcm
24 // RUN: %clang_cc1 -std=c++20 %t/M-B.cppm -emit-reduced-module-interface -o %t/M-B.pcm
25 // RUN: %clang_cc1 -std=c++20 %t/M.cppm -emit-reduced-module-interface -o %t/M.pcm \
28 // RUN: %clang_cc1 -std=c++20 %t/N.cppm -emit-reduced-module-interface -o %t/N.pcm \
34 // RUN: %clang_cc1 -std=c++20 %t/M-A.v1.cppm -emit-reduced-module-interface -o %t/M-A.v1.pcm
[all …]
H A Dmodules-reduced-bmi.cppm5 // RUN: %clang_cc1 -std=c++20 %t/a.cppm -emit-reduced-module-interface -o %t/a.reduced.pcm
6 // RUN: %clang_cc1 -std=c++20 %t/a.cppm -fexperimental-modules-reduced-bmi -fmodule-output=%t/a.pcm…
9 // Test that the generated BMI from `-fexperimental-modules-reduced-bmi -fmodule-output=` is same w…
10 // `-emit-reduced-module-interface`.
11 // RUN: diff %t/a.reduced.pcm %t/a.pcm
17 // RUN: %clang_cc1 -std=c++20 %t/a.cppm -fexperimental-modules-reduced-bmi -fmodule-output=%t/a.pcm…
19 // RUN: diff %t/a.reduced.pcm %t/a.pcm
H A Dno-transitive-type-change.cppm7 // RUN: %clang_cc1 -std=c++20 %t/m-partA.cppm -emit-reduced-module-interface -o %t/m-partA.pcm
8 // RUN: %clang_cc1 -std=c++20 %t/m-partA.v1.cppm -emit-reduced-module-interface -o \
10 // RUN: %clang_cc1 -std=c++20 %t/m-partB.cppm -emit-reduced-module-interface -o %t/m-partB.pcm
11 // RUN: %clang_cc1 -std=c++20 %t/m.cppm -emit-reduced-module-interface -o %t/m.pcm \
13 // RUN: %clang_cc1 -std=c++20 %t/m.cppm -emit-reduced-module-interface -o %t/m.v1.pcm \
16 // RUN: %clang_cc1 -std=c++20 %t/useBOnly.cppm -emit-reduced-module-interface -o %t/useBOnly.pcm \
19 // RUN: %clang_cc1 -std=c++20 %t/useBOnly.cppm -emit-reduced-module-interface -o %t/useBOnly.v1.pcm…
26 // RUN: %clang_cc1 -std=c++20 %t/useAOnly.cppm -emit-reduced-module-interface -o %t/useAOnly.pcm \
29 // RUN: %clang_cc1 -std=c++20 %t/useAOnly.cppm -emit-reduced-module-interface -o %t/useAOnly.v1.pcm…
H A Dno-transitive-identifier-change.cppm7 // RUN: %clang_cc1 -std=c++20 %t/m-partA.cppm -emit-reduced-module-interface -o %t/m-partA.pcm
8 // RUN: %clang_cc1 -std=c++20 %t/m-partA.v1.cppm -emit-reduced-module-interface -o \
10 // RUN: %clang_cc1 -std=c++20 %t/m-partB.cppm -emit-reduced-module-interface -o %t/m-partB.pcm
11 // RUN: %clang_cc1 -std=c++20 %t/m.cppm -emit-reduced-module-interface -o %t/m.pcm \
13 // RUN: %clang_cc1 -std=c++20 %t/m.cppm -emit-reduced-module-interface -o %t/m.v1.pcm \
16 // RUN: %clang_cc1 -std=c++20 %t/useBOnly.cppm -emit-reduced-module-interface -o %t/useBOnly.pcm \
19 // RUN: %clang_cc1 -std=c++20 %t/useBOnly.cppm -emit-reduced-module-interface -o %t/useBOnly.v1.pcm…
26 // RUN: %clang_cc1 -std=c++20 %t/useAOnly.cppm -emit-reduced-module-interface -o %t/useAOnly.pcm \
29 // RUN: %clang_cc1 -std=c++20 %t/useAOnly.cppm -emit-reduced-module-interface -o %t/useAOnly.v1.pcm…
H A Dcxx20-import-diagnostics-b.cpp25 // Test again with reduced BMI.
30 // RUN: %clang_cc1 -std=c++20 -emit-reduced-module-interface %t/a.cpp -o %t/a.pcm
32 // RUN: %clang_cc1 -std=c++20 -emit-reduced-module-interface %t/c.cpp \
35 // RUN: %clang_cc1 -std=c++20 -emit-reduced-module-interface %t/d.cpp \
38 // RUN: %clang_cc1 -std=c++20 -emit-reduced-module-interface %t/e.cpp \
41 // RUN: %clang_cc1 -std=c++20 -emit-reduced-module-interface %t/a-part.cpp \
44 // RUN: %clang_cc1 -std=c++20 -emit-reduced-module-interface %t/f.cpp \
47 // RUN: %clang_cc1 -std=c++20 -emit-reduced-module-interface %t/g.cpp \
H A Dtransitive-adl-change.cppm6 // RUN: %clang_cc1 -std=c++20 %t/Common.cppm -emit-reduced-module-interface -o %t/Common.pcm
8 // RUN: %clang_cc1 -std=c++20 %t/m-partA.cppm -emit-reduced-module-interface -o %t/m-partA.pcm \
10 // RUN: %clang_cc1 -std=c++20 %t/m-partA.v1.cppm -emit-reduced-module-interface -o \
12 // RUN: %clang_cc1 -std=c++20 %t/m-partB.cppm -emit-reduced-module-interface -o %t/m-partB.pcm
13 // RUN: %clang_cc1 -std=c++20 %t/m.cppm -emit-reduced-module-interface -o %t/m.pcm \
16 // RUN: %clang_cc1 -std=c++20 %t/m.cppm -emit-reduced-module-interface -o %t/m.v1.pcm \
21 // RUN: %clang_cc1 -std=c++20 %t/B.cppm -emit-reduced-module-interface -o %t/B.pcm \
24 // RUN: %clang_cc1 -std=c++20 %t/B.cppm -emit-reduced-module-interface -o %t/B.v1.pcm \
43 // RUN: %clang_cc1 -std=c++20 %t/C.cppm -emit-reduced-module-interface -o %t/C.pcm \
46 // RUN: %clang_cc1 -std=c++20 %t/C.cppm -emit-reduced-module-interface -o %t/C.v1.pcm \
H A Dno-transitive-decls-change.cppm7 // RUN: %clang_cc1 -std=c++20 %t/m-partA.cppm -emit-reduced-module-interface -o %t/m-partA.pcm
8 // RUN: %clang_cc1 -std=c++20 %t/m-partA.v1.cppm -emit-reduced-module-interface -o \
10 // RUN: %clang_cc1 -std=c++20 %t/m-partB.cppm -emit-reduced-module-interface -o %t/m-partB.pcm
11 // RUN: %clang_cc1 -std=c++20 %t/m.cppm -emit-reduced-module-interface -o %t/m.pcm \
13 // RUN: %clang_cc1 -std=c++20 %t/m.cppm -emit-reduced-module-interface -o %t/m.v1.pcm \
16 // RUN: %clang_cc1 -std=c++20 %t/useBOnly.cppm -emit-reduced-module-interface -o %t/useBOnly.pcm \
19 // RUN: %clang_cc1 -std=c++20 %t/useBOnly.cppm -emit-reduced-module-interface -o %t/useBOnly.v1.pcm…
H A Dpr93859.cppm1 // Reduced from https://github.com/llvm/llvm-project/issues/93859
7 // RUN: %clang_cc1 -std=c++20 %t/reduced_std.cppm -emit-reduced-module-interface -o %t/reduced_std.…
8 // RUN: %clang_cc1 -std=c++20 %t/Misc.cppm -emit-reduced-module-interface -o %t/Misc.pcm \
10 // RUN: %clang_cc1 -std=c++20 %t/Instance.cppm -emit-reduced-module-interface -o %t/Instance.pcm \
12 // RUN: %clang_cc1 -std=c++20 %t/Device.cppm -emit-reduced-module-interface -o %t/Device.pcm \
14 // RUN: %clang_cc1 -std=c++20 %t/Overlay.cppm -emit-reduced-module-interface -o %t/Overlay.pcm \
17 // RUN: -fexperimental-modules-reduced-bmi -fmodule-output=%t/App.pcm \
H A Dno-transitive-decl-change-2.cppm1 // Test that adding a new unused decl within reduced BMI may not produce a transitive change.
6 // RUN: %clang_cc1 -std=c++20 -emit-reduced-module-interface %t/A.cppm -o %t/A.pcm
7 // RUN: %clang_cc1 -std=c++20 -emit-reduced-module-interface %t/B.cppm -o %t/B.pcm \
10 // RUN: %clang_cc1 -std=c++20 -emit-reduced-module-interface %t/A.v1.cppm -o %t/A.v1.pcm
11 // RUN: %clang_cc1 -std=c++20 -emit-reduced-module-interface %t/B.cppm -o %t/B.v1.pcm \
H A Dno-transitive-identifier-change-2.cppm1 // Test that adding a new identifier within reduced BMI may not produce a transitive change.
6 // RUN: %clang_cc1 -std=c++20 -emit-reduced-module-interface %t/A.cppm -o %t/A.pcm
7 // RUN: %clang_cc1 -std=c++20 -emit-reduced-module-interface %t/B.cppm -o %t/B.pcm \
10 // RUN: %clang_cc1 -std=c++20 -emit-reduced-module-interface %t/A.v1.cppm -o %t/A.v1.pcm
11 // RUN: %clang_cc1 -std=c++20 -emit-reduced-module-interface %t/B.cppm -o %t/B.v1.pcm \
H A Dno-transitive-source-location-change.cppm7 // RUN: %clang_cc1 -std=c++20 %t/A.cppm -emit-reduced-module-interface -o %t/A.pcm
8 // RUN: %clang_cc1 -std=c++20 %t/A.v1.cppm -emit-reduced-module-interface -o %t/A.v1.pcm
14 // RUN: %clang_cc1 -std=c++20 %t/B.cppm -emit-reduced-module-interface -fmodule-file=A=%t/A.pcm \
16 // RUN: %clang_cc1 -std=c++20 %t/B.cppm -emit-reduced-module-interface -fmodule-file=A=%t/A.v1.pcm \
21 // RUN: %clang_cc1 -std=c++20 %t/C.cppm -emit-reduced-module-interface -fmodule-file=A=%t/A.pcm \
23 // RUN: %clang_cc1 -std=c++20 %t/C.cppm -emit-reduced-module-interface -fmodule-file=A=%t/A.v1.pcm \
H A Dreduced-bmi-size.cppm1 // Ensure that the size of the reduced BMI is not larger than the full BMI
11 // RUN: %clang_cc1 -std=c++20 -emit-reduced-module-interface %s -o %t/a.reduced.pcm
13 // RUN: %python %S/compare-file-size.py %t/a.pcm %t/a.reduced.pcm
H A Dmerge-concepts-cxx-modules.cpp11 // Test again with reduced BMI.
16 // RUN: %clang_cc1 -std=c++20 -emit-reduced-module-interface %t/same_as.cppm -o %t/same_as.pcm
17 // RUN: %clang_cc1 -std=c++20 -emit-reduced-module-interface -fprebuilt-module-path=%t %t/concepts.…
18 // RUN: %clang_cc1 -std=c++20 -emit-reduced-module-interface -fprebuilt-module-path=%t %t/format.cp…
19 // RUN: %clang_cc1 -std=c++20 -emit-reduced-module-interface %t/conflicting.cppm -o %t/conflicting.…
H A Dcxx20-10-3-ex1.cpp17 // Test again with reduced BMI.
19 // RUN: %clang_cc1 -std=c++20 -emit-reduced-module-interface %t/std10-3-ex1-tu1.cpp \
22 // RUN: %clang_cc1 -std=c++20 -emit-reduced-module-interface %t/std10-3-ex1-tu2.cpp \
25 // RUN: %clang_cc1 -std=c++20 -emit-reduced-module-interface %t/std10-3-ex1-tu3.cpp \
28 // RUN: %clang_cc1 -std=c++20 -emit-reduced-module-interface %t/std10-3-ex1-tu4.cpp \
/llvm-project/clang/test/Driver/
H A Dmodule-fgen-reduced-bmi.cppm12 // RUN: -fexperimental-modules-reduced-bmi -c -o Hello.o -### 2>&1 | FileCheck Hello.cppm
15 // RUN: -fexperimental-modules-reduced-bmi -c -o Hello.o -### 2>&1 | \
19 // RUN: -fexperimental-modules-reduced-bmi -c -### 2>&1 | \
23 // RUN: -fexperimental-modules-reduced-bmi -c -o AnotherName.o -### 2>&1 | \
26 // RUN: %clang -std=c++20 Hello.cppm --precompile -fexperimental-modules-reduced-bmi \
30 // RUN: %clang -std=c++20 Hello.cc -fexperimental-modules-reduced-bmi -Wall -Werror \
34 // RUN: -fmodules-reduced-bmi -c -o Hello.o -### 2>&1 | FileCheck Hello.cppm
37 // RUN: -fmodules-reduced-bmi -c -o Hello.o -### 2>&1 | \
41 // RUN: -fmodules-reduced-bmi -c -### 2>&1 | \
45 // RUN: -fmodules-reduced
[all...]
/llvm-project/llvm/lib/Transforms/AggressiveInstCombine/
H A DAggressiveInstCombineInternal.h25 // instructions and for each eligible graph, it will create a reduced bit-width
30 // 3. Can be evaluated into type with reduced legal bit-width (or Trunc type).
33 // new reduced type chosen in (3).
70 /// The reduced value generated to replace the old instruction.
102 /// Check if it is eligible to be reduced to a smaller type.
104 /// \return the scalar version of the new type to be used for the reduced
106 /// eligible to be reduced.
121 /// Given a \p V value and a \p SclTy scalar type return the generated reduced in ComputeNumSignBits()
124 /// \param V value to be reduced.
126 /// \return the new reduced valu
[all...]
/llvm-project/llvm/test/DebugInfo/X86/
H A Dasm-macro-line-number.s3 # 1 "reduced.S"
5 # 1 "reduced.S" 2
17 # 7 "reduced.S"
21 # CHECK: .file 1 "reduced.S"
27 # 42 "reduced.S"
/llvm-project/lld/test/ELF/
H A Dcompressed-debug-conflict.s16 # ERROR-NEXT: >>> defined at reduced.c:2 ({{[/\\]}}tmp{{[/\\]}}reduced.c:2)
18 # ERROR-NEXT: >>> defined at reduced.c:2 ({{[/\\]}}tmp{{[/\\]}}reduced.c:2)
22 .file "reduced.c"
25 .file 1 "/tmp" "reduced.c"
/llvm-project/llvm/tools/llvm-reduce/deltas/
H A DReduceOperandsSkip.cpp25 /// reduced".
61 /// Return a reduction priority for @p V. A higher values means "more reduced".
100 // Return whether @p LHS is "more reduced" that @p RHS. That is, whether in opportunities()
101 // @p RHS should be preferred over @p LHS in a reduced output. This is a in opportunities()
104 // A value is not more reduced than itself. in opportunities()
113 // LHS is more reduced if it is defined further up the dominance tree. In a in opportunities()
122 // "more reduced" choice that skips over more instructions. in opportunities()
173 // Only consider candidates that are "more reduced" than the original in opportunities()
204 // reduced. Candidates with less reductive power can be interpreted as an in extractOperandsFromModule()
205 // intermediate step that is immediately replaced with the more reduced in extractOperandsFromModule()
/llvm-project/mlir/test/Conversion/GPUToSPIRV/
H A Dreductions.mlir14 %reduced = gpu.all_reduce add %arg uniform {} : (f32) -> (f32)
34 %reduced = gpu.all_reduce add %arg {} : (f32) -> (f32)
54 %reduced = gpu.all_reduce add %arg uniform {} : (i32) -> (i32)
74 %reduced = gpu.all_reduce add %arg {} : (i32) -> (i32)
94 %reduced = gpu.subgroup_reduce add %arg uniform : (f32) -> (f32)
114 %reduced = gpu.subgroup_reduce add %arg : (f32) -> (f32)
134 %reduced = gpu.subgroup_reduce add %arg uniform : (i32) -> (i32)
154 %reduced = gpu.subgroup_reduce add %arg : (i32) -> (i32)
174 %reduced = gpu.all_reduce mul %arg uniform {} : (f32) -> (f32)
194 %reduced
[all...]

12345678910>>...34