Home
last modified time | relevance | path

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

12

/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/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.cc50 if (type != scalar_type() && type != vector_type()) { in AssertCorrectTypes()
52 << 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()
171 vector_type()); in FloatAnd()
177 IntegerTypeForFloatSize(lhs->getType() == vector_type()); in FloatNot()
181 vector_type()); in FloatNot()
187 IntegerTypeForFloatSize(lhs->getType() == vector_type()); in FloatOr()
192 vector_type(), name()); in FloatOr()
277 vector, llvm::UndefValue::get(vector_type()), in AddReduce()
[all …]
Dvector_support_library.h91 return Add(GetConstantFloat(vector_type(), c), Mul(a, b)); in MulAdd()
105 return GetConstantFloat(vector_type(), d); in SplatFloat()
218 llvm::Type* vector_type() const { return vector_type_; } in vector_type() function
299 : LlvmVariable(vector_support->vector_type(), in VectorVariable()
Dllvm_ir_runtime.cc63 CHECK_EQ(input->getType(), vsl.vector_type()); in EmitVectorF32TanhIfNeeded()
173 llvm::Value* emm0_f32 = ir_builder.CreateBitCast(emm0, vsl.vector_type()); in EmitVectorF32ExpIfNeeded()
256 vsl.Add(one, ir_builder.CreateSIToFP(emm0, vsl.vector_type())); in EmitVectorF32LogIfNeeded()
Dir_emitter.cc1460 auto vector_type = llvm::VectorType::get( in CreateShardedVectorType() local
1465 vector_type); in CreateShardedVectorType()
1502 if (auto vector_type = llvm::dyn_cast<llvm::VectorType>(shard_type)) { in EmitInnerLoopForVectorizedReduction() local
1504 vector_type->getNumElements(), init_value_ssa); in EmitInnerLoopForVectorizedReduction()
1684 ShardedVectorType vector_type = CreateShardedVectorType( in EmitVectorizedReduce() local
1688 reduction_generator, array_index, vector_type, in EmitVectorizedReduce()
1715 ShardedVectorType vector_type = CreateShardedVectorType( in EmitVectorizedReduce() local
1720 reduction_generator, array_index, vector_type, in EmitVectorizedReduce()
/external/flatbuffers/src/
Didl_gen_js.cpp1059 auto vector_type = field.value.type.VectorType(); in GenStruct() local
1060 auto alignment = InlineAlignment(vector_type); in GenStruct()
1061 auto elem_size = InlineSize(vector_type); in GenStruct()
1064 if (!IsStruct(vector_type)) { in GenStruct()
1067 "@param {Array.<" + GenTypeName(vector_type, true) + in GenStruct()
1073 std::string type = GenTypeName(vector_type, true) + "[]"; in GenStruct()
1087 code += " builder.add" + GenWriteMethod(vector_type) + "("; in GenStruct()
1088 if (vector_type.base_type == BASE_TYPE_BOOL) { in GenStruct()
Didl_gen_general.cpp1271 auto vector_type = field.value.type.VectorType(); in GenStruct() local
1272 auto alignment = InlineAlignment(vector_type); in GenStruct()
1273 auto elem_size = InlineSize(vector_type); in GenStruct()
1274 if (!IsStruct(vector_type)) { in GenStruct()
1280 code += GenTypeBasic(vector_type) + "[] data) "; in GenStruct()
1288 code += GenMethod(vector_type); in GenStruct()
1290 code += SourceCastBasic(vector_type, false); in GenStruct()
1293 (vector_type.base_type == BASE_TYPE_STRUCT || in GenStruct()
1294 vector_type.base_type == BASE_TYPE_STRING)) in GenStruct()
Didl_gen_python.cpp422 auto vector_type = field.value.type.VectorType(); in BuildVectorOfTable() local
423 auto alignment = InlineAlignment(vector_type); in BuildVectorOfTable()
424 auto elem_size = InlineSize(vector_type); in BuildVectorOfTable()
Didl_gen_go.cpp486 auto vector_type = field.value.type.VectorType(); in BuildVectorOfTable() local
487 auto alignment = InlineAlignment(vector_type); in BuildVectorOfTable()
488 auto elem_size = InlineSize(vector_type); in BuildVectorOfTable()
Didl_gen_cpp.cpp2023 auto vector_type = field.value.type.VectorType(); in GenCreateParam() local
2024 switch (vector_type.base_type) { in GenCreateParam()
2030 if (IsStruct(vector_type)) { in GenCreateParam()
2035 code += WrapInNameSpace(*vector_type.struct_def) + ">"; in GenCreateParam()
2042 code += WrapInNameSpace(*vector_type.struct_def) + ">> "; in GenCreateParam()
2045 code += "return Create" + vector_type.struct_def->name; in GenCreateParam()
Didl_gen_php.cpp618 auto vector_type = field.value.type.VectorType(); in BuildVectorOfTable() local
619 auto alignment = InlineAlignment(vector_type); in BuildVectorOfTable()
620 auto elem_size = InlineSize(vector_type); in BuildVectorOfTable()
/external/deqp/external/openglcts/modules/gles31/
Des31cLayoutBindingTests.hpp80 char const* vector_type; // lookup vector type member
Des31cLayoutBindingTests.cpp697 args["OUT_VAR_TYPE"] = getTestParameters().vector_type; in initDefaultVSContext()
729 args["OUT_VAR_TYPE"] = getTestParameters().vector_type; in initDefaultFSContext()
772 << getTestParameters().vector_type << " outColor;\n" in initDefaultCSContext()
784 args["OUT_VAR_TYPE"] = getTestParameters().vector_type; in initDefaultCSContext()
1833 s << getTestParameters().vector_type << "(0.0);"; in binding_compilation_errors()
/external/flatbuffers/include/flatbuffers/
Dflexbuffers.h1374 auto vector_type = GetScalarType<T>(); in ScalarVector() local
1387 ToTypedVector(vector_type, fixed ? len : 0), in ScalarVector()
1403 Type vector_type = TYPE_KEY; variable
1410 vector_type = stack_[i].type_;
1414 assert(vector_type == stack_[i].type_);
1420 assert(IsTypedVectorElementType(vector_type));
1442 ? ToTypedVector(vector_type, fixed ? vec_len : 0)
/external/deqp/external/openglcts/modules/gl/
Dgl4cEnhancedLayoutsTests.cpp14704 const Utils::Type vector_type = Utils::Type::GetType(test_case.m_type, 1, 4); in test() local
14714 const std::vector<GLubyte>& data = vector_type.GenerateDataPacked(); in test()
14729 …prepareShaderStage(Utils::Shader::FRAGMENT, vector_type, program_interface, test_case, varying_pas… in test()
14730 …prepareShaderStage(Utils::Shader::GEOMETRY, vector_type, program_interface, test_case, varying_pas… in test()
14731 …prepareShaderStage(Utils::Shader::TESS_CTRL, vector_type, program_interface, test_case, varying_pa… in test()
14732 …prepareShaderStage(Utils::Shader::TESS_EVAL, vector_type, program_interface, test_case, varying_pa… in test()
14733 …prepareShaderStage(Utils::Shader::VERTEX, vector_type, program_interface, test_case, varying_passt… in test()
14919 …yingComponentsTest::prepareShaderStage(Utils::Shader::STAGES stage, const Utils::Type& vector_type, in test() argument
14924 …const Utils::Type& basic_type = Utils::Type::GetType(vector_type.m_basic_type, 1 /* n_cols */, 1 … in test()
14930 const GLuint last_in_loc = getLastInputLocation(stage, vector_type, array_length); in test()
[all …]
Dgl4cEnhancedLayoutsTests.hpp2635 void prepareShaderStage(Utils::Shader::STAGES stage, const Utils::Type& vector_type,
/external/swiftshader/third_party/LLVM/lib/Bitcode/Reader/
DBitcodeReader.cpp2300 if (VectorType* vector_type = in ParseFunctionBody() local
2303 if (vector_type->getElementType() != Type::getInt1Ty(Context)) in ParseFunctionBody()
/external/swiftshader/third_party/LLVM/bindings/ocaml/llvm/
Dllvm.mli526 (** [vector_type ty n] returns the array type containing [n] elements of the
528 val vector_type : lltype -> int -> lltype val
781 [vector_type (type_of elts.(0)) (Array.length elts)] and containing the
Dllvm.ml315 external vector_type : lltype -> int -> lltype = "llvm_vector_type"
/external/llvm/bindings/ocaml/llvm/
Dllvm.ml404 external vector_type : lltype -> int -> lltype = "llvm_vector_type"
Dllvm.mli656 (** [vector_type ty n] returns the array type containing [n] elements of the
658 val vector_type : lltype -> int -> lltype val
945 [vector_type (type_of elts.(0)) (Array.length elts)] and containing the
/external/mesa3d/src/gallium/drivers/radeonsi/
Dsi_shader.c7388 LLVMTypeRef vector_type = LLVMVectorType(out_type, size); in si_build_wrapper_function() local
7395 if (param_type != vector_type) in si_build_wrapper_function()
7396 param = LLVMBuildBitCast(builder, param, vector_type, ""); in si_build_wrapper_function()
/external/llvm/test/Bindings/OCaml/
Dcore.ml217 insist ((vector_type i16_type 8) = (type_of c));
/external/swiftshader/third_party/LLVM/test/Bindings/Ocaml/
Dvmcore.ml166 insist ((vector_type i16_type 8) = (type_of c));

12