Home
last modified time | relevance | path

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

1234

/freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/
H A DInterleavedAccessPass.cpp209 for (Index = 0; Index < Factor; Index++) { in isDeInterleaveMaskOfFactor()
237 for (Factor = 2; Factor <= MaxFactor; Factor++) { in isDeInterleaveMask()
239 if (Mask.size() * Factor > NumLoadElements) in isDeInterleaveMask()
241 if (isDeInterleaveMaskOfFactor(Mask, Factor, Index)) in isDeInterleaveMask()
266 for (Factor = 2; Factor <= MaxFactor; Factor++) { in isReInterleaveMask()
267 if (SVI->isInterleave(Factor)) in isReInterleaveMask()
316 unsigned Factor, Index; in lowerInterleavedLoad() local
369 if (!TLI->lowerInterleavedLoad(LI, Shuffles, Indices, Factor)) { in lowerInterleavedLoad()
487 unsigned Factor; in lowerInterleavedStore() local
488 if (!isReInterleaveMask(SVI, Factor, MaxFactor)) in lowerInterleavedStore()
[all …]
H A DInterleavedLoadCombinePass.cpp751 if (NewSize * Factor != OldSize) in computeFromBCI()
759 for (unsigned j = 0; j < Factor; j++) { in computeFromBCI()
1059 unsigned Factor, const DataLayout &DL) { in findPattern() argument
1077 for (i = 1; i < Factor; i++) { in findPattern()
1083 for (i = 1; i < Factor; i++) { in findPattern()
1087 if (i == Factor) { in findPattern()
1095 for (unsigned i = 0; i < Factor; i++) { in findPattern()
1140 unsigned Factor = InterleavedLoad.size(); in combine() local
1236 Mask.push_back(i + j * Factor); in combine()
1248 << ore::NV("Factor", Factor); in combine()
[all …]
H A DMIRSampleProfile.cpp106 Probe.Factor = 1; in extractProbe()
232 uint32_t Factor = 1; in setBranchProbs() local
234 Factor = BBWeight / MaxWeight + 1; in setBranchProbs()
235 BBWeight /= Factor; in setBranchProbs()
236 LLVM_DEBUG(dbgs() << "Scaling weights by " << Factor << "\n"); in setBranchProbs()
245 EdgeWeight /= Factor; in setBranchProbs()
H A DMachineTraceMetrics.cpp885 unsigned Factor = MTM.SchedModel.getResourceFactor(K); in computeInstrDepths()
888 << PRDepths[K]/Factor << " ops x" << Factor << ")\n"; in computeInstrDepths()
1065 unsigned Factor = MTM.SchedModel.getResourceFactor(K); in computeInstrHeights()
1068 << PRHeights[K]/Factor << " ops x" << Factor << ")\n"; in computeInstrHeights()
/freebsd-14.2/contrib/llvm-project/llvm/lib/IR/
H A DPseudoProbe.cpp36 Probe.Factor = in extractProbeFromDiscriminator()
62 Probe.Factor = II->getFactor()->getZExtValue() / in extractProbe()
76 void setProbeDistributionFactor(Instruction &Inst, float Factor) { in setProbeDistributionFactor() argument
77 assert(Factor >= 0 && Factor <= 1 && in setProbeDistributionFactor()
82 if (Factor < 1) in setProbeDistributionFactor()
83 IntFactor *= Factor; in setProbeDistributionFactor()
101 if (Factor < 1) in setProbeDistributionFactor()
102 IntFactor *= Factor; in setProbeDistributionFactor()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86InterleavedAccess.cpp61 const unsigned Factor; member in __anona9d6d59c0111::X86InterleavedAccessGroup
140 if (!Subtarget.hasAVX() || (Factor != 4 && Factor != 3)) in isSupported()
160 if (ShuffleElemSize == 8 && Factor == 3 && in isSupported()
739 decompose(Inst, Factor, ShuffleTy, DecomposedVectors); in lowerIntoOptimizedSequence()
765 decompose(Shuffles[0], Factor, in lowerIntoOptimizedSequence()
781 if (Factor == 4) in lowerIntoOptimizedSequence()
784 if (Factor == 3) in lowerIntoOptimizedSequence()
808 ArrayRef<unsigned> Indices, unsigned Factor) const { in lowerInterleavedLoad()
809 assert(Factor >= 2 && Factor <= getMaxSupportedInterleaveFactor() && in lowerInterleavedLoad()
826 assert(Factor >= 2 && Factor <= getMaxSupportedInterleaveFactor() && in lowerInterleavedStore()
[all …]
H A DX86TargetTransformInfo.h224 unsigned Opcode, Type *VecTy, unsigned Factor, ArrayRef<unsigned> Indices,
228 unsigned Opcode, FixedVectorType *VecTy, unsigned Factor,
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/IR/
H A DPseudoProbe.h52 uint32_t Factor) { in packProbeData()
56 assert(Factor <= 100 && in packProbeData()
58 return (Index << 3) | (Factor << 19) | (Type << 26) | 0x7; in packProbeData()
100 float Factor; member
113 void setProbeDistributionFactor(Instruction &Inst, float Factor);
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DLowLevelType.h227 constexpr LLT divide(int Factor) const { in divide() argument
228 assert(Factor != 1); in divide()
232 assert(getElementCount().isKnownMultipleOf(Factor)); in divide()
233 return scalarOrVector(getElementCount().divideCoefficientBy(Factor), in divide()
237 assert(getScalarSizeInBits() % Factor == 0); in divide()
238 return scalar(getScalarSizeInBits() / Factor); in divide()
244 constexpr LLT multiplyElements(int Factor) const { in multiplyElements() argument
246 return scalarOrVector(getElementCount().multiplyCoefficientBy(Factor), in multiplyElements()
250 return fixed_vector(Factor, *this); in multiplyElements()
H A DMachineTraceMetrics.h418 unsigned Factor = SchedModel.getLatencyFactor(); in getCycles() local
419 return (Scaled + Factor - 1) / Factor; in getCycles()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DVectorUtils.h446 InterleaveGroup(uint32_t Factor, bool Reverse, Align Alignment) in InterleaveGroup() argument
447 : Factor(Factor), Reverse(Reverse), Alignment(Alignment), in InterleaveGroup()
452 Factor = std::abs(Stride); in InterleaveGroup()
453 assert(Factor > 1 && "Invalid interleave factor"); in InterleaveGroup()
460 uint32_t getFactor() const { return Factor; } in getFactor()
487 if (Index >= static_cast<int32_t>(Factor)) in insertMember()
499 if (*MaybeLargestIndex >= static_cast<int64_t>(Factor)) in insertMember()
557 uint32_t Factor; // Interleave Factor.
/freebsd-14.2/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() argument
119 SmallVectorImpl<reassociate::Factor> &Factors);
122 Value *RemoveFactorFromExpression(Value *V, Value *Factor);
/freebsd-14.2/contrib/llvm-project/llvm/lib/Support/
H A DBlockFrequency.cpp41 std::optional<BlockFrequency> BlockFrequency::mul(uint64_t Factor) const { in mul()
43 uint64_t ResultFrequency = SaturatingMultiply(Frequency, Factor, &Overflow); in mul()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DReassociate.cpp1202 if (Factors[i].Op == Factor) { in RemoveFactorFromExpression()
1685 for (Value *Factor : Factors) { in OptimizeAdd()
1686 if (!Duplicates.insert(Factor).second) in OptimizeAdd()
1692 MaxOccVal = Factor; in OptimizeAdd()
1706 MaxOccVal = Factor; in OptimizeAdd()
1719 MaxOccVal = Factor; in OptimizeAdd()
1848 Factors.push_back(Factor(Op, Count)); in collectMultiplyFactors()
1856 llvm::stable_sort(Factors, [](const Factor &LHS, const Factor &RHS) { in collectMultiplyFactors()
1918 [](const Factor &LHS, const Factor &RHS) { in buildMinimalMultiplyDAG()
1926 for (Factor &F : Factors) { in buildMinimalMultiplyDAG()
[all …]
/freebsd-14.2/sys/contrib/device-tree/Bindings/hwmon/
H A Dti,tmp513.yaml60 Array of three(TMP513) or two(TMP512) n-Factor value for each remote
62 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-14.2/contrib/llvm-project/llvm/lib/ProfileData/Coverage/
H A DCoverageMapping.cpp60 void CounterExpressionBuilder::extractTerms(Counter C, int Factor, in extractTerms() argument
66 Terms.emplace_back(C.getCounterID(), Factor); in extractTerms()
70 extractTerms(E.LHS, Factor, Terms); in extractTerms()
72 E.RHS, E.Kind == CounterExpression::Subtract ? -Factor : Factor, Terms); in extractTerms()
96 Prev->Factor += I->Factor; in simplify()
108 if (T.Factor <= 0) in simplify()
110 for (int I = 0; I < T.Factor; ++I) in simplify()
120 if (T.Factor >= 0) in simplify()
122 for (int I = 0; I < -T.Factor; ++I) in simplify()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/SystemZ/
H A DSystemZTargetTransformInfo.cpp1234 unsigned Opcode, Type *VecTy, unsigned Factor, ArrayRef<unsigned> Indices, in getInterleavedMemoryOpCost() argument
1238 return BaseT::getInterleavedMemoryOpCost(Opcode, VecTy, Factor, Indices, in getInterleavedMemoryOpCost()
1245 assert(Factor > 1 && NumElts % Factor == 0 && "Invalid interleave factor"); in getInterleavedMemoryOpCost()
1246 unsigned VF = NumElts / Factor; in getInterleavedMemoryOpCost()
1256 std::vector<BitVector> ValueVecs(Factor, BitVector(NumVectorMemOps, false)); in getInterleavedMemoryOpCost()
1259 unsigned Vec = (Index + Elt * Factor) / NumEltsPerVecReg; in getInterleavedMemoryOpCost()
1278 unsigned NumSrcVecs = std::min(NumEltsPerVecReg, Factor); in getInterleavedMemoryOpCost()
/freebsd-14.2/sys/arm64/conf/
H A Dstd.nxp29 device sff # Small Form Factor Transceivers
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVTargetTransformInfo.cpp557 unsigned Opcode, Type *VecTy, unsigned Factor, ArrayRef<unsigned> Indices, in getInterleavedMemoryOpCost() argument
565 unsigned VF = FVTy->getNumElements() / Factor; in getInterleavedMemoryOpCost()
572 Factor <= TLI->getMaxSupportedInterleaveFactor()) { in getInterleavedMemoryOpCost()
582 if (TLI->isLegalInterleavedAccessType(LegalFVTy, Factor, Alignment, in getInterleavedMemoryOpCost()
600 FixedVectorType::get(FVTy->getElementType(), VF * Factor); in getInterleavedMemoryOpCost()
601 auto Mask = createStrideMask(Index, Factor, VF); in getInterleavedMemoryOpCost()
620 if (Factor != 2) in getInterleavedMemoryOpCost()
621 return BaseT::getInterleavedMemoryOpCost(Opcode, VecTy, Factor, Indices, in getInterleavedMemoryOpCost()
628 auto Mask = createInterleaveMask(VF, Factor); in getInterleavedMemoryOpCost()
/freebsd-14.2/contrib/llvm-project/llvm/lib/DebugInfo/LogicalView/Core/
H A DLVLocation.cpp496 bool LVLocation::calculateCoverage(LVLocations *Locations, unsigned &Factor, in calculateCoverage() argument
510 Factor = 100; in calculateCoverage()
524 Factor += (UpperAddress > LowerAddress) ? UpperAddress - LowerAddress in calculateCoverage()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonTargetTransformInfo.cpp259 unsigned Opcode, Type *VecTy, unsigned Factor, ArrayRef<unsigned> Indices, in getInterleavedMemoryOpCost() argument
262 if (Indices.size() != Factor || UseMaskForCond || UseMaskForGaps) in getInterleavedMemoryOpCost()
263 return BaseT::getInterleavedMemoryOpCost(Opcode, VecTy, Factor, Indices, in getInterleavedMemoryOpCost()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Support/
H A DBlockFrequency.h82 std::optional<BlockFrequency> mul(uint64_t Factor) const;
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/ARM/
H A DMVETailPredication.cpp391 ConstantInt *Factor = ConstantInt::get(cast<IntegerType>(Ty), VectorWidth); in InsertVCTPIntrinsic() local
408 Value *Remaining = Builder.CreateSub(Processed, Factor); in InsertVCTPIntrinsic()
H A DARMTargetTransformInfo.cpp1172 unsigned Limit, Factor = 2; in getNumMemOps() local
1182 Factor = 1; in getNumMemOps()
1195 return MemOps.size() * Factor; in getNumMemOps()
1525 unsigned Opcode, Type *VecTy, unsigned Factor, ArrayRef<unsigned> Indices, in getInterleavedMemoryOpCost() argument
1528 assert(Factor >= 2 && "Invalid interleave factor"); in getInterleavedMemoryOpCost()
1534 if (Factor <= TLI->getMaxSupportedInterleaveFactor() && !EltIs64Bits && in getInterleavedMemoryOpCost()
1538 FixedVectorType::get(VecTy->getScalarType(), NumElts / Factor); in getInterleavedMemoryOpCost()
1545 if (NumElts % Factor == 0 && in getInterleavedMemoryOpCost()
1546 TLI->isLegalInterleavedAccessType(Factor, SubVecTy, Alignment, DL)) in getInterleavedMemoryOpCost()
1554 if (ST->hasMVEIntegerOps() && Factor == 2 && NumElts / Factor > 2 && in getInterleavedMemoryOpCost()
[all …]

1234