| /freebsd-12.1/contrib/llvm/lib/Transforms/Vectorize/ |
| H A D | LoopVectorize.cpp | 294 if (VF > 1) { in hasIrregularType() 646 unsigned VF; member in llvm::InnerLoopVectorizer 1053 if (VF == 1 || Uniforms.find(VF) != Uniforms.end()) in collectUniformsAndScalars() 3262 if (VF > 1) in fixVectorizedLoop() 5618 VF = 1; in getInstructionCost() 5620 if (VF > 1 && isProfitableToScalarize(I, VF)) in getInstructionCost() 6138 for (unsigned VF = 1; VF <= MaxVF; VF *= 2) { in plan() local 6311 for (unsigned VF = MinVF; VF < MaxVF + 1;) { in buildVPlans() local 6751 for (unsigned VF = MinVF; VF < MaxVF + 1;) { in buildVPlansWithVPRecipes() local 6873 for (VF *= 2; VF < Range.End; VF *= 2) { in buildVPlanWithVPRecipes() [all …]
|
| H A D | VPlan.h | 118 unsigned VF; member 129 VectorizerValueMap(unsigned UF, unsigned VF) : UF(UF), VF(VF) {} in VectorizerValueMap() 154 assert(Instance.Lane < VF && "Queried Scalar Lane is too large."); in hasScalarValue() 159 assert(Entry[Instance.Part].size() == VF && in hasScalarValue() 198 Entry[Part].resize(VF, nullptr); in setScalarValue() 235 VPTransformState(unsigned VF, unsigned UF, LoopInfo *LI, DominatorTree *DT, in VPTransformState() 238 : VF(VF), UF(UF), Instance(), LI(LI), DT(DT), Builder(Builder), in VPTransformState() 242 unsigned VF; member 1196 void addVF(unsigned VF) { VFs.insert(VF); } in addVF() argument 1198 bool hasVF(unsigned VF) { return VFs.count(VF); } in hasVF() argument
|
| H A D | LoadStoreVectorizer.cpp | 764 unsigned VF = VecRegSize / TySize; in collectInstructions() local 769 (VecTy && TTI.getLoadVectorFactor(VF, TySize, TySize / 8, VecTy) == 0)) in collectInstructions() 811 unsigned VF = VecRegSize / TySize; in collectInstructions() local 946 unsigned VF = VecRegSize / Sz; in vectorizeStoreChain() local 950 if (!isPowerOf2_32(Sz) || VF < 2 || ChainSize < 2) { in vectorizeStoreChain() 986 unsigned TargetVF = TTI.getStoreVectorFactor(VF, Sz, SzInBytes, VecTy); in vectorizeStoreChain() 987 if (ChainSize > VF || (VF != TargetVF && TargetVF < ChainSize)) { in vectorizeStoreChain() 1096 unsigned VF = VecRegSize / Sz; in vectorizeLoadChain() local 1100 if (!isPowerOf2_32(Sz) || VF < 2 || ChainSize < 2) { in vectorizeLoadChain() 1135 unsigned TargetVF = TTI.getLoadVectorFactor(VF, Sz, SzInBytes, VecTy); in vectorizeLoadChain() [all …]
|
| /freebsd-12.1/contrib/llvm/lib/Target/SystemZ/ |
| H A D | SystemZTargetTransformInfo.cpp | 398 unsigned VF = Ty->getVectorNumElements(); in getArithmeticInstrCost() local 437 if (VF == 2) in getArithmeticInstrCost() 453 if (VF == 2 && ScalarBits == 32) in getArithmeticInstrCost() 563 unsigned VF = SrcTy->getVectorNumElements(); in getVectorTruncCost() local 618 if (VF == 1) { in getCmpOpsType() 625 return VectorType::get(ElTy, VF); in getCmpOpsType() 637 unsigned VF = Dst->getVectorNumElements(); in getBoolVecToIntConversionCost() local 704 unsigned TotCost = VF * ScalarCost; in getCastInstrCost() 728 return VF / 2 /*vledb*/ + std::max(1U, VF / 4 /*vperm*/); in getCastInstrCost() 736 return VF * 2; in getCastInstrCost() [all …]
|
| /freebsd-12.1/contrib/llvm/include/llvm/Analysis/ |
| H A D | TargetLibraryInfo.h | 152 bool isFunctionVectorizable(StringRef F, unsigned VF) const { in isFunctionVectorizable() argument 153 return !getVectorizedFunction(F, VF).empty(); in isFunctionVectorizable() 162 StringRef getVectorizedFunction(StringRef F, unsigned VF) const; 166 bool isFunctionScalarizable(StringRef F, unsigned &VF) const { in isFunctionScalarizable() argument 167 return !getScalarizedFunction(F, VF).empty(); in isFunctionScalarizable() 174 StringRef getScalarizedFunction(StringRef F, unsigned &VF) const; 250 bool isFunctionVectorizable(StringRef F, unsigned VF) const { in isFunctionVectorizable() argument 251 return Impl->isFunctionVectorizable(F, VF); in isFunctionVectorizable() 256 StringRef getVectorizedFunction(StringRef F, unsigned VF) const { in getVectorizedFunction() argument 257 return Impl->getVectorizedFunction(F, VF); in getVectorizedFunction()
|
| H A D | TargetTransformInfo.h | 569 unsigned VF) const; 749 unsigned getMaxInterleaveFactor(unsigned VF) const; 866 unsigned VF = 1) const; 982 unsigned getLoadVectorFactor(unsigned VF, unsigned LoadSize, 988 unsigned getStoreVectorFactor(unsigned VF, unsigned StoreSize, 1129 virtual unsigned getMaxInterleaveFactor(unsigned VF) = 0; 1361 return Impl.getOperandsScalarizationOverhead(Args, VF); in getOperandsScalarizationOverhead() 1452 unsigned getMaxInterleaveFactor(unsigned VF) override { in getMaxInterleaveFactor() argument 1453 return Impl.getMaxInterleaveFactor(VF); in getMaxInterleaveFactor() 1527 return Impl.getIntrinsicInstrCost(ID, RetTy, Args, FMF, VF); in getIntrinsicInstrCost() [all …]
|
| H A D | VectorUtils.h | 156 Constant *createBitMaskForGaps(IRBuilder<> &Builder, unsigned VF, 172 unsigned VF); 185 Constant *createInterleaveMask(IRBuilder<> &Builder, unsigned VF, 201 unsigned Stride, unsigned VF);
|
| H A D | TargetTransformInfoImpl.h | 304 unsigned VF) { return 0; } in getOperandsScalarizationOverhead() argument 402 unsigned getMaxInterleaveFactor(unsigned VF) { return 1; } in getMaxInterleaveFactor() argument 468 ArrayRef<Value *> Args, FastMathFlags FMF, unsigned VF) { in getIntrinsicInstrCost() argument 565 unsigned getLoadVectorFactor(unsigned VF, unsigned LoadSize, in getLoadVectorFactor() argument 568 return VF; in getLoadVectorFactor() 571 unsigned getStoreVectorFactor(unsigned VF, unsigned StoreSize, in getStoreVectorFactor() argument 574 return VF; in getStoreVectorFactor()
|
| /freebsd-12.1/contrib/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPUTargetTransformInfo.cpp | 233 unsigned GCNTTIImpl::getLoadVectorFactor(unsigned VF, unsigned LoadSize, in getLoadVectorFactor() argument 236 unsigned VecRegBitWidth = VF * LoadSize; in getLoadVectorFactor() 241 return VF; in getLoadVectorFactor() 244 unsigned GCNTTIImpl::getStoreVectorFactor(unsigned VF, unsigned StoreSize, in getStoreVectorFactor() argument 247 unsigned VecRegBitWidth = VF * StoreSize; in getStoreVectorFactor() 251 return VF; in getStoreVectorFactor() 297 unsigned GCNTTIImpl::getMaxInterleaveFactor(unsigned VF) { in getMaxInterleaveFactor() argument 300 if (VF == 1) in getMaxInterleaveFactor() 684 unsigned R600TTIImpl::getMaxInterleaveFactor(unsigned VF) { in getMaxInterleaveFactor() argument 687 if (VF == 1) in getMaxInterleaveFactor()
|
| H A D | AMDGPUTargetTransformInfo.h | 140 unsigned getLoadVectorFactor(unsigned VF, unsigned LoadSize, 143 unsigned getStoreVectorFactor(unsigned VF, unsigned StoreSize, 158 unsigned getMaxInterleaveFactor(unsigned VF); 238 unsigned getMaxInterleaveFactor(unsigned VF);
|
| /freebsd-12.1/contrib/llvm/lib/Target/Hexagon/ |
| H A D | HexagonTargetTransformInfo.h | 81 unsigned getMaxInterleaveFactor(unsigned VF); 107 unsigned VF); 110 ArrayRef<Value*> Args, FastMathFlags FMF, unsigned VF);
|
| H A D | HexagonTargetTransformInfo.cpp | 101 unsigned HexagonTTIImpl::getMaxInterleaveFactor(unsigned VF) { in getMaxInterleaveFactor() argument 123 ArrayRef<const Value*> Args, unsigned VF) { in getOperandsScalarizationOverhead() argument 124 return BaseT::getOperandsScalarizationOverhead(Args, VF); in getOperandsScalarizationOverhead() 133 ArrayRef<Value*> Args, FastMathFlags FMF, unsigned VF) { in getIntrinsicInstrCost() argument 134 return BaseT::getIntrinsicInstrCost(ID, RetTy, Args, FMF, VF); in getIntrinsicInstrCost()
|
| /freebsd-12.1/contrib/llvm/include/llvm/CodeGen/ |
| H A D | BasicTTIImpl.h | 527 unsigned VF) { in getOperandsScalarizationOverhead() argument 536 assert((VF == 1 || VF == VecTy->getVectorNumElements()) && in getOperandsScalarizationOverhead() 540 VecTy = VectorType::get(A->getType(), VF); in getOperandsScalarizationOverhead() 1008 unsigned VF = 1) { 1019 assert(VF == 1 || !OpTy->isVectorTy()); 1020 Types.push_back(VF == 1 ? OpTy : VectorType::get(OpTy, VF)); 1023 if (VF > 1 && !RetTy->isVoidTy()) 1024 RetTy = VectorType::get(RetTy, VF); 1030 if (RetVF > 1 || VF > 1) { 1041 assert(VF == 1 && "Can't vectorize types here."); [all …]
|
| /freebsd-12.1/contrib/llvm/lib/Target/X86/ |
| H A D | X86InterleavedAccess.cpp | 435 int VF = VT.getVectorNumElements(); in createShuffleStride() local 438 for (int i = 0, LaneSize = VF / LaneCount; i != LaneSize; ++i) in createShuffleStride() 448 int VF = VT.getVectorNumElements() / std::max(VectorSize / 128, 1); in setGroupSize() local 450 int GroupSize = std::ceil((VF - FirstGroupElement) / 3.0); in setGroupSize() 452 FirstGroupElement = ((GroupSize)*3 + FirstGroupElement) % VF; in setGroupSize() 610 int VF = VT.getVectorNumElements(); in group2Shuffle() local 614 IndexGroup[(Index * 3) % (VF / Lane)] = Index; in group2Shuffle() 618 for (int i = 0; i < VF / Lane; i++) { in group2Shuffle()
|
| H A D | X86TargetTransformInfo.h | 64 unsigned getMaxInterleaveFactor(unsigned VF); 94 unsigned VF = 1);
|
| H A D | X86TargetTransformInfo.cpp | 154 unsigned X86TTIImpl::getMaxInterleaveFactor(unsigned VF) { in getMaxInterleaveFactor() argument 158 if (VF == 1) in getMaxInterleaveFactor() 2059 unsigned VF) { in getIntrinsicInstrCost() argument 2720 unsigned VF = SrcVTy->getVectorNumElements(); in getGSVectorCost() local 2754 unsigned IndexSize = (ST->hasAVX512() && VF >= 16) in getGSVectorCost() 2790 unsigned VF = SrcVTy->getVectorNumElements(); in getGSScalarCost() local 2810 for (unsigned i = 0; i < VF; ++i) in getGSScalarCost() 2815 for (unsigned i = 0; i < VF; ++i) in getGSScalarCost() 2828 unsigned VF = SrcVTy->getVectorNumElements(); in getGatherScatterOpCost() local 2845 if (ST->hasAVX512() && (VF == 2 || (VF == 4 && !ST->hasVLX()))) in getGatherScatterOpCost() [all …]
|
| /freebsd-12.1/contrib/llvm/lib/Target/PowerPC/MCTargetDesc/ |
| H A D | PPCMCTargetDesc.h | 141 static const MCPhysReg VFRegs[32] = PPC_REGS0_31(PPC::VF); \ 151 PPC_REGS_LO_HI(PPC::F, PPC::VF); \ 153 PPC_REGS_LO_HI(PPC::F, PPC::VF); \
|
| /freebsd-12.1/contrib/llvm/lib/Analysis/ |
| H A D | VectorUtils.cpp | 600 llvm::createBitMaskForGaps(IRBuilder<> &Builder, unsigned VF, in createBitMaskForGaps() argument 610 for (unsigned i = 0; i < VF; i++) in createBitMaskForGaps() 620 unsigned ReplicationFactor, unsigned VF) { in createReplicatedMask() argument 622 for (unsigned i = 0; i < VF; i++) in createReplicatedMask() 629 Constant *llvm::createInterleaveMask(IRBuilder<> &Builder, unsigned VF, in createInterleaveMask() argument 632 for (unsigned i = 0; i < VF; i++) in createInterleaveMask() 634 Mask.push_back(Builder.getInt32(j * VF + i)); in createInterleaveMask() 640 unsigned Stride, unsigned VF) { in createStrideMask() argument 642 for (unsigned i = 0; i < VF; i++) in createStrideMask()
|
| H A D | TargetTransformInfo.cpp | 250 unsigned VF) const { in getOperandsScalarizationOverhead() 251 return TTIImpl->getOperandsScalarizationOverhead(Args, VF); in getOperandsScalarizationOverhead() 387 unsigned TargetTransformInfo::getMaxInterleaveFactor(unsigned VF) const { in getMaxInterleaveFactor() 388 return TTIImpl->getMaxInterleaveFactor(VF); in getMaxInterleaveFactor() 548 ArrayRef<Value *> Args, FastMathFlags FMF, unsigned VF) const { in getIntrinsicInstrCost() 549 int Cost = TTIImpl->getIntrinsicInstrCost(ID, RetTy, Args, FMF, VF); in getIntrinsicInstrCost() 668 unsigned TargetTransformInfo::getLoadVectorFactor(unsigned VF, in getLoadVectorFactor() argument 672 return TTIImpl->getLoadVectorFactor(VF, LoadSize, ChainSizeInBytes, VecTy); in getLoadVectorFactor() 675 unsigned TargetTransformInfo::getStoreVectorFactor(unsigned VF, in getStoreVectorFactor() argument 679 return TTIImpl->getStoreVectorFactor(VF, StoreSize, ChainSizeInBytes, VecTy); in getStoreVectorFactor()
|
| /freebsd-12.1/tools/tools/vop_table/ |
| H A D | vop_table.pl | 168 @VF = <V>; 177 foreach $v (@VF) {
|
| /freebsd-12.1/contrib/llvm/lib/Target/PowerPC/ |
| H A D | PPCRegisterInfo.td | 65 // VF - One of the 32 64-bit floating-point subregisters of the vector 67 class VF<bits<5> num, string n> : PPCReg<n> { 73 class VR<VF SubReg, string n> : PPCReg<n> { 132 def VF#Index : VF<Index, "v" #Index>, 144 def V#Index : VR<!cast<VF>("VF"#Index), "v"#Index>, 347 (sequence "VF%u", 31, 20),
|
| /freebsd-12.1/contrib/llvm/lib/Transforms/Utils/ |
| H A D | LoopUtils.cpp | 732 unsigned VF = Src->getType()->getVectorNumElements(); in getOrderedReduction() local 737 for (unsigned ExtractIdx = 0; ExtractIdx != VF; ++ExtractIdx) { in getOrderedReduction() 762 unsigned VF = Src->getType()->getVectorNumElements(); in getShuffleReduction() local 766 assert(isPowerOf2_32(VF) && in getShuffleReduction() 769 SmallVector<Constant *, 32> ShuffleMask(VF, nullptr); in getShuffleReduction() 770 for (unsigned i = VF; i != 1; i >>= 1) { in getShuffleReduction()
|
| /freebsd-12.1/sys/dev/cxgbe/firmware/ |
| H A D | t6fw_cfg_uwire.txt | 496 # Scatter Gather Engine (SGE) hardware which checks writes to VF KDOORBELL 501 wx_caps = 0x82 # DMAQ | VF 502 r_caps = 0x86 # DMAQ | VF | PORT 513 wx_caps = 0x82 # DMAQ | VF 514 r_caps = 0x86 # DMAQ | VF | PORT 524 wx_caps = 0x82 # DMAQ | VF 525 r_caps = 0x86 # DMAQ | VF | PORT 536 wx_caps = 0x82 # DMAQ | VF 537 r_caps = 0x86 # DMAQ | VF | PORT
|
| H A D | t5fw_cfg_uwire.txt | 489 # Scatter Gather Engine (SGE) hardware which checks writes to VF KDOORBELL 494 wx_caps = 0x82 # DMAQ | VF 495 r_caps = 0x86 # DMAQ | VF | PORT 506 wx_caps = 0x82 # DMAQ | VF 507 r_caps = 0x86 # DMAQ | VF | PORT 518 wx_caps = 0x82 # DMAQ | VF 519 r_caps = 0x86 # DMAQ | VF | PORT 530 wx_caps = 0x82 # DMAQ | VF 531 r_caps = 0x86 # DMAQ | VF | PORT
|
| H A D | t4fw_cfg_uwire.txt | 444 # Scatter Gather Engine (SGE) hardware which checks writes to VF KDOORBELL 449 wx_caps = 0x82 # DMAQ | VF 450 r_caps = 0x86 # DMAQ | VF | PORT 460 wx_caps = 0x82 # DMAQ | VF 461 r_caps = 0x86 # DMAQ | VF | PORT 471 wx_caps = 0x82 # DMAQ | VF 472 r_caps = 0x86 # DMAQ | VF | PORT 482 wx_caps = 0x82 # DMAQ | VF 483 r_caps = 0x86 # DMAQ | VF | PORT
|