Searched refs:LiteralType (Results 1 – 5 of 5) sorted by relevance
105 template <typename LiteralType>112 const auto &L = cast<typename LiteralType::type>(Literal); in shouldReplaceLiteralSuffix()140 if (!LiteralType::SkipFirst.empty()) { in shouldReplaceLiteralSuffix()144 Skip = LiteralSourceText.find_first_of(LiteralType::SkipFirst); in shouldReplaceLiteralSuffix()153 Skip = LiteralSourceText.find_first_of(LiteralType::Suffixes, /*From=*/Skip); in shouldReplaceLiteralSuffix()208 template <typename LiteralType>212 Result.Nodes.getNodeAs<typename LiteralType::type>(LiteralType::Name); in checkBoundMatch()218 if (auto Details = shouldReplaceLiteralSuffix<LiteralType>( in checkBoundMatch()224 << LiteralType::Name << Details->OldSuffix; in checkBoundMatch()
33 template <typename LiteralType>
87 template <typename LiteralType>92 primitive_util::NativeToPrimitiveType<LiteralType>()); in TestTwoReplicasOneOperand()109 template <typename LiteralType>111 auto cast = [&](int value) { return static_cast<LiteralType>(value); }; in TestAllOpsForReduce()112 auto to_literal = [&](absl::Span<const LiteralType> values) { in TestAllOpsForReduce()113 return LiteralUtil::CreateR1<LiteralType>(values); in TestAllOpsForReduce()116 TestTwoReplicasOneOperand<LiteralType>( in TestAllOpsForReduce()120 TestTwoReplicasOneOperand<LiteralType>( in TestAllOpsForReduce()124 TestTwoReplicasOneOperand<LiteralType>( in TestAllOpsForReduce()128 TestTwoReplicasOneOperand<LiteralType>( in TestAllOpsForReduce()
31 struct LiteralType { struct46 static_assert(__is_literal(LiteralType), "fail"); argument