Home
last modified time | relevance | path

Searched refs:vector_type (Results 1 – 25 of 50) sorted by relevance

12

/external/mesa3d/src/intel/compiler/
Dbrw_fs_bank_conflicts.cpp72 struct vector_type { struct
96 set(vector_type &v, unsigned i, scalar_type x) in set()
106 get(const vector_type &v, unsigned i) in get()
117 vector_type
118 adds(const vector_type &v, const vector_type &w) in adds()
120 const vector_type u = {{ in adds()
130 vector_type
131 subs(const vector_type &v, const vector_type &w) in subs()
133 const vector_type u = {{ in subs()
143 vector_type
[all …]
/external/llvm/include/llvm/ADT/
DSetVector.h46 typedef Vector vector_type; typedef
47 typedef typename vector_type::const_iterator iterator;
48 typedef typename vector_type::const_iterator const_iterator;
49 typedef typename vector_type::const_reverse_iterator reverse_iterator;
50 typedef typename vector_type::const_reverse_iterator const_reverse_iterator;
51 typedef typename vector_type::size_type size_type;
146 typename vector_type::iterator I = in remove()
188 typename vector_type::iterator I in remove_if()
280 vector_type vector_; ///< The vector.
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/ADT/
DSetVector.h48 using vector_type = Vector; variable
49 using iterator = typename vector_type::const_iterator;
50 using const_iterator = typename vector_type::const_iterator;
51 using reverse_iterator = typename vector_type::const_reverse_iterator;
52 using const_reverse_iterator = typename vector_type::const_reverse_iterator;
53 using size_type = typename vector_type::size_type;
160 typename vector_type::iterator I = find(vector_, X); in remove()
201 typename vector_type::iterator I = in remove_if()
292 vector_type vector_; ///< The vector.
/external/swiftshader/third_party/LLVM/include/llvm/ADT/
DSetVector.h43 typedef Vector vector_type; typedef
44 typedef typename vector_type::const_iterator iterator;
45 typedef typename vector_type::const_iterator const_iterator;
46 typedef typename vector_type::size_type size_type;
119 typename vector_type::iterator I = in remove()
158 vector_type vector_; ///< The vector.
/external/tensorflow/tensorflow/compiler/xla/service/cpu/
Dvector_support_library.cc51 if (type != scalar_type() && type != vector_type()) { in AssertCorrectTypes()
53 << TypeToString(vector_type()) << " but got " in AssertCorrectTypes()
141 is_vector ? vector_type() : scalar_type(), name()); in I1ToFloat()
166 IntegerTypeForFloatSize(lhs->getType() == vector_type()); in FloatAnd()
170 vector_type()); in FloatAnd()
176 IntegerTypeForFloatSize(lhs->getType() == vector_type()); in FloatNot()
179 vector_type()); in FloatNot()
185 IntegerTypeForFloatSize(lhs->getType() == vector_type()); in FloatOr()
189 vector_type(), name()); in FloatOr()
269 b()->CreateShuffleVector(vector, llvm::UndefValue::get(vector_type()), in AddReduce()
[all …]
Dvector_support_library.h92 return Add(GetConstantFloat(vector_type(), c), Mul(a, b)); in MulAdd()
106 return GetConstantFloat(vector_type(), d); in SplatFloat()
226 llvm::Type* vector_type() const { return vector_type_; } in vector_type() function
307 : LlvmVariable(vector_support->vector_type(), vector_support->b()) { in VectorVariable()
Dllvm_ir_runtime.cc171 llvm::Value* emm0_f32 = b->CreateBitCast(emm0, vsl.vector_type()); in GenerateVF32Exp()
230 llvm::Value* e = vsl.Add(one, b->CreateSIToFP(emm0, vsl.vector_type())); in GenerateVF32Log()
/external/deqp-deps/SPIRV-Tools/source/opt/
Dconst_folding_rules.cpp153 const analysis::Vector* vector_type = result_type->AsVector(); in FoldVectorTimesScalar() local
154 assert(vector_type != nullptr); in FoldVectorTimesScalar()
155 const analysis::Type* element_type = vector_type->element_type(); in FoldVectorTimesScalar()
161 assert(c1->type()->AsVector() == vector_type); in FoldVectorTimesScalar()
178 return const_mgr->GetConstant(vector_type, ids); in FoldVectorTimesScalar()
189 return const_mgr->GetConstant(vector_type, ids); in FoldVectorTimesScalar()
259 const analysis::Vector* vector_type = result_type->AsVector(); in FoldFPUnaryOp() local
269 if (vector_type != nullptr) { in FoldFPUnaryOp()
277 results_components.push_back(scalar_rule(vector_type->element_type(), in FoldFPUnaryOp()
289 return const_mgr->GetConstant(vector_type, ids); in FoldFPUnaryOp()
[all …]
Dconstants.cpp355 const analysis::Vector* vector_type = this->type()->AsVector(); in GetVectorComponents() local
356 assert(vector_type != nullptr); in GetVectorComponents()
358 for (uint32_t i = 0; i < vector_type->element_count(); ++i) { in GetVectorComponents()
362 const analysis::Type* element_type = vector_type->element_type(); in GetVectorComponents()
365 for (uint32_t i = 0; i < vector_type->element_count(); ++i) { in GetVectorComponents()
Dcopy_prop_arrays.cpp373 } else if (const analysis::Vector* vector_type = result_type->AsVector()) { in BuildMemoryObjectFromInsert() local
374 number_of_elements = vector_type->element_count(); in BuildMemoryObjectFromInsert()
821 } else if (const analysis::Vector* vector_type = type->AsVector()) { in GetNumberOfMembers() local
822 return vector_type->element_count(); in GetNumberOfMembers()
/external/swiftshader/third_party/SPIRV-Tools/source/opt/
Dconst_folding_rules.cpp153 const analysis::Vector* vector_type = result_type->AsVector(); in FoldVectorTimesScalar() local
154 assert(vector_type != nullptr); in FoldVectorTimesScalar()
155 const analysis::Type* element_type = vector_type->element_type(); in FoldVectorTimesScalar()
161 assert(c1->type()->AsVector() == vector_type); in FoldVectorTimesScalar()
178 return const_mgr->GetConstant(vector_type, ids); in FoldVectorTimesScalar()
189 return const_mgr->GetConstant(vector_type, ids); in FoldVectorTimesScalar()
259 const analysis::Vector* vector_type = result_type->AsVector(); in FoldFPUnaryOp() local
269 if (vector_type != nullptr) { in FoldFPUnaryOp()
277 results_components.push_back(scalar_rule(vector_type->element_type(), in FoldFPUnaryOp()
289 return const_mgr->GetConstant(vector_type, ids); in FoldFPUnaryOp()
[all …]
Dconstants.cpp355 const analysis::Vector* vector_type = this->type()->AsVector(); in GetVectorComponents() local
356 assert(vector_type != nullptr); in GetVectorComponents()
358 for (uint32_t i = 0; i < vector_type->element_count(); ++i) { in GetVectorComponents()
362 const analysis::Type* element_type = vector_type->element_type(); in GetVectorComponents()
365 for (uint32_t i = 0; i < vector_type->element_count(); ++i) { in GetVectorComponents()
Dcopy_prop_arrays.cpp373 } else if (const analysis::Vector* vector_type = result_type->AsVector()) { in BuildMemoryObjectFromInsert() local
374 number_of_elements = vector_type->element_count(); in BuildMemoryObjectFromInsert()
821 } else if (const analysis::Vector* vector_type = type->AsVector()) { in GetNumberOfMembers() local
822 return vector_type->element_count(); in GetNumberOfMembers()
/external/flatbuffers/src/
Didl_gen_lobster.cpp195 auto vector_type = field.value.type.VectorType(); in GenTableBuilders() local
196 auto alignment = InlineAlignment(vector_type); in GenTableBuilders()
197 auto elem_size = InlineSize(vector_type); in GenTableBuilders()
200 if (vector_type.base_type != BASE_TYPE_STRUCT || in GenTableBuilders()
201 !vector_type.struct_def->fixed) { in GenTableBuilders()
205 LobsterType(vector_type) + "]):\n b_.StartVector(" + in GenTableBuilders()
209 GenMethod(vector_type) + in GenTableBuilders()
Didl_gen_general.cpp1369 auto vector_type = field.value.type.VectorType(); in GenStruct() local
1370 auto alignment = InlineAlignment(vector_type); in GenStruct()
1371 auto elem_size = InlineSize(vector_type); in GenStruct()
1372 if (!IsStruct(vector_type)) { in GenStruct()
1378 code += GenTypeBasic(vector_type) + "[] data) "; in GenStruct()
1386 code += GenMethod(vector_type); in GenStruct()
1388 code += SourceCastBasic(vector_type, false); in GenStruct()
1391 (vector_type.base_type == BASE_TYPE_STRUCT || in GenStruct()
1392 vector_type.base_type == BASE_TYPE_STRING)) in GenStruct()
1402 code += GenTypeBasic(vector_type) + "[] data) "; in GenStruct()
Didl_gen_js_ts.cpp1156 auto vector_type = field.value.type.VectorType(); in GenStruct() local
1157 auto alignment = InlineAlignment(vector_type); in GenStruct()
1158 auto elem_size = InlineSize(vector_type); in GenStruct()
1161 if (!IsStruct(vector_type)) { in GenStruct()
1167 "Array.<" + GenTypeName(vector_type, true) + ">", in GenStruct()
1174 std::string type = GenTypeName(vector_type, true) + "[]"; in GenStruct()
1186 code += " builder.add" + GenWriteMethod(vector_type) + "("; in GenStruct()
1187 if (vector_type.base_type == BASE_TYPE_BOOL) { code += "+"; } in GenStruct()
Didl_gen_python.cpp472 auto vector_type = field.value.type.VectorType(); in BuildVectorOfTable() local
473 auto alignment = InlineAlignment(vector_type); in BuildVectorOfTable()
474 auto elem_size = InlineSize(vector_type); in BuildVectorOfTable()
Didl_gen_lua.cpp448 auto vector_type = field.value.type.VectorType(); in BuildVectorOfTable() local
449 auto alignment = InlineAlignment(vector_type); in BuildVectorOfTable()
450 auto elem_size = InlineSize(vector_type); in BuildVectorOfTable()
Didl_gen_go.cpp532 auto vector_type = field.value.type.VectorType(); in BuildVectorOfTable() local
533 auto alignment = InlineAlignment(vector_type); in BuildVectorOfTable()
534 auto elem_size = InlineSize(vector_type); in BuildVectorOfTable()
/external/swiftshader/third_party/SPIRV-Tools/source/val/
Dvalidate_logicals.cpp40 const uint32_t vector_type = _.GetOperandTypeId(inst, 2); in LogicalsPass() local
41 if (!vector_type || !_.IsBoolVectorType(vector_type)) in LogicalsPass()
Dvalidate_composites.cpp140 const uint32_t vector_type = _.GetOperandTypeId(inst, 2); in ValidateVectorExtractDynamic() local
141 const SpvOp vector_opcode = _.GetIdOpcode(vector_type); in ValidateVectorExtractDynamic()
147 if (_.GetComponentType(vector_type) != result_type) { in ValidateVectorExtractDynamic()
169 const uint32_t vector_type = _.GetOperandTypeId(inst, 2); in ValidateVectorInsertDyanmic() local
170 if (vector_type != result_type) { in ValidateVectorInsertDyanmic()
/external/deqp-deps/SPIRV-Tools/source/val/
Dvalidate_logicals.cpp40 const uint32_t vector_type = _.GetOperandTypeId(inst, 2); in LogicalsPass() local
41 if (!vector_type || !_.IsBoolVectorType(vector_type)) in LogicalsPass()
Dvalidate_composites.cpp140 const uint32_t vector_type = _.GetOperandTypeId(inst, 2); in ValidateVectorExtractDynamic() local
141 const SpvOp vector_opcode = _.GetIdOpcode(vector_type); in ValidateVectorExtractDynamic()
147 if (_.GetComponentType(vector_type) != result_type) { in ValidateVectorExtractDynamic()
169 const uint32_t vector_type = _.GetOperandTypeId(inst, 2); in ValidateVectorInsertDyanmic() local
170 if (vector_type != result_type) { in ValidateVectorInsertDyanmic()
/external/deqp/external/openglcts/modules/gles31/
Des31cLayoutBindingTests.hpp80 char const* vector_type; // lookup vector type member
/external/flatbuffers/include/flatbuffers/
Dflexbuffers.h1414 auto vector_type = GetScalarType<T>(); in ScalarVector() local
1427 ToTypedVector(vector_type, fixed ? len : 0), in ScalarVector()
1444 Type vector_type = FBT_KEY; variable
1451 vector_type = stack_[i].type_;
1455 FLATBUFFERS_ASSERT(vector_type == stack_[i].type_);
1461 FLATBUFFERS_ASSERT(!fixed || IsTypedVectorElementType(vector_type));
1482 : (typed ? ToTypedVector(vector_type, fixed ? vec_len : 0)

12