Home
last modified time | relevance | path

Searched refs:ScalableVectorType (Results 1 – 25 of 56) sorted by relevance

123

/freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/
H A DValueTypes.cpp116 return isExtendedVector() && isa<ScalableVectorType>(LLVMTy); in isExtendedScalableVector()
418 return ScalableVectorType::get(Type::getInt1Ty(Context), 1); in getTypeForEVT()
420 return ScalableVectorType::get(Type::getInt1Ty(Context), 2); in getTypeForEVT()
422 return ScalableVectorType::get(Type::getInt1Ty(Context), 4); in getTypeForEVT()
424 return ScalableVectorType::get(Type::getInt1Ty(Context), 8); in getTypeForEVT()
432 return ScalableVectorType::get(Type::getInt8Ty(Context), 1); in getTypeForEVT()
434 return ScalableVectorType::get(Type::getInt8Ty(Context), 2); in getTypeForEVT()
436 return ScalableVectorType::get(Type::getInt8Ty(Context), 4); in getTypeForEVT()
438 return ScalableVectorType::get(Type::getInt8Ty(Context), 8); in getTypeForEVT()
482 return ScalableVectorType::get(Type::getHalfTy(Context), 1); in getTypeForEVT()
[all …]
H A DInterleavedAccessPass.cpp293 if (!LI->isSimple() || isa<ScalableVectorType>(LI->getType())) in lowerInterleavedLoad()
497 if (!SVI || !SVI->hasOneUse() || isa<ScalableVectorType>(SVI->getType())) in lowerInterleavedStore()
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/IR/
H A DDerivedTypes.h571 class ScalableVectorType : public VectorType {
584 static ScalableVectorType *getInteger(ScalableVectorType *VTy) { in getInteger()
588 static ScalableVectorType *
590 return cast<ScalableVectorType>( in getExtendedElementVectorType()
594 static ScalableVectorType *
596 return cast<ScalableVectorType>( in getTruncatedElementVectorType()
600 static ScalableVectorType *getSubdividedVectorType(ScalableVectorType *VTy, in getSubdividedVectorType()
602 return cast<ScalableVectorType>( in getSubdividedVectorType()
606 static ScalableVectorType *
611 static ScalableVectorType *
[all …]
H A DMatrixBuilder.h42 assert(!isa<ScalableVectorType>(LHS->getType()) && in splatScalarOperandIfNeeded()
48 assert(!isa<ScalableVectorType>(RHS->getType()) && in splatScalarOperandIfNeeded()
164 assert(!isa<ScalableVectorType>(LHS->getType()) && in CreateAdd()
170 assert(!isa<ScalableVectorType>(RHS->getType()) && in CreateAdd()
189 assert(!isa<ScalableVectorType>(LHS->getType()) && in CreateSub()
195 assert(!isa<ScalableVectorType>(RHS->getType()) && in CreateSub()
222 assert(!isa<ScalableVectorType>(LHS->getType()) && in CreateScalarDiv()
H A DGetElementPtrTypeIterator.h87 if (isa<ScalableVectorType>(VTy))
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DSVEIntrinsicOpts.cpp113 const auto *PTrueVTy = cast<ScalableVectorType>(PTrue->getType()); in isPTruePromoted()
119 const auto *IntrUserVTy = cast<ScalableVectorType>(IntrUser->getType()); in isPTruePromoted()
143 auto *PTrue1VTy = cast<ScalableVectorType>(PTrue1->getType()); in coalescePTrueIntrinsicCalls()
144 auto *PTrue2VTy = cast<ScalableVectorType>(PTrue2->getType()); in coalescePTrueIntrinsicCalls()
H A DAArch64TargetTransformInfo.cpp496 auto *OutTy = dyn_cast<ScalableVectorType>(II.getType()); in instCombineSVECmpNE()
526 auto *PredType = ScalableVectorType::get( in instCombineSVECmpNE()
620 auto *PgVTy = cast<ScalableVectorType>(Pg->getType()); in instCombineSVELast()
1508 if (!isa<ScalableVectorType>(Src)) in getMaskedMemoryOpCost()
1529 if (!isa<ScalableVectorType>(DataTy)) in getGatherScatterOpCost()
1574 if (auto *VTy = dyn_cast<ScalableVectorType>(Ty)) in getMemoryOpCost()
1905 if (!isa<ScalableVectorType>(Ty)) in getMinMaxReductionCost()
1907 assert((isa<ScalableVectorType>(Ty) && isa<ScalableVectorType>(CondTy)) && in getMinMaxReductionCost()
1957 if (!isa<ScalableVectorType>(ValTy)) in getArithmeticReductionCost()
1963 auto *VTy = cast<ScalableVectorType>(ValTy); in getArithmeticReductionCost()
[all …]
H A DAArch64RegisterInfo.cpp68 return isa<ScalableVectorType>(F.getReturnType()) || in hasSVEArgsOrReturn()
70 return isa<ScalableVectorType>(Arg.getType()); in hasSVEArgsOrReturn()
/freebsd-13.1/contrib/llvm-project/llvm/lib/IR/
H A DType.cpp401 if (isa<ScalableVectorType>(Ty)) in containsScalableVectorType()
533 if (isa<ScalableVectorType>(Ty)) in isSized()
580 if (isa<ScalableVectorType>(V->getType())) in indexValid()
620 !isa<ScalableVectorType>(ElemTy); in isValidElementType()
636 return ScalableVectorType::get(ElementType, EC.getKnownMinValue()); in get()
671 ScalableVectorType *ScalableVectorType::get(Type *ElementType, in get()
685 Entry = new (pImpl->Alloc) ScalableVectorType(ElementType, MinNumElts); in get()
686 return cast<ScalableVectorType>(Entry); in get()
H A DOperator.cpp101 if (isa<ScalableVectorType>(GTI.getIndexedType())) in accumulateConstantOffset()
162 bool ScalableType = isa<ScalableVectorType>(GTI.getIndexedType()); in collectOffset()
H A DConstantFold.cpp52 if (isa<ScalableVectorType>(DstTy)) in BitCastConstantVector()
690 if (isa<ScalableVectorType>(Val->getType())) in ConstantFoldInsertElementInstruction()
721 ElementCount::get(MaskNumElts, isa<ScalableVectorType>(V1VTy)); in ConstantFoldShuffleVectorInstruction()
740 if (isa<ScalableVectorType>(V1VTy)) in ConstantFoldShuffleVectorInstruction()
817 bool IsScalableVector = isa<ScalableVectorType>(C->getType()); in ConstantFoldUnaryInstruction()
891 bool IsScalableVector = isa<ScalableVectorType>(C1->getType()); in ConstantFoldBinaryInstruction()
1859 if (isa<ScalableVectorType>(C1VTy)) in ConstantFoldCompareInstruction()
2242 assert((!isa<VectorType>(GEPTy) || isa<ScalableVectorType>(GEPTy) == in ConstantFoldGetElementPtr()
2243 isa<ScalableVectorType>(VT)) && in ConstantFoldGetElementPtr()
H A DInstructions.cpp1954 Mask.size(), isa<ScalableVectorType>(V1->getType())), in ShuffleVectorInst()
1969 Mask.size(), isa<ScalableVectorType>(V1->getType())), in ShuffleVectorInst()
2012 if (isa<ScalableVectorType>(V1->getType())) in isValidOperands()
2029 isa<ScalableVectorType>(MaskTy) != isa<ScalableVectorType>(V1->getType())) in isValidOperands()
2103 if (isa<ScalableVectorType>(ResultTy)) { in convertShuffleMaskForBitcode()
2268 if (isa<ScalableVectorType>(getType())) in isIdentityWithPadding()
2295 if (isa<ScalableVectorType>(getType())) in isIdentityWithExtract()
2314 if (isa<ScalableVectorType>(getType())) in isConcat()
H A DIRBuilder.cpp97 if (isa<ScalableVectorType>(DstType)) in CreateStepVector()
1056 if (isa<ScalableVectorType>(Ty)) { in CreateVectorReverse()
1076 if (auto *VTy = dyn_cast<ScalableVectorType>(V1->getType())) { in CreateVectorSplice()
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DBasicTTIImpl.h801 if (isa<ScalableVectorType>(Ty))
1008 if (isa<ScalableVectorType>(DstVTy))
1371 if (isa<ScalableVectorType>(RetTy)) in getIntrinsicInstrCost()
1379 if (isa<ScalableVectorType>(RetTy)) in getIntrinsicInstrCost()
1389 if (isa<ScalableVectorType>(Args[1]->getType())) in getIntrinsicInstrCost()
1429 if (isa<ScalableVectorType>(RetTy)) in getIntrinsicInstrCost()
1522 if (isa<ScalableVectorType>(RetTy) || any_of(Tys, [](const Type *Ty) { in getTypeBasedIntrinsicInstrCost()
1523 return isa<ScalableVectorType>(Ty); in getTypeBasedIntrinsicInstrCost()
1931 if (isa<ScalableVectorType>(RetTy) || any_of(Tys, [](const Type *Ty) { in getTypeBasedIntrinsicInstrCost()
1932 return isa<ScalableVectorType>(Ty); in getTypeBasedIntrinsicInstrCost()
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineVectorOps.cpp1089 if (isa<ScalableVectorType>(Shuf.getOperand(0)->getType())) in isShuffleEquivalentToSelect()
1123 if (isa<ScalableVectorType>(VecTy)) in foldInsSequenceIntoSplat()
1195 if (isa<ScalableVectorType>(Shuf->getType())) in foldInsEltIntoSplat()
1233 if (isa<ScalableVectorType>(Shuf->getType())) in foldInsEltIntoIdentityShuffle()
1362 if (isa<ScalableVectorType>(InsElt.getType())) in foldConstantInsEltIntoShuffle()
2356 if (isa<ScalableVectorType>(LHS->getType())) in visitShuffleVectorInst()
H A DInstCombineSimplifyDemanded.cpp133 if (isa<ScalableVectorType>(VTy)) in SimplifyDemandedUseBits()
1087 if (isa<ScalableVectorType>(V->getType())) in SimplifyDemandedVectorElts()
/freebsd-13.1/contrib/llvm-project/clang/lib/CodeGen/
H A DCodeGenTypes.cpp594 return llvm::ScalableVectorType::get(ConvertType(Info.ElementType), in ConvertType()
609 return llvm::ScalableVectorType::get(ConvertType(Info.ElementType), in ConvertType()
H A DCGBuiltin.cpp8452 llvm::ScalableVectorType *
8460 return llvm::ScalableVectorType::get(Builder.getInt1Ty(), 8); in getSVEPredType()
8462 return llvm::ScalableVectorType::get(Builder.getInt1Ty(), 4); in getSVEPredType()
8464 return llvm::ScalableVectorType::get(Builder.getInt1Ty(), 2); in getSVEPredType()
8467 return llvm::ScalableVectorType::get(Builder.getInt1Ty(), 8); in getSVEPredType()
8487 llvm::ScalableVectorType *
8532 return llvm::ScalableVectorType::get(EltTy, NumElts); in getSVEVectorForElementType()
8709 llvm::ScalableVectorType *VTy = getSVEType(TypeFlags); in EmitSVEStructLoad()
8743 llvm::ScalableVectorType *VTy = getSVEType(TypeFlags); in EmitSVEStructStore()
8801 llvm::ScalableVectorType *Ty = getSVEType(TypeFlags); in EmitSVEPMull()
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DScalarizeMaskedMemIntrin.cpp935 if (isa<ScalableVectorType>(II->getType()) || in optimizeCallInst()
937 [](Value *V) { return isa<ScalableVectorType>(V->getType()); })) in optimizeCallInst()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Analysis/
H A DVectorUtils.cpp892 if (isa<ScalableVectorType>(ConstMask->getType())) in maskIsAllZeroOrUndef()
918 if (isa<ScalableVectorType>(ConstMask->getType())) in maskIsAllOneOrUndef()
H A DLoads.cpp218 if (!Ty->isSized() || isa<ScalableVectorType>(Ty)) in isDereferenceableAndAlignedPointer()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/AArch64/GISel/
H A DAArch64CallLowering.cpp502 if (isa<ScalableVectorType>(F.getReturnType())) in fallBackToDAGISel()
505 return isa<ScalableVectorType>(A.getType()); in fallBackToDAGISel()
/freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DFunctionLoweringInfo.cpp177 if (isa<ScalableVectorType>(Ty)) in set()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DVNCoercion.cpp13 return Ty->isStructTy() || Ty->isArrayTy() || isa<ScalableVectorType>(Ty); in isFirstClassAggregateOrScalableType()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonSubtarget.cpp166 if (!VecTy->isVectorTy() || isa<ScalableVectorType>(VecTy)) in isTypeForHVX()

123