| /freebsd/contrib/llvm-project/llvm/lib/IR/ |
| H A D | Instructions.cpp | 2237 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 D | TargetTransformInfoImpl.h | 806 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 D | VectorUtils.h | 419 createReplicatedMask(unsigned ReplicationFactor, unsigned VF);
|
| H A D | TargetTransformInfo.h | 1527 Type *EltTy, int ReplicationFactor, int VF, const APInt &DemandedDstElts,
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/SandboxIR/ |
| H A D | Instruction.h | 851 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 D | X86TargetTransformInfo.h | 176 getReplicationShuffleCost(Type *EltTy, int ReplicationFactor, int VF,
|
| H A D | X86TargetTransformInfo.cpp | 5117 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 D | VectorUtils.cpp | 1152 llvm::createReplicatedMask(unsigned ReplicationFactor, unsigned VF) { in createReplicatedMask() argument 1155 for (unsigned j = 0; j < ReplicationFactor; j++) in createReplicatedMask()
|
| H A D | TargetTransformInfo.cpp | 1144 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 D | Instructions.h | 2310 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 D | BasicTTIImpl.h | 1449 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()
|