Home
last modified time | relevance | path

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

12345678

/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/IR/
H A DDerivedTypes.h388 class VectorType : public Type {
418 VectorType(const VectorType &) = delete;
419 VectorType &operator=(const VectorType &) = delete;
428 return VectorType::get(ElementType, in get()
432 static VectorType *get(Type *ElementType, const VectorType *Other) { in get()
439 static VectorType *getInteger(VectorType *VTy) { in getInteger()
448 static VectorType *getExtendedElementVectorType(VectorType *VTy) { in getExtendedElementVectorType()
457 static VectorType *getTruncatedElementVectorType(VectorType *VTy) { in getTruncatedElementVectorType()
482 static VectorType *getSubdividedVectorType(VectorType *VTy, int NumSubdivs) { in getSubdividedVectorType()
492 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()
116 auto *OpType = cast<VectorType>(Matrix->getType());
133 auto *LHSType = cast<VectorType>(LHS->getType());
134 auto *RHSType = cast<VectorType>(RHS->getType());
167 cast<VectorType>(LHS->getType())->getElementCount(), RHS, in CreateAdd()
173 cast<VectorType>(RHS->getType())->getElementCount(), LHS, in CreateAdd()
177 return cast<VectorType>(LHS->getType()) in CreateAdd()
192 cast<VectorType>(LHS->getType())->getElementCount(), RHS, in CreateSub()
202 return cast<VectorType>(LHS->getType()) in CreateSub()
[all …]
/freebsd-13.1/contrib/llvm-project/clang/lib/Sema/
H A DOpenCLBuiltins.td456 [VectorType<RType, v>, VectorType<IType, v>],
722 …def : Builtin<name, [VectorType<Float, VSize>, VectorType<Float, VSize>, VectorType<Float, VSize>]…
724 …def : Builtin<name, [VectorType<Half, VSize>, VectorType<Half, VSize>, VectorType<Half, VSize>], A…
1460 …def : Builtin<name, [VectorType<Float, 4>, ImageType<imgTy, aQual>, Sampler, VectorType<Float, 2>,…
1464 …def : Builtin<name, [VectorType<Int, 4>, ImageType<imgTy, aQual>, Sampler, VectorType<Float, 2>, V…
1468 …def : Builtin<name, [VectorType<UInt, 4>, ImageType<imgTy, aQual>, Sampler, VectorType<Float, 2>,
1493 …def : Builtin<name, [VectorType<Float, 4>, ImageType<imgTy, aQual>, Sampler, VectorType<Float, 4>,…
1497 …def : Builtin<name, [VectorType<Int, 4>, ImageType<imgTy, aQual>, Sampler, VectorType<Float, 4>, V…
1501 …def : Builtin<name, [VectorType<UInt, 4>, ImageType<imgTy, aQual>, Sampler, VectorType<Float, 4>,
1526 …def : Builtin<name, [VectorType<Int, 4>, ImageType<imgTy, aQual>, Sampler, VectorType<Float, 4>, V…
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/ADT/
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() { in takeVector()
173 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-13.1/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64TargetTransformInfo.h39 class VectorType; variable
164 VectorType *VecTy, unsigned Index);
172 InstructionCost getMinMaxReductionCost(VectorType *Ty, VectorType *CondTy,
177 VectorType *ValTy,
180 InstructionCost getSpliceCost(VectorType *Tp, int Index);
288 if (auto *DataTypeVTy = dyn_cast<VectorType>(DataType)) { in isLegalNTStore()
320 unsigned Opcode, VectorType *Ty, Optional<FastMathFlags> FMF,
323 InstructionCost getShuffleCost(TTI::ShuffleKind Kind, VectorType *Tp,
325 VectorType *SubTp);
/freebsd-13.1/contrib/llvm-project/llvm/lib/IR/
H A DFunction.cpp803 } else if (VectorType *VTy = dyn_cast<VectorType>(Ty)) { in getMangledTypeStr()
1229 if (VectorType *VTy = dyn_cast<VectorType>(Ty)) in DecodeFixedType()
1236 if (VectorType *VTy = dyn_cast<VectorType>(Ty)) in DecodeFixedType()
1246 VectorType *VTy = dyn_cast<VectorType>(Ty); in DecodeFixedType()
1252 return VectorType::getHalfElementsVectorType(cast<VectorType>( in DecodeFixedType()
1267 VectorType *VTy = dyn_cast<VectorType>(Ty); in DecodeFixedType()
1275 if (VectorType *VTy = dyn_cast<VectorType>(Ty)) in DecodeFixedType()
1281 VectorType *VTy = dyn_cast<VectorType>(Ty); in DecodeFixedType()
1394 VectorType *VT = dyn_cast<VectorType>(Ty); in matchIntrinsicType()
1460 if (VectorType *VTy = dyn_cast<VectorType>(NewTy)) in matchIntrinsicType()
[all …]
H A DConstants.cpp400 if (VectorType *VTy = dyn_cast<VectorType>(Ty)) in getIntegerValue()
417 VectorType *VTy = cast<VectorType>(Ty); in getAllOnesValue()
905 if (VectorType *VTy = dyn_cast<VectorType>(Ty)) in get()
929 if (VectorType *VTy = dyn_cast<VectorType>(Ty)) in get()
958 if (VectorType *VTy = dyn_cast<VectorType>(Ty)) in get()
983 if (VectorType *VTy = dyn_cast<VectorType>(Ty)) in get()
994 if (VectorType *VTy = dyn_cast<VectorType>(Ty)) in getNaN()
1005 if (VectorType *VTy = dyn_cast<VectorType>(Ty)) in getQNaN()
1016 if (VectorType *VTy = dyn_cast<VectorType>(Ty)) in getSNaN()
1027 if (VectorType *VTy = dyn_cast<VectorType>(Ty)) in getNegativeZero()
[all …]
H A DType.cpp80 if (isa<VectorType>(this) && isa<VectorType>(Ty)) in canLosslesslyBitCastTo()
143 const VectorType *VTy = cast<VectorType>(this); in getPrimitiveSizeInBits()
159 if (auto *VTy = dyn_cast<VectorType>(this)) in getFPMantissaWidth()
176 if (auto *VTy = dyn_cast<VectorType>(this)) in isSizedDerivedType()
627 VectorType::VectorType(Type *ElType, unsigned EQ, Type::TypeID TID) in VectorType() function in VectorType
634 VectorType *VectorType::get(Type *ElementType, ElementCount EC) { in get()
641 bool VectorType::isValidElementType(Type *ElemTy) { in isValidElementType()
659 VectorType *&Entry = ElementType->getContext() in get()
681 VectorType *&Entry = ElementType->getContext() in get()
H A DPass.cpp231 using VectorType = AnalysisUsage::VectorType; typedef
233 VectorType &CFGOnlyList;
235 GetCFGOnlyPasses(VectorType &L) : CFGOnlyList(L) {} in GetCFGOnlyPasses()
H A DDataLayout.cpp805 getTypeAllocSize(cast<VectorType>(Ty)->getElementType()); in getAlignment()
809 Alignment *= cast<VectorType>(Ty)->getElementCount().getKnownMinValue(); in getAlignment()
848 if (VectorType *VecTy = dyn_cast<VectorType>(Ty)) in getIntPtrType()
849 return VectorType::get(IntTy, VecTy); in getIntPtrType()
870 if (VectorType *VecTy = dyn_cast<VectorType>(Ty)) in getIndexType()
871 return VectorType::get(IntTy, VecTy); in getIndexType()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DScalarizer.cpp465 VectorType *VT = dyn_cast<VectorType>(I.getType()); in splitUnary()
485 VectorType *VT = dyn_cast<VectorType>(I.getType()); in splitBinary()
520 VectorType *VT = dyn_cast<VectorType>(CI.getType()); in splitCall()
583 VectorType *VT = dyn_cast<VectorType>(SI.getType()); in visitSelectInst()
636 VectorType *VT = dyn_cast<VectorType>(GEPI.getType()); in visitGetElementPtrInst()
682 VectorType *VT = dyn_cast<VectorType>(CI.getDestTy()); in visitCastInst()
700 VectorType *DstVT = dyn_cast<VectorType>(BCI.getDestTy()); in visitBitCastInst()
701 VectorType *SrcVT = dyn_cast<VectorType>(BCI.getSrcTy()); in visitBitCastInst()
755 VectorType *VT = dyn_cast<VectorType>(IEI.getType()); in visitInsertElementInst()
822 VectorType *VT = dyn_cast<VectorType>(SVI.getType()); in visitShuffleVectorInst()
[all …]
/freebsd-13.1/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-13.1/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DBasicTTIImpl.h711 if (auto *VecTy = dyn_cast<VectorType>(Ty)) in getOperandsScalarizationOverhead()
857 VectorType *SubTp) { in getShuffleCost()
945 auto *SrcVTy = dyn_cast<VectorType>(Src);
946 auto *DstVTy = dyn_cast<VectorType>(Dst);
1081 if (auto *ValVTy = dyn_cast<VectorType>(ValTy)) {
1504 VectorType *VecOpTy = nullptr; in getTypeBasedIntrinsicInstrCost()
1513 VecOpTy = dyn_cast<VectorType>(Tys[VecTyIndex]); in getTypeBasedIntrinsicInstrCost()
1542 if (auto *VTy = dyn_cast<VectorType>(Ty)) { in getTypeBasedIntrinsicInstrCost()
1929 if (auto *RetVTy = dyn_cast<VectorType>(RetTy)) { in getTypeBasedIntrinsicInstrCost()
2111 InstructionCost getMinMaxReductionCost(VectorType *Ty, VectorType *CondTy, in getMinMaxReductionCost()
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUTargetTransformInfo.h129 VectorType *VecTy) const;
132 VectorType *VecTy) const;
202 InstructionCost getShuffleCost(TTI::ShuffleKind Kind, VectorType *Tp,
204 VectorType *SubTp);
215 unsigned Opcode, VectorType *Ty, Optional<FastMathFlags> FMF,
221 VectorType *Ty, VectorType *CondTy, bool IsUnsigned,
/freebsd-13.1/contrib/llvm-project/clang/include/clang/CodeGen/
H A DSwiftCallingConv.h27 class VectorType; variable
141 llvm::VectorType *vectorTy);
148 llvm::VectorType *vectorTy);
155 llvm::VectorType *vectorTy,
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DTargetTransformInfo.h732 InstructionCost getScalarizationOverhead(VectorType *Ty,
1081 VectorType *VecTy,
1184 VectorType *Ty, VectorType *CondTy, bool IsUnsigned,
1320 VectorType *VecTy) const;
1326 VectorType *VecTy) const;
1646 getArithmeticReductionCost(unsigned Opcode, VectorType *Ty,
1650 getMinMaxReductionCost(VectorType *Ty, VectorType *CondTy, bool IsUnsigned,
1930 InstructionCost getScalarizationOverhead(VectorType *Ty, in getScalarizationOverhead()
2100 VectorType *VecTy, in getExtractWithExtendCost()
2148 getArithmeticReductionCost(unsigned Opcode, VectorType *Ty, in getArithmeticReductionCost()
[all …]
H A DTargetTransformInfoImpl.h304 InstructionCost getScalarizationOverhead(VectorType *Ty, in getScalarizationOverhead()
473 VectorType *SubTp) const { in getShuffleCost()
516 VectorType *VecTy, in getExtractWithExtendCost()
624 InstructionCost getArithmeticReductionCost(unsigned, VectorType *, in getArithmeticReductionCost() argument
630 InstructionCost getMinMaxReductionCost(VectorType *, VectorType *, bool, in getMinMaxReductionCost() argument
636 bool IsMLA, bool IsUnsigned, Type *ResTy, VectorType *Ty,
729 VectorType *VecTy) const { in getLoadVectorFactor()
735 VectorType *VecTy) const { in getStoreVectorFactor()
1074 auto *VecTy = cast<VectorType>(U->getType()); in getUserCost()
1075 auto *VecSrcTy = cast<VectorType>(U->getOperand(0)->getType()); in getUserCost()
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86TargetTransformInfo.h131 InstructionCost getShuffleCost(TTI::ShuffleKind Kind, VectorType *Tp,
133 VectorType *SubTp);
144 InstructionCost getScalarizationOverhead(VectorType *Ty,
184 unsigned Opcode, VectorType *Ty, Optional<FastMathFlags> FMF,
189 InstructionCost getMinMaxReductionCost(VectorType *Ty, VectorType *CondTy,
/freebsd-13.1/contrib/llvm-project/llvm/lib/Analysis/
H A DVFABIDemangling.cpp281 SmallVector<VectorType *, 2> VecTys; in verifyAllVectorsHaveSameWidth()
282 if (auto *RetTy = dyn_cast<VectorType>(Signature->getReturnType())) in verifyAllVectorsHaveSameWidth()
285 if (auto *VTy = dyn_cast<VectorType>(Ty)) in verifyAllVectorsHaveSameWidth()
293 return llvm::all_of(llvm::drop_begin(VecTys), [&EC](VectorType *VTy) { in verifyAllVectorsHaveSameWidth()
307 if (auto *RetTy = dyn_cast<VectorType>(Signature->getReturnType())) in getECFromSignature()
310 if (auto *VTy = dyn_cast<VectorType>(Ty)) in getECFromSignature()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonVectorCombine.cpp87 VectorType *getByteVectorTy(int ScLen) const;
423 if (auto *VecTy = dyn_cast<VectorType>(ValTy)) { in getMask()
993 if (auto *VecTy = dyn_cast<VectorType>(Ty)) in getNullValue()
1001 if (auto *VecTy = dyn_cast<VectorType>(Ty)) in getFullValue()
1141 assert(isa<VectorType>(Val->getType())); in vresize()
1142 auto *ValTy = cast<VectorType>(Val->getType()); in vresize()
1164 assert(isa<VectorType>(Mask->getType())); in rescale()
1175 auto *MaskTy = cast<VectorType>(Mask->getType()); in rescale()
1198 if (auto *VecTy = dyn_cast<VectorType>(Bytes->getType())) in vlsb()
1215 if (auto *VecTy = dyn_cast<VectorType>(Val->getType())) in vbytes()
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/
H A DValueTypes.cpp47 VectorType::get(VT.getTypeForEVT(Context), NumElements, IsScalable); in getExtendedVectorVT()
54 ResultVT.LLVMTy = VectorType::get(VT.getTypeForEVT(Context), EC); in getExtendedVectorVT()
121 return EVT::getEVT(cast<VectorType>(LLVMTy)->getElementType()); in getExtendedVectorElementType()
126 ElementCount EC = cast<VectorType>(LLVMTy)->getElementCount(); in getExtendedVectorNumElements()
138 return cast<VectorType>(LLVMTy)->getElementCount(); in getExtendedVectorElementCount()
145 if (VectorType *VTy = dyn_cast<VectorType>(LLVMTy)) in getExtendedSizeInBits()
547 VectorType *VTy = cast<VectorType>(Ty); in getVT()
566 VectorType *VTy = cast<VectorType>(Ty); in getEVT()
/freebsd-13.1/contrib/llvm-project/clang/lib/CodeGen/
H A DSwiftCallingConv.cpp43 } else if (auto firstVecTy = dyn_cast<llvm::VectorType>(first)) { in getCommonType()
44 if (auto secondVecTy = dyn_cast<llvm::VectorType>(second)) { in getCommonType()
217 if (auto vecTy = dyn_cast<llvm::VectorType>(type)) { in addTypedData()
250 if (auto vecTy = dyn_cast<llvm::VectorType>(type)) { in addLegalTypedData()
334 if (auto vecTy = dyn_cast_or_null<llvm::VectorType>(type)) { in addEntry()
400 auto vecTy = cast<llvm::VectorType>(Entries[index].Type); in splitVectorEntry()
692 llvm::VectorType *vectorTy) { in isLegalVectorType()
707 llvm::VectorType *vectorTy) { in splitLegalVectorType()
721 llvm::VectorType *origVectorTy, in legalizeVectorType()
838 if (isa<VectorType>(type)) { in classifyType()
/freebsd-13.1/contrib/llvm-project/clang/lib/AST/
H A DTypePrinter.cpp630 case VectorType::AltiVecPixel: in printVectorBefore()
633 case VectorType::AltiVecBool: in printVectorBefore()
637 case VectorType::AltiVecVector: in printVectorBefore()
641 case VectorType::NeonVector: in printVectorBefore()
646 case VectorType::NeonPolyVector: in printVectorBefore()
651 case VectorType::GenericVector: { in printVectorBefore()
690 case VectorType::AltiVecPixel: in printDependentVectorBefore()
693 case VectorType::AltiVecBool: in printDependentVectorBefore()
697 case VectorType::AltiVecVector: in printDependentVectorBefore()
701 case VectorType::NeonVector: in printDependentVectorBefore()
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/ARM/
H A DARMTargetTransformInfo.h197 InstructionCost getShuffleCost(TTI::ShuffleKind Kind, VectorType *Tp,
199 VectorType *SubTp);
259 InstructionCost getArithmeticReductionCost(unsigned Opcode, VectorType *ValTy,
263 Type *ResTy, VectorType *ValTy,

12345678