Home
last modified time | relevance | path

Searched refs:Factor (Results 1 – 25 of 71) sorted by relevance

123

/freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/
H A DInterleavedAccessPass.cpp155 for (Index = 0; Index < Factor; Index++) { in isDeInterleaveMaskOfFactor()
183 for (Factor = 2; Factor <= MaxFactor; Factor++) { in isDeInterleaveMask()
212 for (Factor = 2; Factor <= MaxFactor; Factor++) { in isReInterleaveMask()
213 if (NumElts % Factor) in isReInterleaveMask()
216 unsigned LaneLen = NumElts / Factor; in isReInterleaveMask()
224 for (; I < Factor; I++) { in isReInterleaveMask()
231 unsigned Lane = J * Factor + I; in isReInterleaveMask()
232 unsigned NextLane = Lane + Factor; in isReInterleaveMask()
284 if (I == Factor) in isReInterleaveMask()
330 unsigned Factor, Index; in lowerInterleavedLoad() local
[all …]
H A DInterleavedLoadCombinePass.cpp751 if (NewSize * Factor != OldSize) in computeFromBCI()
759 for (unsigned j = 0; j < Factor; j++) { in computeFromBCI()
1056 unsigned Factor, const DataLayout &DL) { in findPattern() argument
1074 for (i = 1; i < Factor; i++) { in findPattern()
1080 for (i = 1; i < Factor; i++) { in findPattern()
1084 if (i == Factor) { in findPattern()
1136 unsigned Factor = InterleavedLoad.size(); in combine() local
1211 for (unsigned i = 0; i < Factor; i++) in combine()
1239 Mask.push_back(i + j * Factor); in combine()
1251 << ore::NV("Factor", Factor); in combine()
[all …]
H A DMachineTraceMetrics.cpp872 unsigned Factor = MTM.SchedModel.getResourceFactor(K); in computeInstrDepths()
875 << PRDepths[K]/Factor << " ops x" << Factor << ")\n"; in computeInstrDepths()
1057 unsigned Factor = MTM.SchedModel.getResourceFactor(K); in computeInstrHeights()
1060 << PRHeights[K]/Factor << " ops x" << Factor << ")\n"; in computeInstrHeights()
/freebsd-13.1/contrib/llvm-project/llvm/lib/IR/
H A DPseudoProbe.cpp39 Probe.Factor = in extractProbeFromDiscriminator()
54 Probe.Factor = II->getFactor()->getZExtValue() / in extractProbe()
65 void setProbeDistributionFactor(Instruction &Inst, float Factor) { in setProbeDistributionFactor() argument
66 assert(Factor >= 0 && Factor <= 1 && in setProbeDistributionFactor()
71 if (Factor < 1) in setProbeDistributionFactor()
72 IntFactor *= Factor; in setProbeDistributionFactor()
90 if (Factor < 1) in setProbeDistributionFactor()
91 IntFactor *= Factor; in setProbeDistributionFactor()
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/IR/
H A DPseudoProbe.h49 uint32_t Factor) { in packProbeData()
53 assert(Factor <= 100 && in packProbeData()
55 return (Index << 3) | (Factor << 19) | (Type << 26) | 0x7; in packProbeData()
85 float Factor; member
90 void setProbeDistributionFactor(Instruction &Inst, float Factor);
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86InterleavedAccess.cpp61 const unsigned Factor; member in __anone63fa8da0111::X86InterleavedAccessGroup
140 if (!Subtarget.hasAVX() || (Factor != 4 && Factor != 3)) in isSupported()
160 if (ShuffleElemSize == 8 && Factor == 3 && in isSupported()
743 decompose(Inst, Factor, ShuffleTy, DecomposedVectors); in lowerIntoOptimizedSequence()
769 decompose(Shuffles[0], Factor, in lowerIntoOptimizedSequence()
785 if (Factor == 4) in lowerIntoOptimizedSequence()
788 if (Factor == 3) in lowerIntoOptimizedSequence()
812 ArrayRef<unsigned> Indices, unsigned Factor) const { in lowerInterleavedLoad()
813 assert(Factor >= 2 && Factor <= getMaxSupportedInterleaveFactor() && in lowerInterleavedLoad()
830 assert(Factor >= 2 && Factor <= getMaxSupportedInterleaveFactor() && in lowerInterleavedStore()
[all …]
H A DX86TargetTransformInfo.h194 unsigned Opcode, Type *VecTy, unsigned Factor, ArrayRef<unsigned> Indices,
199 unsigned Opcode, FixedVectorType *VecTy, unsigned Factor,
204 unsigned Opcode, FixedVectorType *VecTy, unsigned Factor,
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/Transforms/Scalar/
H A DReassociate.h59 struct Factor { struct
63 Factor(Value *Base, unsigned Power) : Base(Base), Power(Power) {} in Factor() function
118 SmallVectorImpl<reassociate::Factor> &Factors);
121 Value *RemoveFactorFromExpression(Value *V, Value *Factor);
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DVectorUtils.h587 InterleaveGroup(uint32_t Factor, bool Reverse, Align Alignment) in InterleaveGroup() argument
588 : Factor(Factor), Reverse(Reverse), Alignment(Alignment), in InterleaveGroup()
593 Factor = std::abs(Stride); in InterleaveGroup()
594 assert(Factor > 1 && "Invalid interleave factor"); in InterleaveGroup()
601 uint32_t getFactor() const { return Factor; } in getFactor()
628 if (Index >= static_cast<int32_t>(Factor)) in insertMember()
640 if (*MaybeLargestIndex >= static_cast<int64_t>(Factor)) in insertMember()
700 uint32_t Factor; // Interleave Factor.
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/Support/
H A DLowLevelTypeImpl.h197 LLT divide(int Factor) const { in divide() argument
198 assert(Factor != 1); in divide()
202 assert(getElementCount().isKnownMultipleOf(Factor)); in divide()
203 return scalarOrVector(getElementCount().divideCoefficientBy(Factor), in divide()
207 assert(getScalarSizeInBits() % Factor == 0); in divide()
208 return scalar(getScalarSizeInBits() / Factor); in divide()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DReassociate.cpp1158 if (Factors[i].Op == Factor) { in RemoveFactorFromExpression()
1644 Value *Factor = Factors[i]; in OptimizeAdd() local
1645 if (!Duplicates.insert(Factor).second) in OptimizeAdd()
1651 MaxOccVal = Factor; in OptimizeAdd()
1660 if (!Duplicates.insert(Factor).second) in OptimizeAdd()
1665 MaxOccVal = Factor; in OptimizeAdd()
1678 MaxOccVal = Factor; in OptimizeAdd()
1807 Factors.push_back(Factor(Op, Count)); in collectMultiplyFactors()
1815 llvm::stable_sort(Factors, [](const Factor &LHS, const Factor &RHS) { in collectMultiplyFactors()
1877 [](const Factor &LHS, const Factor &RHS) { in buildMinimalMultiplyDAG()
[all …]
H A DLoopStrengthReduce.cpp2729 if (const SCEVConstant *Factor = in CollectInterestingTypesAndFactors() local
2732 if (Factor->getAPInt().getMinSignedBits() <= 64 && !Factor->isZero()) in CollectInterestingTypesAndFactors()
2738 if (Factor->getAPInt().getMinSignedBits() <= 64 && !Factor->isZero()) in CollectInterestingTypesAndFactors()
3936 for (int64_t Factor : Factors) { in GenerateICmpZeroScales() local
3953 Offset = (uint64_t)Offset * Factor; in GenerateICmpZeroScales()
3954 if (Offset / Factor != LU.MinOffset) in GenerateICmpZeroScales()
3990 Factor == -1) in GenerateICmpZeroScales()
4022 for (int64_t Factor : Factors) { in GenerateScales() local
4023 Base.Scale = Factor; in GenerateScales()
5782 for (int64_t Factor : Factors) { in print_factors_and_types() local
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/lib/ProfileData/Coverage/
H A DCoverageMapping.cpp57 void CounterExpressionBuilder::extractTerms(Counter C, int Factor, in extractTerms() argument
63 Terms.emplace_back(C.getCounterID(), Factor); in extractTerms()
67 extractTerms(E.LHS, Factor, Terms); in extractTerms()
69 E.RHS, E.Kind == CounterExpression::Subtract ? -Factor : Factor, Terms); in extractTerms()
93 Prev->Factor += I->Factor; in simplify()
105 if (T.Factor <= 0) in simplify()
107 for (int I = 0; I < T.Factor; ++I) in simplify()
117 if (T.Factor >= 0) in simplify()
119 for (int I = 0; I < -T.Factor; ++I) in simplify()
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DMachineTraceMetrics.h416 unsigned Factor = SchedModel.getLatencyFactor(); in getCycles() local
417 return (Scaled + Factor - 1) / Factor; in getCycles()
H A DBasicTTIImpl.h1166 unsigned Opcode, Type *VecTy, unsigned Factor, ArrayRef<unsigned> Indices,
1172 assert(Factor > 1 && NumElts % Factor == 0 && "Invalid interleave factor");
1174 unsigned NumSubElts = NumElts / Factor;
1219 UsedInsts.set((Index + Elt * Factor) / NumEltsPerLegalInst);
1237 assert(Indices.size() <= Factor &&
1241 assert(Index < Factor && "Invalid index for interleaved memory op");
1246 Index + i * Factor);
1269 Cost += ExtSubCost * Factor;
/freebsd-13.1/sys/contrib/device-tree/Bindings/hwmon/
H A Dti,tmp513.yaml61 Array of three(TMP513) or two(TMP512) n-Factor value for each remote
63 See datasheet Table 11 for n-Factor range list and value interpretation.
H A Dibm,cffps1.txt1 Device-tree bindings for IBM Common Form Factor Power Supply Versions 1 and 2
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/SystemZ/
H A DSystemZTargetTransformInfo.cpp1138 unsigned Opcode, Type *VecTy, unsigned Factor, ArrayRef<unsigned> Indices, in getInterleavedMemoryOpCost() argument
1142 return BaseT::getInterleavedMemoryOpCost(Opcode, VecTy, Factor, Indices, in getInterleavedMemoryOpCost()
1149 assert(Factor > 1 && NumElts % Factor == 0 && "Invalid interleave factor"); in getInterleavedMemoryOpCost()
1150 unsigned VF = NumElts / Factor; in getInterleavedMemoryOpCost()
1160 std::vector<BitVector> ValueVecs(Factor, BitVector(NumVectorMemOps, false)); in getInterleavedMemoryOpCost()
1163 unsigned Vec = (Index + Elt * Factor) / NumEltsPerVecReg; in getInterleavedMemoryOpCost()
1182 unsigned NumSrcVecs = std::min(NumEltsPerVecReg, Factor); in getInterleavedMemoryOpCost()
H A DSystemZTargetTransformInfo.h117 unsigned Opcode, Type *VecTy, unsigned Factor, ArrayRef<unsigned> Indices,
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DSampleProfile.cpp587 uint64_t Samples = R.get() * Probe->Factor; in getProbeWeight()
596 Remark << ore::NV("Factor", Probe->Factor); in getProbeWeight()
605 << format("%0.2f", Probe->Factor) << ")\n"); in getProbeWeight()
1211 setProbeDistributionFactor(*I, Probe->Factor * in tryInlineCandidate()
1234 float Factor = 1.0; in getInlineCandidate() local
1236 Factor = Probe->Factor; in getInlineCandidate()
1244 CallsiteCount, uint64_t(CalleeSamples->getEntrySamples() * Factor)); in getInlineCandidate()
1246 *NewCandidate = {CB, CalleeSamples, CallsiteCount, Factor}; in getInlineCandidate()
1468 if (Probe->Factor < 1) in generateMDProfMetadata()
1469 T = SampleRecord::adjustCallTargets(T.get(), Probe->Factor); in generateMDProfMetadata()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonTargetTransformInfo.cpp237 unsigned Opcode, Type *VecTy, unsigned Factor, ArrayRef<unsigned> Indices, in getInterleavedMemoryOpCost() argument
240 if (Indices.size() != Factor || UseMaskForCond || UseMaskForGaps) in getInterleavedMemoryOpCost()
241 return BaseT::getInterleavedMemoryOpCost(Opcode, VecTy, Factor, Indices, in getInterleavedMemoryOpCost()
H A DHexagonTargetTransformInfo.h135 unsigned Opcode, Type *VecTy, unsigned Factor, ArrayRef<unsigned> Indices,
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/ARM/
H A DARMTargetTransformInfo.cpp1107 unsigned Limit, Factor = 2; in getNumMemOps() local
1117 Factor = 1; in getNumMemOps()
1130 return MemOps.size() * Factor; in getNumMemOps()
1456 unsigned Opcode, Type *VecTy, unsigned Factor, ArrayRef<unsigned> Indices, in getInterleavedMemoryOpCost() argument
1459 assert(Factor >= 2 && "Invalid interleave factor"); in getInterleavedMemoryOpCost()
1465 if (Factor <= TLI->getMaxSupportedInterleaveFactor() && !EltIs64Bits && in getInterleavedMemoryOpCost()
1469 FixedVectorType::get(VecTy->getScalarType(), NumElts / Factor); in getInterleavedMemoryOpCost()
1476 if (NumElts % Factor == 0 && in getInterleavedMemoryOpCost()
1477 TLI->isLegalInterleavedAccessType(Factor, SubVecTy, Alignment, DL)) in getInterleavedMemoryOpCost()
1485 if (ST->hasMVEIntegerOps() && Factor == 2 && NumElts / Factor > 2 && in getInterleavedMemoryOpCost()
[all …]
H A DMVETailPredication.cpp364 ConstantInt *Factor = ConstantInt::get(cast<IntegerType>(Ty), VectorWidth); in InsertVCTPIntrinsic() local
386 Value *Remaining = Builder.CreateSub(Processed, Factor); in InsertVCTPIntrinsic()
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/ProfileData/Coverage/
H A DCoverageMapping.h177 int Factor; member
179 Term(unsigned CounterID, int Factor) in Term()
180 : CounterID(CounterID), Factor(Factor) {} in Term()

123