Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DInstructions.cpp2237 int ReplicationFactor, int VF) { in isReplicationMaskWithParams() argument
2238 assert(Mask.size() == (unsigned)ReplicationFactor * VF && in isReplicationMaskWithParams()
2242 ArrayRef<int> CurrSubMask = Mask.take_front(ReplicationFactor); in isReplicationMaskWithParams()
2243 assert(CurrSubMask.size() == (unsigned)ReplicationFactor && in isReplicationMaskWithParams()
2245 Mask = Mask.drop_front(ReplicationFactor); in isReplicationMaskWithParams()
2257 int &ReplicationFactor, int &VF) { in isReplicationMask() argument
2260 ReplicationFactor = in isReplicationMask()
2262 if (ReplicationFactor == 0 || Mask.size() % ReplicationFactor != 0) in isReplicationMask()
2264 VF = Mask.size() / ReplicationFactor; in isReplicationMask()
2265 return isReplicationMaskWithParams(Mask, ReplicationFactor, VF); in isReplicationMask()
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DTargetTransformInfoImpl.h806 getReplicationShuffleCost(Type *EltTy, int ReplicationFactor, int VF, in getReplicationShuffleCost() argument
1560 int ReplicationFactor, VF; in getInstructionCost() local
1561 if (Shuffle->isReplicationMask(ReplicationFactor, VF)) { in getInstructionCost()
1568 VecSrcTy->getElementType(), ReplicationFactor, VF, in getInstructionCost()
H A DVectorUtils.h419 createReplicatedMask(unsigned ReplicationFactor, unsigned VF);
H A DTargetTransformInfo.h1527 Type *EltTy, int ReplicationFactor, int VF, const APInt &DemandedDstElts,
/freebsd/contrib/llvm-project/llvm/include/llvm/SandboxIR/
H A DInstruction.h851 static bool isReplicationMask(ArrayRef<int> Mask, int &ReplicationFactor, in isReplicationMask() argument
853 return llvm::ShuffleVectorInst::isReplicationMask(Mask, ReplicationFactor, in isReplicationMask()
856 static bool isReplicationMask(const Constant *Mask, int &ReplicationFactor, in isReplicationMask() argument
859 cast<llvm::Constant>(Mask->Val), ReplicationFactor, VF); in isReplicationMask()
863 bool isReplicationMask(int &ReplicationFactor, int &VF) const { in isReplicationMask() argument
865 ReplicationFactor, VF); in isReplicationMask()
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86TargetTransformInfo.h176 getReplicationShuffleCost(Type *EltTy, int ReplicationFactor, int VF,
H A DX86TargetTransformInfo.cpp5117 X86TTIImpl::getReplicationShuffleCost(Type *EltTy, int ReplicationFactor, in getReplicationShuffleCost() argument
5125 return BaseT::getReplicationShuffleCost(EltTy, ReplicationFactor, VF, in getReplicationShuffleCost()
5166 int NumDstElements = VF * ReplicationFactor; in getReplicationShuffleCost()
5193 ReplicationFactor, VF, in getReplicationShuffleCost()
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DVectorUtils.cpp1152 llvm::createReplicatedMask(unsigned ReplicationFactor, unsigned VF) { in createReplicatedMask() argument
1155 for (unsigned j = 0; j < ReplicationFactor; j++) in createReplicatedMask()
H A DTargetTransformInfo.cpp1144 Type *EltTy, int ReplicationFactor, int VF, const APInt &DemandedDstElts, in getReplicationShuffleCost() argument
1147 EltTy, ReplicationFactor, VF, DemandedDstElts, CostKind); in getReplicationShuffleCost()
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DInstructions.h2310 int &ReplicationFactor, int &VF);
2311 static bool isReplicationMask(const Constant *Mask, int &ReplicationFactor,
2320 return isReplicationMask(MaskAsInts, ReplicationFactor, VF);
2324 LLVM_ABI bool isReplicationMask(int &ReplicationFactor, int &VF) const;
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DBasicTTIImpl.h1449 getReplicationShuffleCost(Type *EltTy, int ReplicationFactor, int VF, in getReplicationShuffleCost() argument
1452 assert(DemandedDstElts.getBitWidth() == (unsigned)VF * ReplicationFactor && in getReplicationShuffleCost()
1458 auto *ReplicatedVT = FixedVectorType::get(EltTy, VF * ReplicationFactor); in getReplicationShuffleCost()