/freebsd/contrib/llvm-project/llvm/lib/IR/ |
H A D | Instructions.cpp | 2172 int ReplicationFactor, int VF) { in isReplicationMaskWithParams() argument 2173 assert(Mask.size() == (unsigned)ReplicationFactor * VF && in isReplicationMaskWithParams() 2177 ArrayRef<int> CurrSubMask = Mask.take_front(ReplicationFactor); in isReplicationMaskWithParams() 2178 assert(CurrSubMask.size() == (unsigned)ReplicationFactor && in isReplicationMaskWithParams() 2180 Mask = Mask.drop_front(ReplicationFactor); in isReplicationMaskWithParams() 2192 int &ReplicationFactor, int &VF) { in isReplicationMask() argument 2195 ReplicationFactor = in isReplicationMask() 2197 if (ReplicationFactor == 0 || Mask.size() % ReplicationFactor != 0) in isReplicationMask() 2199 VF = Mask.size() / ReplicationFactor; in isReplicationMask() 2200 return isReplicationMaskWithParams(Mask, ReplicationFactor, VF); in isReplicationMask() [all …]
|
/freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/ |
H A D | TargetTransformInfoImpl.h | 678 unsigned getReplicationShuffleCost(Type *EltTy, int ReplicationFactor, int VF, in getReplicationShuffleCost() argument 1378 int ReplicationFactor, VF; in getInstructionCost() local 1379 if (Shuffle->isReplicationMask(ReplicationFactor, VF)) { in getInstructionCost() 1386 VecSrcTy->getElementType(), ReplicationFactor, VF, in getInstructionCost()
|
H A D | VectorUtils.h | 365 llvm::SmallVector<int, 16> createReplicatedMask(unsigned ReplicationFactor,
|
H A D | TargetTransformInfo.h | 1412 InstructionCost getReplicationShuffleCost(Type *EltTy, int ReplicationFactor, 2072 getReplicationShuffleCost(Type *EltTy, int ReplicationFactor, int VF, 2735 getReplicationShuffleCost(Type *EltTy, int ReplicationFactor, int VF, in getReplicationShuffleCost() argument 2738 return Impl.getReplicationShuffleCost(EltTy, ReplicationFactor, VF, in getReplicationShuffleCost()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/ |
H A D | X86TargetTransformInfo.h | 172 InstructionCost getReplicationShuffleCost(Type *EltTy, int ReplicationFactor,
|
H A D | X86TargetTransformInfo.cpp | 4787 X86TTIImpl::getReplicationShuffleCost(Type *EltTy, int ReplicationFactor, in getReplicationShuffleCost() argument 4795 return BaseT::getReplicationShuffleCost(EltTy, ReplicationFactor, VF, in getReplicationShuffleCost() 4836 int NumDstElements = VF * ReplicationFactor; in getReplicationShuffleCost() 4863 ReplicationFactor, VF, in getReplicationShuffleCost()
|
/freebsd/contrib/llvm-project/llvm/lib/Analysis/ |
H A D | VectorUtils.cpp | 911 llvm::createReplicatedMask(unsigned ReplicationFactor, unsigned VF) { in createReplicatedMask() argument 914 for (unsigned j = 0; j < ReplicationFactor; j++) in createReplicatedMask()
|
H A D | TargetTransformInfo.cpp | 1051 Type *EltTy, int ReplicationFactor, int VF, const APInt &DemandedDstElts, in getReplicationShuffleCost() argument 1054 EltTy, ReplicationFactor, VF, DemandedDstElts, CostKind); in getReplicationShuffleCost()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/ |
H A D | BasicTTIImpl.h | 1298 InstructionCost getReplicationShuffleCost(Type *EltTy, int ReplicationFactor, in getReplicationShuffleCost() argument 1302 assert(DemandedDstElts.getBitWidth() == (unsigned)VF * ReplicationFactor && in getReplicationShuffleCost() 1308 auto *ReplicatedVT = FixedVectorType::get(EltTy, VF * ReplicationFactor); in getReplicationShuffleCost()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/ |
H A D | Instructions.h | 2179 static bool isReplicationMask(ArrayRef<int> Mask, int &ReplicationFactor, 2181 static bool isReplicationMask(const Constant *Mask, int &ReplicationFactor, 2190 return isReplicationMask(MaskAsInts, ReplicationFactor, VF); 2194 bool isReplicationMask(int &ReplicationFactor, int &VF) const;
|