Home
last modified time | relevance | path

Searched refs:constant_type (Results 1 – 9 of 9) sorted by relevance

/external/angle/third_party/spirv-tools/src/source/opt/
Dgenerate_webgpu_initializers_pass.cpp100 auto* constant_type = context()->get_type_mgr()->GetType(type_id); in GetNullConstantForVariable() local
101 auto* constant = constant_mgr->GetConstant(constant_type, {}); in GetNullConstantForVariable()
/external/deqp-deps/SPIRV-Tools/source/opt/
Dgenerate_webgpu_initializers_pass.cpp100 auto* constant_type = context()->get_type_mgr()->GetType(type_id); in GetNullConstantForVariable() local
101 auto* constant = constant_mgr->GetConstant(constant_type, {}); in GetNullConstantForVariable()
/external/swiftshader/third_party/SPIRV-Tools/source/opt/
Dgenerate_webgpu_initializers_pass.cpp100 auto* constant_type = context()->get_type_mgr()->GetType(type_id); in GetNullConstantForVariable() local
101 auto* constant = constant_mgr->GetConstant(constant_type, {}); in GetNullConstantForVariable()
/external/swiftshader/third_party/SPIRV-Tools/test/
Dtext_to_binary.constant_test.cpp97 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()
/external/angle/third_party/spirv-tools/src/test/
Dtext_to_binary.constant_test.cpp97 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()
/external/deqp-deps/SPIRV-Tools/test/
Dtext_to_binary.constant_test.cpp97 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()
/external/tensorflow/tensorflow/compiler/xla/tests/
Dtest_utils.cc555 ConstantType constant_type = ConstantType::kUnknown; in CreateLiteralForConstrainedUses() local
604 constant_type = GetInitValue(*use->to_apply()); in CreateLiteralForConstrainedUses()
609 constant_type = GetInitValue(*use->scatter()); in CreateLiteralForConstrainedUses()
633 switch (constant_type) { in CreateLiteralForConstrainedUses()
/external/v8/src/compiler/
Dtyped-optimization.h71 Node* comparison, Node* from_char_code, Type constant_type, in NON_EXPORTED_BASE()
Dtyped-optimization.cc460 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()