Home
last modified time | relevance | path

Searched refs:ReplicationFactor (Results 1 – 10 of 10) sorted by relevance

/freebsd-14.2/contrib/llvm-project/llvm/lib/IR/
H A DInstructions.cpp2476 assert(Mask.size() == (unsigned)ReplicationFactor * VF && in isReplicationMaskWithParams()
2480 ArrayRef<int> CurrSubMask = Mask.take_front(ReplicationFactor); in isReplicationMaskWithParams()
2481 assert(CurrSubMask.size() == (unsigned)ReplicationFactor && in isReplicationMaskWithParams()
2483 Mask = Mask.drop_front(ReplicationFactor); in isReplicationMaskWithParams()
2498 ReplicationFactor = in isReplicationMask()
2500 if (ReplicationFactor == 0 || Mask.size() % ReplicationFactor != 0) in isReplicationMask()
2502 VF = Mask.size() / ReplicationFactor; in isReplicationMask()
2503 return isReplicationMaskWithParams(Mask, ReplicationFactor, VF); in isReplicationMask()
2532 ReplicationFactor = PossibleReplicationFactor; in isReplicationMask()
2540 bool ShuffleVectorInst::isReplicationMask(int &ReplicationFactor, in isReplicationMask() argument
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DTargetTransformInfoImpl.h655 unsigned getReplicationShuffleCost(Type *EltTy, int ReplicationFactor, int VF, in getReplicationShuffleCost() argument
1334 int ReplicationFactor, VF; in getInstructionCost() local
1335 if (Shuffle->isReplicationMask(ReplicationFactor, VF)) { in getInstructionCost()
1343 VecSrcTy->getElementType(), ReplicationFactor, VF, in getInstructionCost()
H A DVectorUtils.h339 llvm::SmallVector<int, 16> createReplicatedMask(unsigned ReplicationFactor,
H A DTargetTransformInfo.h1376 InstructionCost getReplicationShuffleCost(Type *EltTy, int ReplicationFactor,
2004 getReplicationShuffleCost(Type *EltTy, int ReplicationFactor, int VF,
2639 getReplicationShuffleCost(Type *EltTy, int ReplicationFactor, int VF, in getReplicationShuffleCost() argument
2642 return Impl.getReplicationShuffleCost(EltTy, ReplicationFactor, VF, in getReplicationShuffleCost()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86TargetTransformInfo.h169 InstructionCost getReplicationShuffleCost(Type *EltTy, int ReplicationFactor,
H A DX86TargetTransformInfo.cpp4661 X86TTIImpl::getReplicationShuffleCost(Type *EltTy, int ReplicationFactor, in getReplicationShuffleCost() argument
4669 return BaseT::getReplicationShuffleCost(EltTy, ReplicationFactor, VF, in getReplicationShuffleCost()
4710 int NumDstElements = VF * ReplicationFactor; in getReplicationShuffleCost()
4737 ReplicationFactor, VF, in getReplicationShuffleCost()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Analysis/
H A DVectorUtils.cpp852 llvm::createReplicatedMask(unsigned ReplicationFactor, unsigned VF) { in createReplicatedMask() argument
855 for (unsigned j = 0; j < ReplicationFactor; j++) in createReplicatedMask()
H A DTargetTransformInfo.cpp1006 Type *EltTy, int ReplicationFactor, int VF, const APInt &DemandedDstElts, in getReplicationShuffleCost() argument
1009 EltTy, ReplicationFactor, VF, DemandedDstElts, CostKind); in getReplicationShuffleCost()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DBasicTTIImpl.h1284 InstructionCost getReplicationShuffleCost(Type *EltTy, int ReplicationFactor, in getReplicationShuffleCost() argument
1288 assert(DemandedDstElts.getBitWidth() == (unsigned)VF * ReplicationFactor && in getReplicationShuffleCost()
1294 auto *ReplicatedVT = FixedVectorType::get(EltTy, VF * ReplicationFactor); in getReplicationShuffleCost()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/IR/
H A DInstructions.h2351 static bool isReplicationMask(ArrayRef<int> Mask, int &ReplicationFactor,
2353 static bool isReplicationMask(const Constant *Mask, int &ReplicationFactor,
2362 return isReplicationMask(MaskAsInts, ReplicationFactor, VF);
2366 bool isReplicationMask(int &ReplicationFactor, int &VF) const;