Home
last modified time | relevance | path

Searched refs:VecType (Results 1 – 21 of 21) sorted by relevance

/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/
DScalarizeMaskedMemIntrin.cpp122 VectorType *VecType = dyn_cast<VectorType>(CI->getType()); in scalarizeMaskedLoad() local
123 assert(VecType && "Unexpected return type of masked load intrinsic"); in scalarizeMaskedLoad()
148 AlignVal = std::min(AlignVal, VecType->getScalarSizeInBits() / 8); in scalarizeMaskedLoad()
153 unsigned VectorWidth = VecType->getNumElements(); in scalarizeMaskedLoad()
155 Value *UndefVal = UndefValue::get(VecType); in scalarizeMaskedLoad()
188 Phi = Builder.CreatePHI(VecType, 2, "res.phi.else"); in scalarizeMaskedLoad()
225 Phi = Builder.CreatePHI(VecType, 2, "res.phi.select"); in scalarizeMaskedLoad()
268 VectorType *VecType = dyn_cast<VectorType>(Src->getType()); in scalarizeMaskedStore() local
269 assert(VecType && "Unexpected data type in masked store intrinsic"); in scalarizeMaskedStore()
271 Type *EltTy = VecType->getElementType(); in scalarizeMaskedStore()
[all …]
/external/swiftshader/src/OpenGL/compiler/
DSymbolTable.h278 inline TType *VecType(TType *type, int size) in VecType() function
400 …insertBuiltIn(level, op, ext, VecType(rvalue, 2), name, VecType(ptype1, 2), VecType(ptype2, 2), Ve…
401 …insertBuiltIn(level, op, ext, VecType(rvalue, 3), name, VecType(ptype1, 3), VecType(ptype2, 3), Ve…
402 …insertBuiltIn(level, op, ext, VecType(rvalue, 4), name, VecType(ptype1, 4), VecType(ptype2, 4), Ve…
/external/eigen/unsupported/Eigen/src/SparseExtra/
DBlockSparseMatrix.h245 template<typename BlockSparseMatrixT, typename VecType>
246 struct traits<BlockSparseTimeDenseProduct<BlockSparseMatrixT, VecType> >
853 template<typename VecType>
854 BlockSparseTimeDenseProduct<BlockSparseMatrix, VecType> operator*(const VecType& lhs) const
856 return BlockSparseTimeDenseProduct<BlockSparseMatrix, VecType>(*this, lhs);
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/NVPTX/
DNVPTX.h112 enum VecType { enum
DNVPTXISelDAGToDAG.cpp1047 unsigned VecType; in tryLoadVector() local
1051 VecType = NVPTX::PTXLdStInstCode::V2; in tryLoadVector()
1054 VecType = NVPTX::PTXLdStInstCode::V4; in tryLoadVector()
1094 getI32Imm(VecType, DL), getI32Imm(FromType, DL), in tryLoadVector()
1121 getI32Imm(VecType, DL), getI32Imm(FromType, DL), in tryLoadVector()
1170 getI32Imm(VecType, DL), getI32Imm(FromType, DL), in tryLoadVector()
1219 getI32Imm(VecType, DL), getI32Imm(FromType, DL), in tryLoadVector()
1916 unsigned VecType; in tryStoreVector() local
1920 VecType = NVPTX::PTXLdStInstCode::V2; in tryStoreVector()
1926 VecType = NVPTX::PTXLdStInstCode::V4; in tryStoreVector()
[all …]
/external/llvm/lib/Target/NVPTX/
DNVPTX.h114 enum VecType { enum
DNVPTXISelDAGToDAG.cpp966 unsigned VecType; in tryLoadVector() local
970 VecType = NVPTX::PTXLdStInstCode::V2; in tryLoadVector()
973 VecType = NVPTX::PTXLdStInstCode::V4; in tryLoadVector()
1030 getI32Imm(VecType, DL), getI32Imm(FromType, DL), in tryLoadVector()
1083 getI32Imm(VecType, DL), getI32Imm(FromType, DL), in tryLoadVector()
1185 getI32Imm(VecType, DL), getI32Imm(FromType, DL), in tryLoadVector()
1287 getI32Imm(VecType, DL), getI32Imm(FromType, DL), in tryLoadVector()
2391 unsigned VecType; in tryStoreVector() local
2395 VecType = NVPTX::PTXLdStInstCode::V2; in tryStoreVector()
2401 VecType = NVPTX::PTXLdStInstCode::V4; in tryStoreVector()
[all …]
/external/llvm/lib/CodeGen/
DCodeGenPrepare.cpp1185 VectorType *VecType = dyn_cast<VectorType>(CI->getType()); in scalarizeMaskedLoad() local
1186 assert(VecType && "Unexpected return type of masked load intrinsic"); in scalarizeMaskedLoad()
1211 AlignVal = std::min(AlignVal, VecType->getScalarSizeInBits()/8); in scalarizeMaskedLoad()
1216 unsigned VectorWidth = VecType->getNumElements(); in scalarizeMaskedLoad()
1218 Value *UndefVal = UndefValue::get(VecType); in scalarizeMaskedLoad()
1252 Phi = Builder.CreatePHI(VecType, 2, "res.phi.else"); in scalarizeMaskedLoad()
1288 Phi = Builder.CreatePHI(VecType, 2, "res.phi.select"); in scalarizeMaskedLoad()
1331 VectorType *VecType = dyn_cast<VectorType>(Src->getType()); in scalarizeMaskedStore() local
1332 assert(VecType && "Unexpected data type in masked store intrinsic"); in scalarizeMaskedStore()
1334 Type *EltTy = VecType->getElementType(); in scalarizeMaskedStore()
[all …]
/external/swiftshader/third_party/subzero/src/
DPNaClTranslator.cpp1732 Ice::Type VecType = Vec->getType(); in validateVectorIndex() local
1733 if (!Ice::isVectorType(VecType)) in validateVectorIndex()
1738 if (static_cast<size_t>(C->getValue()) >= typeNumElements(VecType)) in validateVectorIndex()
2306 Ice::Type VecType = Vec->getType(); in ProcessRecord() local
2312 StrBuf << ": extractelement " << VecType << " " << *Vec << ", " in ProcessRecord()
2315 appendErrorInstruction(VecType); in ProcessRecord()
2319 Func.get(), getNextInstVar(typeElementType(VecType)), Vec, Index)); in ProcessRecord()
2329 Ice::Type VecType = Vec->getType(); in ProcessRecord() local
2335 StrBuf << ": insertelement " << VecType << " " << *Vec << ", " in ProcessRecord()
2342 if (Ice::typeElementType(VecType) != Elt->getType()) { in ProcessRecord()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/ADT/
DBitVectorTest.cpp534 template <typename VecType>
535 static inline VecType createBitVector(uint32_t Size, in createBitVector()
537 VecType V; in createBitVector()
/external/llvm/lib/Transforms/InstCombine/
DInstCombineCasts.cpp454 VectorType *VecType = cast<VectorType>(VecInput->getType()); in foldVecTruncToExtElt() local
455 unsigned VecWidth = VecType->getPrimitiveSizeInBits(); in foldVecTruncToExtElt()
465 if (VecType->getElementType() != DestType) { in foldVecTruncToExtElt()
466 VecType = VectorType::get(DestType, NumVecElts); in foldVecTruncToExtElt()
467 VecInput = IC.Builder->CreateBitCast(VecInput, VecType, "bc"); in foldVecTruncToExtElt()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/InstCombine/
DInstCombineCasts.cpp471 VectorType *VecType = cast<VectorType>(VecInput->getType()); in foldVecTruncToExtElt() local
472 unsigned VecWidth = VecType->getPrimitiveSizeInBits(); in foldVecTruncToExtElt()
482 if (VecType->getElementType() != DestType) { in foldVecTruncToExtElt()
483 VecType = VectorType::get(DestType, NumVecElts); in foldVecTruncToExtElt()
484 VecInput = IC.Builder.CreateBitCast(VecInput, VecType, "bc"); in foldVecTruncToExtElt()
/external/libaom/libaom/test/
Dnoise_model_test.cc341 typedef std::vector<typename T::data_type_t> VecType; typedef in FlatBlockEstimatorTest
342 VecType data_;
/external/clang/lib/Sema/
DSemaTemplateDeduction.cpp4797 const DependentSizedExtVectorType *VecType in MarkUsedTemplateParameters() local
4799 MarkUsedTemplateParameters(Ctx, VecType->getElementType(), OnlyDeduced, in MarkUsedTemplateParameters()
4801 MarkUsedTemplateParameters(Ctx, VecType->getSizeExpr(), OnlyDeduced, in MarkUsedTemplateParameters()
DSemaInit.cpp1543 QualType VecType; in CheckVectorType() local
1548 VecType = SemaRef.Context.getExtVectorType(elementType, numIElts); in CheckVectorType()
1550 VecType = SemaRef.Context.getVectorType(elementType, numIElts, in CheckVectorType()
1552 CheckSubElementType(ElementEntity, IList, VecType, Index, in CheckVectorType()
DSemaExpr.cpp7403 const VectorType *VecType = RHSType->getAs<VectorType>(); in CheckAssignmentConstraints() local
7404 if (VecType && VecType->getNumElements() == 1 && in CheckAssignmentConstraints()
7955 QualType VecType = LHSVecType ? LHSType : RHSType; in CheckVectorOperands() local
7958 if (isLaxVectorConversion(ScalarType, VecType) && in CheckVectorOperands()
7960 *ScalarExpr = ImpCastExprToType(ScalarExpr->get(), VecType, CK_BitCast); in CheckVectorOperands()
7961 return VecType; in CheckVectorOperands()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/SelectionDAG/
DLegalizeVectorTypes.cpp956 Type *VecType = VecVT.getTypeForEVT(*DAG.getContext()); in SplitVecRes_INSERT_SUBVECTOR() local
957 unsigned Alignment = DAG.getDataLayout().getPrefTypeAlignment(VecType); in SplitVecRes_INSERT_SUBVECTOR()
1155 Type *VecType = VecVT.getTypeForEVT(*DAG.getContext()); in SplitVecRes_INSERT_VECTOR_ELT() local
1156 unsigned Alignment = DAG.getDataLayout().getPrefTypeAlignment(VecType); in SplitVecRes_INSERT_VECTOR_ELT()
/external/llvm/lib/CodeGen/SelectionDAG/
DLegalizeVectorTypes.cpp881 Type *VecType = VecVT.getTypeForEVT(*DAG.getContext()); in SplitVecRes_INSERT_SUBVECTOR() local
882 unsigned Alignment = DAG.getDataLayout().getPrefTypeAlignment(VecType); in SplitVecRes_INSERT_SUBVECTOR()
1013 Type *VecType = VecVT.getTypeForEVT(*DAG.getContext()); in SplitVecRes_INSERT_VECTOR_ELT() local
1014 unsigned Alignment = DAG.getDataLayout().getPrefTypeAlignment(VecType); in SplitVecRes_INSERT_VECTOR_ELT()
/external/swiftshader/third_party/LLVM/lib/CodeGen/SelectionDAG/
DLegalizeVectorTypes.cpp672 Type *VecType = VecVT.getTypeForEVT(*DAG.getContext()); in SplitVecRes_INSERT_VECTOR_ELT() local
674 TLI.getTargetData()->getPrefTypeAlignment(VecType); in SplitVecRes_INSERT_VECTOR_ELT()
/external/llvm/lib/Target/AMDGPU/
DSIISelLowering.cpp2400 MVT VecType = MVT::getVectorVT(SimpleVT, 2); in LowerATOMIC_CMP_SWAP() local
2402 SDValue NewOld = DAG.getBuildVector(VecType, DL, {New, Old}); in LowerATOMIC_CMP_SWAP()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AMDGPU/
DSIISelLowering.cpp6137 MVT VecType = MVT::getVectorVT(SimpleVT, 2); in LowerATOMIC_CMP_SWAP() local
6139 SDValue NewOld = DAG.getBuildVector(VecType, DL, {New, Old}); in LowerATOMIC_CMP_SWAP()