Searched refs:AsAlias (Results 1 – 16 of 16) sorted by relevance
53 where = where->AsAlias()->type(); in UnwrapIfNeeded()180 const AliasType* Type::AsAlias() const { in AsAlias() function in tint::ast::type::Type250 AliasType* Type::AsAlias() { in AsAlias() function in tint::ast::type::Type
135 const AliasType* AsAlias() const;164 AliasType* AsAlias();
60 auto* alias = ty->AsAlias(); in IsValid()95 auto* alias = ty->AsAlias(); in to_str()
39 auto* alias = t->AsAlias(); in TEST_F()56 auto* alias = t->AsAlias(); in TEST_F()
92 EXPECT_EQ(m.constructed_types()[0]->AsAlias()->name(), "A"); in TEST_F()111 auto* alias = m.constructed_types()[1]->AsAlias(); in TEST_F()
64 auto* alias = t->AsAlias(); in TEST_F()
843 return alias->AsAlias(); in type_alias()
230 add_alias(AsAlias(element)); in AddElement()
67 const AliasPtr AsAlias(const ElementPtr element);
109 const AliasPtr AsAlias(const ElementPtr element) { in AsAlias() function
171 auto* alias = ty->AsAlias(); in EmitConstructedType()423 out_ << type->AsAlias()->name(); in EmitType()
54 ASSERT_TRUE(AsAlias(factory->CreateElementById(Type_Alias))); in TEST_F()
187 return calculate_alignment_size(type->AsAlias()->type()); in calculate_alignment_size()257 auto* alias = ty->AsAlias(); in EmitConstructedType()1698 auto* alias = type->AsAlias(); in EmitType()
211 auto* alias = ty->AsAlias(); in EmitConstructedType()1944 auto* alias = type->AsAlias(); in EmitType()
1069 ->AsAlias(); in MaybeGenerateAlias()
2260 return GenerateTypeIfNeeded(type->AsAlias()->type()); in GenerateTypeIfNeeded()