Home
last modified time | relevance | path

Searched refs:VectorType (Results 1 – 25 of 224) sorted by relevance

123456789

/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/IR/
H A DDerivedTypes.h403 class VectorType : public Type {
433 VectorType(const VectorType &) = delete;
434 VectorType &operator=(const VectorType &) = delete;
443 return VectorType::get(ElementType, in get()
447 static VectorType *get(Type *ElementType, const VectorType *Other) { in get()
454 static VectorType *getInteger(VectorType *VTy) { in getInteger()
463 static VectorType *getExtendedElementVectorType(VectorType *VTy) { in getExtendedElementVectorType()
472 static VectorType *getTruncatedElementVectorType(VectorType *VTy) { in getTruncatedElementVectorType()
497 static VectorType *getSubdividedVectorType(VectorType *VTy, int NumSubdivs) { in getSubdividedVectorType()
507 static VectorType *getHalfElementsVectorType(VectorType *VTy) { in getHalfElementsVectorType()
[all …]
H A DMatrixBuilder.h45 cast<VectorType>(LHS->getType())->getElementCount(), RHS, in splatScalarOperandIfNeeded()
51 cast<VectorType>(RHS->getType())->getElementCount(), LHS, in splatScalarOperandIfNeeded()
112 auto *OpType = cast<VectorType>(Matrix->getType());
129 auto *LHSType = cast<VectorType>(LHS->getType());
130 auto *RHSType = cast<VectorType>(RHS->getType());
163 cast<VectorType>(LHS->getType())->getElementCount(), RHS, in CreateAdd()
169 cast<VectorType>(RHS->getType())->getElementCount(), LHS, in CreateAdd()
173 return cast<VectorType>(LHS->getType()) in CreateAdd()
188 cast<VectorType>(LHS->getType())->getElementCount(), RHS, in CreateSub()
198 return cast<VectorType>(LHS->getType()) in CreateSub()
[all …]
H A DGetElementPtrTypeIterator.h66 PointerUnion<StructType *, VectorType *, Type *> CurTy;
105 if (auto *VT = dyn_cast_if_present<VectorType *>(CurTy)) in getIndexedType()
116 else if (auto *VTy = dyn_cast<VectorType>(Ty))
146 bool isVector() const { return isa<VectorType *>(CurTy); } in isVector()
/freebsd-14.2/contrib/llvm-project/clang/lib/Sema/
H A DOpenCLBuiltins.td784 …def : Builtin<name, [VectorType<Float, VSize>, VectorType<Float, VSize>, VectorType<Float, VSize>]…
786 …def : Builtin<name, [VectorType<Half, VSize>, VectorType<Half, VSize>, VectorType<Half, VSize>], A…
1519 …def : Builtin<name, [VectorType<Float, 4>, ImageType<imgTy, aQual>, Sampler, VectorType<Float, 2>,…
1523 …def : Builtin<name, [VectorType<Int, 4>, ImageType<imgTy, aQual>, Sampler, VectorType<Float, 2>, V…
1527 …def : Builtin<name, [VectorType<UInt, 4>, ImageType<imgTy, aQual>, Sampler, VectorType<Float, 2>,
1552 …def : Builtin<name, [VectorType<Float, 4>, ImageType<imgTy, aQual>, Sampler, VectorType<Float, 4>,…
1556 …def : Builtin<name, [VectorType<Int, 4>, ImageType<imgTy, aQual>, Sampler, VectorType<Float, 4>, V…
1560 …def : Builtin<name, [VectorType<UInt, 4>, ImageType<imgTy, aQual>, Sampler, VectorType<Float, 4>,
1581 …def : Builtin<name, [VectorType<Float, 4>, ImageType<imgTy, aQual>, Sampler, VectorType<Float, 4>,…
1585 …def : Builtin<name, [VectorType<Int, 4>, ImageType<imgTy, aQual>, Sampler, VectorType<Float, 4>, V…
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/ADT/
H A DMapVector.h35 typename VectorType = SmallVector<std::pair<KeyT, ValueT>, 0>>
38 VectorType Vector;
46 using value_type = typename VectorType::value_type;
47 using size_type = typename VectorType::size_type;
49 using iterator = typename VectorType::iterator;
50 using const_iterator = typename VectorType::const_iterator;
51 using reverse_iterator = typename VectorType::reverse_iterator;
52 using const_reverse_iterator = typename VectorType::const_reverse_iterator;
55 VectorType takeVector() { in takeVector()
193 typename VectorType::iterator erase(typename VectorType::iterator Iterator) { in erase()
[all …]
H A DUniqueVector.h26 using VectorType = typename std::vector<T>;
27 using iterator = typename VectorType::iterator;
28 using const_iterator = typename VectorType::const_iterator;
35 VectorType Vector;
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/
H A DPassAnalysisSupport.h49 using VectorType = SmallVectorImpl<AnalysisID>;
62 void pushUnique(VectorType &Set, AnalysisID ID) { in pushUnique()
144 const VectorType &getRequiredSet() const { return Required; } in getRequiredSet()
145 const VectorType &getRequiredTransitiveSet() const { in getRequiredTransitiveSet()
148 const VectorType &getPreservedSet() const { return Preserved; } in getPreservedSet()
149 const VectorType &getUsedSet() const { return Used; } in getUsedSet()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/FuzzMutate/
H A DOpDescriptor.h189 VectorType *ThisVec = dyn_cast<VectorType>(This); in matchFirstLengthWAnyType()
190 VectorType *FirstVec = dyn_cast<VectorType>(First); in matchFirstLengthWAnyType()
201 if (VectorType *VecTy = dyn_cast<VectorType>(Cur[0]->getType())) { in matchFirstLengthWAnyType()
206 if (VectorType::isValidElementType(T)) { in matchFirstLengthWAnyType()
209 makeConstantsWithType(VectorType::get(T, EC), Result); in matchFirstLengthWAnyType()
/freebsd-14.2/contrib/llvm-project/llvm/lib/IR/
H A DFunction.cpp968 } else if (VectorType *VTy = dyn_cast<VectorType>(Ty)) { in getMangledTypeStr()
1361 if (VectorType *VTy = dyn_cast<VectorType>(Ty)) in DecodeFixedType()
1368 if (VectorType *VTy = dyn_cast<VectorType>(Ty)) in DecodeFixedType()
1378 VectorType *VTy = dyn_cast<VectorType>(Ty); in DecodeFixedType()
1384 return VectorType::getHalfElementsVectorType(cast<VectorType>( in DecodeFixedType()
1395 if (VectorType *VTy = dyn_cast<VectorType>(Ty)) in DecodeFixedType()
1401 VectorType *VTy = dyn_cast<VectorType>(Ty); in DecodeFixedType()
1403 return VectorType::getInteger(VTy); in DecodeFixedType()
1505 VectorType *VT = dyn_cast<VectorType>(Ty); in matchIntrinsicType()
1558 if (VectorType *VTy = dyn_cast<VectorType>(NewTy)) in matchIntrinsicType()
[all …]
H A DConstants.cpp397 if (VectorType *VTy = dyn_cast<VectorType>(Ty)) in getIntegerValue()
413 VectorType *VTy = cast<VectorType>(Ty); in getAllOnesValue()
892 if (VectorType *VTy = dyn_cast<VectorType>(Ty)) in get()
908 if (VectorType *VTy = dyn_cast<VectorType>(Ty)) in get()
937 if (VectorType *VTy = dyn_cast<VectorType>(Ty)) in get()
962 if (VectorType *VTy = dyn_cast<VectorType>(Ty)) in get()
973 if (VectorType *VTy = dyn_cast<VectorType>(Ty)) in getNaN()
984 if (VectorType *VTy = dyn_cast<VectorType>(Ty)) in getQNaN()
995 if (VectorType *VTy = dyn_cast<VectorType>(Ty)) in getSNaN()
1006 if (VectorType *VTy = dyn_cast<VectorType>(Ty)) in getZero()
[all …]
H A DPass.cpp247 using VectorType = AnalysisUsage::VectorType; typedef
249 VectorType &CFGOnlyList;
251 GetCFGOnlyPasses(VectorType &L) : CFGOnlyList(L) {} in GetCFGOnlyPasses()
H A DType.cpp125 if (isa<VectorType>(this) && isa<VectorType>(Ty)) in canLosslesslyBitCastTo()
190 const VectorType *VTy = cast<VectorType>(this); in getPrimitiveSizeInBits()
207 if (auto *VTy = dyn_cast<VectorType>(this)) in getFPMantissaWidth()
224 if (auto *VTy = dyn_cast<VectorType>(this)) in isSizedDerivedType()
669 VectorType::VectorType(Type *ElType, unsigned EQ, Type::TypeID TID) in VectorType() function in VectorType
676 VectorType *VectorType::get(Type *ElementType, ElementCount EC) { in get()
683 bool VectorType::isValidElementType(Type *ElemTy) { in isValidElementType()
701 VectorType *&Entry = ElementType->getContext() in get()
723 VectorType *&Entry = ElementType->getContext() in get()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVTargetTransformInfo.h49 unsigned getEstimatedVLFor(VectorType *Ty);
126 InstructionCost getShuffleCost(TTI::ShuffleKind Kind, VectorType *Tp,
129 VectorType *SubTp,
151 InstructionCost getMinMaxReductionCost(Intrinsic::ID IID, VectorType *Ty,
155 InstructionCost getArithmeticReductionCost(unsigned Opcode, VectorType *Ty,
160 Type *ResTy, VectorType *ValTy,
243 bool forceScalarizeMaskedGather(VectorType *VTy, Align Alignment) { in forceScalarizeMaskedGather()
248 bool forceScalarizeMaskedScatter(VectorType *VTy, Align Alignment) { in forceScalarizeMaskedScatter()
264 cast<VectorType>(PI.getArgOperand(1)->getType()) in getVPLegalizationStrategy()
H A DRISCVTargetTransformInfo.cpp309 return cast<VectorType>(EVT(IndexVT).getTypeForEVT(C)); in getVRGatherIndexType()
375 VectorType *IdxTy = getVRGatherIndexType(LT.second, *ST, C); in getShuffleCost()
376 VectorType *MaskTy = VectorType::get(IntegerType::getInt1Ty(C), EC); in getShuffleCost()
652 auto &VTy = *cast<VectorType>(DataTy); in getGatherScatterOpCost()
844 if (isa<VectorType>(Dst) && isa<VectorType>(Src)) { in getCastInstrCost()
916 unsigned RISCVTTIImpl::getEstimatedVLFor(VectorType *Ty) { in getEstimatedVLFor()
989 unsigned Opcode, bool IsUnsigned, Type *ResTy, VectorType *ValTy, in getExtendedReductionCost()
1018 if (!isa<VectorType>(Ty)) in getStoreImmCost()
1198 VectorType *WideTy = in getVectorInstrCost()
1199 VectorType::get(IntegerType::get(Val->getContext(), 8), in getVectorInstrCost()
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86TargetTransformInfo.h143 InstructionCost getAltInstrCost(VectorType *VecTy, unsigned Opcode0,
148 InstructionCost getShuffleCost(TTI::ShuffleKind Kind, VectorType *Tp,
151 VectorType *SubTp,
165 InstructionCost getScalarizationOverhead(VectorType *Ty,
211 InstructionCost getArithmeticReductionCost(unsigned Opcode, VectorType *Ty,
219 InstructionCost getMinMaxReductionCost(Intrinsic::ID IID, VectorType *Ty,
265 bool forceScalarizeMaskedGather(VectorType *VTy, Align Alignment);
266 bool forceScalarizeMaskedScatter(VectorType *VTy, Align Alignment) { in forceScalarizeMaskedScatter()
274 bool isLegalAltInstr(VectorType *VecTy, unsigned Opcode0, unsigned Opcode1,
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64TargetTransformInfo.h40 class VectorType; variable
180 VectorType *VecTy, unsigned Index);
192 InstructionCost getMinMaxReductionCost(Intrinsic::ID IID, VectorType *Ty,
197 VectorType *ValTy,
200 InstructionCost getSpliceCost(VectorType *Tp, int Index);
388 InstructionCost getArithmeticReductionCost(unsigned Opcode, VectorType *Ty,
392 InstructionCost getShuffleCost(TTI::ShuffleKind Kind, VectorType *Tp,
395 VectorType *SubTp,
398 InstructionCost getScalarizationOverhead(VectorType *Ty,
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DTargetTransformInfo.h866 InstructionCost getScalarizationOverhead(VectorType *Ty,
1263 VectorType *VecTy, unsigned Opcode0, unsigned Opcode1,
1276 getShuffleCost(ShuffleKind Kind, VectorType *Tp,
1475 bool IsUnsigned, Type *ResTy, VectorType *Ty,
1620 VectorType *VecTy) const;
1626 VectorType *VecTy) const;
2043 bool IsUnsigned, Type *ResTy, VectorType *Ty,
2330 bool forceScalarizeMaskedGather(VectorType *DataType, in forceScalarizeMaskedGather()
2334 bool forceScalarizeMaskedScatter(VectorType *DataType, in forceScalarizeMaskedScatter()
2392 InstructionCost getScalarizationOverhead(VectorType *Ty, in getScalarizationOverhead()
[all …]
H A DTargetTransformInfoImpl.h293 bool forceScalarizeMaskedScatter(VectorType *DataType, in forceScalarizeMaskedScatter()
348 InstructionCost getScalarizationOverhead(VectorType *Ty, in getScalarizationOverhead()
568 InstructionCost getAltInstrCost(VectorType *VecTy, unsigned Opcode0, in getAltInstrCost()
621 VectorType *VecTy, in getExtractWithExtendCost()
756 InstructionCost getArithmeticReductionCost(unsigned, VectorType *, in getArithmeticReductionCost() argument
769 Type *ResTy, VectorType *Ty, in getExtendedReductionCost()
776 VectorType *Ty, in getMulAccReductionCost()
879 VectorType *VecTy) const { in getLoadVectorFactor()
885 VectorType *VecTy) const { in getStoreVectorFactor()
1313 auto *VecTy = cast<VectorType>(U->getType()); in getInstructionCost()
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DBasicTTIImpl.h817 if (auto *VecTy = dyn_cast<VectorType>(Ty)) in getOperandsScalarizationOverhead()
1013 VectorType *SubTp,
1103 auto *SrcVTy = dyn_cast<VectorType>(Src);
1104 auto *DstVTy = dyn_cast<VectorType>(Dst);
1627 CostKind, 0, cast<VectorType>(RetTy)); in getIntrinsicInstrCost()
1711 Type *ExpRetTy = VectorType::get( in getIntrinsicInstrCost()
1792 cast<VectorType>(RetTy), in getIntrinsicInstrCost()
1817 VectorType *VecOpTy = nullptr; in getTypeBasedIntrinsicInstrCost()
1856 if (auto *VTy = dyn_cast<VectorType>(Ty)) { in getTypeBasedIntrinsicInstrCost()
2530 VectorType *ExtTy = VectorType::get(ResTy, Ty); in getExtendedReductionCost()
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/ARM/
H A DARMTargetTransformInfo.h193 bool forceScalarizeMaskedGather(VectorType *VTy, Align Alignment) { in forceScalarizeMaskedGather()
201 bool forceScalarizeMaskedScatter(VectorType *VTy, Align Alignment) { in forceScalarizeMaskedScatter()
219 InstructionCost getShuffleCost(TTI::ShuffleKind Kind, VectorType *Tp,
222 VectorType *SubTp,
282 InstructionCost getArithmeticReductionCost(unsigned Opcode, VectorType *ValTy,
286 Type *ResTy, VectorType *ValTy,
290 VectorType *ValTy,
293 InstructionCost getMinMaxReductionCost(Intrinsic::ID IID, VectorType *Ty,
/freebsd-14.2/contrib/llvm-project/clang/include/clang/CodeGen/
H A DSwiftCallingConv.h27 class VectorType; variable
140 llvm::VectorType *vectorTy);
147 llvm::VectorType *vectorTy);
154 llvm::VectorType *vectorTy,
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUTargetTransformInfo.h126 VectorType *VecTy) const;
129 VectorType *VecTy) const;
233 InstructionCost getShuffleCost(TTI::ShuffleKind Kind, VectorType *Tp,
236 VectorType *SubTp,
249 unsigned Opcode, VectorType *Ty, std::optional<FastMathFlags> FMF,
254 InstructionCost getMinMaxReductionCost(Intrinsic::ID IID, VectorType *Ty,
/freebsd-14.2/contrib/llvm-project/clang/lib/CodeGen/Targets/
H A DARM.cpp311 if (const VectorType *VT = Base->getAs<VectorType>()) { in classifyHomogeneousAggregate()
541 if (const VectorType *VT = RetTy->getAs<VectorType>()) { in classifyReturnType()
640 if (const VectorType *VT = Ty->getAs<VectorType> ()) { in isIllegalVectorType()
701 if (const VectorType *VT = Ty->getAs<VectorType>()) in containsAnyFP16Vectors()
730 } else if (const VectorType *VT = Ty->getAs<VectorType>()) { in isHomogeneousAggregateBaseType()
/freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/
H A DValueTypes.cpp49 VectorType::get(VT.getTypeForEVT(Context), NumElements, IsScalable); in getExtendedVectorVT()
56 ResultVT.LLVMTy = VectorType::get(VT.getTypeForEVT(Context), EC); in getExtendedVectorVT()
131 return EVT::getEVT(cast<VectorType>(LLVMTy)->getElementType()); in getExtendedVectorElementType()
136 ElementCount EC = cast<VectorType>(LLVMTy)->getElementCount(); in getExtendedVectorNumElements()
148 return cast<VectorType>(LLVMTy)->getElementCount(); in getExtendedVectorElementCount()
155 if (VectorType *VTy = dyn_cast<VectorType>(LLVMTy)) in getExtendedSizeInBits()
613 VectorType *VTy = cast<VectorType>(Ty); in getVT()
632 VectorType *VTy = cast<VectorType>(Ty); in getEVT()
/freebsd-14.2/contrib/llvm-project/clang/lib/CodeGen/
H A DSwiftCallingConv.cpp45 } else if (auto firstVecTy = dyn_cast<llvm::VectorType>(first)) { in getCommonType()
46 if (auto secondVecTy = dyn_cast<llvm::VectorType>(second)) { in getCommonType()
219 if (auto vecTy = dyn_cast<llvm::VectorType>(type)) { in addTypedData()
252 if (auto vecTy = dyn_cast<llvm::VectorType>(type)) { in addLegalTypedData()
336 if (auto vecTy = dyn_cast_or_null<llvm::VectorType>(type)) { in addEntry()
402 auto vecTy = cast<llvm::VectorType>(Entries[index].Type); in splitVectorEntry()
689 llvm::VectorType *vectorTy) { in isLegalVectorType()
703 llvm::VectorType *vectorTy) { in splitLegalVectorType()
717 llvm::VectorType *origVectorTy, in legalizeVectorType()
834 if (isa<VectorType>(type)) { in classifyType()

123456789