/llvm-project/llvm/test/Transforms/SimplifyCFG/ARM/ |
H A D | phi-eliminate.ll | 2 …nd-preserve-domtree=1 -S -two-entry-phi-node-folding-threshold=4 | FileCheck %s --check-prefixes=C… 3 …nd-preserve-domtree=1 -S -two-entry-phi-node-folding-threshold=4 | FileCheck %s --check-prefixes=C… 4 …nd-preserve-domtree=1 -S -two-entry-phi-node-folding-threshold=5 | FileCheck %s --check-prefixes=C… 5 …nd-preserve-domtree=1 -S -two-entry-phi-node-folding-threshold=5 | FileCheck %s --check-prefixes=C… 6 …nd-preserve-domtree=1 -S -two-entry-phi-node-folding-threshold=6 | FileCheck %s --check-prefixes=C… 7 …nd-preserve-domtree=1 -S -two-entry-phi-node-folding-threshold=6 | FileCheck %s --check-prefixes=C… 10 ; CHECK-TWO-FOLD-4-LABEL: @test_i32( 11 ; CHECK-TWO-FOLD-4-NEXT: entry: 12 ; CHECK-TWO-FOLD-4-NEXT: br i1 [[A:%.*]], label [[M:%.*]], label [[O:%.*]] 13 ; CHECK-TWO-FOLD-4: O: [all …]
|
/llvm-project/llvm/test/Transforms/LoopVectorize/ |
H A D | optimal-epilog-vectorization-liveout.ll | 8 ; RUN: opt < %s -passes='loop-vectorize' -enable-epilogue-vectorization -force-vector-width=2 -epilogue-vectorization-force-VF=2 -S | FileCheck %s --check-prefix VF-TWO-CHECK 14 ; VF-TWO-CHECK-LABEL: @f1( 15 ; VF-TWO-CHECK-NEXT: entry: 16 ; VF-TWO-CHECK-NEXT: [[CMP1:%.*]] = icmp sgt i32 [[N:%.*]], 0 17 ; VF-TWO-CHECK-NEXT: br i1 [[CMP1]], label [[ITER_CHECK:%.*]], label [[FOR_END:%.*]] 18 ; VF-TWO-CHECK: iter.check: 19 ; VF-TWO-CHECK-NEXT: [[WIDE_TRIP_COUNT:%.*]] = zext i32 [[N]] to i64 20 ; VF-TWO-CHECK-NEXT: [[MIN_ITERS_CHECK:%.*]] = icmp ult i64 [[WIDE_TRIP_COUNT]], 2 21 ; VF-TWO-CHECK-NEXT: br i1 [[MIN_ITERS_CHECK]], label [[VEC_EPILOG_SCALAR_PH:%.*]], label [[VECTOR_MAIN_LOOP_ITER_CHECK:%.*]] 22 ; VF-TWO [all...] |
/llvm-project/llvm/test/tools/llvm-debuginfo-analyzer/DWARF/ |
H A D | pr-incorrect-logical-instructions.test | 140 ; RUN: FileCheck --strict-whitespace -check-prefix=TWO %s 142 ; TWO: Logical View: 143 ; TWO-NEXT: [000] {File} 'pr-incorrect-instructions-dwarf-clang.o' 144 ; TWO-EMPTY: 145 ; TWO-NEXT: [001] {CompileUnit} 'pr-incorrect-instructions-dwarf-clang.cpp' 146 ; TWO-NEXT: [002] 2 {Function} extern not_inlined 'bar' -> 'int' 147 ; TWO-NEXT: [003] {Code} 'pushq %rbp' 148 ; TWO-NEXT: [003] {Code} 'movq %rsp, %rbp' 149 ; TWO-NEXT: [003] {Code} 'movl %edi, -0x4(%rbp)' 150 ; TWO-NEXT: [003] {Code} 'movl -0x4(%rbp), %eax' [all …]
|
H A D | 01-dwarf-compare-logical-elements.test | 55 ; RUN: FileCheck --strict-whitespace -check-prefix=TWO %s 57 ; TWO: Reference: 'test-dwarf-clang.o' 58 ; TWO-NEXT: Target: 'test-dwarf-gcc.o' 59 ; TWO-EMPTY: 60 ; TWO-NEXT: (1) Missing Types: 61 ; TWO-NEXT: -[003] 4 {TypeAlias} 'INTEGER' -> 'int' 62 ; TWO-EMPTY: 63 ; TWO-NEXT: (1) Added Types: 64 ; TWO-NEXT: +[004] 4 {TypeAlias} 'INTEGER' -> 'int' 65 ; TWO-EMPTY: [all …]
|
H A D | pr-57040-ignored-DW_FORM_implicit_const.test | 53 ; RUN: FileCheck --strict-whitespace -check-prefix=TWO %s 55 ; TWO: Logical View: 56 ; TWO-NEXT: [000] {File} 'pr-57040-test-dwarf-gcc.o' -> elf64-x86-64 57 ; TWO-EMPTY: 58 ; TWO-NEXT: [001] {CompileUnit} 'test.cpp' 59 ; TWO-NEXT: [002] {Producer} 'GNU C++17 11.3.0 {{.*}}' 60 ; TWO-NEXT: [002] 1 {TypeAlias} 'INTPTR' -> '* const int' 61 ; TWO-NEXT: [002] 2 {Function} extern not_inlined 'foo' -> 'int' 62 ; TWO-NEXT: [003] {Block} 63 ; TWO-NEXT: [004] 4 {TypeAlias} 'INTEGER' -> 'int' [all …]
|
H A D | 05-dwarf-incorrect-lexical-scope-variable.test | 92 ; RUN: FileCheck --strict-whitespace -check-prefix=TWO %s 94 ; TWO: Logical View: 95 ; TWO-NEXT: [000] {File} 'pr-43860-dwarf-clang.o' -> elf64-x86-64 96 ; TWO-EMPTY: 97 ; TWO-NEXT: [001] {CompileUnit} 'pr-43860.cpp' 98 ; TWO-NEXT: [004] {Variable} 'Var_1' -> 'int' 99 ; TWO-NEXT: [003] 3 {Variable} 'Var_1' -> 'int' 100 ; TWO-NEXT: [005] {Variable} 'Var_2' -> 'int' 101 ; TWO-NEXT: [004] 5 {Variable} 'Var_2' -> 'int' 102 ; TWO [all...] |
/llvm-project/llvm/test/Transforms/LoopVectorize/PowerPC/ |
H A D | optimal-epilog-vectorization.ll | 2 ; RUN: opt < %s -passes='loop-vectorize' -enable-epilogue-vectorization -epilogue-vectorization-force-VF=2 -S | FileCheck %s --check-prefix VF-TWO-CHECK 10 ; VF-TWO-CHECK-LABEL: define dso_local void @f1( 11 ; VF-TWO-CHECK-SAME: ptr noalias [[AA:%.*]], ptr noalias [[BB:%.*]], ptr noalias [[CC:%.*]], i32 signext [[N:%.*]]) #[[ATTR0:[0-9]+]] { 12 ; VF-TWO-CHECK-NEXT: entry: 13 ; VF-TWO-CHECK-NEXT: [[CMP1:%.*]] = icmp sgt i32 [[N]], 0 14 ; VF-TWO-CHECK-NEXT: br i1 [[CMP1]], label [[ITER_CHECK:%.*]], label [[FOR_END:%.*]] 15 ; VF-TWO-CHECK: iter.check: 16 ; VF-TWO-CHECK-NEXT: [[WIDE_TRIP_COUNT:%.*]] = zext i32 [[N]] to i64 17 ; VF-TWO-CHECK-NEXT: [[MIN_ITERS_CHECK:%.*]] = icmp ult i64 [[WIDE_TRIP_COUNT]], 2 18 ; VF-TWO [all...] |
/llvm-project/clang-tools-extra/clangd/unittests/tweaks/ |
H A D | AddUsingTests.cpp | 30 #define NS(name) one::two::name in TEST_F() 36 namespace two { in TEST_F() 65 "void fun() { one::two::cc() ^| one::two::cc(); }"); in TEST_F() 84 EXPECT_UNAVAILABLE(Header + "void fun() { one::two::f^f(); }"); in TEST_F() 86 EXPECT_UNAVAILABLE(Header + "void fun() { one::two::f^f(); }"); in TEST_F() 114 ^one::two::ff(); in TEST_F() 119 namespace {using one::two::ff; in TEST_F() 137 namespace {using ::one::two::cc; in TEST_F() 150 one::two::e^e inst; in TEST_F() 155 using one::two::ee; in TEST_F() [all …]
|
/llvm-project/clang/bindings/python/tests/cindex/ |
H A D | test_location.py | 19 baseInput = "int one;\nint two;\n" 31 two = get_cursor(tu, "two") 34 self.assertIsNotNone(two) 37 self.assert_location(two.location, line=2, column=5, offset=13) 42 two = get_cursor(tu, "two") 45 self.assertIsNotNone(two) 48 self.assert_location(two.location, line=3, column=5, offset=14) 53 two [all...] |
/llvm-project/clang/tools/scan-build-py/tests/functional/src/build/ |
H A D | Makefile | 14 $(OBJDIR)/clean-two.o: $(SRCDIR)/clean-two.c 15 $(CC) $(CFLAGS) -c -o $@ $(SRCDIR)/clean-two.c 20 $(OBJDIR)/emit-two.o: $(SRCDIR)/emit-two.c 21 $(CC) $(CFLAGS) -c -o $@ $(SRCDIR)/emit-two.c 26 $(OBJDIR)/broken-two.o: $(SRCDIR)/broken-two.c 27 $(CC) $(CFLAGS) -c -o $@ $(SRCDIR)/broken-two.c 29 …(OBJDIR)/main.o $(OBJDIR)/clean-one.o $(OBJDIR)/clean-two.o $(OBJDIR)/emit-one.o $(OBJDIR)/emit-tw… 30 …(OBJDIR)/main.o $(OBJDIR)/clean-one.o $(OBJDIR)/clean-two.o $(OBJDIR)/emit-one.o $(OBJDIR)/emit-tw… 34 build_clean: $(OBJDIR)/main.o $(OBJDIR)/clean-one.o $(OBJDIR)/clean-two.o 36 build_broken: $(OBJDIR)/main.o $(OBJDIR)/broken-one.o $(OBJDIR)/broken-two.o [all …]
|
/llvm-project/clang/test/SemaCXX/ |
H A D | warn-unsafe-buffer-usage-in-container-span-construct.cpp | 45 std::span<int> S{p, 10}; // expected-warning{{the two-parameter std::span construction is unsafe as it can introduce mismatch between buffer size and the bound information}} in warnVarInit() 46 std::span<int> S1(p, 10); // expected-warning{{the two-parameter std::span construction is unsafe as it can introduce mismatch between buffer size and the bound information}} in warnVarInit() 47 std::span<int> S2 = std::span{p, 10}; // expected-warning{{the two-parameter std::span construction is unsafe as it can introduce mismatch between buffer size and the bound information}} in warnVarInit() 48 std::span<int> S3 = std::span(p, 10); // expected-warning{{the two-parameter std::span construction is unsafe as it can introduce mismatch between buffer size and the bound information}} in warnVarInit() 49 std::span<int> S4 = std::span<int>{p, 10}; // expected-warning{{the two-parameter std::span construction is unsafe as it can introduce mismatch between buffer size and the bound information}} in warnVarInit() 50 std::span<int> S5 = std::span<int>(p, 10); // expected-warning{{the two-parameter std::span construction is unsafe as it can introduce mismatch between buffer size and the bound information}} in warnVarInit() 51 std::span<int> S6 = {p, 10}; // expected-warning{{the two-parameter std::span construction is unsafe as it can introduce mismatch between buffer size and the bound information}} in warnVarInit() 52 auto S7 = std::span<int>{p, 10}; // expected-warning{{the two-parameter std::span construction is unsafe as it can introduce mismatch between buffer size and the bound information}} in warnVarInit() 53 auto S8 = std::span<int>(p, 10); // expected-warning{{the two-parameter std::span construction is unsafe as it can introduce mismatch between buffer size and the bound information}} in warnVarInit() 54 const auto &S9 = std::span<int>{p, 10}; // expected-warning{{the two in warnVarInit() [all...] |
H A D | init-priority-attr.cpp | 10 class Two { class 15 Two( int ii, int jj ) { i = ii; j = jj; k = count++; }; in Two() function in Two 16 Two( void ) { i = 0; j = 0; k = count++; }; in Two() function in Two 22 extern Two foo; 23 extern Two goo; 24 extern Two coo[]; 25 extern Two koo[]; 27 Two foo __attribute__((init_priority(101))) ( 5, 6 ); 31 Two goo __attribute__((init_priority(2,3))) ( 5, 6 ); // expected-error {{'init_priority' attribute… 34 Two coo[2] __attribute__((init_priority(100))); [all …]
|
/llvm-project/clang-tools-extra/unittests/clang-doc/ |
H A D | MergeTest.cpp | 32 NamespaceInfo Two; in TEST() local 33 Two.Name = "Namespace"; in TEST() 34 Two.Namespace.emplace_back(EmptySID, "A", InfoType::IT_namespace); in TEST() 36 Two.Children.Namespaces.emplace_back(EmptySID, "OtherChildNamespace", in TEST() 38 Two.Children.Records.emplace_back(EmptySID, "OtherChildStruct", in TEST() 40 Two.Children.Functions.emplace_back(); in TEST() 41 Two.Children.Functions.back().Name = "TwoFunction"; in TEST() 42 Two.Children.Enums.emplace_back(); in TEST() 43 Two.Children.Enums.back().Name = "TwoEnum"; in TEST() 47 Infos.emplace_back(std::make_unique<NamespaceInfo>(std::move(Two))); in TEST() [all …]
|
/llvm-project/llvm/test/tools/dsymutil/ |
H A D | basic-linking.test | 6 …pend-path=%p -D %p/Inputs %p/Inputs/two-level-relink.macho.arm64.dylib | FileCheck %s --check-pref… 247 ================================= Two level relink ================================ 248 CHECK-RELINK-TWO: DEBUG MAP OBJECT: {{.*}}proxy-relink.dylib 249 CHECK-RELINK-TWO: Input compilation unit: 250 CHECK-RELINK-TWO-NEXT: TAG_compile_unit 251 CHECK-RELINK-TWO-NOT: TAG 252 CHECK-RELINK-TWO: AT_name {{.*}}two-level-relink.macho.arm64.c 254 CHECK-RELINK-TWO: Input compilation unit: 255 CHECK-RELINK-TWO-NEXT: TAG_compile_unit 256 CHECK-RELINK-TWO-NOT: TAG [all …]
|
/llvm-project/lldb/test/API/functionalities/limit-debug-info/ |
H A D | onetwo.h | 7 struct Two : One { struct 8 int two = 242; member 9 constexpr Two() = default; argument 10 ~Two() override; 20 struct Two { struct 23 constexpr Two() = default; argument 24 virtual ~Two(); 35 struct Two { struct 38 constexpr Two() = default; argument 39 virtual ~Two(); [all …]
|
H A D | two.cpp | 3 Two::~Two() = default; 4 member::Two::~Two() = default; 5 array::Two::~Two() = default; 7 result::Two::Two(int member) : member(member) {} in Two() function in result::Two 8 result::Two::~Two() = default; 9 result::One result::Two::one() const { return One(member - 100); } in one()
|
H A D | TestLimitDebugInfo.py | 68 "(TwoAsMember) ::two_as_member = (two = <incomplete type>, member = 47)" 80 "(InheritsFromTwo) ::inherits_from_two = (Two = <incomplete type>, member = 47)" 92 "(TwoAsMember) ::two_as_member = (two = <incomplete type>, member = 47)" 104 …"(array::Two[3]) ::array_of_two = ([0] = <incomplete type>, [1] = <incomplete type>, [2] = <incomp… 130 " (Two) Two = <incomplete type> {}", 148 " (member::Two) two = <incomplete type> {}", 166 "(array::Two[3]) ::array_of_two = {", 167 " (array::Two) [0] = <incomplete type> {}", 168 " (array::Two) [1] = <incomplete type> {}", 169 " (array::Two) [2] = <incomplete type> {}", [all …]
|
/llvm-project/llvm/test/CodeGen/AArch64/GlobalISel/ |
H A D | combine-and-or-disjoint-mask.mir | 18 ; CHECK-NEXT: %two:_(s32) = G_CONSTANT i32 2 19 ; CHECK-NEXT: %and:_(s32) = G_AND %x, %two 24 %two:_(s32) = G_CONSTANT i32 2 26 %and:_(s32) = G_AND %or, %two 41 ; CHECK-NEXT: %two:_(s32) = G_CONSTANT i32 2 42 ; CHECK-NEXT: %and:_(s32) = G_AND %x, %two 47 %two:_(s32) = G_CONSTANT i32 2 49 %and:_(s32) = G_AND %two, %or 65 ; CHECK-NEXT: %two:_(s32) = G_CONSTANT i32 2 67 ; CHECK-NEXT: %and:_(s32) = G_AND %or, %two [all …]
|
/llvm-project/clang/test/SemaObjC/ |
H A D | objc-cstyle-args-in-methods.m | 4 - (id)test:(id)one, id two; 5 - (id)bad:(id)one, id two, double three; 9 - (id)test:(id )one, id two {return two; } 10 - (id)bad:(id)one, id two, double three { return two; } 16 [foo test:@"One", @"Two"]; 17 [foo bad:@"One", @"Two"]; // expected-error {{too few arguments to method call}} 18 [foo bad:@"One", @"Two", 3.14]; 19 [foo bad:@"One", @"Two", 3.14, @"Two"]; // expected-error {{too many arguments to method call}}
|
/llvm-project/llvm/test/tools/llvm-debuginfo-analyzer/WebAssembly/ |
H A D | 01-wasm-compare-logical-elements.test | 58 ; RUN: FileCheck --strict-whitespace -check-prefix=TWO %s 60 ; TWO: Reference: '{{.*}}test-clang.o' 61 ; TWO-NEXT: Target: 'test-dwarf-gcc.o' 62 ; TWO-EMPTY: 63 ; TWO-NEXT: (1) Missing Types: 64 ; TWO-NEXT: -[003] 4 {TypeAlias} 'INTEGER' -> 'int' 65 ; TWO-EMPTY: 66 ; TWO-NEXT: (1) Added Types: 67 ; TWO-NEXT: +[004] 4 {TypeAlias} 'INTEGER' -> 'int' 68 ; TWO-EMPTY: [all …]
|
H A D | 05-wasm-incorrect-lexical-scope-variable.test | 96 ; RUN: FileCheck --strict-whitespace -check-prefix=TWO %s 98 ; TWO: Logical View: 99 ; TWO-NEXT: [000] {File} '{{.*}}pr-43860-clang.o' -> WASM 100 ; TWO-EMPTY: 101 ; TWO-NEXT: [001] {CompileUnit} 'pr-43860.cpp' 102 ; TWO-NEXT: [004] {Variable} 'Var_1' -> 'int' 103 ; TWO-NEXT: [003] 3 {Variable} 'Var_1' -> 'int' 104 ; TWO-NEXT: [005] {Variable} 'Var_2' -> 'int' 105 ; TWO-NEXT: [004] 5 {Variable} 'Var_2' -> 'int' 106 ; TWO-EMPTY: [all …]
|
/llvm-project/llvm/test/tools/llvm-debuginfo-analyzer/COFF/ |
H A D | 01-coff-compare-logical-elements.test | 55 ; RUN: FileCheck --strict-whitespace -check-prefix=TWO %s 57 ; TWO: Reference: 'test-codeview-clang.o' 58 ; TWO-NEXT: Target: 'test-codeview-msvc.o' 59 ; TWO-EMPTY: 60 ; TWO-NEXT: (1) Missing Types: 61 ; TWO-NEXT: -[003] {TypeAlias} 'INTEGER' -> 'int' 62 ; TWO-EMPTY: 63 ; TWO-NEXT: (1) Added Types: 64 ; TWO-NEXT: +[004] {TypeAlias} 'INTEGER' -> 'int' 65 ; TWO-EMPTY: [all …]
|
H A D | 04-coff-missing-nested-enumerators.test | 71 ; RUN: FileCheck --strict-whitespace -check-prefix=TWO %s 73 ; TWO: Logical View: 74 ; TWO-NEXT: [000] {File} 'pr-46466-codeview-clang.o' -> COFF-x86-64 75 ; TWO-EMPTY: 76 ; TWO-NEXT: [001] {CompileUnit} 'pr-46466.cpp' 77 ; TWO-NEXT: [002] 1 {Struct} 'Struct' 78 ; TWO-NEXT: [003] 2 {Union} 'Union' 79 ; TWO-NEXT: [004] 3 {Enumeration} 'NestedEnum' -> 'int' 80 ; TWO-NEXT: [005] {Enumerator} 'BLUE' = '0x1' 81 ; TWO-NEXT: [005] {Enumerator} 'RED' = '0x0' [all …]
|
/llvm-project/polly/test/ScheduleOptimizer/ |
H A D | rectangular-tiling.ll | 4 …olly-opt-isl,print<polly-ast>' -disable-output < %s | FileCheck %s --check-prefix=TWO-PLUS-REGISTER 32 ; TWO-PLUS-REGISTER: // 1st level tiling - Tiles 33 ; TWO-PLUS-REGISTER: for (int c0 = 0; c0 <= 3; c0 += 1) 34 ; TWO-PLUS-REGISTER: for (int c1 = 0; c1 <= 31; c1 += 1) 35 ; TWO-PLUS-REGISTER: // 1st level tiling - Points 36 ; TWO-PLUS-REGISTER: // 2nd level tiling - Tiles 37 ; TWO-PLUS-REGISTER: for (int c2 = 0; c2 <= 15; c2 += 1) 38 ; TWO-PLUS-REGISTER: for (int c3 = 0; c3 <= 1; c3 += 1) 39 ; TWO-PLUS-REGISTER: // 2nd level tiling - Points 40 ; TWO-PLUS-REGISTER: // Register tiling - Tiles [all …]
|
/llvm-project/libcxxabi/test/ |
H A D | test_vector1.pass.cpp | 79 void *one, *two, *three; in test_empty() local 83 two = __cxxabiv1::__cxa_vec_new2( 10, 40, 0, NULL, NULL, my_alloc2, my_dealloc2 ); in test_empty() 87 __cxxabiv1::__cxa_vec_delete2( two, 40, 0, NULL, my_dealloc2 ); in test_empty() 92 …two = __cxxabiv1::__cxa_vec_new2( 10, 40, 0, my_construct, my_destruct, my_alloc2, my_dealloc2… in test_empty() 96 __cxxabiv1::__cxa_vec_delete2( two, 40, 0, my_destruct, my_dealloc2 ); in test_empty() 101 two = __cxxabiv1::__cxa_vec_new2( 10, 40, 8, NULL, NULL, my_alloc2, my_dealloc2 ); in test_empty() 105 __cxxabiv1::__cxa_vec_delete2( two, 40, 8, NULL, my_dealloc2 ); in test_empty() 110 …two = __cxxabiv1::__cxa_vec_new2( 10, 40, 8, my_construct, my_destruct, my_alloc2, my_dealloc2… in test_empty() 114 __cxxabiv1::__cxa_vec_delete2( two, 40, 8, my_destruct, my_dealloc2 ); in test_empty() 123 void *one, *two, *three; in test_counted() local [all …]
|