Home
last modified time | relevance | path

Searched refs:type_decl (Results 1 – 25 of 29) sorted by relevance

12

/third_party/skia/third_party/externals/tint/src/reader/wgsl/
Dparser_impl_type_decl_test.cc29 auto t = p->type_decl(); in TEST_F()
39 auto t = p->type_decl(); in TEST_F()
52 auto t = p->type_decl(); in TEST_F()
63 auto t = p->type_decl(); in TEST_F()
74 auto t = p->type_decl(); in TEST_F()
85 auto t = p->type_decl(); in TEST_F()
108 auto t = p->type_decl(); in TEST_P()
129 auto t = p->type_decl(); in TEST_P()
147 auto t = p->type_decl(); in TEST_P()
165 auto t = p->type_decl(); in TEST_P()
[all …]
Dparser_impl.h420 Maybe<const ast::Type*> type_decl();
425 Maybe<const ast::Type*> type_decl(ast::DecorationList& decos);
Dparser_impl.cc915 auto type = type_decl(decos.value); in expect_variable_ident_decl()
990 auto type = type_decl(); in type_alias()
1024 Maybe<const ast::Type*> ParserImpl::type_decl() { in type_decl() function in tint::reader::wgsl::ParserImpl
1029 auto type = type_decl(decos.value); in type_decl()
1043 Maybe<const ast::Type*> ParserImpl::type_decl(ast::DecorationList& decos) { in type_decl() function in tint::reader::wgsl::ParserImpl
1095 auto type = type_decl(); in expect_type()
1425 auto type = type_decl(type_decorations); in function_header()
2213 auto type = type_decl(); in primary_expression()
/third_party/flutter/skia/third_party/externals/spirv-tools/test/opt/
Dfreeze_spec_const_test.cpp27 const char* type_decl; member
39 test_case.type_decl, test_case.spec_const}; in TEST_P()
42 test_case.type_decl, test_case.expected_frozen_const}; in TEST_P()
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/test/opt/
Dfreeze_spec_const_test.cpp29 const char* type_decl; member
41 test_case.type_decl, test_case.spec_const}; in TEST_P()
44 test_case.type_decl, test_case.expected_frozen_const}; in TEST_P()
/third_party/skia/third_party/externals/spirv-tools/test/opt/
Dfreeze_spec_const_test.cpp29 const char* type_decl; member
41 test_case.type_decl, test_case.spec_const}; in TEST_P()
44 test_case.type_decl, test_case.expected_frozen_const}; in TEST_P()
/third_party/spirv-tools/test/opt/
Dfreeze_spec_const_test.cpp29 const char* type_decl; member
41 test_case.type_decl, test_case.spec_const}; in TEST_P()
44 test_case.type_decl, test_case.expected_frozen_const}; in TEST_P()
/third_party/skia/third_party/externals/tint/src/writer/
Dtext_generator.h210 const sem::Type* TypeOf(const ast::TypeDecl* type_decl) const { in TypeOf() argument
211 return builder_.TypeOf(type_decl); in TypeOf()
/third_party/skia/third_party/externals/tint/src/
Dprogram.cc126 const sem::Type* Program::TypeOf(const ast::TypeDecl* type_decl) const { in TypeOf()
127 return Sem().Get(type_decl); in TypeOf()
Dprogram_builder.cc106 const sem::Type* ProgramBuilder::TypeOf(const ast::TypeDecl* type_decl) const { in TypeOf()
107 return Sem().Get(type_decl); in TypeOf()
Dprogram.h165 const sem::Type* TypeOf(const ast::TypeDecl* type_decl) const;
DBUILD.gn317 "ast/type_decl.cc",
318 "ast/type_decl.h",
DCMakeLists.txt184 ast/type_decl.cc
185 ast/type_decl.h
/third_party/libabigail/include/
Dabg-fwd.h126 class type_decl; variable
128 typedef shared_ptr<type_decl> type_decl_sptr;
406 const type_decl*
412 type_decl*
1099 lookup_basic_type(const type_decl&, const translation_unit&);
1108 lookup_basic_type(const type_decl&, const corpus&);
Dabg-ir.h2066 equals(const type_decl&, const type_decl&, change_kind*);
2069 class type_decl : public virtual decl_base, public virtual type_base
2072 type_decl();
2079 type_decl(const environment& env,
2094 operator==(const type_decl&) const;
2096 bool operator!=(const type_decl&)const;
2112 virtual ~type_decl();
3489 class type_tparameter : public template_parameter, public virtual type_decl
4828 virtual bool visit_begin(type_decl*);
4829 virtual bool visit_end(type_decl*);
/third_party/libabigail/src/
Dabg-hash.cc146 struct type_decl::hash
149 operator()(const type_decl& t) const in operator ()()
812 type_decl::hash hash_type; in operator ()()
1005 if (const type_decl* d = dynamic_cast<const type_decl*> (t)) in operator ()()
1006 return type_decl::hash()(*d); in operator ()()
Dabg-ir.cc3491 priv_->void_type_.reset(new type_decl(*this, in get_void_type()
3507 reset(new type_decl(*this, in get_variadic_parameter_type()
8555 type_decl *type = is_integral_type(t); in get_internal_integral_type_name()
10005 const type_decl*
10007 {return dynamic_cast<const type_decl*>(t);} in is_type_decl()
10015 {return dynamic_pointer_cast<type_decl>(t);} in is_type_decl()
10023 type_decl*
10026 type_decl *type = const_cast<type_decl*>(is_type_decl(t)); in is_integral_type()
10979 return lookup_type_in_map<type_decl>(type_name, in lookup_basic_type()
11752 decl_base_sptr type_decl = get_type_declaration(type); in lookup_type_in_scope() local
[all …]
Dabg-ctf-reader.cc538 type_decl_sptr type_decl in process_ctf_type() local
540 result = is_type(type_decl); in process_ctf_type()
823 result.reset(new type_decl(rdr->env(), in process_ctf_base_type()
1492 utype.reset(new type_decl(rdr->env(), in process_ctf_enum_type()
Dabg-leaf-reporter.cc400 if (dynamic_pointer_cast<type_decl>(i->second)) in report()
420 if (dynamic_pointer_cast<type_decl>(i->second)) in report()
Dabg-reader.cc1342 static shared_ptr<type_decl>
3678 static shared_ptr<type_decl>
3683 shared_ptr<type_decl> nil; in build_type_decl()
3690 type_decl_sptr result = dynamic_pointer_cast<type_decl>(d); in build_type_decl()
3725 type_decl_sptr ty = dynamic_pointer_cast<type_decl>(d); in build_type_decl()
3735 type_decl_sptr decl(new type_decl(env, name, size_in_bits, in build_type_decl()
Dabg-default-reporter.cc836 if (dynamic_pointer_cast<type_decl>(i->second)) in report()
856 if (dynamic_pointer_cast<type_decl>(i->second)) in report()
Dabg-dwarf-reader.cc12152 result.reset(new type_decl(rdr.env(), type_name, bit_size, in build_type_decl()
12181 type_decl_sptr result(new type_decl(rdr.env(), underlying_type_name, in build_enum_underlying_type()
12187 result = dynamic_pointer_cast<type_decl>(d); in build_enum_underlying_type()
13767 decl_base_sptr type_decl; in build_function_type() local
14165 decl_base_sptr type_decl; in build_array_type() local
14169 type_decl = is_decl(build_ir_node_from_die(rdr, &type_die, in build_array_type()
14172 if (!type_decl) in build_array_type()
14184 type_base_sptr type = is_type(type_decl); in build_array_type()
/third_party/skia/third_party/externals/tint/src/resolver/
Ddependency_graph_test.cc1246 const auto* type_decl = Alias(type_sym, ty.i32()); in TEST_F() local
1265 #define T add_use(type_decl, ty.type_name(type_sym), __LINE__, "T()") in TEST_F()
/third_party/skia/third_party/externals/tint/src/writer/msl/
Dgenerator_impl.cc205 for (auto* const type_decl : program_->AST().TypeDecls()) { in Generate() local
206 if (!type_decl->Is<ast::Alias>()) { in Generate()
207 if (!EmitTypeDecl(TypeOf(type_decl))) { in Generate()
/third_party/libabigail/
DChangeLog937 (type_decl::type_decl, type_decl::get_qualified_name): Adjust.
1914 * src/abg-ir.cc (equals): In the overload for type_decl, do not
1977 * include/abg-ir.h (type_decl::get_qualified_name): Add a
1997 (equals): In the overload for type_decl, do not take the short,
2000 (type_decl::get_qualified_name): Define new method.
2001 (type_decl::get_pretty_representation): For internal name of
3421 scope, fn_parm, function_type, function_decl, type_decl,
3425 scope, fn_parm, function_type, function_decl, type_decl,
4829 (handle_{type_decl, qualified_type, pointer_type_def,
9720 (type_decl::operator==): Use it here.
[all …]

12