/llvm-project/lld/test/wasm/ |
H A D | unresolved-symbols.s | 1 # RUN: split-file %s %t 2 # RUN: llvm-mc -filetype=obj -triple=wasm32-unknown-unknown %t/main.s -o %t/main.o 3 # RUN: llvm-mc -filetype=obj -tripl [all...] |
/llvm-project/llvm/test/Transforms/InstSimplify/ |
H A D | fast-math-strictfp.ll | 2 ; RUN: opt < %s -passes=instsimplify -S | FileCheck %s 4 ;; x * 0 ==> 0 when no-nans and no-signed-zero 6 ; CHECK-LABEL: @mul_zero_1( 7 ; CHECK-NEXT: ret float 0.000000e+00 9 %b = call nsz nnan float @llvm.experimental.constrained.fmul.f32(float %a, float 0.0, metadata !"round.tonearest", metadata !"fpexcept.ignore") 14 ; CHECK-LABEL: @mul_zero_2( 15 ; CHECK-NEX [all...] |
H A D | floating-point-arithmetic-strictfp.ll | 2 ; RUN: opt < %s -passes=instsimplify -S | FileCheck %s 4 ; fneg (fsub -0.0, X) ==> X 5 define float @fsub_-0_x(float %a) #0 { 6 ; CHECK-LABEL: @fsub_-0_x( 7 ; CHECK-NEXT: [[T1:%.*]] = call float @llvm.experimental.constrained.fsub.f32(float -0.000000e+00, float [[A:%.*]], metadata !"round.tonearest", metadata !"fpexcept.ignore") 8 ; CHECK-NEX [all...] |
H A D | strictfp-sqrt-nonneg.ll | 2 ; RUN: opt < %s -passes=instsimplify -S | FileCheck %s 9 ; CHECK-LABEL: @nonneg_u_defaultenv( 10 …-NEXT: [[FPA:%.*]] = call float @llvm.experimental.constrained.uitofp.f32.i32(i32 [[A:%.*]], me… 11 …ECK-NEXT: [[SQRA:%.*]] = call float @llvm.experimental.constrained.sqrt.f32(float [[FPA]], meta… 12 ; CHECK-NEXT: ret float [[SQRA]] 14 …tal.constrained.uitofp.f32.i32(i32 %a, metadata !"round.tonearest", metadata !"fpexcept.ignore") #0 15 …ental.constrained.sqrt.f32(float %fpa, metadata !"round.tonearest", metadata !"fpexcept.ignore") #0 16 …ental.constrained.fsub.f32(float %sqra, float -0.0, metadata !"round.tonearest", metadata !"fpexce… 21 ; CHECK-LABEL: @nonneg_s_defaultenv( 22 …K-NEXT: [[FPA:%.*]] = call float @llvm.experimental.constrained.sitofp.f32.i32(i32 [[A:%.*]], m… [all …]
|
H A D | constfold-constrained.ll | 2 ; RUN: opt < %s -passes=instsimplify -S | FileCheck %s 5 ; Verify that floor(10.1) is folded to 10.0 when the exception behavior is 'ignore'. 7 ; CHECK-LABEL: @floor_01( 8 ; CHECK-NEXT: entry: 9 ; CHECK-NEXT: ret double 1.000000e+01 12 …ouble @llvm.experimental.constrained.floor.f64(double 1.010000e+01, metadata !"fpexcept.ignore") #0 16 ; Verify that floor(-10.1) is folded to -11.0 when the exception behavior is not 'ignore'. 18 ; CHECK-LABEL: @floor_02( 19 ; CHECK-NEXT: entry: 20 …CHECK-NEXT: [[RESULT:%.*]] = call double @llvm.experimental.constrained.floor.f64(double -1.010… [all …]
|
H A D | fp-undef-poison-strictfp.ll | 2 ; RUN: opt < %s -passes=instsimplify -S | FileCheck %s 11 ; CHECK-LABEL: @fadd_undef_op0_strict( 12 ; CHECK-NEXT: [[R:%.*]] = call float @llvm.experimental.constrained.fadd.f32(float undef, float … 13 ; CHECK-NEXT: ret float [[R]] 20 ; CHECK-LABEL: @fadd_undef_op0_maytrap( 21 ; CHECK-NEXT: [[R:%.*]] = call float @llvm.experimental.constrained.fadd.f32(float undef, float … 22 ; CHECK-NEXT: ret float [[R]] 29 ; CHECK-LABEL: @fadd_undef_op0_upward( 30 …-NEXT: [[R:%.*]] = call float @llvm.experimental.constrained.fadd.f32(float undef, float [[X:%.… 31 ; CHECK-NEXT: ret float [[R]] [all …]
|
H A D | fdiv-strictfp.ll | 2 ; RUN: opt < %s -passes=instsimplify -S | FileCheck %s 5 ; CHECK-LABEL: @fdiv_constant_fold( 6 ; CHECK-NEXT: ret float 1.500000e+00 8 …trained.fdiv.f32(float 3.0, float 2.0, metadata !"round.tonearest", metadata !"fpexcept.ignore") #0 14 ; CHECK-LABEL: @fdiv_constant_fold_strict( 15 …-NEXT: [[F:%.*]] = call float @llvm.experimental.constrained.fdiv.f32(float 3.000000e+00, float… 16 ; CHECK-NEXT: ret float 1.500000e+00 24 ; CHECK-LABEL: @fdiv_constant_fold_strict2( 25 ; CHECK-NEXT: [[F:%.*]] = call float @llvm.experimental.constrained.fdiv.f32(float 2.000000e+00,… 26 ; CHECK-NEXT: ret float [[F]] [all …]
|
/llvm-project/llvm/test/Bindings/OCaml/ |
H A D | core.ml | 1 (* RUN: rm -rf %t && mkdir -p %t && cp %s %t/core.ml && cp %S/Utils/Testsuite.ml %t/Testsuite.ml 2 * RUN: %ocamlc -g -w +A -package llvm.analysis -package llvm.bitwriter -I %t/ -linkpkg %t/Testsuite.ml %t/core.ml -o %t/executable 4 * RUN: %ocamlopt - [all...] |
/llvm-project/clang-tools-extra/test/clang-apply-replacements/ |
H A D | ignore-conflict.cpp | 1 // RUN: mkdir -p %T/Inputs/ignore-conflict 2 // RUN: grep -Ev "// *[A-Z-]+:" %S/Inputs/ignore-conflict/ignore-conflict.cpp > %T/Inputs/ignore-co… 3 // RUN: sed "s#\$(path)#%/T/Inputs/ignore-conflict#" %S/Inputs/ignore-conflict/file1.yaml > %T/Inpu… 4 // RUN: clang-apply-replacements --ignore-insert-conflict %T/Inputs/ignore-conflict 5 // RUN: FileCheck -input-file=%T/Inputs/ignore-conflict/ignore-conflict.cpp %S/Inputs/ignore-confli…
|
/llvm-project/llvm/test/Transforms/EarlyCSE/ |
H A D | defaultfp-strictfp.ll | 2 ; RUN: opt < %s -S -passes=early-cse -earlycse-debug-hash | FileCheck %s 3 ; RUN: opt < %s -S -passes='early-cse<memssa>' | FileCheck %s 9 ; CHECK-LABE [all...] |
H A D | round-dyn-strictfp.ll | 2 ; RUN: opt < %s -S -passes=early-cse -earlycse-debug-hash | FileCheck %s 3 ; RUN: opt < %s -S -passes='early-cse<memssa>' | FileCheck %s 11 ; CHECK-LABEL: @multiple_fadd( 12 …-NEXT: [[TMP1:%.*]] = call double @llvm.experimental.constrained.fadd.f64(double [[A:%.*]], dou… 13 …-NEXT: [[TMP2:%.*]] = call double @llvm.experimental.constrained.fadd.f64(double [[A]], double … 14 ; CHECK-NEXT: [[TMP3:%.*]] = call double @foo.f64(double [[TMP1]], double [[TMP2]]) #[[ATTR0]] 15 ; CHECK-NEXT: ret double [[TMP2]] 17 …nstrained.fadd.f64(double %a, double %b, metadata !"round.dynamic", metadata !"fpexcept.ignore") #0 18 …nstrained.fadd.f64(double %a, double %b, metadata !"round.dynamic", metadata !"fpexcept.ignore") #0 24 ; CHECK-LABEL: @multiple_fadd_split( [all …]
|
H A D | mixed-strictfp.ll | 2 ; RUN: opt < %s -S -passes=early-cse -earlycse-debug-hash | FileCheck %s 3 ; RUN: opt < %s -S -passes='early-cse<memssa>' | FileCheck %s 10 ; CHECK-LABE [all...] |
H A D | nonmixed-strictfp.ll | 2 ; RUN: opt < %s -S -passes=early-cse -earlycse-debug-hash | FileCheck %s 3 ; RUN: opt < %s -S -passes='early-cse<memssa>' | FileCheck %s 11 ; CHECK-LABE [all...] |
/llvm-project/llvm/test/Transforms/Mem2Reg/ |
H A D | ignore-droppable.ll | 2 ; RUN: opt -passes=mem2reg -S -o - < %s | FileCheck %s 9 ; CHECK-LABEL: @positive_assume_uses( 10 ; CHECK-NEXT: call void @llvm.assume(i1 true) [ "nonnull"(ptr [[ARG:%.*]]), "ignore"(ptr undef, … 11 ; CHECK-NEXT: call void @llvm.assume(i1 true) [ "ignore"(ptr undef, i64 8), "nonnull"(ptr [[ARG]… 12 ; CHECK-NEXT: ret void 22 ; CHECK-LABEL: @negative_assume_condition_use( 23 ; CHECK-NEXT: [[A:%.*]] = alloca i32, align 4 24 ; CHECK-NEXT: [[CND:%.*]] = icmp eq ptr [[A]], null 25 ; CHECK-NEXT: call void @llvm.assume(i1 [[CND]]) 26 ; CHECK-NEXT: store i32 1, ptr [[A]], align 4 [all …]
|
/llvm-project/llvm/test/Transforms/SROA/ |
H A D | ignore-droppable.ll | 2 ; RUN: opt < %s -passes='sroa<preserve-cfg>' -S | FileCheck %s --check-prefixes=CHECK,CHECK-PRESERV… 3 ; RUN: opt < %s -passes='sroa<modify-cfg>' -S | FileCheck %s --check-prefixes=CHECK,CHECK-MODIFY-CFG 10 ; CHECK-LABEL: @positive_assume_uses( 11 ; CHECK-NEXT: call void @llvm.assume(i1 true) [ "nonnull"(ptr [[ARG:%.*]]), "ignore"(ptr undef, … 12 ; CHECK-NEXT: call void @llvm.assume(i1 true) [ "ignore"(ptr undef, i64 8), "nonnull"(ptr [[ARG]… 13 ; CHECK-NEXT: ret void 23 ; CHECK-LABEL: @negative_assume_condition_use( 24 ; CHECK-NEXT: [[A:%.*]] = alloca i32, align 4 25 ; CHECK-NEXT: [[CND:%.*]] = icmp eq ptr [[A]], null 26 ; CHECK-NEXT: call void @llvm.assume(i1 [[CND]]) [all …]
|
/llvm-project/libcxx/test/std/utilities/tuple/tuple.general/ |
H A D | ignore.pass.cpp | 1 //===---------- [all...] |
/llvm-project/clang/test/CodeGen/ |
H A D | fpconstrained-cmp-float.c | 1 … %clang_cc1 -ffp-exception-behavior=ignore -fexperimental-strict-floating-point -emit-llvm -o - %s… 2 … %clang_cc1 -ffp-exception-behavior=strict -fexperimental-strict-floating-point -emit-llvm -o - %s… 3 …%clang_cc1 -ffp-exception-behavior=maytrap -fexperimental-strict-floating-point -emit-llvm -o - %s… 4 …-frounding-math -ffp-exception-behavior=ignore -fexperimental-strict-floating-point -emit-llvm -o … 5 …cc1 -frounding-math -ffp-exception-behavior=strict -fexperimental-strict-floating-point -emit-llvm… 6 …c1 -frounding-math -ffp-exception-behavior=maytrap -fexperimental-strict-floating-point -emit-llvm… 9 // CHECK-LABEL: define {{.*}}i1 @QuietEqual(float noundef %f1, float noundef %f2) in QuietEqual() 12 …// IGNORE: call i1 @llvm.experimental.constrained.fcmp.f32(float %{{.*}}, float %{{.*}}, metadata … in QuietEqual() 21 // CHECK-LABEL: define {{.*}}i1 @QuietNotEqual(float noundef %f1, float noundef %f2) in QuietNotEqual() 24 …// IGNORE: call i1 @llvm.experimental.constrained.fcmp.f32(float %{{.*}}, float %{{.*}}, metadata … in QuietNotEqual() [all …]
|
H A D | fpconstrained-cmp-double.c | 1 // RUN: %clang_cc1 -ffp-exception-behavior=ignore -emit-llvm -o - %s | FileCheck %s -check-prefix=C… 2 … %clang_cc1 -ffp-exception-behavior=strict -fexperimental-strict-floating-point -emit-llvm -o - %s… 3 …%clang_cc1 -ffp-exception-behavior=maytrap -fexperimental-strict-floating-point -emit-llvm -o - %s… 4 …-frounding-math -ffp-exception-behavior=ignore -fexperimental-strict-floating-point -emit-llvm -o … 5 …cc1 -frounding-math -ffp-exception-behavior=strict -fexperimental-strict-floating-point -emit-llvm… 6 …c1 -frounding-math -ffp-exception-behavior=maytrap -fexperimental-strict-floating-point -emit-llvm… 9 // CHECK-LABEL: define {{.*}}i1 @QuietEqual(double noundef %f1, double noundef %f2) in QuietEqual() 12 …// IGNORE: call i1 @llvm.experimental.constrained.fcmp.f64(double %{{.*}}, double %{{.*}}, metadat… in QuietEqual() 21 // CHECK-LABEL: define {{.*}}i1 @QuietNotEqual(double noundef %f1, double noundef %f2) in QuietNotEqual() 24 …// IGNORE: call i1 @llvm.experimental.constrained.fcmp.f64(double %{{.*}}, double %{{.*}}, metadat… in QuietNotEqual() [all …]
|
/llvm-project/compiler-rt/test/tsan/ |
H A D | ignored-interceptors-mmap.cpp | 1 // RUN: %clangxx_tsan -O0 %s -o %t 2 // RUN: not %run %t 2>&1 | FileCheck %s --check-prefix=CHECK-RACE 4 // RUN: not %run %t - 262144 2>&1 | FileCheck %s --check-prefix=CHECK-RACE 5 // RUN: %run %t ignore 2>&1 | FileCheck %s --check-prefix=CHECK-IGNORE 16 // respects ignore annotations. 19 void mmap_ignored(bool ignore, size_t size) { in mmap_ignored() argument 20 if (ignore) AnnotateIgnoreWritesBegin(__FILE__, __LINE__); in mmap_ignored() 22 mmap(0, size, PROT_READ | PROT_WRITE, MAP_PRIVATE | MAP_ANON, -1, 0); in mmap_ignored() 23 if (ignore) AnnotateIgnoreWritesEnd(__FILE__, __LINE__); in mmap_ignored() 38 bool ignore = (argc > 1) && (strcmp(argv[1], "ignore") == 0); in main() local [all …]
|
/llvm-project/llvm/utils/lit/tests/ |
H A D | ignore-fail.py | 1 # Check that --ignore-fail produces exit status 0 despite various kinds of 4 # RUN: not %{lit} %{inputs}/ignore-fail | FileCheck %s 5 # RUN: %{lit} --ignore-fail %{inputs}/ignore-fail | FileCheck %s 9 # CHECK-DAG: FAIL: ignore-fail :: fail.txt 10 # CHECK-DAG: UNRESOLVED: ignore-fail :: unresolved.txt 11 # CHECK-DAG: XFAIL: ignore-fail :: xfail.txt 12 # CHECK-DAG: XPASS: ignore-fail :: xpass.txt 16 # CHECK-NEXT: Expectedly Failed : 1 {{\([0-9]*\.[0-9]*%\)}} 17 # CHECK-NEXT: Unresolved : 1 {{\([0-9]*\.[0-9]*%\)}} 18 # CHECK-NEXT: Failed : 1 {{\([0-9]*\.[0-9]*%\)}} [all …]
|
/llvm-project/clang-tools-extra/test/clang-apply-replacements/Inputs/ignore-conflict/ |
H A D | file1.yaml | 1 --- 2 MainSourceFile: ignore-conflict.cpp 4 - DiagnosticName: test-ignore-conflict-insertion 7 FilePath: $(path)/ignore-conflict.cpp 10 - FilePath: $(path)/ignore-conflict.cpp 14 - DiagnosticName: test-ignore-conflict-insertion 17 FilePath: $(path)/ignore-conflict.cpp 20 - FilePath: $(path)/ignore-conflict.cpp
|
/llvm-project/llvm/test/CodeGen/PowerPC/ |
H A D | cse-despite-rounding-mode.ll | 1 ; The non-strictfp version of test/CodeGen/PowerPC/respect-rounding-mode.ll 4 ; RUN: llc -verify-machineinstrs --mtriple powerpc64le-unknown-linux-gnu \ 5 ; RUN: -mcpu=pwr8 -ppc-asm-full-reg-names < %s | grep 'xvrdpic' | count 2 6 ; RUN: llc -verify-machineinstrs --mtriple powerpc-unknown-linux-gnu \ 7 ; RUN: -mcpu=pwr9 -ppc-asm-full-reg-names < %s | grep 'xvrdpic' | count 2 8 ; RUN: llc -verify-machineinstrs --mtriple powerpc64le-unknown-linux-gnu \ 9 ; RUN: -mcpu=pwr10 -ppc-asm-full-reg-names < %s | grep 'xvrdpic' | count 2 11 ; RUN: llc -verify-machineinstrs --mtriple powerpc64le-unknown-linux-gnu \ 12 ; RUN: -mcpu=pwr8 -ppc-asm-full-reg-names < %s | grep 'xvmuldp' | count 2 13 ; RUN: llc -verify-machineinstrs --mtriple powerpc-unknown-linux-gnu \ [all …]
|
H A D | respect-rounding-mode.ll | 1 ; The strictfp version of test/CodeGen/PowerPC/cse-despit-rounding-mode.ll 5 ; RUN: llc -verify-machineinstrs --mtriple powerpc64le-unknown-linux-gnu \ 6 ; RUN: -mcpu=pwr8 -ppc-asm-full-reg-names < %s | grep 'xvrdpic' | count 4 7 ; RUN: llc -verify-machineinstrs --mtriple powerpc-unknown-linux-gnu \ 8 ; RUN: -mcpu=pwr9 -ppc-asm-full-reg-names < %s | grep 'xvrdpic' | count 4 9 ; RUN: llc -verify-machineinstrs --mtriple powerpc64le-unknown-linux-gnu \ 10 ; RUN: -mcpu=pwr10 -ppc-asm-full-reg-names < %s | grep 'xvrdpic' | count 4 12 ; RUN: llc -verify-machineinstrs --mtriple powerpc64le-unknown-linux-gnu \ 13 ; RUN: -mcpu=pwr8 -ppc-asm-full-reg-names < %s | grep 'xvmuldp' | count 4 14 ; RUN: llc -verify-machineinstrs --mtriple powerpc-unknown-linux-gnu \ [all …]
|
/llvm-project/mlir/test/ |
H A D | lit.cfg.py | 1 # -*- Python -*- 23 # See https://github.com/llvm/llvm-project/issues/106636 for more details. 91 subprocess.check_output([config.host_cc.strip(), "-print-resource-dir"]) 92 .decode("utf-8") 103 f"-prin [all...] |
/llvm-project/clang-tools-extra/test/clang-tidy/checkers/cppcoreguidelines/ |
H A D | avoid-do-while.cpp | 1 // RUN: %check_clang_tidy -check-suffixes=DEFAULT %s cppcoreguidelines-avoid-do-while %t 2 …ck_clang_tidy -check-suffixes=IGNORE-MACROS %s cppcoreguidelines-avoid-do-while %t -- -config='{Ch… 23 …// CHECK-MESSAGES-IGNORE-MACROS: :[[@LINE+2]]:5: warning: avoid do-while loops [cppcoreguidelines-… in foo() 24 …// CHECK-MESSAGES-DEFAULT: :[[@LINE+1]]:5: warning: avoid do-while loops [cppcoreguidelines-avoid-… in foo() 29 // CHECK-MESSAGES-IGNORE-MACROS: :[[@LINE+2]]:5: warning: avoid do-while loops in foo() 30 // CHECK-MESSAGES-DEFAULT: :[[@LINE+1]]:5: warning: avoid do-while loops in foo() 35 // CHECK-MESSAGES-IGNORE-MACROS: :[[@LINE+2]]:5: warning: avoid do-while loops in foo() 36 // CHECK-MESSAGES-DEFAULT: :[[@LINE+1]]:5: warning: avoid do-while loops in foo() 39 } while(-1); in foo() 41 // CHECK-MESSAGES-IGNORE-MACROS: :[[@LINE+2]]:5: warning: avoid do-while loops in foo() [all …]
|