| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm/IR/ |
| H A D | DerivedTypes.h | 403 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 D | MatrixBuilder.h | 45 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 D | GetElementPtrTypeIterator.h | 66 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 D | OpenCLBuiltins.td | 784 …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 D | MapVector.h | 35 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 D | UniqueVector.h | 26 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 D | PassAnalysisSupport.h | 49 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 D | OpDescriptor.h | 189 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 D | Function.cpp | 968 } 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 D | Constants.cpp | 397 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 D | Pass.cpp | 247 using VectorType = AnalysisUsage::VectorType; typedef 249 VectorType &CFGOnlyList; 251 GetCFGOnlyPasses(VectorType &L) : CFGOnlyList(L) {} in GetCFGOnlyPasses()
|
| H A D | Type.cpp | 125 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 D | RISCVTargetTransformInfo.h | 49 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 D | RISCVTargetTransformInfo.cpp | 309 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 D | X86TargetTransformInfo.h | 143 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 D | AArch64TargetTransformInfo.h | 40 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 D | TargetTransformInfo.h | 866 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 D | TargetTransformInfoImpl.h | 293 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 D | BasicTTIImpl.h | 817 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 D | ARMTargetTransformInfo.h | 193 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 D | SwiftCallingConv.h | 27 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 D | AMDGPUTargetTransformInfo.h | 126 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 D | ARM.cpp | 311 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 D | ValueTypes.cpp | 49 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 D | SwiftCallingConv.cpp | 45 } 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()
|