/llvm-project/llvm/tools/llvm-xray/ |
H A D | xray-color-helper.cpp | 26 std::make_tuple(255, 255, 255), std::make_tuple(240, 240, 240), 27 std::make_tuple(217, 217, 217), std::make_tuple(189, 189, 189), 28 std::make_tuple(150, 150, 150), std::make_tuple(115, 115, 115), 29 std::make_tuple(82, 82, 82), std::make_tuple(37, 37, 37), 30 std::make_tuple(0, 0, 0)}, 32 std::make_tuple(255, 247, 236), std::make_tuple(254, 232, 200), 33 std::make_tuple(253, 212, 158), std::make_tuple(253, 187, 132), 34 std::make_tuple(252, 141, 89), std::make_tuple(239, 101, 72), 35 std::make_tuple(215, 48, 31), std::make_tuple(179, 0, 0), 36 std::make_tuple(127, 0, 0)}, [all …]
|
/llvm-project/clang/unittests/AST/ |
H A D | ASTImporterVisibilityTest.cpp | 406 std::make_tuple(ExternF, ExternF, ExpectLinkedDeclChain), 407 std::make_tuple(ExternF, StaticF, ExpectUnlinkedDeclChain), 408 std::make_tuple(ExternF, AnonF, ExpectUnlinkedDeclChain), 409 std::make_tuple(StaticF, ExternF, ExpectUnlinkedDeclChain), 410 std::make_tuple(StaticF, StaticF, ExpectUnlinkedDeclChain), 411 std::make_tuple(StaticF, AnonF, ExpectUnlinkedDeclChain), 412 std::make_tuple(AnonF, ExternF, ExpectUnlinkedDeclChain), 413 std::make_tuple(AnonF, StaticF, ExpectUnlinkedDeclChain), 414 std::make_tuple(AnonF, AnonF, ExpectUnlinkedDeclChain))) ); 420 std::make_tuple(ExternV, ExternV, ExpectLinkedDeclChain), [all …]
|
/llvm-project/lldb/unittests/Process/Utility/ |
H A D | LinuxProcMapsTest.cpp | 69 std::make_tuple("", MemoryRegionInfos{}, ""), 71 std::make_tuple("55a4512f7000/55a451b68000 rw-p 00000000 00:00 0", 75 std::make_tuple("0-0 rw", MemoryRegionInfos{}, 78 std::make_tuple("0-0 z--p 00000000 00:00 0", MemoryRegionInfos{}, 80 std::make_tuple("0-0 rz-p 00000000 00:00 0", MemoryRegionInfos{}, 82 std::make_tuple("0-0 rwzp 00000000 00:00 0", MemoryRegionInfos{}, 85 std::make_tuple( 100 std::make_tuple( 113 std::make_tuple( 149 std::make_tuple("", MemoryRegionInfo [all...] |
/llvm-project/third-party/benchmark/test/ |
H A D | string_util_gtest.cc | 170 std::make_tuple(0.0, benchmark::Counter::kIs1024, "0"), 171 std::make_tuple(999.0, benchmark::Counter::kIs1024, "999"), 172 std::make_tuple(1000.0, benchmark::Counter::kIs1024, "1000"), 173 std::make_tuple(1024.0, benchmark::Counter::kIs1024, "1Ki"), 174 std::make_tuple(1000 * 1000.0, benchmark::Counter::kIs1024, 176 std::make_tuple(1024 * 1024.0, benchmark::Counter::kIs1024, "1Mi"), 177 std::make_tuple(1000 * 1000 * 1000.0, benchmark::Counter::kIs1024, 179 std::make_tuple(1024 * 1024 * 1024.0, benchmark::Counter::kIs1024, 181 std::make_tuple(0.0, benchmark::Counter::kIs1000, "0"), 182 std::make_tuple(999.0, benchmark::Counter::kIs1000, "999"), [all …]
|
/llvm-project/libcxx/test/std/utilities/format/format.tuple/ |
H A D | format.functions.format.verify.cpp | 24 TEST_IGNORE_NODISCARD std::format("{::}", std::make_tuple(0)); // expected-error-re{{call to consteval function '{{.*}}' is not a constant expression}} in f() 27 TEST_IGNORE_NODISCARD std::format("{::^}", std::make_tuple(0)); // expected-error-re{{call to consteval function '{{.*}}' is not a constant expression}} in f() 33 TEST_IGNORE_NODISCARD std::format("{:m}", std::make_tuple(0)); // expected-error-re{{call to consteval function '{{.*}}' is not a constant expression}} in f() 36 TEST_IGNORE_NODISCARD std::format("{:m}", std::make_tuple(0, 0, 0)); // expected-error-re{{call to consteval function '{{.*}}' is not a constant expression}} in f() 39 TEST_IGNORE_NODISCARD std::format(L"{::}", std::make_tuple(0)); // expected-error-re{{call to consteval function '{{.*}}' is not a constant expression}} in f() 42 TEST_IGNORE_NODISCARD std::format(L"{::^}", std::make_tuple(0)); // expected-error-re{{call to consteval function '{{.*}}' is not a constant expression}} in f() 48 TEST_IGNORE_NODISCARD std::format(L"{:m}", std::make_tuple(0)); // expected-error-re{{call to consteval function '{{.*}}' is not a constant expression}} in f() 51 TEST_IGNORE_NODISCARD std::format(L"{:m}", std::make_tuple(0, 0, 0)); // expected-error-re{{call to consteval function '{{.*}}' is not a constant expression}} in f()
|
H A D | format.functions.tests.h | 170 auto input = std::make_tuple(42); 220 const auto input = std::make_tuple(42, SV("hello"), color::red); 270 test_tuple_or_pair_int_int<CharT>(check, check_exception, std::make_tuple(42, 99)); 275 test_tuple_or_pair_int_string<CharT>(check, check_exception, std::make_tuple(42, SV("hello"))); 276 test_tuple_or_pair_int_string<CharT>(check, check_exception, std::make_tuple(42, STR("hello"))); 277 test_tuple_or_pair_int_string<CharT>(check, check_exception, std::make_tuple(42, CSTR("hello"))); 353 test_nested<CharT>(check, check_exception, std::make_pair(42, std::make_tuple(SV("hello"), color::red))); 354 test_nested<CharT>(check, check_exception, std::make_tuple(42, std::make_pair(SV("hello"), color::red))); 355 test_nested<CharT>(check, check_exception, std::make_tuple(42, std::make_tuple(S [all...] |
/llvm-project/libcxx/test/std/utilities/intseq/intseq.general/ |
H A D | integer_seq.pass.cpp | 23 -> decltype ( std::make_tuple ( std::get<I>(t)... )) in extract() 24 { return std::make_tuple ( std::get<I>(t)... ); } in extract() 55 auto tup = std::make_tuple ( 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20 ); in main() 60 assert ( t3 == std::make_tuple ( 10, 11, 12 )); in main() 64 assert ( t7 == std::make_tuple ( 10, 11, 12, 13, 14, 15, 16 )); in main() 68 assert ( t4 == std::make_tuple ( 10, 11, 12, 13 )); in main() 72 assert ( t2 == std::make_tuple ( 10, 11 )); in main() 76 assert ( tintmix == std::make_tuple ( 19, 18, 17, 12 )); in main() 80 assert ( tsizemix == std::make_tuple ( 11, 11, 12, 13, 15 )); in main()
|
/llvm-project/mlir/test/Conversion/OneToNTypeConversion/ |
H A D | one-to-n-type-conversion.mlir | 20 %0 = "test.make_tuple"() : () -> tuple<> 21 %1 = "test.make_tuple"(%arg1) : (i2) -> tuple<i2> 22 %2 = "test.make_tuple"(%1) : (tuple<i2>) -> tuple<tuple<i2>> 23 …%3 = "test.make_tuple"(%0, %arg0, %2) : (tuple<>, i1, tuple<tuple<i2>>) -> tuple<tuple<>, i1, tupl… 63 // CHECK-FUNC-DAG: %[[V0:.*]] = "test.make_tuple"() : () -> tuple<> 64 // CHECK-FUNC-DAG: %[[V1:.*]] = "test.make_tuple"(%[[ARG1]]) : (i2) -> tuple<i2> 65 // CHECK-FUNC-DAG: %[[V2:.*]] = "test.make_tuple"(%[[V1]]) : (tuple<i2>) -> tuple<tuple<i2>> 66 // CHECK-FUNC-DAG: %[[V3:.*]] = "test.make_tuple"(%[[V0]], %[[ARG0]], %[[V2]]) : (tuple<>, i1, … 94 // If we only convert the tuple ops, the original `make_tuple` ops will 96 // conversion (which, for `make_tuple`, are the original ops that get forwarded) [all …]
|
/llvm-project/clang-tools-extra/clang-tidy/abseil/ |
H A D | DurationFactoryScaleCheck.cpp | 54 return std::make_tuple(DurationScale::Minutes, Multiplier * 60.0); in getNewScaleSingleStep() 59 return std::make_tuple(DurationScale::Hours, Multiplier / 60.0); in getNewScaleSingleStep() 61 return std::make_tuple(DurationScale::Seconds, Multiplier * 60.0); in getNewScaleSingleStep() 66 return std::make_tuple(DurationScale::Minutes, Multiplier / 60.0); in getNewScaleSingleStep() 68 return std::make_tuple(DurationScale::Milliseconds, Multiplier * 1e3); in getNewScaleSingleStep() 73 return std::make_tuple(DurationScale::Seconds, Multiplier / 1e3); in getNewScaleSingleStep() 75 return std::make_tuple(DurationScale::Microseconds, Multiplier * 1e3); in getNewScaleSingleStep() 80 return std::make_tuple(DurationScale::Milliseconds, Multiplier / 1e3); in getNewScaleSingleStep() 82 return std::make_tuple(DurationScale::Nanoseconds, Multiplier * 1e-3); in getNewScaleSingleStep() 87 return std::make_tuple(DurationScale::Microseconds, Multiplier / 1e3); in getNewScaleSingleStep()
|
/llvm-project/llvm/unittests/DebugInfo/DWARF/ |
H A D | DWARFDataExtractorTest.cpp | 79 return std::make_tuple(Length, Format, C.tell()); in TEST() 92 return std::make_tuple(Length, Format, Offset); in TEST() 94 auto ErrorResult = std::make_tuple(0, dwarf::DWARF32, 0); in TEST() 112 HasValue(std::make_tuple(0x00010203, dwarf::DWARF32, 4))); in TEST() 114 std::make_tuple(0x00010203, dwarf::DWARF32, 4)); in TEST() 120 HasValue(std::make_tuple(0x00000000, dwarf::DWARF32, 4))); in TEST() 122 std::make_tuple(0x00000000, dwarf::DWARF32, 4)); in TEST() 149 HasValue(std::make_tuple(0x0001020304050607, dwarf::DWARF64, 12))); in TEST() 152 std::make_tuple(0x0001020304050607, dwarf::DWARF64, 12)); in TEST()
|
H A D | DWARFDebugLineTest.cpp | 1258 Values(std::make_tuple(0, true), // Test zero value (error). 1259 std::make_tuple(14, false))); // Test non-zero value (no error). 1293 Values(std::make_tuple(0, true), // Test zero value (error). 1294 std::make_tuple(1, false))); // Test non-zero value (no error). 1702 std::make_tuple( 1706 std::make_tuple( 1710 std::make_tuple( 1715 std::make_tuple( 1720 std::make_tuple( 1725 std::make_tuple( [all...] |
/llvm-project/libcxx/test/std/utilities/function.objects/func.bind.partial/ |
H A D | bind_back.pass.cpp | 30 assert(f() == std::make_tuple()); in test_basic_bindings() 34 assert(f() == std::make_tuple(Elem<1>{})); in test_basic_bindings() 38 assert(f() == std::make_tuple(Elem<1>{}, Elem<2>{})); in test_basic_bindings() 42 assert(f() == std::make_tuple(Elem<1>{}, Elem<2>{}, Elem<3>{})); in test_basic_bindings() 49 assert(f(Elem<1>{}) == std::make_tuple(Elem<1>{})); in test_basic_bindings() 53 assert(f(Elem<1>{}, Elem<2>{}) == std::make_tuple(Elem<1>{}, Elem<2>{})); in test_basic_bindings() 57 … assert(f(Elem<1>{}, Elem<2>{}, Elem<3>{}) == std::make_tuple(Elem<1>{}, Elem<2>{}, Elem<3>{})); in test_basic_bindings() 64 assert(f(Elem<10>{}) == std::make_tuple(Elem<10>{}, Elem<1>{})); in test_basic_bindings() 68 assert(f(Elem<10>{}) == std::make_tuple(Elem<10>{}, Elem<1>{}, Elem<2>{})); in test_basic_bindings() 72 assert(f(Elem<10>{}) == std::make_tuple(Elem<10>{}, Elem<1>{}, Elem<2>{}, Elem<3>{})); in test_basic_bindings() [all …]
|
/llvm-project/libcxx/test/libcxx/utilities/function.objects/func.bind.partial/ |
H A D | bind_back.pass.cpp | 69 return std::make_tuple(std::forward<Args>(args)...); in operator ()() 85 assert(f() == std::make_tuple()); in test() 89 assert(f() == std::make_tuple(Elem<1>{})); in test() 93 assert(f() == std::make_tuple(Elem<1>{}, Elem<2>{})); in test() 97 assert(f() == std::make_tuple(Elem<1>{}, Elem<2>{}, Elem<3>{})); in test() 105 assert(f(Elem<1>{}) == std::make_tuple(Elem<1>{})); in test() 109 assert(f(Elem<1>{}, Elem<2>{}) == std::make_tuple(Elem<1>{}, Elem<2>{})); in test() 113 … assert(f(Elem<1>{}, Elem<2>{}, Elem<3>{}) == std::make_tuple(Elem<1>{}, Elem<2>{}, Elem<3>{})); in test() 121 assert(f(Elem<10>{}) == std::make_tuple(Elem<10>{}, Elem<1>{})); in test() 125 assert(f(Elem<10>{}) == std::make_tuple(Elem<10>{}, Elem<1>{}, Elem<2>{})); in test() [all …]
|
/llvm-project/libcxx/test/std/utilities/function.objects/func.bind_front/ |
H A D | bind_front.pass.cpp | 67 return std::make_tuple(std::forward<Args>(args)...); in operator ()() 83 assert(f() == std::make_tuple()); in test() 87 assert(f() == std::make_tuple(Elem<1>{})); in test() 91 assert(f() == std::make_tuple(Elem<1>{}, Elem<2>{})); in test() 95 assert(f() == std::make_tuple(Elem<1>{}, Elem<2>{}, Elem<3>{})); in test() 103 assert(f(Elem<1>{}) == std::make_tuple(Elem<1>{})); in test() 107 assert(f(Elem<1>{}, Elem<2>{}) == std::make_tuple(Elem<1>{}, Elem<2>{})); in test() 111 … assert(f(Elem<1>{}, Elem<2>{}, Elem<3>{}) == std::make_tuple(Elem<1>{}, Elem<2>{}, Elem<3>{})); in test() 119 assert(f(Elem<10>{}) == std::make_tuple(Elem<1>{}, Elem<10>{})); in test() 123 assert(f(Elem<10>{}) == std::make_tuple(Elem<1>{}, Elem<2>{}, Elem<10>{})); in test() [all …]
|
/llvm-project/libcxx/test/std/utilities/tuple/tuple.tuple/tuple.creation/ |
H A D | tuple_cat.pass.cpp | 280 std::make_tuple(std::make_tuple(1)), 281 std::make_tuple() 283 assert(t1 == std::make_tuple(std::make_tuple(1))); 286 std::make_tuple(std::make_tuple(1)), 287 std::make_tuple(std::make_tuple(2)) 289 assert(t2 == std::make_tuple(st [all...] |
/llvm-project/flang/unittests/Runtime/ |
H A D | CharacterTest.cpp | 170 std::make_tuple("abc", "abc", 3, 3, 0), 171 std::make_tuple("abc", "def", 3, 3, -1), 172 std::make_tuple("ab ", "abc", 3, 2, 0), 173 std::make_tuple("abc", "abc", 2, 3, -1), 174 std::make_tuple("ab\xff", "ab ", 3, 2, 1), 175 std::make_tuple("ab ", "ab\xff", 2, 3, -1), 178 std::make_tuple(u"abc", u"abc", 3, 3, 0), 179 std::make_tuple(u"abc", u"def", 3, 3, -1), 180 std::make_tuple(u"ab ", u"abc", 3, 2, 0), 181 std::make_tuple( [all...] |
H A D | ListInputTest.cpp | 189 testing::Values(std::make_tuple("", std::vector<int>{}), 190 std::make_tuple("0", std::vector<int>{}), 191 std::make_tuple("1", std::vector<int>{1}), 192 std::make_tuple("1, 2", std::vector<int>{1, 2}), 193 std::make_tuple("3*2", std::vector<int>{2, 2, 2})));
|
/llvm-project/llvm/include/llvm/Remarks/ |
H A D | Remark.h | 172 return std::make_tuple(LHS.SourceFilePath, LHS.SourceLine, LHS.SourceColumn) < 173 std::make_tuple(RHS.SourceFilePath, RHS.SourceLine, RHS.SourceColumn); 185 return std::make_tuple(LHS.Key, LHS.Val, LHS.Loc) < 186 std::make_tuple(RHS.Key, RHS.Val, RHS.Loc); 201 return std::make_tuple(LHS.RemarkType, LHS.PassName, LHS.RemarkName, 203 std::make_tuple(RHS.RemarkType, RHS.PassName, RHS.RemarkName,
|
/llvm-project/libcxx/test/std/utilities/tuple/tuple.tuple/tuple.elem/ |
H A D | get_non_const.pass.cpp | 75 static_assert ( std::get<0> ( std::make_tuple ( 0.0f, 1, 2.0, 3L )) == 0, "" ); in main() 76 static_assert ( std::get<1> ( std::make_tuple ( 0.0f, 1, 2.0, 3L )) == 1, "" ); in main() 77 static_assert ( std::get<2> ( std::make_tuple ( 0.0f, 1, 2.0, 3L )) == 2, "" ); in main() 78 static_assert ( std::get<3> ( std::make_tuple ( 0.0f, 1, 2.0, 3L )) == 3, "" ); in main()
|
/llvm-project/clang-tools-extra/clangd/index/ |
H A D | SymbolLocation.h | 69 return std::make_tuple(L.line(), L.column()) == 70 std::make_tuple(R.line(), R.column()); 74 return std::make_tuple(L.line(), L.column()) < 75 std::make_tuple(R.line(), R.column());
|
/llvm-project/mlir/test/Transforms/ |
H A D | decompose-call-graph-types.mlir | 135 // CHECK: %[[V0:.*]] = "test.make_tuple"(%[[ARG1]]) : (i32) -> tuple<i32> 136 // CHECK: %[[V1:.*]] = "test.make_tuple"(%[[ARG0]], %[[V0]]) : (i1, tuple<i32>) -> tuple<i1, tuple<i32>> 145 // CHECK-12N: %[[V0:.*]] = "test.make_tuple"(%[[ARG1]]) : (i32) -> tuple<i32> 146 // CHECK-12N: %[[V1:.*]] = "test.make_tuple"(%[[ARG0]], %[[V0]]) : (i1, tuple<i32>) -> tuple<i1, tuple<i32>>
|
/llvm-project/mlir/include/mlir/Debug/BreakpointManagers/ |
H A D | FileLineColLocBreakpointManager.h | 88 auto &breakpoint = breakpoints[std::make_tuple(file, line, col)]; 104 auto lookup = breakpoints.find(std::make_tuple(file, line, col)); in matchFromLocation() 111 lookup = breakpoints.find(std::make_tuple(file, line, -1)); in matchFromLocation() 118 lookup = breakpoints.find(std::make_tuple(file, -1, -1)); in matchFromLocation()
|
/llvm-project/llvm/lib/Target/SPIRV/ |
H A D | SPIRVDuplicatesTracker.h | 101 return std::make_tuple( 113 return std::make_tuple( in make_descr_sampled_image() 124 return std::make_tuple(nullptr, 0U, SpecialTypeKind::STK_Sampler); 128 return std::make_tuple(nullptr, AQ, SpecialTypeKind::STK_Pipe); 132 return std::make_tuple(nullptr, 0U, SpecialTypeKind::STK_DeviceEvent); in make_descr_pointee() 137 return std::make_tuple(ElementType, AddressSpace,
|
/llvm-project/libcxx/test/std/utilities/tuple/tuple.tuple/tuple.cnstr/ |
H A D | PR20855_tuple_ref_binding_diagnostics.pass.cpp | 66 F<int, int const&>(std::make_tuple(42, 42)); in compile_tests() 69 F<int, int const&>(std::make_tuple<const int&, const int&>(42, 42)); in compile_tests() 70 std::tuple<int, int const&> t(std::make_tuple<const int&, const int&>(42, 42)); in compile_tests() 75 fn(std::make_tuple(42, std::string("a"))); in compile_tests()
|
/llvm-project/llvm/unittests/ADT/ |
H A D | IteratorTest.cpp | 604 make_tuple(3, StringRef("2")), make_tuple(1, StringRef("7")), in TEST() 605 make_tuple(4, StringRef("1")), make_tuple(1, StringRef("8")), in TEST() 606 make_tuple(5, std::nullopt), make_tuple(9, std::nullopt)}; in TEST() 618 make_tuple(StringRef("2"), 3), make_tuple(StringRef("7"), 1), in TEST() 619 make_tuple(StringRef("1"), 4), make_tuple(StringRef("8"), 1), in TEST() 620 make_tuple(std::nullopt, 5), make_tuple(std::nullopt, 9)}; in TEST()
|