Searched refs:constant_type (Results 1 – 14 of 14) sorted by relevance
/third_party/skia/third_party/externals/spirv-cross/ |
D | spirv_cross_parsed_ir.cpp | 1013 auto &constant_type = get<SPIRType>(type); in make_constant_null() local 1015 if (constant_type.pointer) in make_constant_null() 1021 constant.make_null(constant_type); in make_constant_null() 1023 else if (!constant_type.array.empty()) in make_constant_null() 1025 assert(constant_type.parent_type); in make_constant_null() 1027 make_constant_null(parent_id, constant_type.parent_type, add_to_typed_id_set); in make_constant_null() 1029 if (!constant_type.array_size_literal.back()) in make_constant_null() 1032 SmallVector<uint32_t> elements(constant_type.array.back()); in make_constant_null() 1033 for (uint32_t i = 0; i < constant_type.array.back(); i++) in make_constant_null() 1040 else if (!constant_type.member_types.empty()) in make_constant_null() [all …]
|
D | spirv_common.hpp | 1271 : constant_type(constant_type_) in SPIRConstant() 1278 : constant_type(constant_type_) in SPIRConstant() 1289 : constant_type(constant_type_) in SPIRConstant() 1299 : constant_type(constant_type_) in SPIRConstant() 1310 : constant_type(constant_type_) in SPIRConstant() 1340 TypeID constant_type = 0; member
|
D | spirv_cross.cpp | 439 return get<SPIRConstant>(id).constant_type; in expression_type_id() 4430 auto &constant_type = get<SPIRType>(type); in make_constant_null() local 4432 if (constant_type.pointer) in make_constant_null() 4435 constant.make_null(constant_type); in make_constant_null() 4437 else if (!constant_type.array.empty()) in make_constant_null() 4439 assert(constant_type.parent_type); in make_constant_null() 4441 make_constant_null(parent_id, constant_type.parent_type); in make_constant_null() 4443 if (!constant_type.array_size_literal.back()) in make_constant_null() 4446 SmallVector<uint32_t> elements(constant_type.array.back()); in make_constant_null() 4447 for (uint32_t i = 0; i < constant_type.array.back(); i++) in make_constant_null() [all …]
|
D | spirv_parser.cpp | 861 remapped_constant_ops[i].constant_type = constant_op->basetype; in parse() 869 remapped_constant_ops[i].constant_type = undef_op->basetype; in parse()
|
D | spirv_reflect.cpp | 660 auto type = get<SPIRType>(c.constant_type); in emit_specialization_constants()
|
D | spirv_glsl.cpp | 2640 auto &type = get<SPIRType>(constant.constant_type); in emit_constant() 4435 tmp.constant_type = result_type; in to_extract_constant_composite_expression() 4436 auto &composite_type = get<SPIRType>(c.constant_type); in to_extract_constant_composite_expression() 4589 auto &type = get<SPIRType>(c.constant_type); in to_expression() 4877 auto &type = get<SPIRType>(c.constant_type); in constant_expression() 4934 return join(type_to_glsl(get<SPIRType>(c.constant_type)), "{ 0 }"); in constant_expression() 4938 return join(type_to_glsl(get<SPIRType>(c.constant_type)), "(0)"); in constant_expression() 4946 string res = type_to_glsl(get<SPIRType>(c.constant_type)) + "("; in constant_expression() 5154 auto type = get<SPIRType>(c.constant_type); in constant_expression_vector() 5223 res = remap_swizzle(get<SPIRType>(c.constant_type), 1, res); in constant_expression_vector() [all …]
|
D | spirv_hlsl.cpp | 1163 auto &type = this->get<SPIRType>(c.constant_type); in emit_composite_constants() 1215 auto &type = get<SPIRType>(c.constant_type); in emit_specialization_constants_and_structs()
|
D | spirv_msl.cpp | 6519 auto &type = this->get<SPIRType>(c.constant_type); in declare_constant_arrays() 6554 auto &type = this->get<SPIRType>(c.constant_type); in declare_complex_constant_arrays() 6604 auto &type = this->get<SPIRType>(c.constant_type); in emit_specialization_constants_and_structs() 6633 auto &type = get<SPIRType>(c.constant_type); in emit_specialization_constants_and_structs() 10170 if (msl_options.force_native_arrays && c && !get<SPIRType>(c->constant_type).array.empty()) in to_func_call_arg()
|
D | spirv_cross_c.cpp | 2406 return constant->constant_type; in spvc_constant_get_type()
|
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/test/ |
D | text_to_binary.constant_test.cpp | 97 std::string constant_type; member 106 const std::string input = "%1 = " + GetParam().constant_type + in TEST_P() 112 << " type: " << GetParam().constant_type in TEST_P() 376 const std::string input = "%1 = " + GetParam().constant_type + in TEST_P()
|
/third_party/spirv-tools/test/ |
D | text_to_binary.constant_test.cpp | 97 std::string constant_type; member 106 const std::string input = "%1 = " + GetParam().constant_type + in TEST_P() 112 << " type: " << GetParam().constant_type in TEST_P() 376 const std::string input = "%1 = " + GetParam().constant_type + in TEST_P()
|
/third_party/skia/third_party/externals/spirv-tools/test/ |
D | text_to_binary.constant_test.cpp | 97 std::string constant_type; member 106 const std::string input = "%1 = " + GetParam().constant_type + in TEST_P() 112 << " type: " << GetParam().constant_type in TEST_P() 376 const std::string input = "%1 = " + GetParam().constant_type + in TEST_P()
|
/third_party/node/deps/v8/src/compiler/ |
D | typed-optimization.h | 72 Node* comparison, Node* from_char_code, Type constant_type, in NON_EXPORTED_BASE()
|
D | typed-optimization.cc | 460 Node* comparison, Node* from_char_code, Type constant_type, bool inverted) { in TryReduceStringComparisonOfStringFromSingleCharCode() argument 463 if (!constant_type.IsHeapConstant()) return NoChange(); in TryReduceStringComparisonOfStringFromSingleCharCode() 464 ObjectRef constant = constant_type.AsHeapConstant()->Ref(); in TryReduceStringComparisonOfStringFromSingleCharCode()
|