/netbsd/external/apache2/llvm/dist/llvm/lib/CodeGen/ |
H A D | ValueTypes.cpp | 117 return isExtendedVector() && isa<ScalableVectorType>(LLVMTy); in isExtendedScalableVector() 393 return ScalableVectorType::get(Type::getInt1Ty(Context), 1); in getTypeForEVT() 395 return ScalableVectorType::get(Type::getInt1Ty(Context), 2); in getTypeForEVT() 397 return ScalableVectorType::get(Type::getInt1Ty(Context), 4); in getTypeForEVT() 399 return ScalableVectorType::get(Type::getInt1Ty(Context), 8); in getTypeForEVT() 407 return ScalableVectorType::get(Type::getInt8Ty(Context), 1); in getTypeForEVT() 409 return ScalableVectorType::get(Type::getInt8Ty(Context), 2); in getTypeForEVT() 411 return ScalableVectorType::get(Type::getInt8Ty(Context), 4); in getTypeForEVT() 413 return ScalableVectorType::get(Type::getInt8Ty(Context), 8); in getTypeForEVT() 457 return ScalableVectorType::get(Type::getHalfTy(Context), 1); in getTypeForEVT() [all …]
|
H A D | InterleavedAccessPass.cpp | 293 if (!LI->isSimple() || isa<ScalableVectorType>(LI->getType())) in lowerInterleavedLoad() 497 if (!SVI || !SVI->hasOneUse() || isa<ScalableVectorType>(SVI->getType())) in lowerInterleavedStore()
|
/netbsd/external/apache2/llvm/dist/llvm/include/llvm/IR/ |
H A D | DerivedTypes.h | 574 class ScalableVectorType : public VectorType { 587 static ScalableVectorType *getInteger(ScalableVectorType *VTy) { in getInteger() 591 static ScalableVectorType * 593 return cast<ScalableVectorType>( in getExtendedElementVectorType() 597 static ScalableVectorType * 599 return cast<ScalableVectorType>( in getTruncatedElementVectorType() 603 static ScalableVectorType *getSubdividedVectorType(ScalableVectorType *VTy, in getSubdividedVectorType() 605 return cast<ScalableVectorType>( in getSubdividedVectorType() 609 static ScalableVectorType * 614 static ScalableVectorType * [all …]
|
H A D | MatrixBuilder.h | 42 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 D | GetElementPtrTypeIterator.h | 87 if (isa<ScalableVectorType>(VTy))
|
/netbsd/external/apache2/llvm/dist/llvm/lib/IR/ |
H A D | Type.cpp | 395 if (isa<ScalableVectorType>(Ty)) in containsScalableVectorType() 527 if (isa<ScalableVectorType>(Ty)) in isSized() 574 if (isa<ScalableVectorType>(V->getType())) in indexValid() 614 !isa<ScalableVectorType>(ElemTy); in isValidElementType() 630 return ScalableVectorType::get(ElementType, EC.getKnownMinValue()); in get() 665 ScalableVectorType *ScalableVectorType::get(Type *ElementType, in get() 679 Entry = new (pImpl->Alloc) ScalableVectorType(ElementType, MinNumElts); in get() 680 return cast<ScalableVectorType>(Entry); in get()
|
H A D | Operator.cpp | 101 if (isa<ScalableVectorType>(GTI.getIndexedType())) in accumulateConstantOffset() 162 bool ScalableType = isa<ScalableVectorType>(GTI.getIndexedType()); in collectOffset()
|
H A D | ConstantFold.cpp | 52 if (isa<ScalableVectorType>(DstTy)) in BitCastConstantVector() 912 if (auto *ValSVTy = dyn_cast<ScalableVectorType>(Val->getType())) { in ConstantFoldExtractElementInstruction() 934 if (isa<ScalableVectorType>(Val->getType())) in ConstantFoldInsertElementInstruction() 965 ElementCount::get(MaskNumElts, isa<ScalableVectorType>(V1VTy)); in ConstantFoldShuffleVectorInstruction() 984 if (isa<ScalableVectorType>(V1VTy)) in ConstantFoldShuffleVectorInstruction() 1061 bool IsScalableVector = isa<ScalableVectorType>(C->getType()); in ConstantFoldUnaryInstruction() 1142 bool IsScalableVector = isa<ScalableVectorType>(C1->getType()); in ConstantFoldBinaryInstruction() 2110 if (isa<ScalableVectorType>(C1VTy)) in ConstantFoldCompareInstruction() 2402 assert((!isa<VectorType>(GEPTy) || isa<ScalableVectorType>(GEPTy) == in ConstantFoldGetElementPtr() 2403 isa<ScalableVectorType>(VT)) && in ConstantFoldGetElementPtr()
|
H A D | Instructions.cpp | 1941 Mask.size(), isa<ScalableVectorType>(V1->getType())), in ShuffleVectorInst() 1956 Mask.size(), isa<ScalableVectorType>(V1->getType())), in ShuffleVectorInst() 1999 if (isa<ScalableVectorType>(V1->getType())) in isValidOperands() 2016 isa<ScalableVectorType>(MaskTy) != isa<ScalableVectorType>(V1->getType())) in isValidOperands() 2089 if (isa<ScalableVectorType>(ResultTy)) { in convertShuffleMaskForBitcode() 2254 if (isa<ScalableVectorType>(getType())) in isIdentityWithPadding() 2281 if (isa<ScalableVectorType>(getType())) in isIdentityWithExtract() 2300 if (isa<ScalableVectorType>(getType())) in isConcat()
|
H A D | IRBuilder.cpp | 97 if (isa<ScalableVectorType>(DstType)) in CreateStepVector() 1016 if (isa<ScalableVectorType>(Ty)) { in CreateVectorReverse() 1036 if (auto *VTy = dyn_cast<ScalableVectorType>(V1->getType())) { in CreateVectorSplice()
|
/netbsd/external/apache2/llvm/dist/llvm/lib/Target/AArch64/ |
H A D | SVEIntrinsicOpts.cpp | 122 const auto *PTrueVTy = cast<ScalableVectorType>(PTrue->getType()); in isPTruePromoted() 128 const auto *IntrUserVTy = cast<ScalableVectorType>(IntrUser->getType()); in isPTruePromoted() 152 auto *PTrue1VTy = cast<ScalableVectorType>(PTrue1->getType()); in coalescePTrueIntrinsicCalls() 153 auto *PTrue2VTy = cast<ScalableVectorType>(PTrue2->getType()); in coalescePTrueIntrinsicCalls()
|
H A D | AArch64TargetTransformInfo.cpp | 461 auto *PgVTy = cast<ScalableVectorType>(Pg->getType()); in instCombineSVELast() 1179 if (!isa<ScalableVectorType>(Src)) in getMaskedMemoryOpCost() 1190 if (!isa<ScalableVectorType>(DataTy)) in getGatherScatterOpCost() 1555 if (!isa<ScalableVectorType>(Ty)) in getMinMaxReductionCost() 1558 assert((isa<ScalableVectorType>(Ty) && isa<ScalableVectorType>(CondTy)) && in getMinMaxReductionCost() 1611 if (isa<ScalableVectorType>(ValTy)) in getArithmeticReductionCost()
|
H A D | AArch64RegisterInfo.cpp | 68 return isa<ScalableVectorType>(F.getReturnType()) || in hasSVEArgsOrReturn() 70 return isa<ScalableVectorType>(Arg.getType()); in hasSVEArgsOrReturn()
|
/netbsd/external/apache2/llvm/dist/llvm/include/llvm/CodeGen/ |
H A D | BasicTTIImpl.h | 1340 if (isa<ScalableVectorType>(RetTy)) in getIntrinsicInstrCost() 1348 if (isa<ScalableVectorType>(RetTy)) in getIntrinsicInstrCost() 1358 if (isa<ScalableVectorType>(Args[1]->getType())) in getIntrinsicInstrCost() 1392 if (isa<ScalableVectorType>(RetTy)) in getIntrinsicInstrCost() 1485 if (isa<ScalableVectorType>(RetTy) || any_of(Tys, [](const Type *Ty) { in getTypeBasedIntrinsicInstrCost() 1486 return isa<ScalableVectorType>(Ty); in getTypeBasedIntrinsicInstrCost() 1904 if (isa<ScalableVectorType>(RetTy) || any_of(Tys, [](const Type *Ty) { in getTypeBasedIntrinsicInstrCost() 1905 return isa<ScalableVectorType>(Ty); in getTypeBasedIntrinsicInstrCost()
|
/netbsd/external/apache2/llvm/dist/llvm/lib/Transforms/InstCombine/ |
H A D | InstCombineVectorOps.cpp | 1029 if (isa<ScalableVectorType>(Shuf.getOperand(0)->getType())) in isShuffleEquivalentToSelect() 1063 if (isa<ScalableVectorType>(VecTy)) in foldInsSequenceIntoSplat() 1135 if (isa<ScalableVectorType>(Shuf->getType())) in foldInsEltIntoSplat() 1173 if (isa<ScalableVectorType>(Shuf->getType())) in foldInsEltIntoIdentityShuffle() 1302 if (isa<ScalableVectorType>(InsElt.getType())) in foldConstantInsEltIntoShuffle() 2296 if (isa<ScalableVectorType>(LHS->getType())) in visitShuffleVectorInst()
|
H A D | InstCombineSimplifyDemanded.cpp | 133 if (isa<ScalableVectorType>(VTy)) in SimplifyDemandedUseBits() 1087 if (isa<ScalableVectorType>(V->getType())) in SimplifyDemandedVectorElts()
|
/netbsd/external/apache2/llvm/dist/clang/lib/CodeGen/ |
H A D | CodeGenTypes.cpp | 594 return llvm::ScalableVectorType::get(ConvertType(Info.ElementType), in ConvertType() 609 return llvm::ScalableVectorType::get(ConvertType(Info.ElementType), in ConvertType()
|
H A D | CGBuiltin.cpp | 8371 llvm::ScalableVectorType * 8379 return llvm::ScalableVectorType::get(Builder.getInt1Ty(), 8); in getSVEPredType() 8381 return llvm::ScalableVectorType::get(Builder.getInt1Ty(), 4); in getSVEPredType() 8383 return llvm::ScalableVectorType::get(Builder.getInt1Ty(), 2); in getSVEPredType() 8386 return llvm::ScalableVectorType::get(Builder.getInt1Ty(), 8); in getSVEPredType() 8406 llvm::ScalableVectorType * 8451 return llvm::ScalableVectorType::get(EltTy, NumElts); in getSVEVectorForElementType() 8628 llvm::ScalableVectorType *VTy = getSVEType(TypeFlags); in EmitSVEStructLoad() 8662 llvm::ScalableVectorType *VTy = getSVEType(TypeFlags); in EmitSVEStructStore() 8720 llvm::ScalableVectorType *Ty = getSVEType(TypeFlags); in EmitSVEPMull() [all …]
|
/netbsd/external/apache2/llvm/dist/llvm/lib/Transforms/Scalar/ |
H A D | ScalarizeMaskedMemIntrin.cpp | 935 if (isa<ScalableVectorType>(II->getType()) || in optimizeCallInst() 937 [](Value *V) { return isa<ScalableVectorType>(V->getType()); })) in optimizeCallInst()
|
/netbsd/external/apache2/llvm/dist/llvm/lib/Analysis/ |
H A D | VectorUtils.cpp | 882 if (isa<ScalableVectorType>(ConstMask->getType())) in maskIsAllZeroOrUndef() 909 if (isa<ScalableVectorType>(ConstMask->getType())) in maskIsAllOneOrUndef()
|
H A D | Loads.cpp | 218 if (!Ty->isSized() || isa<ScalableVectorType>(Ty)) in isDereferenceableAndAlignedPointer()
|
H A D | ValueTracking.cpp | 161 if (isa<ScalableVectorType>(Shuf->getType())) in getShuffleDemandedElts() 201 if (isa<ScalableVectorType>(V->getType())) { in computeKnownBits() 375 if (isa<ScalableVectorType>(V->getType())) in ComputeNumSignBits() 1718 if (isa<ScalableVectorType>(Vec->getType())) { in computeKnownBitsFromOperator() 1800 if (!DemandedElts || isa<ScalableVectorType>(V->getType())) { in computeKnownBits() 2242 if (isa<ScalableVectorType>(V->getType())) in isKnownNonZero() 2515 if (isa<ScalableVectorType>(V->getType())) in isKnownNonZero() 2855 if (isa<ScalableVectorType>(Ty)) in ComputeNumSignBitsImpl() 4912 } else if (isa<ScalableVectorType>(C->getType())) in canCreateUndefOrPoison()
|
/netbsd/external/apache2/llvm/dist/llvm/lib/Target/AArch64/GISel/ |
H A D | AArch64CallLowering.cpp | 510 if (isa<ScalableVectorType>(F.getReturnType())) in fallBackToDAGISel() 513 return isa<ScalableVectorType>(A.getType()); in fallBackToDAGISel()
|
/netbsd/external/apache2/llvm/dist/llvm/lib/Transforms/Utils/ |
H A D | VNCoercion.cpp | 13 return Ty->isStructTy() || Ty->isArrayTy() || isa<ScalableVectorType>(Ty); in isFirstClassAggregateOrScalableType()
|
/netbsd/external/apache2/llvm/dist/llvm/lib/CodeGen/SelectionDAG/ |
H A D | FunctionLoweringInfo.cpp | 177 if (isa<ScalableVectorType>(Ty)) in set()
|