Home
last modified time | relevance | path

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

/external/vulkan-validation-layers/libs/glm/detail/
D_swizzle.hpp86 …template <typename ValueType, precision P, typename VecType, int N, int E0, int E1, int E2, int E3…
87 struct _swizzle_base2 : public _swizzle_base1<ValueType, P, VecType,E0,E1,E2,E3,N>
89 typedef VecType vec_type;
99 GLM_FUNC_QUALIFIER _swizzle_base2& operator= (const VecType& that) in operator =()
108 GLM_FUNC_QUALIFIER void operator -= (const VecType& that) in operator -=()
116 GLM_FUNC_QUALIFIER void operator += (const VecType& that) in operator +=()
124 GLM_FUNC_QUALIFIER void operator *= (const VecType& that) in operator *=()
132 GLM_FUNC_QUALIFIER void operator /= (const VecType& that) in operator /=()
158 GLM_FUNC_QUALIFIER void _apply_op(const VecType& that, T op) in _apply_op()
172 template <typename ValueType, precision P, typename VecType, int N, int E0, int E1, int E2, int E3>
[all …]
/external/llvm/lib/Target/NVPTX/
DNVPTX.h114 enum VecType { enum
DNVPTXISelDAGToDAG.cpp949 unsigned VecType; in SelectLoadVector() local
953 VecType = NVPTX::PTXLdStInstCode::V2; in SelectLoadVector()
956 VecType = NVPTX::PTXLdStInstCode::V4; in SelectLoadVector()
1013 getI32Imm(VecType, DL), getI32Imm(FromType, DL), in SelectLoadVector()
1066 getI32Imm(VecType, DL), getI32Imm(FromType, DL), in SelectLoadVector()
1168 getI32Imm(VecType, DL), getI32Imm(FromType, DL), in SelectLoadVector()
1270 getI32Imm(VecType, DL), getI32Imm(FromType, DL), in SelectLoadVector()
2322 unsigned VecType; in SelectStoreVector() local
2326 VecType = NVPTX::PTXLdStInstCode::V2; in SelectStoreVector()
2332 VecType = NVPTX::PTXLdStInstCode::V4; in SelectStoreVector()
[all …]
/external/llvm/lib/CodeGen/
DCodeGenPrepare.cpp1147 VectorType *VecType = dyn_cast<VectorType>(CI->getType()); in ScalarizeMaskedLoad() local
1148 assert(VecType && "Unexpected return type of masked load intrinsic"); in ScalarizeMaskedLoad()
1173 AlignVal = std::min(AlignVal, VecType->getScalarSizeInBits()/8); in ScalarizeMaskedLoad()
1178 unsigned VectorWidth = VecType->getNumElements(); in ScalarizeMaskedLoad()
1180 Value *UndefVal = UndefValue::get(VecType); in ScalarizeMaskedLoad()
1214 Phi = Builder.CreatePHI(VecType, 2, "res.phi.else"); in ScalarizeMaskedLoad()
1250 Phi = Builder.CreatePHI(VecType, 2, "res.phi.select"); in ScalarizeMaskedLoad()
1293 VectorType *VecType = dyn_cast<VectorType>(Src->getType()); in ScalarizeMaskedStore() local
1294 assert(VecType && "Unexpected data type in masked store intrinsic"); in ScalarizeMaskedStore()
1296 Type *EltTy = VecType->getElementType(); in ScalarizeMaskedStore()
[all …]
/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/llvm/lib/CodeGen/SelectionDAG/
DLegalizeVectorTypes.cpp857 Type *VecType = VecVT.getTypeForEVT(*DAG.getContext()); in SplitVecRes_INSERT_SUBVECTOR() local
858 unsigned Alignment = DAG.getDataLayout().getPrefTypeAlignment(VecType); in SplitVecRes_INSERT_SUBVECTOR()
956 Type *VecType = VecVT.getTypeForEVT(*DAG.getContext()); in SplitVecRes_INSERT_VECTOR_ELT() local
957 unsigned Alignment = DAG.getDataLayout().getPrefTypeAlignment(VecType); in SplitVecRes_INSERT_VECTOR_ELT()
/external/clang/lib/Sema/
DSemaTemplateDeduction.cpp4807 const DependentSizedExtVectorType *VecType in MarkUsedTemplateParameters() local
4809 MarkUsedTemplateParameters(Ctx, VecType->getElementType(), OnlyDeduced, in MarkUsedTemplateParameters()
4811 MarkUsedTemplateParameters(Ctx, VecType->getSizeExpr(), OnlyDeduced, in MarkUsedTemplateParameters()
DSemaInit.cpp1481 QualType VecType; in CheckVectorType() local
1486 VecType = SemaRef.Context.getExtVectorType(elementType, numIElts); in CheckVectorType()
1488 VecType = SemaRef.Context.getVectorType(elementType, numIElts, in CheckVectorType()
1490 CheckSubElementType(ElementEntity, IList, VecType, Index, in CheckVectorType()