Home
last modified time | relevance | path

Searched refs:GetType (Results 1 - 25 of 565) sorted by relevance

12345678910>>...23

/third_party/skia/third_party/externals/spirv-tools/test/opt/
H A Dtype_manager_test.cpp268 ASSERT_NE(nullptr, manager.GetType(p.first)); in TEST()
269 EXPECT_EQ(p.second, manager.GetType(p.first)->str()) in TEST()
271 EXPECT_EQ(p.first, manager.GetId(manager.GetType(p.first))); in TEST()
304 Type* p100 = manager.GetType(100); in TEST()
305 Type* s150 = manager.GetType(150); in TEST()
348 Type* p100 = manager.GetType(100); in TEST()
349 Type* s150 = manager.GetType(150); in TEST()
350 Type* p200 = manager.GetType(200); in TEST()
351 Type* s250 = manager.GetType(250); in TEST()
398 EXPECT_EQ(manager.GetType(10 in TEST()
[all...]
H A Dscalar_analysis.cpp133 EXPECT_EQ(node->GetType(), SENode::Add); in TEST_F()
136 EXPECT_TRUE(child_1->GetType() == SENode::Constant || in TEST_F()
137 child_1->GetType() == SENode::RecurrentAddExpr); in TEST_F()
140 EXPECT_TRUE(child_2->GetType() == SENode::Constant || in TEST_F()
141 child_2->GetType() == SENode::RecurrentAddExpr); in TEST_F()
145 EXPECT_EQ(simplified->GetType(), SENode::RecurrentAddExpr); in TEST_F()
147 EXPECT_EQ(simplified->GetChild(0)->GetType(), SENode::Constant); in TEST_F()
151 EXPECT_EQ(simplified->GetChild(1)->GetType(), SENode::Constant); in TEST_F()
259 EXPECT_EQ(node->GetType(), SENode::Add); in TEST_F()
262 EXPECT_TRUE(child_1->GetType() in TEST_F()
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/test/opt/
H A Dtype_manager_test.cpp268 ASSERT_NE(nullptr, manager.GetType(p.first)); in TEST()
269 EXPECT_EQ(p.second, manager.GetType(p.first)->str()) in TEST()
271 EXPECT_EQ(p.first, manager.GetId(manager.GetType(p.first))); in TEST()
304 Type* p100 = manager.GetType(100); in TEST()
305 Type* s150 = manager.GetType(150); in TEST()
348 Type* p100 = manager.GetType(100); in TEST()
349 Type* s150 = manager.GetType(150); in TEST()
350 Type* p200 = manager.GetType(200); in TEST()
351 Type* s250 = manager.GetType(250); in TEST()
398 EXPECT_EQ(manager.GetType(10 in TEST()
[all...]
H A Dscalar_analysis.cpp133 EXPECT_EQ(node->GetType(), SENode::Add); in TEST_F()
136 EXPECT_TRUE(child_1->GetType() == SENode::Constant || in TEST_F()
137 child_1->GetType() == SENode::RecurrentAddExpr); in TEST_F()
140 EXPECT_TRUE(child_2->GetType() == SENode::Constant || in TEST_F()
141 child_2->GetType() == SENode::RecurrentAddExpr); in TEST_F()
145 EXPECT_EQ(simplified->GetType(), SENode::RecurrentAddExpr); in TEST_F()
147 EXPECT_EQ(simplified->GetChild(0)->GetType(), SENode::Constant); in TEST_F()
151 EXPECT_EQ(simplified->GetChild(1)->GetType(), SENode::Constant); in TEST_F()
259 EXPECT_EQ(node->GetType(), SENode::Add); in TEST_F()
262 EXPECT_TRUE(child_1->GetType() in TEST_F()
[all...]
/third_party/skia/third_party/externals/spirv-tools/source/opt/
H A Dscalar_analysis_simplification.cpp155 multiply->GetType() != SENode::Multiply) in AccumulatorsFromMultiply()
165 if (operand_1->GetType() == SENode::ValueUnknown || in AccumulatorsFromMultiply()
166 operand_1->GetType() == SENode::RecurrentAddExpr) in AccumulatorsFromMultiply()
168 else if (operand_2->GetType() == SENode::ValueUnknown || in AccumulatorsFromMultiply()
169 operand_2->GetType() == SENode::RecurrentAddExpr) in AccumulatorsFromMultiply()
173 if (operand_1->GetType() == SENode::Constant) in AccumulatorsFromMultiply()
175 else if (operand_2->GetType() == SENode::Constant) in AccumulatorsFromMultiply()
201 if (node_->GetType() != SENode::Add && node_->GetType() != SENode::Multiply && in Simplify()
202 node_->GetType() ! in Simplify()
[all...]
H A Dscalar_analysis_nodes.h40 // implements GetType and an As method to allow casting. SENodes can be hashed
60 virtual SENodeType GetType() const = 0;
171 bool IsCantCompute() const { return GetType() == CanNotCompute; } in IsCantCompute()
220 SENodeType GetType() const final { return Constant; }
246 SENodeType GetType() const final { return RecurrentAddExpr; }
282 SENodeType GetType() const final { return Add; }
294 SENodeType GetType() const final { return Multiply; }
306 SENodeType GetType() const final { return Negative; }
322 SENodeType GetType() const final { return ValueUnknown; }
339 SENodeType GetType() cons
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/opt/
H A Dscalar_analysis_simplification.cpp155 multiply->GetType() != SENode::Multiply) in AccumulatorsFromMultiply()
165 if (operand_1->GetType() == SENode::ValueUnknown || in AccumulatorsFromMultiply()
166 operand_1->GetType() == SENode::RecurrentAddExpr) in AccumulatorsFromMultiply()
168 else if (operand_2->GetType() == SENode::ValueUnknown || in AccumulatorsFromMultiply()
169 operand_2->GetType() == SENode::RecurrentAddExpr) in AccumulatorsFromMultiply()
173 if (operand_1->GetType() == SENode::Constant) in AccumulatorsFromMultiply()
175 else if (operand_2->GetType() == SENode::Constant) in AccumulatorsFromMultiply()
201 if (node_->GetType() != SENode::Add && node_->GetType() != SENode::Multiply && in Simplify()
202 node_->GetType() ! in Simplify()
[all...]
/third_party/spirv-tools/source/opt/
H A Dscalar_analysis_simplification.cpp154 multiply->GetType() != SENode::Multiply) in AccumulatorsFromMultiply()
164 if (operand_1->GetType() == SENode::ValueUnknown || in AccumulatorsFromMultiply()
165 operand_1->GetType() == SENode::RecurrentAddExpr) in AccumulatorsFromMultiply()
167 else if (operand_2->GetType() == SENode::ValueUnknown || in AccumulatorsFromMultiply()
168 operand_2->GetType() == SENode::RecurrentAddExpr) in AccumulatorsFromMultiply()
172 if (operand_1->GetType() == SENode::Constant) in AccumulatorsFromMultiply()
174 else if (operand_2->GetType() == SENode::Constant) in AccumulatorsFromMultiply()
200 if (node_->GetType() != SENode::Add && node_->GetType() != SENode::Multiply && in Simplify()
201 node_->GetType() ! in Simplify()
[all...]
/third_party/spirv-tools/test/opt/
H A Dtype_manager_test.cpp292 ASSERT_NE(nullptr, manager.GetType(p.first)); in TEST()
293 EXPECT_EQ(p.second, manager.GetType(p.first)->str()) in TEST()
295 EXPECT_EQ(p.first, manager.GetId(manager.GetType(p.first))); in TEST()
328 Type* p100 = manager.GetType(100); in TEST()
329 Type* s150 = manager.GetType(150); in TEST()
372 Type* p100 = manager.GetType(100); in TEST()
373 Type* s150 = manager.GetType(150); in TEST()
374 Type* p200 = manager.GetType(200); in TEST()
375 Type* s250 = manager.GetType(250); in TEST()
422 EXPECT_EQ(manager.GetType(10 in TEST()
[all...]
H A Dscalar_analysis.cpp129 EXPECT_EQ(node->GetType(), SENode::Add); in TEST_F()
132 EXPECT_TRUE(child_1->GetType() == SENode::Constant || in TEST_F()
133 child_1->GetType() == SENode::RecurrentAddExpr); in TEST_F()
136 EXPECT_TRUE(child_2->GetType() == SENode::Constant || in TEST_F()
137 child_2->GetType() == SENode::RecurrentAddExpr); in TEST_F()
141 EXPECT_EQ(simplified->GetType(), SENode::RecurrentAddExpr); in TEST_F()
143 EXPECT_EQ(simplified->GetChild(0)->GetType(), SENode::Constant); in TEST_F()
147 EXPECT_EQ(simplified->GetChild(1)->GetType(), SENode::Constant); in TEST_F()
255 EXPECT_EQ(node->GetType(), SENode::Add); in TEST_F()
258 EXPECT_TRUE(child_1->GetType() in TEST_F()
[all...]
/third_party/node/deps/v8/src/compiler/
H A Dtyped-optimization.cc144 Type const value_type = NodeProperties::GetType(value); in ReduceConvertReceiver()
158 Type const input_type = NodeProperties::GetType(input); in ReduceCheckHeapObject()
173 Type const index_type = NodeProperties::GetType(index); in ReduceMaybeGrowFastElements()
174 Type const length_type = NodeProperties::GetType(length); in ReduceMaybeGrowFastElements()
194 Type const input_type = NodeProperties::GetType(input); in ReduceCheckBounds()
210 Type const input_type = NodeProperties::GetType(input); in ReduceCheckNotTaggedHole()
225 Type const object_type = NodeProperties::GetType(object); in ReduceCheckMaps()
232 Type const map_type = NodeProperties::GetType(map); in ReduceCheckMaps()
247 Type const input_type = NodeProperties::GetType(input); in ReduceCheckNumber()
257 Type const input_type = NodeProperties::GetType(inpu in ReduceCheckString()
[all...]
H A Dfast-api-calls.cc66 element_type = type_info.GetType(); in ResolveOverloads()
94 if (c_signature->ReturnInfo().GetType() == CTypeInfo::Type::kFloat32 || in CanOptimizeFastSignature()
95 c_signature->ReturnInfo().GetType() == CTypeInfo::Type::kFloat64) { in CanOptimizeFastSignature()
101 if (c_signature->ReturnInfo().GetType() == CTypeInfo::Type::kInt64 || in CanOptimizeFastSignature()
102 c_signature->ReturnInfo().GetType() == CTypeInfo::Type::kUint64) { in CanOptimizeFastSignature()
111 if (c_signature->ArgumentInfo(i).GetType() == CTypeInfo::Type::kFloat32 || in CanOptimizeFastSignature()
112 c_signature->ArgumentInfo(i).GetType() == CTypeInfo::Type::kFloat64) { in CanOptimizeFastSignature()
118 if (c_signature->ArgumentInfo(i).GetType() == CTypeInfo::Type::kInt64 || in CanOptimizeFastSignature()
119 c_signature->ArgumentInfo(i).GetType() == CTypeInfo::Type::kUint64) { in CanOptimizeFastSignature()
H A Dtype-narrowing-reducer.cc29 Type left_type = NodeProperties::GetType(node->InputAt(0)); in Reduce()
30 Type right_type = NodeProperties::GetType(node->InputAt(1)); in Reduce()
44 node->op(), NodeProperties::GetType(node->InputAt(0))); in Reduce()
50 new_type = op_typer_.Name(NodeProperties::GetType(node->InputAt(0)), \ in Reduce()
51 NodeProperties::GetType(node->InputAt(1))); \ in Reduce()
60 new_type = op_typer_.Name(NodeProperties::GetType(node->InputAt(0))); \ in Reduce()
71 Type original_type = NodeProperties::GetType(node); in Reduce()
/third_party/skia/modules/particles/include/
H A DSkReflected.h26 * - Access to an SkReflected::Type instance, via static GetType() or virtual getType()
67 static const Type* GetType() { in GetType() function in SkReflected
107 static const Type* GetType() { \
108 static Type gType{ #TYPE, BASE::GetType(), CreateProc }; \
112 const Type* getType() const override { return GetType(); }
115 static const Type* GetType() { \
116 static Type gType{ #TYPE, BASE::GetType(), nullptr }; \
120 const Type* getType() const override { return GetType(); }
122 #define REGISTER_REFLECTED(TYPE) TYPE::GetType()
177 this->visit(newObj, T::GetType()); in visit()
[all...]
/third_party/skia/third_party/externals/spirv-tools/source/fuzz/
H A Dtransformation_replace_linear_algebra_instruction.cpp122 ->GetType(matrix_instruction->type_id()) in GetRequiredFreshIdCount()
126 ->GetType(matrix_instruction->type_id()) in GetRequiredFreshIdCount()
138 ->GetType(ir_context->get_def_use_mgr() in GetRequiredFreshIdCount()
150 ir_context->get_type_mgr()->GetType(matrix_instruction->type_id()); in GetRequiredFreshIdCount()
168 ->GetType(vector_instruction->type_id()) in GetRequiredFreshIdCount()
173 ->GetType(matrix_instruction->type_id()) in GetRequiredFreshIdCount()
188 ->GetType(matrix_instruction->type_id()) in GetRequiredFreshIdCount()
192 ->GetType(matrix_instruction->type_id()) in GetRequiredFreshIdCount()
210 ->GetType(matrix_1_instruction->type_id()) in GetRequiredFreshIdCount()
215 ->GetType(matrix_1_instructio in GetRequiredFreshIdCount()
[all...]
H A Dfuzzer_pass_add_equation_instructions.cpp102 GetIRContext()->get_type_mgr()->GetType(inst->type_id()); in Apply()
124 GetIRContext()->get_type_mgr()->GetType(operand->type_id()); in Apply()
156 GetIRContext()->get_type_mgr()->GetType( in Apply()
218 GetIRContext()->get_type_mgr()->GetType(lhs->type_id()); in Apply()
302 auto type = GetIRContext()->get_type_mgr()->GetType(inst->type_id()); in GetIntegerInstructions()
316 auto type = GetIRContext()->get_type_mgr()->GetType(inst->type_id()); in GetFloatInstructions()
330 auto type = GetIRContext()->get_type_mgr()->GetType(inst->type_id()); in GetBooleanInstructions()
345 auto type = GetIRContext()->get_type_mgr()->GetType(inst->type_id()); in RestrictToVectorWidth()
365 GetIRContext()->get_type_mgr()->GetType(inst->type_id()); in RestrictToElementBitWidth()
386 const auto* type = GetIRContext()->get_type_mgr()->GetType(ins in GetNumericalInstructions()
[all...]
H A Dtransformation_add_bit_instruction_synonym.cpp53 ->GetType(instruction->type_id()) in IsApplicable()
118 if (ir_context->get_type_mgr()->GetType(instruction->type_id())->AsVector()) { in IsInstructionSupported()
126 ir_context->get_type_mgr()->GetType(operand_inst->type_id()); in IsInstructionSupported()
130 ->GetType(instruction->type_id()) in IsInstructionSupported()
142 ir_context->get_type_mgr()->GetType(first_operand_inst->type_id()); in IsInstructionSupported()
149 ir_context->get_type_mgr()->GetType(second_operand_inst->type_id()); in IsInstructionSupported()
153 ->GetType(instruction->type_id()) in IsInstructionSupported()
180 ->GetType(bit_instruction->type_id()) in GetRequiredFreshIdCount()
198 ->GetType(bit_instruction->type_id()) in AddOpBitwiseOrOpNotSynonym()
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/fuzz/
H A Dtransformation_replace_linear_algebra_instruction.cpp122 ->GetType(matrix_instruction->type_id()) in GetRequiredFreshIdCount()
126 ->GetType(matrix_instruction->type_id()) in GetRequiredFreshIdCount()
138 ->GetType(ir_context->get_def_use_mgr() in GetRequiredFreshIdCount()
150 ir_context->get_type_mgr()->GetType(matrix_instruction->type_id()); in GetRequiredFreshIdCount()
168 ->GetType(vector_instruction->type_id()) in GetRequiredFreshIdCount()
173 ->GetType(matrix_instruction->type_id()) in GetRequiredFreshIdCount()
188 ->GetType(matrix_instruction->type_id()) in GetRequiredFreshIdCount()
192 ->GetType(matrix_instruction->type_id()) in GetRequiredFreshIdCount()
210 ->GetType(matrix_1_instruction->type_id()) in GetRequiredFreshIdCount()
215 ->GetType(matrix_1_instructio in GetRequiredFreshIdCount()
[all...]
H A Dfuzzer_pass_add_equation_instructions.cpp102 GetIRContext()->get_type_mgr()->GetType(inst->type_id()); in Apply()
124 GetIRContext()->get_type_mgr()->GetType(operand->type_id()); in Apply()
156 GetIRContext()->get_type_mgr()->GetType( in Apply()
218 GetIRContext()->get_type_mgr()->GetType(lhs->type_id()); in Apply()
302 auto type = GetIRContext()->get_type_mgr()->GetType(inst->type_id()); in GetIntegerInstructions()
316 auto type = GetIRContext()->get_type_mgr()->GetType(inst->type_id()); in GetFloatInstructions()
330 auto type = GetIRContext()->get_type_mgr()->GetType(inst->type_id()); in GetBooleanInstructions()
345 auto type = GetIRContext()->get_type_mgr()->GetType(inst->type_id()); in RestrictToVectorWidth()
365 GetIRContext()->get_type_mgr()->GetType(inst->type_id()); in RestrictToElementBitWidth()
386 const auto* type = GetIRContext()->get_type_mgr()->GetType(ins in GetNumericalInstructions()
[all...]
/third_party/spirv-tools/source/fuzz/
H A Dtransformation_replace_linear_algebra_instruction.cpp122 ->GetType(matrix_instruction->type_id()) in GetRequiredFreshIdCount()
126 ->GetType(matrix_instruction->type_id()) in GetRequiredFreshIdCount()
138 ->GetType(ir_context->get_def_use_mgr() in GetRequiredFreshIdCount()
150 ir_context->get_type_mgr()->GetType(matrix_instruction->type_id()); in GetRequiredFreshIdCount()
168 ->GetType(vector_instruction->type_id()) in GetRequiredFreshIdCount()
173 ->GetType(matrix_instruction->type_id()) in GetRequiredFreshIdCount()
188 ->GetType(matrix_instruction->type_id()) in GetRequiredFreshIdCount()
192 ->GetType(matrix_instruction->type_id()) in GetRequiredFreshIdCount()
210 ->GetType(matrix_1_instruction->type_id()) in GetRequiredFreshIdCount()
215 ->GetType(matrix_1_instructio in GetRequiredFreshIdCount()
[all...]
H A Dfuzzer_pass_add_equation_instructions.cpp106 GetIRContext()->get_type_mgr()->GetType(inst->type_id()); in Apply()
128 GetIRContext()->get_type_mgr()->GetType(operand->type_id()); in Apply()
160 GetIRContext()->get_type_mgr()->GetType( in Apply()
222 GetIRContext()->get_type_mgr()->GetType(lhs->type_id()); in Apply()
306 auto type = GetIRContext()->get_type_mgr()->GetType(inst->type_id()); in GetIntegerInstructions()
320 auto type = GetIRContext()->get_type_mgr()->GetType(inst->type_id()); in GetFloatInstructions()
334 auto type = GetIRContext()->get_type_mgr()->GetType(inst->type_id()); in GetBooleanInstructions()
349 auto type = GetIRContext()->get_type_mgr()->GetType(inst->type_id()); in RestrictToVectorWidth()
369 GetIRContext()->get_type_mgr()->GetType(inst->type_id()); in RestrictToElementBitWidth()
390 const auto* type = GetIRContext()->get_type_mgr()->GetType(ins in GetNumericalInstructions()
[all...]
/third_party/skia/third_party/externals/spirv-tools/test/fuzz/
H A Dtransformation_add_type_float_test.cpp121 ASSERT_EQ(nullptr, context->get_type_mgr()->GetType(6)); in TEST()
124 ASSERT_NE(nullptr, context->get_type_mgr()->GetType(6)->AsFloat()); in TEST()
129 ASSERT_EQ(nullptr, context->get_type_mgr()->GetType(7)); in TEST()
132 ASSERT_NE(nullptr, context->get_type_mgr()->GetType(7)->AsFloat()); in TEST()
137 ASSERT_EQ(nullptr, context->get_type_mgr()->GetType(8)); in TEST()
140 ASSERT_NE(nullptr, context->get_type_mgr()->GetType(8)->AsFloat()); in TEST()
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/test/fuzz/
H A Dtransformation_add_type_float_test.cpp121 ASSERT_EQ(nullptr, context->get_type_mgr()->GetType(6)); in TEST()
124 ASSERT_NE(nullptr, context->get_type_mgr()->GetType(6)->AsFloat()); in TEST()
129 ASSERT_EQ(nullptr, context->get_type_mgr()->GetType(7)); in TEST()
132 ASSERT_NE(nullptr, context->get_type_mgr()->GetType(7)->AsFloat()); in TEST()
137 ASSERT_EQ(nullptr, context->get_type_mgr()->GetType(8)); in TEST()
140 ASSERT_NE(nullptr, context->get_type_mgr()->GetType(8)->AsFloat()); in TEST()
/third_party/spirv-tools/test/fuzz/
H A Dtransformation_add_type_float_test.cpp121 ASSERT_EQ(nullptr, context->get_type_mgr()->GetType(6)); in TEST()
125 ASSERT_NE(nullptr, context->get_type_mgr()->GetType(6)->AsFloat()); in TEST()
130 ASSERT_EQ(nullptr, context->get_type_mgr()->GetType(7)); in TEST()
134 ASSERT_NE(nullptr, context->get_type_mgr()->GetType(7)->AsFloat()); in TEST()
139 ASSERT_EQ(nullptr, context->get_type_mgr()->GetType(8)); in TEST()
143 ASSERT_NE(nullptr, context->get_type_mgr()->GetType(8)->AsFloat()); in TEST()
/third_party/vk-gl-cts/external/amber/src/src/
H A Dshader_compiler.cc232 if (shader->GetType() == kShaderTypeCompute) in CompileGlsl()
234 else if (shader->GetType() == kShaderTypeFragment) in CompileGlsl()
236 else if (shader->GetType() == kShaderTypeGeometry) in CompileGlsl()
238 else if (shader->GetType() == kShaderTypeVertex) in CompileGlsl()
240 else if (shader->GetType() == kShaderTypeTessellationControl) in CompileGlsl()
242 else if (shader->GetType() == kShaderTypeTessellationEvaluation) in CompileGlsl()
267 if (shader->GetType() == kShaderTypeCompute) in CompileHlsl()
269 else if (shader->GetType() == kShaderTypeFragment) in CompileHlsl()
271 else if (shader->GetType() == kShaderTypeGeometry) in CompileHlsl()
273 else if (shader->GetType() in CompileHlsl()
[all...]

Completed in 16 milliseconds

12345678910>>...23