Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DInstructions.cpp2172 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 DTargetTransformInfoImpl.h678 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 DVectorUtils.h365 llvm::SmallVector<int, 16> createReplicatedMask(unsigned ReplicationFactor,
H A DTargetTransformInfo.h1412 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 DX86TargetTransformInfo.h172 InstructionCost getReplicationShuffleCost(Type *EltTy, int ReplicationFactor,
H A DX86TargetTransformInfo.cpp4787 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 DVectorUtils.cpp911 llvm::createReplicatedMask(unsigned ReplicationFactor, unsigned VF) { in createReplicatedMask() argument
914 for (unsigned j = 0; j < ReplicationFactor; j++) in createReplicatedMask()
H A DTargetTransformInfo.cpp1051 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 DBasicTTIImpl.h1298 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 DInstructions.h2179 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;