Searched refs:VectorType (Results 176 - 200 of 290) sorted by relevance

1234567891011>>

/external/swiftshader/third_party/LLVM/lib/Analysis/
H A DConstantFolding.cpp55 VectorType *DestVTy = dyn_cast<VectorType>(DestTy);
94 VectorType::get(IntegerType::get(C->getContext(), FPWidth), NumDstElt);
108 VectorType::get(IntegerType::get(C->getContext(), FPWidth), NumSrcElt);
1017 } else if (VectorType *VTy = dyn_cast<VectorType>(*I)) {
/external/clang/include/clang/AST/
H A DCanonicalType.h457 struct CanProxyAdaptor<VectorType> : public CanProxyBase<VectorType> {
H A DASTContext.h110 mutable llvm::FoldingSet<VectorType> VectorTypes;
1166 /// \pre \p VectorType must be a built-in type.
1167 QualType getVectorType(QualType VectorType, unsigned NumElts,
1168 VectorType::VectorKind VecKind) const;
1173 /// \pre \p VectorType must be a built-in type.
1174 QualType getExtVectorType(QualType VectorType, unsigned NumElts) const;
1181 QualType getDependentSizedExtVectorType(QualType VectorType,
/external/clang/lib/Sema/
H A DSemaExpr.cpp4363 if (!LHSExp->getType()->getAs<VectorType>()) {
4420 } else if (const VectorType *VTy = LHSTy->getAs<VectorType>()) {
5790 if (const VectorType *vecType = type->getAs<VectorType>()) {
5869 QualType DestElemTy = VectorTy->castAs<VectorType>()->getElementType();
5907 // If SrcTy is a VectorType, the total size must match to explicitly cast to
6035 const VectorType *VTy = Ty->getAs<VectorType>();
6036 unsigned numElems = Ty->getAs<VectorType>()
[all...]
H A DSemaCast.cpp2216 if (const VectorType *vecTy = DestType->getAs<VectorType>())
2217 if (vecTy->getVectorKind() == VectorType::AltiVecVector
2468 if (const VectorType *DestVecTy = DestType->getAs<VectorType>()) {
2469 if (DestVecTy->getVectorKind() == VectorType::AltiVecVector &&
/external/eigen/unsupported/Eigen/src/IterativeSolvers/
H A DDGMRES.h38 template <typename VectorType, typename IndexType>
39 void sortWithPermutation (VectorType& vec, IndexType& perm, typename IndexType::Scalar& ncut)
/external/swiftshader/third_party/LLVM/lib/Target/CBackend/
H A DCBackend.cpp449 VectorType *VTy = cast<VectorType>(Ty);
1059 VectorType *VT = cast<VectorType>(CPV->getType());
3357 VectorType *LastIndexIsVector = 0;
3360 LastIndexIsVector = dyn_cast<VectorType>(*TmpI);
3517 cast<VectorType>(I.getOperand(0)->getType())->getElementType();
3528 VectorType *VT = SVI.getType();
/external/flatbuffers/src/
H A Didl_gen_text.cpp204 type = type.VectorType();
/external/llvm/include/llvm/IR/
H A DLegacyPassManagers.h424 const AnalysisUsage::VectorType &Set) const;
H A DInstrTypes.h1096 if (VectorType* vt = dyn_cast<VectorType>(opnd_type)) {
1097 return VectorType::get(Type::getInt1Ty(opnd_type->getContext()),
/external/llvm/lib/IR/
H A DVerifier.cpp2329 Assert(cast<VectorType>(SrcTy)->getNumElements() ==
2330 cast<VectorType>(DestTy)->getNumElements(),
2352 Assert(cast<VectorType>(SrcTy)->getNumElements() ==
2353 cast<VectorType>(DestTy)->getNumElements(),
2375 Assert(cast<VectorType>(SrcTy)->getNumElements() ==
2376 cast<VectorType>(DestTy)->getNumElements(),
2398 Assert(cast<VectorType>(SrcTy)->getNumElements() ==
2399 cast<VectorType>(DestTy)->getNumElements(),
2418 VectorType *VSrc = dyn_cast<VectorType>(SrcT
[all...]
/external/llvm/lib/Target/PowerPC/
H A DPPCTargetTransformInfo.cpp415 assert(isa<VectorType>(VecTy) &&
/external/mesa3d/src/gallium/drivers/swr/rasterizer/jitter/
H A Dbuilder_misc.h141 return S_EXT(vIndexMask,VectorType::get(mInt32Ty,JM()->mVWidth));
H A Dstreamout_jit.cpp148 Type* simd4Ty = VectorType::get(IRB()->getFloatTy(), 4);
/external/clang/lib/AST/
H A DItaniumMangle.cpp531 void mangleNeonVectorType(const VectorType *T);
532 void mangleAArch64NeonVectorType(const VectorType *T);
2721 void CXXNameMangler::mangleNeonVectorType(const VectorType *T) {
2725 if (T->getVectorKind() == VectorType::NeonPolyVector) {
2804 void CXXNameMangler::mangleAArch64NeonVectorType(const VectorType *T) {
2815 if (T->getVectorKind() == VectorType::NeonPolyVector) {
2846 void CXXNameMangler::mangleType(const VectorType *T) {
2847 if ((T->getVectorKind() == VectorType::NeonVector ||
2848 T->getVectorKind() == VectorType::NeonPolyVector)) {
2860 if (T->getVectorKind() == VectorType
[all...]
H A DASTContext.cpp1569 const VectorType *VT = cast<VectorType>(T);
2884 /// the specified element type and size. VectorType must be a built-in type.
2886 VectorType::VectorKind VecKind) const {
2891 VectorType::Profile(ID, vecType, NumElts, Type::Vector, VecKind);
2894 if (VectorType *VTP = VectorTypes.FindNodeOrInsertPos(ID, InsertPos))
2904 VectorType *NewIP = VectorTypes.FindNodeOrInsertPos(ID, InsertPos);
2907 VectorType *New = new (*this, TypeAlignment)
2908 VectorType(vecType, NumElts, Canonical, VecKind);
2915 /// the specified element type and size. VectorType mus
[all...]
/external/llvm/include/llvm/Analysis/
H A DTargetTransformInfo.h505 int getExtractWithExtendCost(unsigned Opcode, Type *Dst, VectorType *VecTy,
702 VectorType *VecTy, unsigned Index) = 0;
910 int getExtractWithExtendCost(unsigned Opcode, Type *Dst, VectorType *VecTy,
H A DTargetTransformInfoImpl.h309 VectorType *VecTy, unsigned Index) {
/external/llvm/lib/Target/AArch64/
H A DAArch64TargetTransformInfo.cpp295 VectorType *VecTy,
501 assert(isa<VectorType>(VecTy) && "Expect a vector type");
505 Type *SubVecTy = VectorType::get(VecTy->getScalarType(), NumElts / Factor);
/external/llvm/lib/Target/AMDGPU/
H A DAMDGPUPromoteAlloca.cpp343 static VectorType *arrayTypeToVecType(Type *ArrayTy) {
344 return VectorType::get(ArrayTy->getArrayElementType(),
436 VectorType *VectorTy = arrayTypeToVecType(AllocaTy);
/external/llvm/lib/Analysis/
H A DConstantFolding.cpp65 auto *VTy = dyn_cast<VectorType>(C->getType());
77 VectorType::get(IntegerType::get(C->getContext(), FPWidth), NumSrcElts);
105 auto *DestVTy = dyn_cast<VectorType>(DestTy);
143 VectorType::get(IntegerType::get(C->getContext(), FPWidth), NumDstElt);
156 VectorType::get(IntegerType::get(C->getContext(), FPWidth), NumSrcElt);
1846 VectorType *VTy, ArrayRef<Constant *> Operands,
1923 if (auto *VTy = dyn_cast<VectorType>(Ty))
/external/clang/lib/CodeGen/
H A DCGExpr.cpp721 if (const VectorType *VT = Base->getType()->getAs<VectorType>()) {
1274 const auto *VTy = cast<llvm::VectorType>(EltTy);
1280 llvm::VectorType *vec4Ty = llvm::VectorType::get(VTy->getElementType(),
1385 auto *VecTy = cast<llvm::VectorType>(SrcTy);
1396 SrcTy = llvm::VectorType::get(VecTy->getElementType(), 4);
1525 const VectorType *ExprVT = LV.getType()->getAs<VectorType>();
1548 const VectorType *ExprV
[all...]
/external/spirv-llvm/lib/SPIRV/
H A DSPIRVReader.cpp578 ReturnTy = cast<VectorType>(ReturnTy)->getElementType();
702 return mapType(T, VectorType::get(transType(T->getVectorComponentType()),
1161 if (auto VT = dyn_cast<VectorType>(T))
1170 UndefValue::get(VectorType::get(NewCI->getType(), 4)), NewCI,
1906 RetTy = VectorType::get(IntegerType::get(*Context,
2671 auto NewArgTy = VectorType::get(
2696 if (cast<VectorType>(CI->getOperand(0)->getType())
2700 if (cast<VectorType>(CI->getOperand(0)->getType())
2704 RetTy = VectorType::get(IntTy,
2713 VectorType
[all...]
/external/llvm/lib/Transforms/Scalar/
H A DRewriteStatepointsForGC.cpp236 if (auto VT = dyn_cast<VectorType>(T))
248 if (VectorType *VT = dyn_cast<VectorType>(Ty))
820 isa<VectorType>(State.getBaseValue()->getType())) {
1176 if (auto *VT = dyn_cast<VectorType>(Ty))
1177 NewTy = VectorType::get(NewTy, VT->getNumElements());
/external/eigen/Eigen/src/Geometry/
H A DTransform.h235 typedef Matrix<Scalar,Dim,1> VectorType; typedef in class:Eigen::Transform
976 VectorType tmp = linear().col(0)*sy + linear().col(1);
1084 VectorType sv(svd.singularValues());
1113 VectorType sv(svd.singularValues());

Completed in 656 milliseconds

1234567891011>>