Searched refs:VectorType (Results 1 - 25 of 182) sorted by relevance

12345678

/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/IR/
H A DDerivedTypes.h390 class VectorType : public Type { class in class:llvm::StructType
391 /// A fully specified VectorType is of the form <vscale x n x Ty>. 'n' is the
417 VectorType(Type *ElType, unsigned EQ, Type::TypeID TID);
420 VectorType(const VectorType &) = delete;
421 VectorType &operator=(const VectorType &) = delete;
444 /// This static method is the primary way to construct an VectorType.
445 static VectorType *get(Type *ElementType, ElementCount EC);
449 /// this always returns a FixedVectorType via a base VectorType pointe
[all...]
H A DMatrixBuilder.h43 cast<VectorType>(LHS->getType())->getNumElements(), RHS,
47 cast<VectorType>(RHS->getType())->getNumElements(), LHS,
111 auto *OpType = cast<VectorType>(Matrix->getType());
128 auto *LHSType = cast<VectorType>(LHS->getType());
129 auto *RHSType = cast<VectorType>(RHS->getType());
160 cast<VectorType>(LHS->getType())->getNumElements(), RHS,
164 cast<VectorType>(RHS->getType())->getNumElements(), LHS,
167 return cast<VectorType>(LHS->getType())
180 cast<VectorType>(LHS->getType())->getNumElements(), RHS,
184 cast<VectorType>(RH
[all...]
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/ADT/
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;
H A DMapVector.h36 typename VectorType = std::vector<std::pair<KeyT, ValueT>>>
39 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() {
173 typename VectorType
[all...]
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/
H A DPassAnalysisSupport.h48 using VectorType = SmallVectorImpl<AnalysisID>;
138 const VectorType &getRequiredSet() const { return Required; }
139 const VectorType &getRequiredTransitiveSet() const {
142 const VectorType &getPreservedSet() const { return Preserved; }
143 const VectorType &getUsedSet() const { return Used; }
/freebsd-13-stable/contrib/llvm-project/llvm/lib/IR/
H A DFunction.cpp675 } else if (VectorType* VTy = dyn_cast<VectorType>(Ty)) {
1039 return VectorType::get(DecodeFixedType(Infos, Tys, Context),
1054 if (VectorType *VTy = dyn_cast<VectorType>(Ty))
1055 return VectorType::getExtendedElementVectorType(VTy);
1061 if (VectorType *VTy = dyn_cast<VectorType>(Ty))
1062 return VectorType::getTruncatedElementVectorType(VTy);
1071 VectorType *VT
[all...]
H A DPass.cpp231 using VectorType = AnalysisUsage::VectorType;
233 VectorType &CFGOnlyList;
235 GetCFGOnlyPasses(VectorType &L) : CFGOnlyList(L) {}
H A DConstants.cpp163 if (auto *VTy = dyn_cast<VectorType>(this->getType())) {
213 if (auto *VTy = dyn_cast<VectorType>(this->getType())) {
230 auto *VTy = dyn_cast<VectorType>(getType());
289 auto *VTy = dyn_cast<VectorType>(getType());
300 Type *IntTy = VectorType::getInteger(VTy);
308 if (auto *VTy = dyn_cast<VectorType>(getType())) {
318 if (auto *VTy = dyn_cast<VectorType>(getType())) {
380 if (VectorType *VTy = dyn_cast<VectorType>(Ty))
397 VectorType *VT
[all...]
H A DAutoUpgrade.cpp597 VectorType *Ty = dyn_cast<VectorType>(F->getReturnType());
903 auto *ResultTy = cast<VectorType>(Op->getType());
937 auto *ResultTy = cast<VectorType>(Op->getType());
969 llvm::VectorType *MaskTy = FixedVectorType::get(
995 cast<VectorType>(Op0->getType())->getNumElements());
1022 unsigned NumElts = cast<VectorType>(Op0->getType())->getNumElements();
1153 unsigned NumElts = cast<VectorType>(Ty)->getNumElements();
1223 unsigned NumElts = cast<VectorType>(Ty)->getNumElements();
1260 unsigned NumElts = cast<VectorType>(Dat
[all...]
H A DType.cpp73 if (isa<VectorType>(this) && isa<VectorType>(Ty))
127 const VectorType *VTy = cast<VectorType>(this);
143 if (auto *VTy = dyn_cast<VectorType>(this))
160 if (auto *VTy = dyn_cast<VectorType>(this))
590 // VectorType Implementation
593 VectorType::VectorType(Type *ElType, unsigned EQ, Type::TypeID TID) function in class:VectorType
600 VectorType *VectorTyp
[all...]
/freebsd-13-stable/contrib/llvm-project/clang/include/clang/CodeGen/
H A DSwiftCallingConv.h26 class VectorType;
140 llvm::VectorType *vectorTy);
147 llvm::VectorType *vectorTy);
154 llvm::VectorType *vectorTy,
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64TargetTransformInfo.h39 class VectorType;
120 int getExtractWithExtendCost(unsigned Opcode, Type *Dst, VectorType *VecTy,
196 if (auto *DataTypeVTy = dyn_cast<VectorType>(DataType)) {
241 int getArithmeticReductionCost(unsigned Opcode, VectorType *Ty,
245 int getShuffleCost(TTI::ShuffleKind Kind, VectorType *Tp, int Index,
246 VectorType *SubTp);
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86TargetTransformInfo.h129 int getShuffleCost(TTI::ShuffleKind Kind, VectorType *Tp, int Index,
130 VectorType *SubTp);
138 unsigned getScalarizationOverhead(VectorType *Ty, const APInt &DemandedElts,
161 int getArithmeticReductionCost(unsigned Opcode, VectorType *Ty,
167 int getMinMaxReductionCost(VectorType *Ty, VectorType *CondTy,
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DScalarizer.cpp170 VectorType *VecTy = nullptr;
282 Type *ElTy = cast<VectorType>(PtrTy->getElementType())->getElementType();
448 Layout.VecTy = dyn_cast<VectorType>(Ty);
464 VectorType *VT = dyn_cast<VectorType>(I.getType());
484 VectorType *VT = dyn_cast<VectorType>(I.getType());
512 VectorType *Ty) {
519 VectorType *VT = dyn_cast<VectorType>(C
[all...]
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUTargetTransformInfo.h167 VectorType *VecTy) const;
170 VectorType *VecTy) const;
228 unsigned getShuffleCost(TTI::ShuffleKind Kind, VectorType *Tp, int Index,
229 VectorType *SubTp);
240 VectorType *Ty,
247 VectorType *Ty, VectorType *CondTy, bool IsPairwiseForm, bool IsUnsigned,
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DTargetTransformInfoImpl.h245 unsigned getScalarizationOverhead(VectorType *Ty, const APInt &DemandedElts,
400 unsigned getShuffleCost(TTI::ShuffleKind Kind, VectorType *Ty, int Index,
401 VectorType *SubTp) {
441 VectorType *VecTy, unsigned Index) {
540 unsigned getArithmeticReductionCost(unsigned, VectorType *, bool,
543 unsigned getMinMaxReductionCost(VectorType *, VectorType *, bool, bool,
625 VectorType *VecTy) const {
631 VectorType *VecTy) const {
655 auto *VT = cast<VectorType>(Va
[all...]
H A DTargetTransformInfo.h690 unsigned getScalarizationOverhead(VectorType *Ty, const APInt &DemandedElts,
843 const ExtractElementInst *ReduxRoot, unsigned &Opcode, VectorType *&Ty);
846 const ExtractElementInst *ReduxRoot, unsigned &Opcode, VectorType *&Ty);
996 int getShuffleCost(ShuffleKind Kind, VectorType *Tp, int Index = 0,
997 VectorType *SubTp = nullptr) const;
1008 int getExtractWithExtendCost(unsigned Opcode, Type *Dst, VectorType *VecTy,
1082 unsigned Opcode, VectorType *Ty, bool IsPairwiseForm,
1086 VectorType *Ty, VectorType *CondTy, bool IsPairwiseForm, bool IsUnsigned,
1203 VectorType *VecT
[all...]
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Analysis/
H A DVFABIDemangling.cpp281 SmallVector<VectorType *, 2> VecTys;
282 if (auto *RetTy = dyn_cast<VectorType>(Signature->getReturnType()))
285 if (auto *VTy = dyn_cast<VectorType>(Ty))
295 [&EC](VectorType *VTy) { return (EC == VTy->getElementCount()); });
307 if (auto *RetTy = dyn_cast<VectorType>(Signature->getReturnType()))
310 if (auto *VTy = dyn_cast<VectorType>(Ty))
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/Analysis/Utils/
H A DLocal.h67 cast<VectorType>(IntIdxTy)->getElementCount(), OpC);
81 cast<VectorType>(IntIdxTy)->getNumElements(), Op);
/freebsd-13-stable/contrib/llvm-project/llvm/lib/CodeGen/
H A DLowLevelType.cpp21 if (auto VTy = dyn_cast<VectorType>(&Ty)) {
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/WebAssembly/
H A DWebAssemblyTargetTransformInfo.cpp56 if (auto *VTy = dyn_cast<VectorType>(Ty)) {
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DBasicTTIImpl.h538 unsigned getScalarizationOverhead(VectorType *InTy, const APInt &DemandedElts,
562 unsigned getScalarizationOverhead(VectorType *InTy, bool Insert,
579 auto *VecTy = dyn_cast<VectorType>(A->getType());
596 unsigned getScalarizationOverhead(VectorType *InTy,
658 if (auto *VTy = dyn_cast<VectorType>(Ty)) {
671 unsigned getShuffleCost(TTI::ShuffleKind Kind, VectorType *Tp, int Index,
672 VectorType *SubTp) {
758 auto *SrcVTy = dyn_cast<VectorType>(Src);
759 auto *DstVTy = dyn_cast<VectorType>(Dst);
810 Type *SplitDstTy = VectorType
[all...]
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/SystemZ/
H A DSystemZTargetTransformInfo.h89 int getShuffleCost(TTI::ShuffleKind Kind, VectorType *Tp, int Index,
90 VectorType *SubTp);
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineVectorOps.cpp179 auto *SrcTy = cast<VectorType>(X->getType());
262 unsigned VWidth = cast<VectorType>(V->getType())->getNumElements();
280 cast<VectorType>(UserInstr->getType())->getNumElements();
306 unsigned VWidth = cast<VectorType>(V->getType())->getNumElements();
463 unsigned NumElts = cast<VectorType>(V->getType())->getNumElements();
505 cast<VectorType>(LHS->getType())->getNumElements();
535 VectorType *InsVecType = InsElt->getType();
536 VectorType *ExtVecType = ExtElt->getVectorOperandType();
664 cast<VectorType>(RHS->getType())->getNumElements();
673 cast<VectorType>(E
[all...]
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonTargetTransformInfo.cpp51 if (!cast<VectorType>(VecTy)->getElementType()->isIntegerTy())
123 unsigned HexagonTTIImpl::getScalarizationOverhead(VectorType *Ty,
169 VectorType *VecTy = cast<VectorType>(Src);
291 Type *ElemTy = Val->isVectorTy() ? cast<VectorType>(Val)->getElementType()

Completed in 302 milliseconds

12345678