Home
last modified time | relevance | path

Searched refs:check_type (Results 1 – 10 of 10) sorted by relevance

/llvm-project-15.0.7/clang/test/Headers/
H A Dthumbv7-apple-ios-types.cpp20 struct check_type { struct
29 static_assert(check_type<bool, 1, 1>::value, "bool is wrong"); argument
31 static_assert(check_type<char, 1, 1>::value, "char is wrong");
35 static_assert(check_type<char16_t, 2, 2>::value, "char16_t is wrong");
37 static_assert(check_type<wchar_t, 4, 4>::value, "wchar_t is wrong");
39 static_assert(check_type<short, 2, 2>::value, "short is wrong");
42 static_assert(check_type<int, 4, 4>::value, "int is wrong");
45 static_assert(check_type<long, 4, 4>::value, "long is wrong");
51 static_assert(check_type<float, 4, 4>::value, "float is wrong");
52 static_assert(check_type<double, 4, 8>::value, "double is wrong");
[all …]
H A Dx86_64-apple-macosx-types.cpp20 struct check_type { struct
29 static_assert(check_type<bool, 1, 1>::value, "bool is wrong"); argument
31 static_assert(check_type<char, 1, 1>::value, "char is wrong");
35 static_assert(check_type<char16_t, 2, 2>::value, "char16_t is wrong");
37 static_assert(check_type<wchar_t, 4, 4>::value, "wchar_t is wrong");
39 static_assert(check_type<short, 2, 2>::value, "short is wrong");
42 static_assert(check_type<int, 4, 4>::value, "int is wrong");
45 static_assert(check_type<long, 8, 8>::value, "long is wrong");
51 static_assert(check_type<float, 4, 4>::value, "float is wrong");
52 static_assert(check_type<double, 8, 8>::value, "double is wrong");
[all …]
H A Darm64-apple-ios-types.cpp20 struct check_type { struct
29 static_assert(check_type<bool, 1, 1>::value, "bool is wrong"); argument
31 static_assert(check_type<char, 1, 1>::value, "char is wrong");
35 static_assert(check_type<char16_t, 2, 2>::value, "char16_t is wrong");
37 static_assert(check_type<wchar_t, 4, 4>::value, "wchar_t is wrong");
39 static_assert(check_type<short, 2, 2>::value, "short is wrong");
42 static_assert(check_type<int, 4, 4>::value, "int is wrong");
45 static_assert(check_type<long, 8, 8>::value, "long is wrong");
51 static_assert(check_type<float, 4, 4>::value, "float is wrong");
52 static_assert(check_type<double, 8, 8>::value, "double is wrong");
[all …]
/llvm-project-15.0.7/libcxx/test/std/language.support/support.coroutines/coroutine.handle/
H A Dvoid_handle.pass.cpp38 void check_type() { in check_type() function
45 check_type<A*, A>(); in main()
46 check_type<int*, A, int>(); in main()
47 check_type<B*, B>(); in main()
48 check_type<void, C>(); in main()
/llvm-project-15.0.7/libcxx/test/std/experimental/language.support/support.coroutines/coroutine.handle/
H A Dvoid_handle.pass.cpp40 void check_type() { in check_type() function
47 check_type<A*, A>(); in main()
48 check_type<int*, A, int>(); in main()
49 check_type<B*, B>(); in main()
50 check_type<void, C>(); in main()
/llvm-project-15.0.7/libcxx/test/std/language.support/support.coroutines/coroutine.traits/
H A Dpromise_type.pass.cpp50 void check_type() { in check_type() function
65 check_type<A*, A>(); in main()
66 check_type<int*, A, int>(); in main()
67 check_type<B*, B>(); in main()
68 check_type<void, C>(); in main()
/llvm-project-15.0.7/libcxx/test/std/experimental/language.support/support.coroutines/coroutine.traits/
H A Dpromise_type.pass.cpp52 void check_type() { in check_type() function
67 check_type<A*, A>(); in main()
68 check_type<int*, A, int>(); in main()
69 check_type<B*, B>(); in main()
70 check_type<void, C>(); in main()
/llvm-project-15.0.7/mlir/test/Conversion/PDLToPDLInterp/
H A Dpdl-to-pdl-interp-matcher.mlir49 // CHECK-DAG: pdl_interp.check_type %[[ATTR1_TYPE]] is i64
91 // CHECK-DAG: pdl_interp.check_type %[[INPUT_TYPE]] is i64
168 // CHECK-DAG: pdl_interp.check_type %[[RESULT_TYPE]] is i32
/llvm-project-15.0.7/mlir/include/mlir/Dialect/PDLInterp/IR/
H A DPDLInterpOps.td309 : PDLInterp_PredicateOp<"check_type", [NoSideEffect]> {
312 `pdl_interp.check_type` operations compare a type with a statically known
319 pdl_interp.check_type %type is i32 -> ^matchDest, ^failureDest
/llvm-project-15.0.7/mlir/test/Rewrite/
H A Dpdl-bytecode.mlir455 pdl_interp.check_type %type is i32 -> ^pat2, ^end