Home
last modified time | relevance | path

Searched refs:tup (Results 1 – 23 of 23) sorted by relevance

/llvm-project-15.0.7/libcxx/test/std/utilities/tuple/tuple.tuple/tuple.apply/
H A Dmake_from_tuple.pass.cpp61 return std::make_from_tuple<Tp>(std::forward<Tuple>(tup)).args == tup; in do_constexpr_test()
75 return value.args == tup in do_forwarding_test()
109 Tup tup; in test_perfect_forwarding() local
110 Tup const& ctup = tup; in test_perfect_forwarding()
116 Tup tup(42); in test_perfect_forwarding() local
170 Tuple tup; ((void)tup); in test_noexcept() local
177 Tuple tup; ((void)tup); in test_noexcept() local
184 Tuple tup; ((void)tup); in test_noexcept() local
189 Tuple tup; ((void)tup); in test_noexcept() local
194 Tuple tup; ((void)tup); in test_noexcept() local
[all …]
/llvm-project-15.0.7/libcxx/test/std/utilities/utility/utility.intcmp/intcmp.cmp_greater/
H A Dcmp_greater.pass.cpp37 constexpr Tuple<T> tup; in test_cmp_greater1() local
40 assert(!std::cmp_greater(tup.min, tup.max)); in test_cmp_greater1()
41 assert(!std::cmp_greater(tup.min, tup.mid)); in test_cmp_greater1()
42 assert(!std::cmp_greater(tup.mid, tup.max)); in test_cmp_greater1()
45 assert(std::cmp_greater(tup.max, tup.min)); in test_cmp_greater1()
46 assert(std::cmp_greater(tup.mid, tup.min)); in test_cmp_greater1()
47 assert(!std::cmp_greater(tup.mid, tup.mid)); in test_cmp_greater1()
48 assert(!std::cmp_greater(tup.min, tup.min)); in test_cmp_greater1()
49 assert(!std::cmp_greater(tup.max, tup.max)); in test_cmp_greater1()
50 assert(std::cmp_greater(tup.max, 1)); in test_cmp_greater1()
[all …]
/llvm-project-15.0.7/libcxx/test/std/utilities/utility/utility.intcmp/intcmp.cmp_less/
H A Dcmp_less.pass.cpp38 constexpr Tuple<T> tup; in test_cmp_less1() local
41 assert(std::cmp_less(tup.min, tup.max)); in test_cmp_less1()
42 assert(std::cmp_less(tup.min, tup.mid)); in test_cmp_less1()
43 assert(std::cmp_less(tup.mid, tup.max)); in test_cmp_less1()
46 assert(!std::cmp_less(tup.max, tup.min)); in test_cmp_less1()
47 assert(!std::cmp_less(tup.mid, tup.min)); in test_cmp_less1()
48 assert(!std::cmp_less(tup.mid, tup.mid)); in test_cmp_less1()
49 assert(!std::cmp_less(tup.min, tup.min)); in test_cmp_less1()
50 assert(!std::cmp_less(tup.max, tup.max)); in test_cmp_less1()
51 assert(!std::cmp_less(tup.max, 1)); in test_cmp_less1()
[all …]
/llvm-project-15.0.7/libcxx/test/std/utilities/utility/utility.intcmp/intcmp.cmp_less_equal/
H A Dcmp_less_equal.pass.cpp37 constexpr Tuple<T> tup; in test_cmp_less_equal1() local
40 assert(std::cmp_less_equal(tup.min, tup.max)); in test_cmp_less_equal1()
41 assert(std::cmp_less_equal(tup.min, tup.mid)); in test_cmp_less_equal1()
42 assert(std::cmp_less_equal(tup.mid, tup.max)); in test_cmp_less_equal1()
43 assert(std::cmp_less_equal(tup.max, tup.max)); in test_cmp_less_equal1()
44 assert(std::cmp_less_equal(tup.mid, tup.mid)); in test_cmp_less_equal1()
45 assert(std::cmp_less_equal(tup.min, tup.min)); in test_cmp_less_equal1()
48 assert(!std::cmp_less_equal(tup.max, tup.min)); in test_cmp_less_equal1()
49 assert(!std::cmp_less_equal(tup.mid, tup.min)); in test_cmp_less_equal1()
50 assert(!std::cmp_less_equal(tup.max, 1)); in test_cmp_less_equal1()
[all …]
/llvm-project-15.0.7/libcxx/test/std/utilities/utility/utility.intcmp/intcmp.cmp_greater_equal/
H A Dcmp_greater_equal.pass.cpp37 constexpr Tuple<T> tup; in test_cmp_greater_equal1() local
40 assert(!std::cmp_greater_equal(tup.min, tup.max)); in test_cmp_greater_equal1()
41 assert(!std::cmp_greater_equal(tup.min, tup.mid)); in test_cmp_greater_equal1()
42 assert(!std::cmp_greater_equal(tup.mid, tup.max)); in test_cmp_greater_equal1()
45 assert(std::cmp_greater_equal(tup.max, tup.min)); in test_cmp_greater_equal1()
46 assert(std::cmp_greater_equal(tup.mid, tup.min)); in test_cmp_greater_equal1()
47 assert(std::cmp_greater_equal(tup.mid, tup.mid)); in test_cmp_greater_equal1()
48 assert(std::cmp_greater_equal(tup.min, tup.min)); in test_cmp_greater_equal1()
49 assert(std::cmp_greater_equal(tup.max, tup.max)); in test_cmp_greater_equal1()
50 assert(std::cmp_greater_equal(tup.max, 1)); in test_cmp_greater_equal1()
[all …]
/llvm-project-15.0.7/libcxx/test/std/utilities/utility/utility.intcmp/intcmp.cmp_equal/
H A Dcmp_equal.pass.cpp38 constexpr Tuple<T> tup; in test_cmp_equal1() local
41 assert(std::cmp_equal(tup.min, tup.min)); in test_cmp_equal1()
42 assert(std::cmp_equal(tup.max, tup.max)); in test_cmp_equal1()
47 assert(!std::cmp_equal(tup.min, tup.max)); in test_cmp_equal1()
48 assert(!std::cmp_equal(tup.max, tup.min)); in test_cmp_equal1()
49 assert(!std::cmp_equal(1, tup.max)); in test_cmp_equal1()
50 assert(!std::cmp_equal(tup.max, 1)); in test_cmp_equal1()
51 assert(!std::cmp_equal(1, tup.min)); in test_cmp_equal1()
52 assert(!std::cmp_equal(tup.min, 1)); in test_cmp_equal1()
54 assert(!std::cmp_equal(-2, tup.min)); in test_cmp_equal1()
[all …]
/llvm-project-15.0.7/libcxx/test/std/utilities/utility/utility.intcmp/intcmp.cmp_not_equal/
H A Dcmp_not_equal.pass.cpp38 constexpr Tuple<T> tup; in test_cmp_not_equal1() local
41 assert(!std::cmp_not_equal(tup.min, tup.min)); in test_cmp_not_equal1()
42 assert(!std::cmp_not_equal(tup.max, tup.max)); in test_cmp_not_equal1()
47 assert(std::cmp_not_equal(tup.min, tup.max)); in test_cmp_not_equal1()
48 assert(std::cmp_not_equal(tup.max, tup.min)); in test_cmp_not_equal1()
49 assert(std::cmp_not_equal(1, tup.max)); in test_cmp_not_equal1()
50 assert(std::cmp_not_equal(tup.max, 1)); in test_cmp_not_equal1()
51 assert(std::cmp_not_equal(1, tup.min)); in test_cmp_not_equal1()
52 assert(std::cmp_not_equal(tup.min, 1)); in test_cmp_not_equal1()
53 assert(std::cmp_not_equal(-2, tup.min)); in test_cmp_not_equal1()
[all …]
/llvm-project-15.0.7/llvm/unittests/ADT/
H A DIteratorTest.cpp403 EXPECT_EQ(get<0>(tup) & 0x01, get<1>(tup)); in TEST()
404 EXPECT_EQ(get<0>(tup) & 0x01 ? 'y' : 'n', get<2>(tup)); in TEST()
409 EXPECT_EQ(get<0>(tup) & 0x01, get<1>(tup)); in TEST()
419 EXPECT_EQ(get<0>(tup), get<1>(tup) & 0x01); in TEST()
466 EXPECT_EQ(get<1>(tup), get<2>(tup)); in TEST()
467 get<2>(tup) = get<0>(tup) & 0x01 ? 'y' : 'n'; in TEST()
472 EXPECT_EQ(get<0>(tup), get<1>(tup)); in TEST()
482 get<1>(tup) = get<0>(tup); in TEST()
489 EXPECT_EQ(get<0>(tup), get<1>(tup)); in TEST()
502 EXPECT_EQ(get<0>(tup) & 0x01, get<1>(tup)); in TEST()
[all …]
/llvm-project-15.0.7/libcxx/test/std/utilities/utility/utility.intcmp/intcmp.in_range/
H A Din_range.pass.cpp39 constexpr Tuple<T> tup; in test_in_range1() local
40 assert(std::in_range<T>(tup.min)); in test_in_range1()
41 assert(std::in_range<T>(tup.min + 1)); in test_in_range1()
42 assert(std::in_range<T>(tup.max)); in test_in_range1()
43 assert(std::in_range<T>(tup.max - 1)); in test_in_range1()
44 assert(std::in_range<T>(tup.mid)); in test_in_range1()
45 assert(std::in_range<T>(tup.mid - 1)); in test_in_range1()
46 assert(std::in_range<T>(tup.mid + 1)); in test_in_range1()
/llvm-project-15.0.7/libcxx/test/std/utilities/intseq/intseq.general/
H A Dinteger_seq.pass.cpp55 auto tup = std::make_tuple ( 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20 ); in main() local
58 auto t3 = extract ( tup, int3() ); in main()
62 auto t7 = extract ( tup, size7 ()); in main()
66 auto t4 = extract ( tup, size4 ()); in main()
70 auto t2 = extract ( tup, size2 ()); in main()
74 auto tintmix = extract ( tup, intmix ()); in main()
78 auto tsizemix = extract ( tup, sizemix ()); in main()
/llvm-project-15.0.7/mlir/test/lib/IR/
H A DTestClone.cpp45 for (auto tup : in runOnOperation() local
47 if (std::get<0>(tup).getType() != std::get<1>(tup).getType()) in runOnOperation()
49 map.map(std::get<1>(tup), std::get<0>(tup)); in runOnOperation()
/llvm-project-15.0.7/libcxx/test/libcxx/utilities/tuple/tuple.tuple/tuple.assign/
H A Dtuple_array_template_depth.pass.cpp33 tuple_t tup; in main() local
34 tup = arr; in main()
/llvm-project-15.0.7/flang/lib/Optimizer/CodeGen/
H A DTargetRewrite.cpp176 auto &tup = e.value(); in rewriteCallComplexInputType() local
177 auto ty = std::get<mlir::Type>(tup); in rewriteCallComplexInputType()
348 for (auto &tup : in lowerComplexSignatureRes() local
350 auto argTy = std::get<mlir::Type>(tup); in lowerComplexSignatureRes()
365 for (auto &tup : in lowerComplexSignatureArg() local
367 newInTys.push_back(std::get<mlir::Type>(tup)); in lowerComplexSignatureArg()
513 auto &tup = e.value(); in convertSignature() local
743 auto &tup = m[0]; in doComplexReturn() local
745 auto argTy = std::get<mlir::Type>(tup); in doComplexReturn()
792 auto &tup = e.value(); in doComplexArg() local
[all …]
H A DDescriptorModel.h119 auto tup = std::tie(a, b, c, d, e, f, g, h); in getDescFieldTypeModel() local
120 auto field = std::get<Field>(tup); in getDescFieldTypeModel()
/llvm-project-15.0.7/cross-project-tests/debuginfo-tests/dexter/dex/tools/clang_opt_bisect/
H A DTool.py307 key=lambda tup: (not tup[5], tup[2], -len(tup[1]), tup[7], tup[6]))
/llvm-project-15.0.7/polly/utils/
H A Dargparse.py524 tup = self._current_indent, '', action_header
525 action_header = '%*s%s\n' % tup
530 action_header = '%*s%-*s ' % tup
535 tup = self._current_indent, '', action_header
536 action_header = '%*s%s\n' % tup
1410 tup = option_string, self.prefix_chars
1411 raise ValueError(msg % tup)
2070 tup = arg_string, options
2110 result.append(tup)
2125 result.append(tup)
[all …]
/llvm-project-15.0.7/cross-project-tests/debuginfo-tests/dexter/dex/debugger/dbgeng/
H A Dprobe_process.py41 tup = Symbols.GetLineByInlineContext(self.ip, self.inline_frame_context)
42 self.source_file, self.line_no = tup
/llvm-project-15.0.7/libcxx/test/std/utilities/tuple/tuple.tuple/tuple.cnstr/
H A Ddefault.lazy.verify.cpp23 std::tuple<Inner<int>> tup; member
/llvm-project-15.0.7/mlir/lib/Conversion/ShapeToStandard/
H A DShapeToStandard.cpp82 for (auto tup : llvm::zip(extentTensors, rankDiffs)) { in getBroadcastedDim() local
83 Value shape = std::get<0>(tup); in getBroadcastedDim()
84 Value rankDiff = std::get<1>(tup); in getBroadcastedDim()
284 for (auto tup : llvm::zip(adaptor.getShapes(), rankDiffs)) { in matchAndRewrite() local
286 std::tie(shape, rankDiff) = tup; in matchAndRewrite()
/llvm-project-15.0.7/mlir/lib/Dialect/SCF/IR/
H A DSCF.cpp1747 std::tie(trueResult, falseResult, opResult) = tup; in matchAndRewrite()
2016 for (const auto &tup : llvm::enumerate(thenYield)) { in matchAndRewrite() local
2017 if (tup.value().getDefiningOp() == nestedIf) { in matchAndRewrite()
2018 auto nestedIdx = tup.value().cast<OpResult>().getResultNumber(); in matchAndRewrite()
2020 elseYield[tup.index()]) { in matchAndRewrite()
2025 thenYield[tup.index()] = nestedIf.thenYield().getOperand(nestedIdx); in matchAndRewrite()
2038 if (tup.value().getParentRegion() == &op.getThenRegion()) { in matchAndRewrite()
2041 elseYieldsToUpgradeToSelect.push_back(tup.index()); in matchAndRewrite()
3180 for (auto tup : in matchAndRewrite() local
3183 if (std::get<0>(tup) != cmp.getOperand(opIdx)) in matchAndRewrite()
[all …]
/llvm-project-15.0.7/flang/lib/Lower/
H A DIO.cpp899 std::tuple<mlir::Value, mlir::Value, mlir::Value> tup = in genCharIOOption() local
902 llvm::SmallVector<mlir::Value> ioArgs = {cookie, std::get<0>(tup), in genCharIOOption()
903 std::get<1>(tup)}; in genCharIOOption()
931 std::tuple<mlir::Value, mlir::Value, mlir::Value> tup = in genIOOption() local
934 llvm::SmallVector<mlir::Value> ioArgs{cookie, std::get<0>(tup), in genIOOption()
935 std::get<1>(tup)}; in genIOOption()
992 std::tuple<mlir::Value, mlir::Value, mlir::Value> tup = in genIOOption() local
996 llvm::SmallVector<mlir::Value> ioArgs = {cookie, std::get<0>(tup), in genIOOption()
997 std::get<1>(tup)}; in genIOOption()
1046 std::tuple<mlir::Value, mlir::Value, mlir::Value> tup = in genIOOption() local
[all …]
/llvm-project-15.0.7/clang/test/SemaTemplate/
H A Ddeduction.cpp260 template <typename... Es> struct tup : tup_impl<0, Es...> {}; struct
273 tup<int, double, char> t; in main()
/llvm-project-15.0.7/flang/test/Fir/
H A Dconvert-to-llvm.fir2657 func.func @test_coordinate_of_tuple(%tup : !fir.ref<tuple<!fir.ref<i32>>>) {
2659 %2 = fir.coordinate_of %tup, %1 : (!fir.ref<tuple<!fir.ref<i32>>>, i32) -> !fir.ref<i32>