Home
last modified time | relevance | path

Searched refs:Freq (Results 1 – 25 of 32) sorted by relevance

12

/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DRegAllocScore.h47 void onCopy(double Freq) { CopyCounts += Freq; } in onCopy() argument
48 void onLoad(double Freq) { LoadCounts += Freq; } in onLoad() argument
49 void onStore(double Freq) { StoreCounts += Freq; } in onStore() argument
50 void onLoadStore(double Freq) { LoadStoreCounts += Freq; } in onLoadStore() argument
51 void onExpensiveRemat(double Freq) { ExpensiveRematCounts += Freq; } in onExpensiveRemat() argument
52 void onCheapRemat(double Freq) { CheapRematCounts += Freq; } in onCheapRemat() argument
H A DSpillPlacement.cpp253 uint64_t Freq = Entry.getFrequency(); in setThreshold() local
254 uint64_t Scaled = (Freq >> 13) + bool(Freq & (1 << 12)); in setThreshold()
262 BlockFrequency Freq = BlockFrequencies[LB.Number]; in addConstraints() local
268 nodes[ib].addBias(Freq, LB.Entry); in addConstraints()
275 nodes[ob].addBias(Freq, LB.Exit); in addConstraints()
283 BlockFrequency Freq = BlockFrequencies[B]; in addPrefSpill() local
285 Freq += Freq; in addPrefSpill()
290 nodes[ib].addBias(Freq, PrefSpill); in addPrefSpill()
291 nodes[ob].addBias(Freq, PrefSpill); in addPrefSpill()
305 BlockFrequency Freq = BlockFrequencies[Number]; in addLinks() local
[all …]
H A DMachineBlockFrequencyInfo.cpp282 MachineBlockFrequencyInfo::getProfileCountFromFreq(BlockFrequency Freq) const { in getProfileCountFromFreq()
287 return MBFI->getProfileCountFromFreq(F, Freq); in getProfileCountFromFreq()
320 BlockFrequency Freq) { in printBlockFreq() argument
321 return Printable([&MBFI, Freq](raw_ostream &OS) { in printBlockFreq()
322 printRelativeBlockFreq(OS, MBFI.getEntryFreq(), Freq); in printBlockFreq()
H A DMBFIWrapper.cpp
H A DRegAllocGreedy.h394 BlockFrequency Freq; member
401 HintInfo(BlockFrequency Freq, Register Reg, MCRegister PhysReg) in HintInfo()
402 : Freq(Freq), Reg(Reg), PhysReg(PhysReg) {} in HintInfo()
H A DMLRegallocEvictAdvisor.cpp
H A DMLRegAllocEvictAdvisor.cpp822 float Freq = MBFI.getBlockFreqRelativeToEntryBlock(MI->getParent()); in getLIFeatureComponents() local
823 Ret.HottestBlockFreq = std::max(Freq, Ret.HottestBlockFreq); in getLIFeatureComponents()
825 Ret.R += (Reads && !Writes) * Freq; in getLIFeatureComponents()
826 Ret.W += (!Reads && Writes) * Freq; in getLIFeatureComponents()
827 Ret.RW += (Reads && Writes) * Freq; in getLIFeatureComponents()
834 Ret.IndVarUpdates += Freq; in getLIFeatureComponents()
837 Ret.HintWeights += Freq; in getLIFeatureComponents()
H A DMachineBlockPlacement.cpp877 auto Freq = MBFI->getBlockFreq(SuccPred) in isProfitableToTailDup() local
879 if (Freq > SuccBestPred) in isProfitableToTailDup()
880 SuccBestPred = Freq; in isProfitableToTailDup()
2470 auto ScaleBlockFrequency = [](BlockFrequency Freq, in rotateLoopWithProfile()
2476 return Freq / BranchProbability(1, Scale); in rotateLoopWithProfile()
2620 auto Freq = MBFI->getBlockFreq(LoopBB).getFrequency(); in collectLoopBlockSet() local
2621 if (Freq == 0 || LoopFreq.getFrequency() / Freq > LoopToColdBlockRatio) in collectLoopBlockSet()
2986 BlockFrequency Freq = MBFI->getBlockFreq(ChainBB); in alignBlocks() local
2987 if (Freq < WeightedEntryFreq) in alignBlocks()
2994 if (Freq < (LoopHeaderFreq * ColdProb)) in alignBlocks()
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/Support/
H A DBlockFrequency.h31 explicit BlockFrequency(uint64_t Freq) : Frequency(Freq) {} in BlockFrequency() argument
51 BlockFrequency &operator+=(BlockFrequency Freq) {
52 uint64_t Before = Freq.Frequency;
53 Frequency += Freq.Frequency;
61 BlockFrequency operator+(BlockFrequency Freq) const {
63 NewFreq += Freq;
68 BlockFrequency &operator-=(BlockFrequency Freq) {
70 if (Frequency <= Freq.Frequency)
73 Frequency -= Freq.Frequency;
76 BlockFrequency operator-(BlockFrequency Freq) const {
[all …]
/freebsd/contrib/libarchive/libarchive/
H A Darchive_ppmd8.c373 s->Freq = 1; in RestartModel()
423 escFreq = ctx->SummFreq - s->Freq; in Refresh()
424 sumFreq = (s->Freq = (Byte)((s->Freq + scale) >> scale)); in Refresh()
427 escFreq -= (++s)->Freq; in Refresh()
428 sumFreq += (s->Freq = (Byte)((s->Freq + scale) >> scale)); in Refresh()
495 ONE_STATE(ctx)->Freq = (Byte)(((unsigned)ONE_STATE(ctx)->Freq + 11) >> 3); in CutOff()
566 ONE_STATE(c)->Freq = (Byte)(((unsigned)ONE_STATE(c)->Freq + 11) >> 3); in RestoreModel()
573 ONE_STATE(c)->Freq = (Byte)(ONE_STATE(c)->Freq - (ONE_STATE(c)->Freq >> 1)); in RestoreModel()
636 if (s->Freq < MAX_FREQ - 9) in CreateSuccessors()
638 s->Freq++; in CreateSuccessors()
[all …]
H A Darchive_ppmd7.c22 &p->BinSumm[Ppmd7Context_OneState(p->MinContext)->Freq - 1][p->PrevSuccess + \
344 s->Freq = 1; in RestartModel()
412 upState.Freq = ONE_STATE(c)->Freq; in CreateSuccessors()
418 cf = s->Freq - 1; in CreateSuccessors()
420 … upState.Freq = (Byte)(1 + ((2 * cf <= s0) ? (5 * cf > s0) : ((2 * cf + 3 * s0 - 1) / (2 * s0)))); in CreateSuccessors()
460 if (p->FoundState->Freq < MAX_FREQ / 4 && p->MinContext->Suffix != 0) in UpdateModel()
467 if (s->Freq < 32) in UpdateModel()
468 s->Freq++; in UpdateModel()
476 if (s[0].Freq >= s[-1].Freq) in UpdateModel()
482 if (s->Freq < MAX_FREQ - 9) in UpdateModel()
[all …]
H A Darchive_ppmd_private.h118 Byte Freq; member
/freebsd/contrib/llvm-project/llvm/lib/Support/
H A DBlockFrequency.cpp27 BlockFrequency Freq(Frequency); in operator *() local
28 Freq *= Prob; in operator *()
29 return Freq; in operator *()
38 BlockFrequency Freq(Frequency); in operator /() local
39 Freq /= Prob; in operator /()
40 return Freq; in operator /()
52 BlockFrequency Freq) { in printRelativeBlockFreq() argument
53 if (Freq == BlockFrequency(0)) { in printRelativeBlockFreq()
61 ScaledNumber<uint64_t> Block(Freq.getFrequency(), 0); in printRelativeBlockFreq()
/freebsd/sys/contrib/zlib/
H A Dtrees.c443 for (n = 0; n < L_CODES; n++) s->dyn_ltree[n].Freq = 0; in init_block()
444 for (n = 0; n < D_CODES; n++) s->dyn_dtree[n].Freq = 0; in init_block()
445 for (n = 0; n < BL_CODES; n++) s->bl_tree[n].Freq = 0; in init_block()
447 s->dyn_ltree[END_BLOCK].Freq = 1; in init_block()
498 (tree[n].Freq < tree[m].Freq || \
499 (tree[n].Freq == tree[m].Freq && depth[n] <= depth[m]))
571 f = tree[n].Freq; in gen_bitlen()
605 s->opt_len += ((ulg)bits - tree[m].Len) * tree[m].Freq; in gen_bitlen()
640 if (tree[n].Freq != 0) { in build_tree()
655 tree[node].Freq = 1; in build_tree()
[all …]
H A Ddeflate.h83 #define Freq fc.freq macro
337 s->dyn_ltree[cc].Freq++; \
346 s->dyn_ltree[_length_code[len]+LITERALS+1].Freq++; \
347 s->dyn_dtree[d_code(dist)].Freq++; \
356 s->dyn_ltree[cc].Freq++; \
366 s->dyn_ltree[_length_code[len]+LITERALS+1].Freq++; \
367 s->dyn_dtree[d_code(dist)].Freq++; \
/freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DBlockFrequencyInfoImpl.h530 getProfileCountFromFreq(const Function &F, BlockFrequency Freq,
534 void setBlockFreq(const BlockNode &Node, BlockFrequency Freq);
986 std::vector<Scaled64> &Freq) const;
1003 const std::vector<Scaled64> &Freq) const;
1028 getProfileCountFromFreq(const Function &F, BlockFrequency Freq,
1030 return BlockFrequencyInfoImplBase::getProfileCountFromFreq(F, Freq,
1038 void setBlockFreq(const BlockT *BB, BlockFrequency Freq);
1145 BlockFrequency Freq) {
1147 BlockFrequencyInfoImplBase::setBlockFreq(getNode(BB), Freq);
1155 BlockFrequencyInfoImplBase::setBlockFreq(NewNode, Freq);
[all …]
H A DBlockFrequencyInfo.h74 /// Returns the estimated profile count of \p Freq.
75 /// This uses the frequency \p Freq and multiplies it by
77 std::optional<uint64_t> getProfileCountFromFreq(BlockFrequency Freq) const;
84 void setBlockFreq(const BasicBlock *BB, BlockFrequency Freq);
86 /// Set the frequency of \p ReferenceBB to \p Freq and scale the frequencies
89 void setBlockFreqAndScale(const BasicBlock *ReferenceBB, BlockFrequency Freq,
104 /// Print the block frequency @p Freq relative to the current functions entry
107 Printable printBlockFreq(const BlockFrequencyInfo &BFI, BlockFrequency Freq);
H A DCFGPrinter.h297 uint64_t Freq = CFGInfo->getFreq(Node);
300 (uint64_t)(Freq * WeightPercent), Width)
325 uint64_t Freq = CFGInfo->getFreq(Node);
326 std::string Color = getHeatColor(Freq, CFGInfo->getMaxFreq());
327 std::string EdgeColor = (Freq <= (CFGInfo->getMaxFreq() / 2))
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DBlockFrequencyInfo.cpp214 BlockFrequencyInfo::getProfileCountFromFreq(BlockFrequency Freq) const { in getProfileCountFromFreq()
217 return BFI->getProfileCountFromFreq(*getFunction(), Freq); in getProfileCountFromFreq()
226 BlockFrequency Freq) { in setBlockFreq() argument
228 BFI->setBlockFreq(BB, Freq); in setBlockFreq()
232 const BasicBlock *ReferenceBB, BlockFrequency Freq, in setBlockFreqAndScale() argument
236 APInt NewFreq(128, Freq.getFrequency()); in setBlockFreqAndScale()
250 BFI->setBlockFreq(ReferenceBB, Freq); in setBlockFreqAndScale()
284 BlockFrequency Freq) { in printBlockFreq() argument
285 return Printable([&BFI, Freq](raw_ostream &OS) { in printBlockFreq()
286 printRelativeBlockFreq(OS, BFI.getEntryFreq(), Freq); in printBlockFreq()
H A DCallPrinter.cpp60 DenseMap<const Function *, uint64_t> Freq; member in llvm::CallGraphDOTInfo
81 Freq[&F] = localSumFreq; in CallGraphDOTInfo()
91 uint64_t getFreq(const Function *F) { return Freq[F]; } in getFreq()
H A DBlockFrequencyInfoImpl.cpp591 const Function &F, BlockFrequency Freq, bool AllowSynthetic) const { in getProfileCountFromFreq() argument
597 APInt BlockFreq(128, Freq.getFrequency()); in getProfileCountFromFreq()
621 BlockFrequency Freq) { in setBlockFreq() argument
624 Freqs[Node.Index].Integer = Freq.getFrequency(); in setBlockFreq()
/freebsd/sys/contrib/dev/ath/ath_hal/ar9300/
H A Dar9330_11.ini1324 0x101479e, //Freq 2412 - (128 << 17) + 83870
1325 0x101d027, //Freq 2417 - (128 << 17) + 118823
1326 0x10258af, //Freq 2422 - (129 << 17) + 22703
1327 0x102e138, //Freq 2427 - (129 << 17) + 57656
1328 0x10369c0, //Freq 2432 - (129 << 17) + 92608
1329 0x103f249, //Freq 2437 - (129 << 17) + 127561
1330 0x1047ad1, //Freq 2442 - (130 << 17) + 31441
1331 0x105035a, //Freq 2447 - (130 << 17) + 66394
1332 0x1058be2, //Freq 2452 - (130 << 17) + 101346
1333 0x106146b, //Freq 2457 - (131 << 17) + 5227
[all …]
/freebsd/contrib/llvm-project/llvm/lib/ProfileData/
H A DProfileSummaryBuilder.cpp154 uint32_t Freq = Iter->second; in computeDetailedSummary() local
155 CurrSum += (Count * Freq); in computeDetailedSummary()
156 CountsSeen += Freq; in computeDetailedSummary()
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DMachineBlockFrequencyInfo.h79 std::optional<uint64_t> getProfileCountFromFreq(BlockFrequency Freq) const;
105 BlockFrequency Freq);
H A DMBFIWrapper.h

12