/llvm-project/llvm/test/Transforms/SCCP/ |
H A D | pr49582-iterator-invalidation.ll | 12 for.cond: ; preds = %if.end628, %entry 13 %e.0 = phi i32 [ 1, %entry ], [ %e.15, %if.end628 ] 18 br i1 %tobool, label %if.then, label %if.end628 20 if.then: ; preds = %for.cond 23 br i1 %tobool1, label %if.then2, label %if.else78 25 if.then2: ; preds = %if.then 28 br i1 %cmp3, label %if [all...] |
/llvm-project/compiler-rt/test/builtins/Unit/ |
H A D | clzsi2_test.c | 16 if (x != expected) in test__clzsi2() 26 // if (test__clzsi2(0x00000000, 32)) // undefined in main() 28 if (test__clzsi2(0x00800000, 8)) in main() 30 if (test__clzsi2(0x01000000, 7)) in main() 32 if (test__clzsi2(0x02000000, 6)) in main() 34 if (test__clzsi2(0x03000000, 6)) in main() 36 if (test__clzsi2(0x04000000, 5)) in main() 38 if (test__clzsi2(0x05000000, 5)) in main() 40 if (test__clzsi2(0x06000000, 5)) in main() 42 if (test__clzsi2(0x07000000, 5)) in main() [all …]
|
H A D | ctzsi2_test.c | 16 if (x != expected) in test__ctzsi2() 26 // if (test__ctzsi2(0x00000000, 32)) // undefined in main() 28 if (test__ctzsi2(0x00000001, 0)) in main() 30 if (test__ctzsi2(0x00000002, 1)) in main() 32 if (test__ctzsi2(0x00000003, 0)) in main() 34 if (test__ctzsi2(0x00000004, 2)) in main() 36 if (test__ctzsi2(0x00000005, 0)) in main() 38 if (test__ctzsi2(0x00000006, 1)) in main() 40 if (test__ctzsi2(0x00000007, 0)) in main() 42 if (test__ctzsi2(0x00000008, 3)) in main() [all …]
|
H A D | powitf2_test.c | 6 #if __LDBL_MANT_DIG__ == 113 19 if (!correct) in test__powitf2() 29 #if __LDBL_MANT_DIG__ == 113 in main() 30 if (test__powitf2(0, 0, 1)) in main() 32 if (test__powitf2(1, 0, 1)) in main() 34 if (test__powitf2(1.5, 0, 1)) in main() 36 if (test__powitf2(2, 0, 1)) in main() 38 if (test__powitf2(INFINITY, 0, 1)) in main() 41 if (test__powitf2(-0., 0, 1)) in main() 43 if (test__powitf2(-1, 0, 1)) in main() [all …]
|
H A D | powisf2_test.c | 16 if (!correct) in test__powisf2() 24 if (test__powisf2(0, 0, 1)) in main() 26 if (test__powisf2(1, 0, 1)) in main() 28 if (test__powisf2(1.5, 0, 1)) in main() 30 if (test__powisf2(2, 0, 1)) in main() 32 if (test__powisf2(INFINITY, 0, 1)) in main() 35 if (test__powisf2(-0., 0, 1)) in main() 37 if (test__powisf2(-1, 0, 1)) in main() 39 if (test__powisf2(-1.5, 0, 1)) in main() 41 if (test__powisf2(-2, 0, 1)) in main() [all …]
|
H A D | powidf2_test.c | 16 if (!correct) in test__powidf2() 24 if (test__powidf2(0, 0, 1)) in main() 26 if (test__powidf2(1, 0, 1)) in main() 28 if (test__powidf2(1.5, 0, 1)) in main() 30 if (test__powidf2(2, 0, 1)) in main() 32 if (test__powidf2(INFINITY, 0, 1)) in main() 35 if (test__powidf2(-0., 0, 1)) in main() 37 if (test__powidf2(-1, 0, 1)) in main() 39 if (test__powidf2(-1.5, 0, 1)) in main() 41 if (test__powidf2(-2, 0, 1)) in main() [all …]
|
H A D | powixf2_test.c | 6 #if !_ARCH_PPC 20 if (!correct) in test__powixf2() 30 #if !_ARCH_PPC in main() 31 if (test__powixf2(0, 0, 1)) in main() 33 if (test__powixf2(1, 0, 1)) in main() 35 if (test__powixf2(1.5, 0, 1)) in main() 37 if (test__powixf2(2, 0, 1)) in main() 39 if (test__powixf2(INFINITY, 0, 1)) in main() 42 if (test__powixf2(-0., 0, 1)) in main() 44 if (test__powixf2(-1, 0, 1)) in main() [all …]
|
/llvm-project/llvm/test/CodeGen/PowerPC/ |
H A D | cmp_elimination.ll | 14 br i1 %cmp, label %if.then, label %if.else 16 if.then: 18 br label %if.end3 20 if.else: 22 br i1 %cmp1, label %if.then2, label %if.end3 24 if.then2: 26 br label %if.end3 28 if.end3: 40 br i1 %cmp, label %if.then, label %if.else 42 if.then: [all …]
|
H A D | fast-isel-cmp-imm.ll | 20 br i1 %cmp, label %if.then, label %if.end 22 if.then: ; preds = %entry 24 br label %if.end 26 if.end: ; preds = %if.then, %entry 43 br i1 %cmp, label %if.then, label %if.end 45 if.then: ; preds = %entry 47 br label %if.end 49 if.end: ; preds = %if.then, %entry 66 br i1 %cmp, label %if.then, label %if.end 68 if.then: ; preds = %entry [all …]
|
/llvm-project/llvm/lib/Support/ |
H A D | UnicodeCaseFold.cpp | 17 if (C < 0x0041) in foldCharSimple() 20 if (C <= 0x005a) in foldCharSimple() 23 if (C == 0x00b5) in foldCharSimple() 25 if (C < 0x00c0) in foldCharSimple() 28 if (C <= 0x00d6) in foldCharSimple() 30 if (C < 0x00d8) in foldCharSimple() 33 if (C <= 0x00de) in foldCharSimple() 35 if (C < 0x0100) in foldCharSimple() 38 if (C <= 0x012e) in foldCharSimple() 40 if (C < 0x0132) in foldCharSimple() [all …]
|
/llvm-project/llvm/test/CodeGen/X86/ |
H A D | 2009-07-16-CoalescerBug.ll | 15 br i1 undef, label %if.else, label %if.then91 17 if.then91: ; preds = %entry 18 br label %if.end96 20 if.else: ; preds = %entry 21 br label %if.end96 23 if.end96: ; preds = %if.else, %if.then91 24 br i1 undef, label %lor.lhs.false, label %if.then105 26 lor.lhs.false: ; preds = %if.end96 27 br i1 undef, label %if.else139, label %if.then105 29 if.then105: ; preds = %lor.lhs.false, %if.end96 [all …]
|
H A D | 2009-07-06-TwoAddrAssert.ll | 17 br i1 undef, label %if.then, label %while.cond 19 if.then: ; preds = %sw.bb6 26 br i1 undef, label %if.then15, label %if.end16 28 if.then15: ; preds = %while.end 31 if.end16: ; preds = %while.end 32 br i1 undef, label %lor.lhs.false, label %if.then21 34 lor.lhs.false: ; preds = %if.end16 35 br i1 undef, label %if.end22, label %if.then21 37 if.then21: ; preds = %lor.lhs.false, %if.end16 40 if.end22: ; preds = %lor.lhs.false [all …]
|
/llvm-project/clang/test/Sema/ |
H A D | tautological-constant-compare.c | 28 if (c > 255) // expected-warning {{comparison 'unsigned char' > 255 is always false}} in TFunc() 31 if (c > 255) in TFunc() 35 if (c > macro(255)) in TFunc() 39 if (v > 255) in TFunc() 41 if (v > 32767) in TFunc() 56 if (s == 32767) in main() 58 if (s != 32767) in main() 60 if (s < 32767) in main() 62 if (s <= 32767) // expected-warning {{comparison 'short' <= 32767 is always true}} in main() 64 if (s > 32767) // expected-warning {{comparison 'short' > 32767 is always false}} in main() [all …]
|
H A D | tautological-constant-enum-compare.c | 15 // If we promote to unsigned, it doesn't matter whether the enum's underlying in main() 17 if (a < 0U) // expected-warning {{comparison of unsigned enum expression < 0 is always false}} in main() 19 if (0U >= a) in main() 21 if (a > 0U) in main() 23 if (0U <= a) // expected-warning {{comparison of 0 <= unsigned enum expression is always true}} in main() 25 if (a <= 0U) in main() 27 if (0U > a) // expected-warning {{comparison of 0 > unsigned enum expression is always false}} in main() 29 if (a >= 0U) // expected-warning {{comparison of unsigned enum expression >= 0 is always true}} in main() 31 if (0U < a) in main() 34 if (a < 4294967295U) in main() [all …]
|
H A D | outof-range-enum-constant-compare.c | 16 …if (a < 4294967296) // expected-warning {{comparison of constant 4294967296 with expression of typ… in main() 18 …if (4294967296 >= a) // expected-warning {{comparison of constant 4294967296 with expression of ty… in main() 20 …if (a > 4294967296) // expected-warning {{comparison of constant 4294967296 with expression of typ… in main() 22 …if (4294967296 <= a) // expected-warning {{comparison of constant 4294967296 with expression of ty… in main() 24 …if (a <= 4294967296) // expected-warning {{comparison of constant 4294967296 with expression of ty… in main() 26 …if (4294967296 > a) // expected-warning {{comparison of constant 4294967296 with expression of typ… in main() 28 …if (a >= 4294967296) // expected-warning {{comparison of constant 4294967296 with expression of ty… in main() 30 …if (4294967296 < a) // expected-warning {{comparison of constant 4294967296 with expression of typ… in main() 32 …if (a == 4294967296) // expected-warning {{comparison of constant 4294967296 with expression of ty… in main() 34 …if (4294967296 != a) // expected-warning {{comparison of constant 4294967296 with expression of ty… in main() [all …]
|
H A D | tautological-unsigned-zero-compare.c | 22 if (c < 0) // expected-warning {{comparison of unsigned expression < 0 is always false}} in TFunc() 25 if (c < macro(0)) in TFunc() 29 if (v < 0) in TFunc() 48 if (s == 0UL) in main() 50 if (s != 0UL) in main() 52 if (s < 0UL) // expected-warning {{comparison of unsigned expression < 0 is always false}} in main() 54 if (s <= 0UL) in main() 56 if (s > 0UL) in main() 58 if (s >= 0UL) // expected-warning {{comparison of unsigned expression >= 0 is always true}} in main() 61 if (0UL == s) in main() [all …]
|
H A D | bool-compare.c | 8 …if ((a > 2) > 1) {} // expected-warning {{comparison of constant 1 with boolean expression is alwa… in f() 10 if (a > b) {} // no warning in f() 11 if (a < b) {} // no warning in f() 12 if (a >= b) {} // no warning in f() 13 if (a <= b) {} // no warning in f() 14 if (a == b) {} // no warning in f() 15 if (a != b) {} // no warning in f() 17 if (a > 0) {} // no warning in f() 18 if (a > 1) {} // no warning in f() 19 if (a > 2) {} // no warning in f() [all …]
|
/llvm-project/polly/test/CodeGen/ |
H A D | dead_invariant_load_instruction_referenced_by_parameter_2.ll | 20 br i1 %cmp, label %if.end.36, label %if.else 22 if.else: ; preds = %entry.split 26 br i1 %cmp14, label %land.lhs.true, label %if.end.36 28 land.lhs.true: ; preds = %if.else 30 br i1 false, label %land.lhs.true.19, label %if.then.23 34 br i1 false, label %if.end.36, label %if.then.23 36 if.then.23: ; preds = %land.lhs.true.19, %land.lhs.true 37 br i1 false, label %if.end.36, label %if.else.28 39 if.else.28: ; preds = %if.then.23 40 br label %if.end.36 [all …]
|
/llvm-project/compiler-rt/utils/ |
H A D | generate_netbsd_syscalls.awk | 34 if (in_utils == 0) { 39 if (ARGC != 2) { 44 if (system("test -f " ARGV[1]) != 0) { 49 if (ARGV[1] !~ /syscalls\.master$/) { 55 if ("CLANGFORMAT" in ENVIRON) { 70 if (match($0, /\$[^$]+\$/)) { 95 # preserve 'if/elif/else/endif' C preprocessor as-is 97 if (parsedsyscalls in ifelifelseendif) { 115 if ($0 ~ /OBSOL/ || $0 ~ /EXCL/ || $0 ~ /UNIMPL/) { 122 if (match($0, /COMPAT_[0-9]+/)) { [all …]
|
/llvm-project/llvm/test/Transforms/GVNSink/ |
H A D | sink-common-code.ll | 5 br i1 %flag, label %if.then, label %if.else 12 if.then: 15 br label %if.end 17 if.else: 21 br label %if.end 23 if.end: 24 %obeys.0 = phi i8 [ %frombool1, %if.then ], [ %frombool3, %if.else ] 31 br i1 %flag, label %if [all...] |
/llvm-project/lldb/include/lldb/ |
H A D | lldb-versioning.h | 34 and will generate a warning if used 53 If these macros exist - LLDB will enable version checking of the public API 55 If LLDB_API_MAJOR_VERSION is not equal to LLDB_API_MAJOR_VERSION_WANTED we will 58 major versions - if you really want to test your luck, disable the versioning 61 If the major version test passes, you have signed up for a specific minor 68 If you are using an API new in DOT_x 69 if LLDB_API_MINOR_VERSION_WANTED >= x then all is well, else you will get a 74 If you are using an API deprecated in DOT_x 75 if LLDB_API_MINOR_VERSION_WANTED >= x then you will get a compilation warning, 83 Version checking only works on clang on OSX - you will get an error if you try [all …]
|
/llvm-project/compiler-rt/test/fuzzer/ |
H A D | MultipleConstraintsOnSmallInputTest.cpp | 17 if ( v <= 15 ) in func1() 25 if ( v > 80 ) in func2() 33 if ( v > 48 ) in func3() 41 if ( v > 44 ) in func4() 49 if ( v <= 72 ) in func5() 57 if ( v <= 72 ) in func6() 65 if ( v <= 43 ) in func7() 73 if ( v <= 66 ) in func8() 81 if ( v > 16 ) in func9() 89 if ( v > 83 ) in func10() [all …]
|
/llvm-project/llvm/test/Transforms/IndVarSimplify/X86/ |
H A D | verify-scev.ll | 25 br i1 %arg, label %if.end115, label %for.cond109 30 if.end115: ; preds = %while.end 33 while.body119.lr.ph.lr.ph: ; preds = %if.end115 34 br i1 %arg, label %for.cond612, label %if.end123.us 36 if.end123.us: ; preds = %while.body119.lr.ph.lr.ph 39 for.cond132.us: ; preds = %for.cond132.us, %if.end123.us 40 br i1 %arg, label %if.then136.us, label %for.cond132.us 42 if.then136.us: ; preds = %for.cond132.us 45 while.body211: ; preds = %while.body211, %if.then136.us 48 while.end220: ; preds = %while.body211, %if [all...] |
/llvm-project/clang/unittests/Format/ |
H A D | BracesRemoverTest.cpp | 26 // statement-bodies-of-if-else-loop-statements". in TEST_F() 29 // `if`. in TEST_F() 30 verifyFormat("if (isa<FunctionDecl>(D))\n" in TEST_F() 32 "else if (isa<VarDecl>(D))\n" in TEST_F() 34 "if (isa<FunctionDecl>(D)) {\n" in TEST_F() 36 "} else if (isa<VarDecl>(D)) {\n" in TEST_F() 42 verifyFormat("if (isa<VarDecl>(D)) {\n" in TEST_F() 46 " // the scope of the `if`.\n" in TEST_F() 49 " // `if`.\n" in TEST_F() 54 // Use braces on the outer `if` to avoid a potential dangling `else` in TEST_F() [all …]
|
/llvm-project/clang/test/SemaCXX/ |
H A D | bool-compare.cpp | 8 …if(b > true) {} // expected-warning {{comparison of true with expression of type 'bool' is alwa… in f() 9 if(b < true) {} // no warning in f() 10 if(b >= true) {} // no warning in f() 11 …if(b <= true) {} // expected-warning {{comparison of true with expression of type 'bool' is alwa… in f() 12 if(b == true) {} // no warning in f() 13 if(b != true) {} // no warning in f() 15 if(b > false) {} // no warning in f() 16 …if(b < false) {} // expected-warning {{comparison of false with expression of type 'bool' is alw… in f() 17 …if(b >= false) {} // expected-warning {{comparison of false with expression of type 'bool' is alw… in f() 18 if(b <= false) {} // no warning in f() [all …]
|