/freebsd-11-stable/contrib/llvm-project/llvm/lib/Support/ |
H A D | BlockFrequency.cpp | 24 BlockFrequency Freq(Frequency); 25 Freq *= Prob; 26 return Freq; 35 BlockFrequency Freq(Frequency); 36 Freq /= Prob; 37 return Freq; 40 BlockFrequency &BlockFrequency::operator+=(BlockFrequency Freq) { argument 41 uint64_t Before = Freq.Frequency; 42 Frequency += Freq.Frequency; 51 BlockFrequency BlockFrequency::operator+(BlockFrequency Freq) cons 57 operator -=(BlockFrequency Freq) argument [all...] |
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/Support/ |
H A D | BlockFrequency.h | 28 BlockFrequency(uint64_t Freq = 0) : Frequency(Freq) { } 48 BlockFrequency &operator+=(BlockFrequency Freq); 49 BlockFrequency operator+(BlockFrequency Freq) const; 52 BlockFrequency &operator-=(BlockFrequency Freq); 53 BlockFrequency operator-(BlockFrequency Freq) const;
|
/freebsd-11-stable/contrib/llvm-project/llvm/lib/CodeGen/ |
H A D | SpillPlacement.cpp | 257 uint64_t Freq = Entry.getFrequency(); local 258 uint64_t Scaled = (Freq >> 13) + bool(Freq & (1 << 12)); 267 BlockFrequency Freq = BlockFrequencies[I->Number]; local 273 nodes[ib].addBias(Freq, I->Entry); 280 nodes[ob].addBias(Freq, I->Exit); 289 BlockFrequency Freq = BlockFrequencies[*I]; local 291 Freq += Freq; 296 nodes[ib].addBias(Freq, PrefSpil 313 BlockFrequency Freq = BlockFrequencies[Number]; local [all...] |
H A D | MachineBlockFrequencyInfo.cpp | 239 MachineBlockFrequencyInfo::getProfileCountFromFreq(uint64_t Freq) const { 241 return MBFI ? MBFI->getProfileCountFromFreq(F, Freq) : None; 260 const BlockFrequency Freq) const { 261 return MBFI ? MBFI->printBlockFreq(OS, Freq) : OS;
|
H A D | BranchFolding.h | 147 const BlockFrequency Freq) const;
|
H A D | MachineBlockPlacement.cpp | 806 auto Freq = MBFI->getBlockFreq(SuccPred) local 808 if (Freq > SuccBestPred) 809 SuccBestPred = Freq; 2356 auto ScaleBlockFrequency = [](BlockFrequency Freq, 2362 return Freq / BranchProbability(1, Scale); 2506 auto Freq = MBFI->getBlockFreq(LoopBB).getFrequency(); local 2507 if (Freq == 0 || LoopFreq.getFrequency() / Freq > LoopToColdBlockRatio) 2832 BlockFrequency Freq = MBFI->getBlockFreq(ChainBB); local 2833 if (Freq < WeightedEntryFre [all...] |
H A D | RegAllocGreedy.cpp | 526 BlockFrequency Freq; member in struct:__anon1792::RAGreedy::HintInfo 533 HintInfo(BlockFrequency Freq, unsigned Reg, unsigned PhysReg) argument 534 : Freq(Freq), Reg(Reg), PhysReg(PhysReg) {} 2901 Cost += Info.Freq;
|
H A D | LiveIntervals.cpp | 873 BlockFrequency Freq = MBFI->getBlockFreq(MBB); local 875 return (isDef + isUse) * (Freq.getFrequency() * Scale);
|
/freebsd-11-stable/contrib/libarchive/libarchive/ |
H A D | archive_ppmd7.c | 22 &p->BinSumm[Ppmd7Context_OneState(p->MinContext)->Freq - 1][p->PrevSuccess + \ 344 s->Freq = 1; 412 upState.Freq = ONE_STATE(c)->Freq; 418 cf = s->Freq - 1; 420 upState.Freq = (Byte)(1 + ((2 * cf <= s0) ? (5 * cf > s0) : ((2 * cf + 3 * s0 - 1) / (2 * s0)))); 460 if (p->FoundState->Freq < MAX_FREQ / 4 && p->MinContext->Suffix != 0) 467 if (s->Freq < 32) 468 s->Freq++; 476 if (s[0].Freq > [all...] |
H A D | archive_ppmd8.c | 373 s->Freq = 1; 423 escFreq = ctx->SummFreq - s->Freq; 424 sumFreq = (s->Freq = (Byte)((s->Freq + scale) >> scale)); 427 escFreq -= (++s)->Freq; 428 sumFreq += (s->Freq = (Byte)((s->Freq + scale) >> scale)); 494 /* 9.31: the code was fixed. It's was not BUG, if Freq <= MAX_FREQ = 124 */ 495 ONE_STATE(ctx)->Freq = (Byte)(((unsigned)ONE_STATE(ctx)->Freq [all...] |
H A D | archive_ppmd_private.h | 107 UInt16 Summ; /* Freq */ 108 Byte Shift; /* Speed of Freq change; low Shift is for fast change */ 118 Byte Freq; member in struct:__anon25
|
H A D | archive_ppmd8_private.h | 113 &p->BinSumm[p->NS2Indx[Ppmd8Context_OneState(p->MinContext)->Freq - 1]][ \
|
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/Analysis/ |
H A D | BlockFrequencyInfo.h | 73 /// Returns the estimated profile count of \p Freq. 74 /// This uses the frequency \p Freq and multiplies it by 76 Optional<uint64_t> getProfileCountFromFreq(uint64_t Freq) const; 83 void setBlockFreq(const BasicBlock *BB, uint64_t Freq); 85 /// Set the frequency of \p ReferenceBB to \p Freq and scale the frequencies 88 void setBlockFreqAndScale(const BasicBlock *ReferenceBB, uint64_t Freq, 95 // Print the block frequency Freq to OS using the current functions entry 97 raw_ostream &printBlockFreq(raw_ostream &OS, const BlockFrequency Freq) const;
|
H A D | BlockFrequencyInfoImpl.h | 526 uint64_t Freq, 530 void setBlockFreq(const BlockNode &Node, uint64_t Freq); 534 const BlockFrequency &Freq) const; 980 uint64_t Freq, 982 return BlockFrequencyInfoImplBase::getProfileCountFromFreq(F, Freq, 990 void setBlockFreq(const BlockT *BB, uint64_t Freq); 1049 void BlockFrequencyInfoImpl<BT>::setBlockFreq(const BlockT *BB, uint64_t Freq) { argument 1051 BlockFrequencyInfoImplBase::setBlockFreq(getNode(BB), Freq); local 1059 BlockFrequencyInfoImplBase::setBlockFreq(NewNode, Freq); 1398 BlockFrequency Freq local 979 getProfileCountFromFreq(const Function &F, uint64_t Freq, bool AllowSynthetic = false) const argument [all...] |
/freebsd-11-stable/sys/contrib/zlib/ |
H A D | trees.c | 413 for (n = 0; n < L_CODES; n++) s->dyn_ltree[n].Freq = 0; 414 for (n = 0; n < D_CODES; n++) s->dyn_dtree[n].Freq = 0; 415 for (n = 0; n < BL_CODES; n++) s->bl_tree[n].Freq = 0; 417 s->dyn_ltree[END_BLOCK].Freq = 1; 442 (tree[n].Freq < tree[m].Freq || \ 443 (tree[n].Freq == tree[m].Freq && depth[n] <= depth[m])) 522 f = tree[n].Freq; 556 s->opt_len += ((ulg)bits - tree[m].Len) * tree[m].Freq; [all...] |
H A D | deflate.h | 79 #define Freq fc.freq macro 330 s->dyn_ltree[cc].Freq++; \ 339 s->dyn_ltree[_length_code[len]+LITERALS+1].Freq++; \ 340 s->dyn_dtree[d_code(dist)].Freq++; \
|
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/CodeGen/ |
H A D | MachineBlockFrequencyInfo.h | 65 Optional<uint64_t> getProfileCountFromFreq(uint64_t Freq) const; 73 // Print the block frequency Freq to OS using the current functions entry 75 raw_ostream &printBlockFreq(raw_ostream &OS, const BlockFrequency Freq) const;
|
/freebsd-11-stable/sys/cddl/contrib/opensolaris/uts/common/zmod/ |
H A D | trees.c | 417 for (n = 0; n < L_CODES; n++) s->dyn_ltree[n].Freq = 0; 418 for (n = 0; n < D_CODES; n++) s->dyn_dtree[n].Freq = 0; 419 for (n = 0; n < BL_CODES; n++) s->bl_tree[n].Freq = 0; 421 s->dyn_ltree[END_BLOCK].Freq = 1; 446 (tree[n].Freq < tree[m].Freq || \ 447 (tree[n].Freq == tree[m].Freq && depth[n] <= depth[m])) 526 f = tree[n].Freq; 561 *(long)tree[m].Freq; [all...] |
H A D | deflate.h | 73 #define Freq fc.freq macro 312 s->dyn_ltree[cc].Freq++; \ 321 s->dyn_ltree[_length_code[len]+LITERALS+1].Freq++; \ 322 s->dyn_dtree[d_code(dist)].Freq++; \
|
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Analysis/ |
H A D | BlockFrequencyInfo.cpp | 216 BlockFrequencyInfo::getProfileCountFromFreq(uint64_t Freq) const { 219 return BFI->getProfileCountFromFreq(*getFunction(), Freq); 227 void BlockFrequencyInfo::setBlockFreq(const BasicBlock *BB, uint64_t Freq) { argument 229 BFI->setBlockFreq(BB, Freq); 233 const BasicBlock *ReferenceBB, uint64_t Freq, 237 APInt NewFreq(128, Freq); 251 BFI->setBlockFreq(ReferenceBB, Freq); 269 printBlockFreq(raw_ostream &OS, const BlockFrequency Freq) const { 270 return BFI ? BFI->printBlockFreq(OS, Freq) : OS; 232 setBlockFreqAndScale( const BasicBlock *ReferenceBB, uint64_t Freq, SmallPtrSetImpl<BasicBlock *> &BlocksToScale) argument
|
H A D | BlockFrequencyInfoImpl.cpp | 568 uint64_t Freq, 575 APInt BlockFreq(128, Freq); 599 uint64_t Freq) { 602 Freqs[Node.Index].Integer = Freq; 623 const BlockFrequency &Freq) const { 624 Scaled64 Block(Freq.getFrequency(), 0); 567 getProfileCountFromFreq(const Function &F, uint64_t Freq, bool AllowSynthetic) const argument 598 setBlockFreq(const BlockNode &Node, uint64_t Freq) argument
|
/freebsd-11-stable/contrib/llvm-project/llvm/lib/ProfileData/ |
H A D | ProfileSummaryBuilder.cpp | 83 uint32_t Freq = Iter->second; local 84 CurrSum += (Count * Freq); 85 CountsSeen += Freq;
|
/freebsd-11-stable/sys/libkern/ |
H A D | zlib.c | 331 #define Freq fc.freq macro 2182 for (n = 0; n < L_CODES; n++) s->dyn_ltree[n].Freq = 0; 2183 for (n = 0; n < D_CODES; n++) s->dyn_dtree[n].Freq = 0; 2184 for (n = 0; n < BL_CODES; n++) s->bl_tree[n].Freq = 0; 2186 s->dyn_ltree[END_BLOCK].Freq = 1; 2211 (tree[n].Freq < tree[m].Freq || \ 2212 (tree[n].Freq == tree[m].Freq && depth[n] <= depth[m])) 2291 f = tree[n].Freq; [all...] |
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Bitcode/Reader/ |
H A D | BitcodeAnalyzer.cpp | 687 if (unsigned Freq = Stats.CodeFreq[i].NumInstances) 688 FreqPairs.push_back(std::make_pair(Freq, i));
|
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
H A D | InlineFunction.cpp | 1481 uint64_t Freq = CalleeBFI->getBlockFreq(OrigBB).getFrequency(); local 1487 if (NewFreq > Freq) 1488 Freq = NewFreq; 1490 CallerBFI->setBlockFreq(ClonedBB, Freq);
|