Searched refs:convert_to (Results 1 – 7 of 7) sorted by relevance
702 template<typename T> struct convert_to { operator T() const; }; struct706 A a1 = convert_to<A>();707 A a2 = convert_to<A&>();708 A a3 = convert_to<const A>();709 A a4 = convert_to<const volatile A>();713 A a5 = convert_to<const volatile A&>(); // expected-error {{no viable}}715 B b1 = convert_to<B>();716 B b2 = convert_to<B&>();717 B b3 = convert_to<const B>();718 B b4 = convert_to<const volatile B>();[all …]
645 template<typename T> struct convert_to { operator T() const; }; struct653 A a1 = convert_to<A>();654 A a2 = convert_to<A&>();655 A a3 = convert_to<const A>();656 A a4 = convert_to<const volatile A>(); // expected-error {{no viable}}657 A a5 = convert_to<const volatile A&>(); // expected-error {{no viable}}659 B b1 = convert_to<B>();660 B b2 = convert_to<B&>();661 B b3 = convert_to<const B>();662 B b4 = convert_to<const volatile B>(); // expected-error {{no viable}}[all …]
124 xla::PrimitiveType convert_to; in ConvertElementType() local125 TF_CHECK_OK(DataTypeToPrimitiveType(new_element_type, &convert_to)); in ConvertElementType()126 return xla::ConvertElementType(operand, convert_to); in ConvertElementType()
102 define ppc_fp128 @convert_to(i128 %x) {107 ; CHECK: convert_to:
150 define ppc_fp128 @convert_to(i128 %x) {151 ; CHECK-LABEL: convert_to:
90 return x.template convert_to<NewType>(); in run()
3090 int prefer_agent = 0, convert_to = 0, convert_from = 0; in main() local3237 convert_to = 1; in main()3458 if (convert_to) in main()3463 if (convert_to || convert_from) in main()