Searched refs:VectorType (Results 26 - 50 of 182) sorted by relevance

12345678

/freebsd-13-stable/contrib/llvm-project/llvm/lib/CodeGen/
H A DValueTypes.cpp45 VectorType::get(VT.getTypeForEVT(Context), NumElements, IsScalable);
53 VectorType::get(VT.getTypeForEVT(Context), {EC.Min, EC.Scalable});
120 return EVT::getEVT(cast<VectorType>(LLVMTy)->getElementType());
125 ElementCount EC = cast<VectorType>(LLVMTy)->getElementCount();
137 return cast<VectorType>(LLVMTy)->getElementCount();
144 if (VectorType *VTy = dyn_cast<VectorType>(LLVMTy))
496 VectorType *VTy = cast<VectorType>(Ty);
515 VectorType *VT
[all...]
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DLoadStoreVectorizer.cpp797 if (!VectorType::isValidElementType(Ty->getScalarType()))
818 VectorType *VecTy = dyn_cast<VectorType>(Ty);
826 if (isa<VectorType>(Ty) && !llvm::all_of(LI->users(), [](const User *U) {
844 if (!VectorType::isValidElementType(Ty->getScalarType()))
865 VectorType *VecTy = dyn_cast<VectorType>(Ty);
872 if (isa<VectorType>(Ty) && !llvm::all_of(SI->users(), [](const User *U) {
1030 VectorType *VecTy;
1031 VectorType *VecStoreT
[all...]
/freebsd-13-stable/contrib/llvm-project/llvm/lib/IR/
H A DInstructions.cpp77 if (VectorType *VT = dyn_cast<VectorType>(Op0->getType())) {
81 VectorType *ET = dyn_cast<VectorType>(Op1->getType());
1681 if (auto *Vector = dyn_cast<VectorType>(Ty))
1694 if (auto *Vector = dyn_cast<VectorType>(Ty))
1770 : Instruction(cast<VectorType>(Val->getType())->getElementType(),
1784 : Instruction(cast<VectorType>(Val->getType())->getElementType(),
1840 if (Elt->getType() != cast<VectorType>(Vec->getType())->getElementType())
1856 VectorType
[all...]
H A DDataLayout.cpp566 getTypeAllocSize(cast<VectorType>(Ty)->getElementType());
570 Alignment *= cast<VectorType>(Ty)->getElementCount().Min;
799 if (VectorType *VecTy = dyn_cast<VectorType>(Ty))
800 return VectorType::get(IntTy, VecTy);
821 if (VectorType *VecTy = dyn_cast<VectorType>(Ty))
822 return VectorType::get(IntTy, VecTy);
H A DConstantFold.cpp45 static Constant *BitCastConstantVector(Constant *CV, VectorType *DstTy) {
140 if (VectorType *DestPTy = dyn_cast<VectorType>(DestTy)) {
141 if (VectorType *SrcTy = dyn_cast<VectorType>(V->getType())) {
578 VectorType *DestVecTy = cast<VectorType>(DestTy);
583 cast<VectorType>(DestTy)->getElementCount(),
802 auto *ValVTy = cast<VectorType>(Val->getType());
891 auto *V1VTy = cast<VectorType>(V
[all...]
H A DVerifier.cpp2747 Assert(cast<VectorType>(SrcTy)->getElementCount() ==
2748 cast<VectorType>(DestTy)->getElementCount(),
2770 Assert(cast<VectorType>(SrcTy)->getElementCount() ==
2771 cast<VectorType>(DestTy)->getElementCount(),
2793 Assert(cast<VectorType>(SrcTy)->getElementCount() ==
2794 cast<VectorType>(DestTy)->getElementCount(),
2816 Assert(cast<VectorType>(SrcTy)->getElementCount() ==
2817 cast<VectorType>(DestTy)->getElementCount(),
2839 auto *VSrc = cast<VectorType>(SrcTy);
2840 auto *VDest = cast<VectorType>(DestT
[all...]
/freebsd-13-stable/contrib/llvm-project/clang/lib/CodeGen/
H A DSwiftCallingConv.cpp43 } 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) {
704 llvm::VectorType *origVectorTy,
821 if (isa<VectorType>(typ
[all...]
H A DCGExprScalar.cpp1326 unsigned NumElements = cast<llvm::VectorType>(DstTy)->getNumElements();
1330 if (isa<llvm::VectorType>(SrcTy) || isa<llvm::VectorType>(DstTy)) {
1344 llvm::Type *SrcElementTy = cast<llvm::VectorType>(SrcTy)->getElementType();
1345 llvm::Type *DstElementTy = cast<llvm::VectorType>(DstTy)->getElementType();
1633 llvm::VectorType *LTy = cast<llvm::VectorType>(LHS->getType());
1638 llvm::VectorType *MTy = cast<llvm::VectorType>(Mask->getType());
1702 QualType SrcEltType = SrcType->castAs<VectorType>()
[all...]
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Analysis/
H A DTargetTransformInfo.cpp470 TargetTransformInfo::getScalarizationOverhead(VectorType *Ty,
703 int TargetTransformInfo::getShuffleCost(ShuffleKind Kind, VectorType *Ty,
704 int Index, VectorType *SubTp) const {
721 VectorType *VecTy,
830 VectorType *Ty,
840 VectorType *Ty, VectorType *CondTy, bool IsPairwiseForm, bool IsUnsigned,
932 VectorType *VecTy) const {
939 VectorType *VecTy) const {
1089 const ExtractElementInst *ReduxRoot, unsigned &Opcode, VectorType *
[all...]
H A DVectorUtils.cpp265 VectorType *VTy = cast<VectorType>(V->getType());
340 if (isa<VectorType>(V->getType()))
361 if (isa<VectorType>(V->getType())) {
814 VectorType *VecTy1 = dyn_cast<VectorType>(V1->getType());
815 VectorType *VecTy2 = dyn_cast<VectorType>(V2->getType());
870 E = cast<VectorType>(ConstMask->getType())->getNumElements();
888 E = cast<VectorType>(ConstMas
[all...]
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUTargetTransformInfo.cpp272 VectorType *VecTy) const {
283 VectorType *VecTy) const {
642 int GCNTTIImpl::getArithmeticReductionCost(unsigned Opcode, VectorType *Ty,
658 int GCNTTIImpl::getMinMaxReductionCost(VectorType *Ty, VectorType *CondTy,
681 = DL.getTypeSizeInBits(cast<VectorType>(ValTy)->getElementType());
954 unsigned GCNTTIImpl::getShuffleCost(TTI::ShuffleKind Kind, VectorType *VT,
955 int Index, VectorType *SubTp) {
1094 = DL.getTypeSizeInBits(cast<VectorType>(ValTy)->getElementType());
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/ARM/
H A DARMTargetTransformInfo.h180 int getShuffleCost(TTI::ShuffleKind Kind, VectorType *Tp, int Index,
181 VectorType *SubTp);
/freebsd-13-stable/contrib/llvm-project/clang/lib/AST/
H A DTypePrinter.cpp624 void TypePrinter::printVectorBefore(const VectorType *T, raw_ostream &OS) {
626 case VectorType::AltiVecPixel:
629 case VectorType::AltiVecBool:
633 case VectorType::AltiVecVector:
637 case VectorType::NeonVector:
642 case VectorType::NeonPolyVector:
647 case VectorType::GenericVector: {
661 void TypePrinter::printVectorAfter(const VectorType *T, raw_ostream &OS) {
668 case VectorType::AltiVecPixel:
671 case VectorType
[all...]
/freebsd-13-stable/contrib/llvm-project/llvm/tools/llvm-stress/
H A Dllvm-stress.cpp241 VectorType *VTp = cast<VectorType>(Tp);
488 getRandom() % cast<VectorType>(Val0->getType())->getNumElements()),
502 unsigned Width = cast<VectorType>(Val0->getType())->getNumElements();
532 getRandom() % cast<VectorType>(Val0->getType())->getNumElements()),
549 VectorType *VecTy = cast<VectorType>(VTy);
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineCalls.cpp377 auto VT = cast<VectorType>(Vec->getType());
408 cast<VectorType>(AmtVT)->getElementType() == SVT &&
410 unsigned NumAmtElts = cast<VectorType>(AmtVT)->getNumElements();
435 cast<VectorType>(AmtVT)->getElementType() == SVT &&
525 auto VT = cast<VectorType>(II.getType());
623 auto *ArgTy = cast<VectorType>(Arg0->getType());
626 assert(cast<VectorType>(ResTy)->getNumElements() == (2 * NumSrcElts) &&
688 auto *ArgTy = dyn_cast<VectorType>(Arg->getType());
699 Type *IntegerVecTy = VectorType::getInteger(ArgTy);
742 VectorType *VecT
[all...]
H A DInstCombineSimplifyDemanded.cpp391 if (VectorType *DstVTy = dyn_cast<VectorType>(I->getType())) {
392 if (VectorType *SrcVTy =
393 dyn_cast<VectorType>(I->getOperand(0)->getType())) {
801 auto ArgType = cast<VectorType>(Arg->getType());
1033 auto *IIVTy = cast<VectorType>(II->getType());
1216 Type *EltTy = cast<VectorType>(V->getType())->getElementType();
1352 cast<VectorType>(Shuffle->getOperand(0)->getType())->getNumElements();
1538 VectorType *VTy = dyn_cast<VectorType>(
[all...]
H A DInstCombineCasts.cpp473 !isa<VectorType>(VecInput->getType()))
476 VectorType *VecType = cast<VectorType>(VecInput->getType());
502 assert((isa<VectorType>(Trunc.getSrcTy()) ||
588 if (!isa<VectorType>(SrcTy) && !shouldChangeType(SrcTy, DestTy))
875 auto *VecOpTy = cast<VectorType>(VecOp->getType());
1532 auto *CVVTy = dyn_cast<VectorType>(V->getType());
1892 if (auto *CIVTy = dyn_cast<VectorType>(CI.getType()))
1893 Ty = VectorType::get(Ty, CIVTy->getElementCount());
1940 if (auto *VTy = dyn_cast<VectorType>(T
[all...]
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86PartialReduction.cpp75 if (!cast<VectorType>(Op->getType())->getElementType()->isIntegerTy(32))
176 if (!cast<VectorType>(Op->getType())->getElementType()->isIntegerTy(32))
198 if (cast<VectorType>(ZExt->getOperand(0)->getType())
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/IR/
H A DGetElementPtrTypeIterator.h81 } else if (auto *VTy = dyn_cast<VectorType>(Ty)) {
/freebsd-13-stable/contrib/llvm-project/llvm/lib/ExecutionEngine/Interpreter/
H A DExecution.cpp77 if (cast<VectorType>(Ty)->getElementType()->isFloatTy()) {
80 } else if (cast<VectorType>(Ty)->getElementType()->isDoubleTy()) {
374 if (cast<VectorType>(Ty)->getElementType()->isFloatTy()) { \
421 if (cast<VectorType>(TY)->getElementType()->isFloatTy()) { \
594 if (cast<VectorType>(Ty)->getElementType()->isFloatTy()) {
625 if (cast<VectorType>(Ty)->getElementType()->isFloatTy()) {
771 if (cast<VectorType>(Ty)->getElementType()->isFloatTy()) \
774 if (cast<VectorType>(Ty)->getElementType()->isDoubleTy()) \
803 if (cast<VectorType>(Ty)->getElementType()->isFloatTy())
808 if (cast<VectorType>(T
[all...]
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonTargetTransformInfo.h107 unsigned getScalarizationOverhead(VectorType *Ty, const APInt &DemandedElts,
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Bitcode/Reader/
H A DBitcodeReader.cpp1906 ResultTy = VectorType::get(ResultTy, Record[0], Scalable);
2334 VectorType *OpTy;
2335 VectorType *RTy;
2361 VectorType *OpTy = DelayedShuffle.OpTy;
2362 VectorType *RTy = DelayedShuffle.RTy;
2370 VectorType::get(Type::getInt32Ty(Context), RTy->getElementCount());
2482 } else if (VectorType *VTy = dyn_cast<VectorType>(CurTy)) {
2510 EltTy = cast<VectorType>(CurTy)->getElementType();
2513 if (isa<VectorType>(CurT
[all...]
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DSROA.cpp1425 } else if (VectorType *VectorTy = dyn_cast<VectorType>(ElementTy)) {
1464 if (VectorType *VecTy = dyn_cast<VectorType>(Ty)) {
1794 VectorType *Ty,
1869 static VectorType *isVectorPromotionViable(Partition &P, const DataLayout &DL) {
1872 SmallVector<VectorType *, 4> CandidateTys;
1876 if (auto *VTy = dyn_cast<VectorType>(Ty)) {
1879 VectorType *V = CandidateTys[0];
1914 [](VectorType *VT
[all...]
H A DLowerMatrixIntrinsics.cpp269 VectorType *getColumnTy() {
274 VectorType *getVectorTy() {
275 return cast<VectorType>(Vectors[0]->getType());
402 assert(isa<VectorType>(VT) && "Expected vector type");
422 VectorType *VType = dyn_cast<VectorType>(MatrixVal->getType());
794 auto VType = cast<VectorType>(Ty);
886 auto VType = cast<VectorType>(Ty);
1173 auto *EltType = cast<VectorType>(MatMul->getType())->getElementType();
1219 auto *EltType = cast<VectorType>(MatMu
[all...]
/freebsd-13-stable/contrib/llvm-project/clang/utils/TableGen/
H A DMveEmitter.cpp288 class VectorType : public CRegularNamedType { class in namespace:__anon2446
293 VectorType(const ScalarType *Element, unsigned Lanes) function in class:__anon2446::VectorType
313 const VectorType *Element;
317 MultiVectorType(unsigned Registers, const VectorType *Element)
975 std::unique_ptr<VectorType>>
995 const VectorType *getVectorType(const ScalarType *ST, unsigned Lanes) {
999 VectorTypes[key] = std::make_unique<VectorType>(ST, Lanes);
1002 const VectorType *getVectorType(const ScalarType *ST) {
1006 const VectorType *VT) {
1110 cast<VectorType>(ExistingVecto
[all...]

Completed in 914 milliseconds

12345678