/external/eigen/Eigen/src/Core/ |
VectorBlock.h | 17 template<typename VectorType, int Size> 18 struct traits<VectorBlock<VectorType, Size> > 19 : public traits<Block<VectorType, 20 traits<VectorType>::Flags & RowMajorBit ? 1 : Size, 21 traits<VectorType>::Flags & RowMajorBit ? Size : 1> > 31 * \tparam VectorType the type of the object in which we are taking a sub-vector 46 * \note Even though this expression has dynamic size, in the case where \a VectorType 56 template<typename VectorType, int Size> class VectorBlock 57 : public Block<VectorType, 58 internal::traits<VectorType>::Flags & RowMajorBit ? 1 : Size [all...] |
/external/swiftshader/third_party/subzero/crosstest/ |
insertelement.h | 21 template <typename VectorType, typename ElementType> 23 setElement(VectorType &Value, size_t Index, ElementType Element) {
|
/external/llvm/lib/IR/ |
ValueTypes.cpp | 43 ResultVT.LLVMTy = VectorType::get(VT.getTypeForEVT(Context), NumElements); 102 return EVT::getEVT(cast<VectorType>(LLVMTy)->getElementType()); 107 return cast<VectorType>(LLVMTy)->getNumElements(); 114 if (VectorType *VTy = dyn_cast<VectorType>(LLVMTy)) 223 case MVT::v2i1: return VectorType::get(Type::getInt1Ty(Context), 2); 224 case MVT::v4i1: return VectorType::get(Type::getInt1Ty(Context), 4); 225 case MVT::v8i1: return VectorType::get(Type::getInt1Ty(Context), 8); 226 case MVT::v16i1: return VectorType::get(Type::getInt1Ty(Context), 16); 227 case MVT::v32i1: return VectorType::get(Type::getInt1Ty(Context), 32) [all...] |
/external/eigen/test/ |
mapped_matrix.cpp | 18 template<typename VectorType> void map_class_vector(const VectorType& m) 20 typedef typename VectorType::Index Index; 21 typedef typename VectorType::Scalar Scalar; 31 Map<VectorType, AlignedMax>(array1, size) = VectorType::Random(size); 32 Map<VectorType, AlignedMax>(array2, size) = Map<VectorType,AlignedMax>(array1, size); 33 Map<VectorType>(array3unaligned, size) = Map<VectorType>(array1, size) [all...] |
denseLM.cpp | 25 typedef Matrix<Scalar,Dynamic,1> VectorType; 30 VectorType model(const VectorType& uv, VectorType& x) 32 VectorType y; // Should change to use expression template 40 VectorBlock<const VectorType> u(uv, 0, half); 41 VectorBlock<const VectorType> v(uv, half, half); 50 void initPoints(VectorType& uv_ref, VectorType& x) 56 int operator()(const VectorType& uv, VectorType& fvec [all...] |
sparseLM.cpp | 23 typedef Matrix<Scalar,Dynamic,1> VectorType; 29 VectorType model(const VectorType& uv, VectorType& x) 31 VectorType y; //Change this to use expression template 39 VectorBlock<const VectorType> u(uv, 0, half); 40 VectorBlock<const VectorType> v(uv, half, half); 54 void initPoints(VectorType& uv_ref, VectorType& x) 59 int operator()(const VectorType& uv, VectorType& fvec [all...] |
geo_parametrizedline.cpp | 26 typedef Matrix<Scalar, LineType::AmbientDimAtCompileTime, 1> VectorType; 29 VectorType p0 = VectorType::Random(dim); 30 VectorType p1 = VectorType::Random(dim); 32 VectorType d0 = VectorType::Random(dim).normalized(); 54 VectorType p2 = VectorType::Random(dim); 55 VectorType n2 = VectorType::Random(dim).normalized() [all...] |
geo_alignedbox.cpp | 30 typedef Matrix<Scalar, BoxType::AmbientDimAtCompileTime, 1> VectorType; 34 VectorType p0 = VectorType::Random(dim); 35 VectorType p1 = VectorType::Random(dim); 37 p1 = VectorType::Random(dim); } 41 BoxType b1(VectorType::Random(dim),VectorType::Random(dim)); 60 BoxType box1(VectorType::Random(dim)); 61 box1.extend(VectorType::Random(dim)) [all...] |
/external/swiftshader/third_party/LLVM/lib/VMCore/ |
ValueTypes.cpp | 38 ResultVT.LLVMTy = VectorType::get(VT.getTypeForEVT(Context), NumElements); 76 return EVT::getEVT(cast<VectorType>(LLVMTy)->getElementType()); 81 return cast<VectorType>(LLVMTy)->getNumElements(); 88 if (VectorType *VTy = dyn_cast<VectorType>(LLVMTy)) 167 case MVT::v2i8: return VectorType::get(Type::getInt8Ty(Context), 2); 168 case MVT::v4i8: return VectorType::get(Type::getInt8Ty(Context), 4); 169 case MVT::v8i8: return VectorType::get(Type::getInt8Ty(Context), 8); 170 case MVT::v16i8: return VectorType::get(Type::getInt8Ty(Context), 16); 171 case MVT::v32i8: return VectorType::get(Type::getInt8Ty(Context), 32) [all...] |
/external/swiftshader/third_party/subzero/src/ |
IceTypeConverter.cpp | 36 addLLVMType(IceType_v4i1, llvm::VectorType::get(Type_i1, 4)); 37 addLLVMType(IceType_v8i1, llvm::VectorType::get(Type_i1, 8)); 38 addLLVMType(IceType_v16i1, llvm::VectorType::get(Type_i1, 16)); 39 addLLVMType(IceType_v16i8, llvm::VectorType::get(Type_i8, 16)); 40 addLLVMType(IceType_v8i16, llvm::VectorType::get(Type_i16, 8)); 41 addLLVMType(IceType_v4i32, llvm::VectorType::get(Type_i32, 4)); 42 addLLVMType(IceType_v4f32, llvm::VectorType::get(Type_f32, 4));
|
/external/eigen/Eigen/src/Geometry/ |
Hyperplane.h | 45 typedef Matrix<Scalar,AmbientDimAtCompileTime,1> VectorType; 67 EIGEN_DEVICE_FUNC inline Hyperplane(const VectorType& n, const VectorType& e) 78 EIGEN_DEVICE_FUNC inline Hyperplane(const VectorType& n, const Scalar& d) 88 EIGEN_DEVICE_FUNC static inline Hyperplane Through(const VectorType& p0, const VectorType& p1) 99 EIGEN_DEVICE_FUNC static inline Hyperplane Through(const VectorType& p0, const VectorType& p1, const VectorType& p2) 101 EIGEN_STATIC_ASSERT_VECTOR_SPECIFIC_SIZE(VectorType, 3 [all...] |
ParametrizedLine.h | 41 typedef Matrix<Scalar,AmbientDimAtCompileTime,1,Options> VectorType; 58 EIGEN_DEVICE_FUNC ParametrizedLine(const VectorType& origin, const VectorType& direction) 65 EIGEN_DEVICE_FUNC static inline ParametrizedLine Through(const VectorType& p0, const VectorType& p1) 73 EIGEN_DEVICE_FUNC const VectorType& origin() const { return m_origin; } 74 EIGEN_DEVICE_FUNC VectorType& origin() { return m_origin; } 76 EIGEN_DEVICE_FUNC const VectorType& direction() const { return m_direction; } 77 EIGEN_DEVICE_FUNC VectorType& direction() { return m_direction; } 82 EIGEN_DEVICE_FUNC RealScalar squaredDistance(const VectorType& p) cons [all...] |
/external/eigen/unsupported/test/ |
BVH.cpp | 27 typedef Matrix<double, Dim, 1> VectorType; 30 Ball(const VectorType &c, double r) : center(c), radius(r) {} 32 VectorType center; 44 typedef Matrix<double, Dim, 1> VectorType; 49 BallPointStuff(const VectorType &inP) : p(inP), calls(0), count(0) {} 69 bool intersectVolumeObject(const BoxType &r, const VectorType &v) { ++calls; return r.contains(v); } 70 bool intersectObjectObject(const BallType &b, const VectorType &v){ 83 double minimumOnVolumeObject(const BoxType &r, const VectorType &v) { ++calls; return r.squaredExteriorDistance(v); } 84 double minimumOnObjectObject(const BallType &b, const VectorType &v){ ++calls; return SQR((std::max)(0., (b.center - v).norm() - b.radius)); } 86 VectorType p [all...] |
/external/mesa3d/src/gallium/drivers/swr/rasterizer/jitter/ |
builder.cpp | 61 mSimdInt1Ty = VectorType::get(mInt1Ty, mVWidth); 62 mSimdInt16Ty = VectorType::get(mInt16Ty, mVWidth); 63 mSimdInt32Ty = VectorType::get(mInt32Ty, mVWidth); 64 mSimdInt64Ty = VectorType::get(mInt64Ty, mVWidth); 65 mSimdFP16Ty = VectorType::get(mFP16Ty, mVWidth); 66 mSimdFP32Ty = VectorType::get(mFP32Ty, mVWidth);
|
/external/llvm/include/llvm/IR/ |
DerivedTypes.h | 155 /// Common super class of ArrayType, StructType, PointerType and VectorType. 365 class VectorType : public SequentialType { 368 VectorType(const VectorType &) = delete; 369 const VectorType &operator=(const VectorType &) = delete; 370 VectorType(Type *ElType, unsigned NumEl); 373 /// This static method is the primary way to construct an VectorType. 374 static VectorType *get(Type *ElementType, unsigned NumElements); 376 /// This static method gets a VectorType with the same number of elements a [all...] |
/external/swiftshader/third_party/llvm-subzero/include/llvm/IR/ |
DerivedTypes.h | 159 /// Common super class of ArrayType, StructType and VectorType. 369 class VectorType : public SequentialType { 370 VectorType(Type *ElType, unsigned NumEl); 373 VectorType(const VectorType &) = delete; 374 VectorType &operator=(const VectorType &) = delete; 376 /// This static method is the primary way to construct an VectorType. 377 static VectorType *get(Type *ElementType, unsigned NumElements); 379 /// This static method gets a VectorType with the same number of elements a [all...] |
/prebuilts/clang/host/darwin-x86/clang-3957855/prebuilt_include/llvm/include/llvm/IR/ |
DerivedTypes.h | 159 /// Common super class of ArrayType, StructType and VectorType. 369 class VectorType : public SequentialType { 370 VectorType(Type *ElType, unsigned NumEl); 373 VectorType(const VectorType &) = delete; 374 VectorType &operator=(const VectorType &) = delete; 376 /// This static method is the primary way to construct an VectorType. 377 static VectorType *get(Type *ElementType, unsigned NumElements); 379 /// This static method gets a VectorType with the same number of elements a [all...] |
/prebuilts/clang/host/darwin-x86/clang-3960126/prebuilt_include/llvm/include/llvm/IR/ |
DerivedTypes.h | 159 /// Common super class of ArrayType, StructType and VectorType. 369 class VectorType : public SequentialType { 370 VectorType(Type *ElType, unsigned NumEl); 373 VectorType(const VectorType &) = delete; 374 VectorType &operator=(const VectorType &) = delete; 376 /// This static method is the primary way to construct an VectorType. 377 static VectorType *get(Type *ElementType, unsigned NumElements); 379 /// This static method gets a VectorType with the same number of elements a [all...] |
/prebuilts/clang/host/darwin-x86/clang-3977809/prebuilt_include/llvm/include/llvm/IR/ |
DerivedTypes.h | 159 /// Common super class of ArrayType, StructType and VectorType. 369 class VectorType : public SequentialType { 370 VectorType(Type *ElType, unsigned NumEl); 373 VectorType(const VectorType &) = delete; 374 VectorType &operator=(const VectorType &) = delete; 376 /// This static method is the primary way to construct an VectorType. 377 static VectorType *get(Type *ElementType, unsigned NumElements); 379 /// This static method gets a VectorType with the same number of elements a [all...] |
/prebuilts/clang/host/darwin-x86/clang-4053586/prebuilt_include/llvm/include/llvm/IR/ |
DerivedTypes.h | 159 /// Common super class of ArrayType, StructType and VectorType. 369 class VectorType : public SequentialType { 370 VectorType(Type *ElType, unsigned NumEl); 373 VectorType(const VectorType &) = delete; 374 VectorType &operator=(const VectorType &) = delete; 376 /// This static method is the primary way to construct an VectorType. 377 static VectorType *get(Type *ElementType, unsigned NumElements); 379 /// This static method gets a VectorType with the same number of elements a [all...] |
/prebuilts/clang/host/linux-x86/clang-3957855/prebuilt_include/llvm/include/llvm/IR/ |
DerivedTypes.h | 159 /// Common super class of ArrayType, StructType and VectorType. 369 class VectorType : public SequentialType { 370 VectorType(Type *ElType, unsigned NumEl); 373 VectorType(const VectorType &) = delete; 374 VectorType &operator=(const VectorType &) = delete; 376 /// This static method is the primary way to construct an VectorType. 377 static VectorType *get(Type *ElementType, unsigned NumElements); 379 /// This static method gets a VectorType with the same number of elements a [all...] |
/prebuilts/clang/host/linux-x86/clang-3960126/prebuilt_include/llvm/include/llvm/IR/ |
DerivedTypes.h | 159 /// Common super class of ArrayType, StructType and VectorType. 369 class VectorType : public SequentialType { 370 VectorType(Type *ElType, unsigned NumEl); 373 VectorType(const VectorType &) = delete; 374 VectorType &operator=(const VectorType &) = delete; 376 /// This static method is the primary way to construct an VectorType. 377 static VectorType *get(Type *ElementType, unsigned NumElements); 379 /// This static method gets a VectorType with the same number of elements a [all...] |
/prebuilts/clang/host/linux-x86/clang-3977809/prebuilt_include/llvm/include/llvm/IR/ |
DerivedTypes.h | 159 /// Common super class of ArrayType, StructType and VectorType. 369 class VectorType : public SequentialType { 370 VectorType(Type *ElType, unsigned NumEl); 373 VectorType(const VectorType &) = delete; 374 VectorType &operator=(const VectorType &) = delete; 376 /// This static method is the primary way to construct an VectorType. 377 static VectorType *get(Type *ElementType, unsigned NumElements); 379 /// This static method gets a VectorType with the same number of elements a [all...] |
/prebuilts/clang/host/linux-x86/clang-4053586/prebuilt_include/llvm/include/llvm/IR/ |
DerivedTypes.h | 159 /// Common super class of ArrayType, StructType and VectorType. 369 class VectorType : public SequentialType { 370 VectorType(Type *ElType, unsigned NumEl); 373 VectorType(const VectorType &) = delete; 374 VectorType &operator=(const VectorType &) = delete; 376 /// This static method is the primary way to construct an VectorType. 377 static VectorType *get(Type *ElementType, unsigned NumElements); 379 /// This static method gets a VectorType with the same number of elements a [all...] |
/system/tools/hidl/ |
VectorType.cpp | 17 #include "VectorType.h" 28 VectorType::VectorType() { 31 std::string VectorType::typeName() const { 35 bool VectorType::isCompatibleElementType(Type *elementType) const { 72 bool VectorType::isVector() const { 76 bool VectorType::isVectorOfBinders() const { 80 bool VectorType::canCheckEquality() const { 84 std::string VectorType::getCppType(StorageMode mode, 110 std::string VectorType::getJavaType(bool /* forInitializer */) const [all...] |