/freebsd-11-stable/contrib/llvm-project/llvm/lib/CodeGen/ |
H A D | ValueTypes.cpp | 38 ResultVT.LLVMTy = VectorType::get(VT.getTypeForEVT(Context), NumElements); 97 return EVT::getEVT(cast<VectorType>(LLVMTy)->getElementType()); 102 return cast<VectorType>(LLVMTy)->getNumElements(); 109 if (VectorType *VTy = dyn_cast<VectorType>(LLVMTy)) 159 case MVT::v1i1: return VectorType::get(Type::getInt1Ty(Context), 1); 160 case MVT::v2i1: return VectorType::get(Type::getInt1Ty(Context), 2); 161 case MVT::v4i1: return VectorType::get(Type::getInt1Ty(Context), 4); 162 case MVT::v8i1: return VectorType::get(Type::getInt1Ty(Context), 8); 163 case MVT::v16i1: return VectorType [all...] |
H A D | LowLevelType.cpp | 21 if (auto VTy = dyn_cast<VectorType>(&Ty)) {
|
H A D | ScalarizeMaskedMemIntrin.cpp | 134 VectorType *VecType = cast<VectorType>(CI->getType()); 272 VectorType *VecType = cast<VectorType>(Src->getType()); 396 VectorType *VecType = cast<VectorType>(CI->getType()); 520 assert(isa<VectorType>(Src->getType()) && 522 assert(isa<VectorType>(Ptrs->getType()) && 604 VectorType *VecType = cast<VectorType>(C [all...] |
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/ADT/ |
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;
|
H A D | MapVector.h | 36 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-11-stable/contrib/llvm-project/llvm/include/llvm/IR/ |
H A D | DerivedTypes.h | 198 /// Common super class of ArrayType, StructType and VectorType. 432 class VectorType : public SequentialType { class in namespace:llvm 433 /// A fully specified VectorType is of the form <vscale x n x Ty>. 'n' is the 446 VectorType(Type *ElType, unsigned NumEl, bool Scalable = false); 447 VectorType(Type *ElType, ElementCount EC); 455 VectorType(const VectorType &) = delete; 456 VectorType &operator=(const VectorType &) = delete; 458 /// This static method is the primary way to construct an VectorType [all...] |
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/ |
H A D | PassAnalysisSupport.h | 44 using VectorType = SmallVectorImpl<AnalysisID>; 134 const VectorType &getRequiredSet() const { return Required; } 135 const VectorType &getRequiredTransitiveSet() const { 138 const VectorType &getPreservedSet() const { return Preserved; } 139 const VectorType &getUsedSet() const { return Used; }
|
/freebsd-11-stable/contrib/llvm-project/llvm/lib/IR/ |
H A D | Function.cpp | 634 } else if (VectorType* VTy = dyn_cast<VectorType>(Ty)) { 986 return VectorType::get(DecodeFixedType(Infos, Tys, Context),D.Vector_Width); 1000 if (VectorType *VTy = dyn_cast<VectorType>(Ty)) 1001 return VectorType::getExtendedElementVectorType(VTy); 1007 if (VectorType *VTy = dyn_cast<VectorType>(Ty)) 1008 return VectorType::getTruncatedElementVectorType(VTy); 1017 VectorType *VT [all...] |
H A D | Pass.cpp | 234 using VectorType = AnalysisUsage::VectorType; 236 VectorType &CFGOnlyList; 238 GetCFGOnlyPasses(VectorType &L) : CFGOnlyList(L) {}
|
H A D | Type.cpp | 73 if (auto *thisPTy = dyn_cast<VectorType>(this)) { 74 if (auto *thatPTy = dyn_cast<VectorType>(Ty)) 82 if (auto *thatPTy = dyn_cast<VectorType>(Ty)) 127 const VectorType *VTy = cast<VectorType>(this); 139 if (auto *VTy = dyn_cast<VectorType>(this)) 155 if (auto *VTy = dyn_cast<VectorType>(this)) 512 if (auto *VTy = dyn_cast<VectorType>(ElemTy)) 600 if (auto *VTy = dyn_cast<VectorType>(ElemTy)) 608 // VectorType Implementatio 611 VectorType::VectorType(Type *ElType, ElementCount EC) function in class:VectorType [all...] |
H A D | Constants.cpp | 366 if (VectorType *VTy = dyn_cast<VectorType>(Ty)) 383 VectorType *VTy = cast<VectorType>(Ty); 677 if (auto *VTy = dyn_cast<VectorType>(Ty)) 685 if (auto *VTy = dyn_cast<VectorType>(Ty)) 708 if (VectorType *VTy = dyn_cast<VectorType>(Ty)) 732 if (VectorType *VTy = dyn_cast<VectorType>(T [all...] |
H A D | ConstantFold.cpp | 45 static Constant *BitCastConstantVector(Constant *CV, VectorType *DstTy) { 139 if (VectorType *DestPTy = dyn_cast<VectorType>(DestTy)) { 140 if (VectorType *SrcTy = dyn_cast<VectorType>(V->getType())) { 576 VectorType *DestVecTy = cast<VectorType>(DestTy); 838 VectorType *ValTy = cast<VectorType>(Val->getType()); 871 return UndefValue::get(VectorType [all...] |
H A D | AutoUpgrade.cpp | 45 if (Arg0Type != VectorType::get(Type::getFloatTy(F->getContext()), 4)) 588 VectorType *Ty = dyn_cast<VectorType>(F->getReturnType()); 898 Type *VecTy = VectorType::get(Builder.getInt8Ty(), NumElts); 932 Type *VecTy = VectorType::get(Builder.getInt8Ty(), NumElts); 960 llvm::VectorType *MaskTy = llvm::VectorType::get(Builder.getInt1Ty(), 996 llvm::VectorType *MaskTy = 997 llvm::VectorType::get(Builder.getInt1Ty(), 1241 Aligned ? cast<VectorType>(Dat [all...] |
/freebsd-11-stable/contrib/llvm-project/clang/include/clang/CodeGen/ |
H A D | SwiftCallingConv.h | 26 class VectorType; 140 llvm::VectorType *vectorTy); 147 llvm::VectorType *vectorTy); 154 llvm::VectorType *vectorTy,
|
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
H A D | Scalarizer.cpp | 164 VectorType *VecTy = nullptr; 441 Layout.VecTy = dyn_cast<VectorType>(Ty); 462 VectorType *VT = dyn_cast<VectorType>(I.getType()); 482 VectorType *VT = dyn_cast<VectorType>(I.getType()); 508 VectorType *Ty) { 515 VectorType *VT = dyn_cast<VectorType>(CI.getType()); 573 VectorType *V [all...] |
H A D | LowerMatrixIntrinsics.cpp | 106 Type *ColumnType = VectorType::get(EltType, NumRows); 155 return cast<VectorType>(Columns[0]->getType())->getNumElements(); 227 VectorType *VType = dyn_cast<VectorType>(MatrixVal->getType()); 563 auto VType = cast<VectorType>(Inst->getType()); 591 auto VType = cast<VectorType>(Matrix->getType()); 631 cast<VectorType>(Block->getType())->getNumElements(); 632 unsigned NumElts = cast<VectorType>(Col->getType())->getNumElements(); 647 unsigned VecNumElts = cast<VectorType>(Col->getType())->getNumElements(); 705 auto *EltType = cast<VectorType>(MatMu [all...] |
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/ARM/ |
H A D | MVETailPredication.cpp | 89 Value *ComputeElements(Value *TripCount, VectorType *VecTy); 98 VectorType *VecTy, 284 unsigned Lanes = cast<VectorType>(Insert->getType())->getNumElements(); 293 static VectorType* getVectorType(IntrinsicInst *I) { 296 return cast<VectorType>(PtrTy->getElementType()); 306 VectorType *VecTy = getVectorType(cast<IntrinsicInst>(&I)); 317 if (isa<VectorType>(U->getType())) 328 VectorType *VecTy) { 462 VectorType *VecTy, Value *NumElements) { 524 VectorType *VecT [all...] |
/freebsd-11-stable/contrib/llvm-project/clang/include/clang/Basic/ |
H A D | OpenMPKinds.h | 43 template <typename VectorType, typename ScoreT> struct OpenMPCtxSelectorData { 47 VectorType Names; 51 const ScoreT &Score, VectorType &&Names)
|
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
H A D | AMDGPULowerKernelArguments.cpp | 123 VectorType *VT = dyn_cast<VectorType>(ArgTy); 127 VectorType *V4Ty = nullptr; 155 V4Ty = VectorType::get(VT->getVectorElementType(), 4);
|
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/WebAssembly/ |
H A D | WebAssemblyTargetTransformInfo.cpp | 55 if (auto *VTy = dyn_cast<VectorType>(Ty)) {
|
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/Hexagon/ |
H A D | HexagonTargetTransformInfo.cpp | 48 if (cast<VectorType>(VecTy)->isScalable()) 51 if (!cast<VectorType>(VecTy)->getElementType()->isIntegerTy()) 163 VectorType *VecTy = cast<VectorType>(Src); 268 Type *ElemTy = Val->isVectorTy() ? cast<VectorType>(Val)->getElementType()
|
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Transforms/Vectorize/ |
H A D | LoadStoreVectorizer.cpp | 759 if (!VectorType::isValidElementType(Ty->getScalarType())) 780 VectorType *VecTy = dyn_cast<VectorType>(Ty); 788 if (isa<VectorType>(Ty) && !llvm::all_of(LI->users(), [](const User *U) { 806 if (!VectorType::isValidElementType(Ty->getScalarType())) 827 VectorType *VecTy = dyn_cast<VectorType>(Ty); 834 if (isa<VectorType>(Ty) && !llvm::all_of(SI->users(), [](const User *U) { 992 VectorType *VecTy; 993 VectorType *VecStoreT [all...] |
/freebsd-11-stable/contrib/llvm-project/clang/lib/CodeGen/ |
H A D | SwiftCallingConv.cpp | 43 } else if (auto firstVecTy = dyn_cast<llvm::VectorType>(first)) { 44 if (auto secondVecTy = dyn_cast<llvm::VectorType>(second)) { 204 if (auto vecTy = dyn_cast<llvm::VectorType>(type)) { 237 if (auto vecTy = dyn_cast<llvm::VectorType>(type)) { 321 if (auto vecTy = dyn_cast_or_null<llvm::VectorType>(type)) { 384 auto vecTy = cast<llvm::VectorType>(Entries[index].Type); 676 llvm::VectorType *vectorTy) { 690 llvm::VectorType *vectorTy) { 697 return {llvm::VectorType::get(eltTy, numElts / 2), 2}; 704 llvm::VectorType *origVectorT [all...] |
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/AArch64/ |
H A D | AArch64TargetTransformInfo.h | 39 class VectorType; 117 int getExtractWithExtendCost(unsigned Opcode, Type *Dst, VectorType *VecTy, 153 if (!isa<VectorType>(DataType) || !ST->hasSVE())
|
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Transforms/InstCombine/ |
H A D | InstCombineCasts.cpp | 468 !isa<VectorType>(VecInput->getType())) 471 VectorType *VecType = cast<VectorType>(VecInput->getType()); 483 VecType = VectorType::get(DestType, NumVecElts); 497 assert((isa<VectorType>(Trunc.getSrcTy()) || 583 if (!isa<VectorType>(SrcTy) && !shouldChangeType(SrcTy, DestTy)) 1503 return VectorType::get(MinType, NumElts); 1792 Ty = VectorType::get(Ty, CI.getType()->getVectorNumElements()); 1842 PtrTy = VectorType::get(PtrTy, Ty->getVectorNumElements()); 1865 VectorType *DestT [all...] |