/external/swiftshader/third_party/SPIRV-Tools/source/opt/ |
D | fold_spec_constant_op_and_composite_pass.cpp | 214 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()
|
D | const_folding_rules.cpp | 29 } 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()
|
D | folding_rules.cpp | 40 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 …]
|
D | vector_dce.cpp | 178 type_mgr->GetType(first_operand.instruction->type_id())->AsVector(); in MarkVectorShuffleUsesAsLive() 224 type_mgr->GetType(op_inst->type_id())->AsVector()->element_count(); in MarkCompositeContructUsesAsLive()
|
D | constants.cpp | 213 } else if (auto* vt = type->AsVector()) { in CreateConstant() 355 const analysis::Vector* vector_type = this->type()->AsVector(); in GetVectorComponents()
|
D | type_manager.cpp | 243 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()
|
D | types.h | 265 Vector* AsVector() override { return this; } in AsVector() function 266 const Vector* AsVector() const override { return this; } in AsVector() function
|
D | if_conversion.cpp | 125 if (analysis::Vector* vec_data_ty = data_ty->AsVector()) { in Process()
|
D | types.cpp | 280 const Vector* vt = that->AsVector(); in IsSameImpl() 301 assert(type->AsVector()); in Matrix()
|
D | copy_prop_arrays.cpp | 373 } else if (const analysis::Vector* vector_type = result_type->AsVector()) { in BuildMemoryObjectFromInsert() 821 } else if (const analysis::Vector* vector_type = type->AsVector()) { in GetNumberOfMembers()
|
D | constants.h | 352 auto another = MakeUnique<VectorConstant>(type_->AsVector()); in CopyVectorConstant()
|
/external/deqp-deps/SPIRV-Tools/source/opt/ |
D | fold_spec_constant_op_and_composite_pass.cpp | 214 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()
|
D | const_folding_rules.cpp | 29 } 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()
|
D | folding_rules.cpp | 40 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 …]
|
D | vector_dce.cpp | 158 type_mgr->GetType(first_operand.instruction->type_id())->AsVector(); in MarkVectorShuffleUsesAsLive() 204 type_mgr->GetType(op_inst->type_id())->AsVector()->element_count(); in MarkCompositeContructUsesAsLive()
|
D | constants.cpp | 213 } else if (auto* vt = type->AsVector()) { in CreateConstant() 355 const analysis::Vector* vector_type = this->type()->AsVector(); in GetVectorComponents()
|
D | type_manager.cpp | 243 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()
|
D | types.h | 265 Vector* AsVector() override { return this; } in AsVector() function 266 const Vector* AsVector() const override { return this; } in AsVector() function
|
D | if_conversion.cpp | 125 if (analysis::Vector* vec_data_ty = data_ty->AsVector()) { in Process()
|
D | types.cpp | 280 const Vector* vt = that->AsVector(); in IsSameImpl() 301 assert(type->AsVector()); in Matrix()
|
D | copy_prop_arrays.cpp | 373 } else if (const analysis::Vector* vector_type = result_type->AsVector()) { in BuildMemoryObjectFromInsert() 821 } else if (const analysis::Vector* vector_type = type->AsVector()) { in GetNumberOfMembers()
|
D | constants.h | 352 auto another = MakeUnique<VectorConstant>(type_->AsVector()); in CopyVectorConstant()
|
/external/flatbuffers/include/flatbuffers/ |
D | flexbuffers.h | 410 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/ |
D | kernel.cc | 215 .AsVector(); in InitializeNodeDef()
|
/external/flatbuffers/docs/source/ |
D | FlexBuffers.md | 111 auto vec = map["vec"].AsVector();
|