Home
last modified time | relevance | path

Searched refs:AsVector (Results 1 – 25 of 26) sorted by relevance

12

/external/swiftshader/third_party/SPIRV-Tools/source/opt/
Dfold_spec_constant_op_and_composite_pass.cpp214 context()->get_constant_mgr()->GetType(inst)->AsVector(); in DoVectorShuffle()
239 assert(operand_type->AsVector() && in DoVectorShuffle()
251 operand_type->AsVector()->element_type(); in DoVectorShuffle()
258 operand_type->AsVector()->element_count(), in DoVectorShuffle()
303 } else if (auto* vt = type->AsVector()) { in IsValidTypeForComponentWiseOperation()
347 } else if (result_type->AsVector()) { in DoComponentWiseOperation()
350 result_type->AsVector()->element_type(); in DoComponentWiseOperation()
351 uint32_t num_dims = result_type->AsVector()->element_count(); in DoComponentWiseOperation()
371 result_type->AsVector(), result_vector_components); in DoComponentWiseOperation()
Dconst_folding_rules.cpp29 } else if (const analysis::Vector* vec_type = type->AsVector()) { in HasFloatingPoint()
76 const analysis::Type* element_type = c1->type()->AsVector()->element_type(); in FoldVectorShuffleWithConstants()
85 c1_components.resize(c1->type()->AsVector()->element_count(), element); in FoldVectorShuffleWithConstants()
94 c2_components.resize(c2->type()->AsVector()->element_count(), element); in FoldVectorShuffleWithConstants()
153 const analysis::Vector* vector_type = result_type->AsVector(); in FoldVectorTimesScalar()
161 assert(c1->type()->AsVector() == vector_type); in FoldVectorTimesScalar()
162 assert(c1->type()->AsVector()->element_type() == element_type && in FoldVectorTimesScalar()
259 const analysis::Vector* vector_type = result_type->AsVector(); in FoldFPUnaryOp()
308 const analysis::Vector* vector_type = result_type->AsVector(); in FoldFPBinaryOp()
Dfolding_rules.cpp40 if (const analysis::Vector* vec_type = type->AsVector()) { in ElementWidth()
54 } else if (const analysis::Vector* vec_type = type->AsVector()) { in HasFloatingPoint()
140 assert(c->type()->AsVector()); in NegateVectorConstant()
166 if (c->type()->AsVector()) { in NegateConstant()
519 if (const analysis::Vector* vector_type = type->AsVector()) { in PerformOperation()
1286 if (composite_type->AsVector() == nullptr) { in CompositeConstructFeedingExtract()
1311 type_mgr->GetType(element_def->type_id())->AsVector(); in CompositeConstructFeedingExtract()
1498 assert(first_input_type->AsVector() && in VectorShuffleFeedingExtract()
1500 uint32_t first_input_size = first_input_type->AsVector()->element_count(); in VectorShuffleFeedingExtract()
1670 assert(type->AsVector()); in RedundantSelect()
[all …]
Dvector_dce.cpp178 type_mgr->GetType(first_operand.instruction->type_id())->AsVector(); in MarkVectorShuffleUsesAsLive()
224 type_mgr->GetType(op_inst->type_id())->AsVector()->element_count(); in MarkCompositeContructUsesAsLive()
Dconstants.cpp213 } else if (auto* vt = type->AsVector()) { in CreateConstant()
355 const analysis::Vector* vector_type = this->type()->AsVector(); in GetVectorComponents()
Dtype_manager.cpp243 uint32_t subtype = GetTypeInstruction(type->AsVector()->element_type()); in GetTypeInstruction()
249 {type->AsVector()->element_count()}}}); in GetTypeInstruction()
476 const Vector* vec_ty = type.AsVector(); in RebuildType()
813 } else if (const Vector* vector_type = parent_type->AsVector()) { in GetMemberType()
Dtypes.h265 Vector* AsVector() override { return this; } in AsVector() function
266 const Vector* AsVector() const override { return this; } in AsVector() function
Dif_conversion.cpp125 if (analysis::Vector* vec_data_ty = data_ty->AsVector()) { in Process()
Dtypes.cpp280 const Vector* vt = that->AsVector(); in IsSameImpl()
301 assert(type->AsVector()); in Matrix()
Dcopy_prop_arrays.cpp373 } else if (const analysis::Vector* vector_type = result_type->AsVector()) { in BuildMemoryObjectFromInsert()
821 } else if (const analysis::Vector* vector_type = type->AsVector()) { in GetNumberOfMembers()
Dconstants.h352 auto another = MakeUnique<VectorConstant>(type_->AsVector()); in CopyVectorConstant()
/external/deqp-deps/SPIRV-Tools/source/opt/
Dfold_spec_constant_op_and_composite_pass.cpp214 context()->get_constant_mgr()->GetType(inst)->AsVector(); in DoVectorShuffle()
239 assert(operand_type->AsVector() && in DoVectorShuffle()
251 operand_type->AsVector()->element_type(); in DoVectorShuffle()
258 operand_type->AsVector()->element_count(), in DoVectorShuffle()
303 } else if (auto* vt = type->AsVector()) { in IsValidTypeForComponentWiseOperation()
347 } else if (result_type->AsVector()) { in DoComponentWiseOperation()
350 result_type->AsVector()->element_type(); in DoComponentWiseOperation()
351 uint32_t num_dims = result_type->AsVector()->element_count(); in DoComponentWiseOperation()
371 result_type->AsVector(), result_vector_components); in DoComponentWiseOperation()
Dconst_folding_rules.cpp29 } else if (const analysis::Vector* vec_type = type->AsVector()) { in HasFloatingPoint()
76 const analysis::Type* element_type = c1->type()->AsVector()->element_type(); in FoldVectorShuffleWithConstants()
85 c1_components.resize(c1->type()->AsVector()->element_count(), element); in FoldVectorShuffleWithConstants()
94 c2_components.resize(c2->type()->AsVector()->element_count(), element); in FoldVectorShuffleWithConstants()
153 const analysis::Vector* vector_type = result_type->AsVector(); in FoldVectorTimesScalar()
161 assert(c1->type()->AsVector() == vector_type); in FoldVectorTimesScalar()
162 assert(c1->type()->AsVector()->element_type() == element_type && in FoldVectorTimesScalar()
259 const analysis::Vector* vector_type = result_type->AsVector(); in FoldFPUnaryOp()
308 const analysis::Vector* vector_type = result_type->AsVector(); in FoldFPBinaryOp()
Dfolding_rules.cpp40 if (const analysis::Vector* vec_type = type->AsVector()) { in ElementWidth()
54 } else if (const analysis::Vector* vec_type = type->AsVector()) { in HasFloatingPoint()
140 assert(c->type()->AsVector()); in NegateVectorConstant()
166 if (c->type()->AsVector()) { in NegateConstant()
519 if (const analysis::Vector* vector_type = type->AsVector()) { in PerformOperation()
1286 if (composite_type->AsVector() == nullptr) { in CompositeConstructFeedingExtract()
1311 type_mgr->GetType(element_def->type_id())->AsVector(); in CompositeConstructFeedingExtract()
1498 assert(first_input_type->AsVector() && in VectorShuffleFeedingExtract()
1500 uint32_t first_input_size = first_input_type->AsVector()->element_count(); in VectorShuffleFeedingExtract()
1670 assert(type->AsVector()); in RedundantSelect()
[all …]
Dvector_dce.cpp158 type_mgr->GetType(first_operand.instruction->type_id())->AsVector(); in MarkVectorShuffleUsesAsLive()
204 type_mgr->GetType(op_inst->type_id())->AsVector()->element_count(); in MarkCompositeContructUsesAsLive()
Dconstants.cpp213 } else if (auto* vt = type->AsVector()) { in CreateConstant()
355 const analysis::Vector* vector_type = this->type()->AsVector(); in GetVectorComponents()
Dtype_manager.cpp243 uint32_t subtype = GetTypeInstruction(type->AsVector()->element_type()); in GetTypeInstruction()
249 {type->AsVector()->element_count()}}}); in GetTypeInstruction()
476 const Vector* vec_ty = type.AsVector(); in RebuildType()
810 } else if (const Vector* vector_type = parent_type->AsVector()) { in GetMemberType()
Dtypes.h265 Vector* AsVector() override { return this; } in AsVector() function
266 const Vector* AsVector() const override { return this; } in AsVector() function
Dif_conversion.cpp125 if (analysis::Vector* vec_data_ty = data_ty->AsVector()) { in Process()
Dtypes.cpp280 const Vector* vt = that->AsVector(); in IsSameImpl()
301 assert(type->AsVector()); in Matrix()
Dcopy_prop_arrays.cpp373 } else if (const analysis::Vector* vector_type = result_type->AsVector()) { in BuildMemoryObjectFromInsert()
821 } else if (const analysis::Vector* vector_type = type->AsVector()) { in GetNumberOfMembers()
Dconstants.h352 auto another = MakeUnique<VectorConstant>(type_->AsVector()); in CopyVectorConstant()
/external/flatbuffers/include/flatbuffers/
Dflexbuffers.h410 case FBT_VECTOR: return static_cast<int64_t>(AsVector().size()); in AsInt64()
439 case FBT_VECTOR: return static_cast<uint64_t>(AsVector().size()); in AsUInt64()
468 case FBT_VECTOR: return static_cast<double>(AsVector().size()); in AsDouble()
545 AppendToString<Vector>(s, AsVector(), keys_quoted); in ToString()
570 Vector AsVector() const { in AsVector() function
739 template<> inline Vector Reference::As<Vector>() const { return AsVector(); }
/external/tensorflow/tensorflow/lite/delegates/flex/
Dkernel.cc215 .AsVector(); in InitializeNodeDef()
/external/flatbuffers/docs/source/
DFlexBuffers.md111 auto vec = map["vec"].AsVector();

12