/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Support/ |
D | BlockFrequency.cpp | 24 BlockFrequency Freq(Frequency); in operator *() local 25 Freq *= Prob; in operator *() 26 return Freq; in operator *() 35 BlockFrequency Freq(Frequency); in operator /() local 36 Freq /= Prob; in operator /() 37 return Freq; in operator /() 40 BlockFrequency &BlockFrequency::operator+=(BlockFrequency Freq) { in operator +=() argument 41 uint64_t Before = Freq.Frequency; in operator +=() 42 Frequency += Freq.Frequency; in operator +=() 51 BlockFrequency BlockFrequency::operator+(BlockFrequency Freq) const { in operator +() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/ |
D | SpillPlacement.cpp | 257 uint64_t Freq = Entry.getFrequency(); in setThreshold() local 258 uint64_t Scaled = (Freq >> 13) + bool(Freq & (1 << 12)); in setThreshold() 267 BlockFrequency Freq = BlockFrequencies[I->Number]; in addConstraints() local 273 nodes[ib].addBias(Freq, I->Entry); in addConstraints() 280 nodes[ob].addBias(Freq, I->Exit); in addConstraints() 289 BlockFrequency Freq = BlockFrequencies[*I]; in addPrefSpill() local 291 Freq += Freq; in addPrefSpill() 296 nodes[ib].addBias(Freq, PrefSpill); in addPrefSpill() 297 nodes[ob].addBias(Freq, PrefSpill); in addPrefSpill() 313 BlockFrequency Freq = BlockFrequencies[Number]; in addLinks() local [all …]
|
D | MachineBlockFrequencyInfo.cpp | 239 MachineBlockFrequencyInfo::getProfileCountFromFreq(uint64_t Freq) const { in getProfileCountFromFreq() 241 return MBFI ? MBFI->getProfileCountFromFreq(F, Freq) : None; in getProfileCountFromFreq() 260 const BlockFrequency Freq) const { in printBlockFreq() 261 return MBFI ? MBFI->printBlockFreq(OS, Freq) : OS; in printBlockFreq()
|
D | MachineBlockPlacement.cpp | 806 auto Freq = MBFI->getBlockFreq(SuccPred) in isProfitableToTailDup() local 808 if (Freq > SuccBestPred) in isProfitableToTailDup() 809 SuccBestPred = Freq; in isProfitableToTailDup() 2356 auto ScaleBlockFrequency = [](BlockFrequency Freq, in rotateLoopWithProfile() 2362 return Freq / BranchProbability(1, Scale); in rotateLoopWithProfile() 2506 auto Freq = MBFI->getBlockFreq(LoopBB).getFrequency(); in collectLoopBlockSet() local 2507 if (Freq == 0 || LoopFreq.getFrequency() / Freq > LoopToColdBlockRatio) in collectLoopBlockSet() 2832 BlockFrequency Freq = MBFI->getBlockFreq(ChainBB); in alignBlocks() local 2833 if (Freq < WeightedEntryFreq) in alignBlocks() 2840 if (Freq < (LoopHeaderFreq * ColdProb)) in alignBlocks() [all …]
|
D | BranchFolding.h | 147 const BlockFrequency Freq) const;
|
D | RegAllocGreedy.cpp | 526 BlockFrequency Freq; member 533 HintInfo(BlockFrequency Freq, unsigned Reg, unsigned PhysReg) in HintInfo() 534 : Freq(Freq), Reg(Reg), PhysReg(PhysReg) {} in HintInfo() 2901 Cost += Info.Freq; in getBrokenHintFreq()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/ |
D | BlockFrequency.h | 28 BlockFrequency(uint64_t Freq = 0) : Frequency(Freq) { } in Frequency() argument 48 BlockFrequency &operator+=(BlockFrequency Freq); 49 BlockFrequency operator+(BlockFrequency Freq) const; 52 BlockFrequency &operator-=(BlockFrequency Freq); 53 BlockFrequency operator-(BlockFrequency Freq) const;
|
/third_party/libwebsockets/win32port/zlib/ |
D | trees.c | 421 for (n = 0; n < L_CODES; n++) s->dyn_ltree[n].Freq = 0; 422 for (n = 0; n < D_CODES; n++) s->dyn_dtree[n].Freq = 0; 423 for (n = 0; n < BL_CODES; n++) s->bl_tree[n].Freq = 0; 425 s->dyn_ltree[END_BLOCK].Freq = 1; 450 (tree[n].Freq < tree[m].Freq || \ 451 (tree[n].Freq == tree[m].Freq && depth[n] <= depth[m])) 530 f = tree[n].Freq; 565 *(long)tree[m].Freq; 641 if (tree[n].Freq != 0) { 656 tree[node].Freq = 1; [all …]
|
D | deflate.h | 73 #define Freq fc.freq macro 323 s->dyn_ltree[cc].Freq++; \ 332 s->dyn_ltree[_length_code[len]+LITERALS+1].Freq++; \ 333 s->dyn_dtree[d_code(dist)].Freq++; \
|
/third_party/flutter/skia/third_party/externals/zlib/ |
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; 633 if (tree[n].Freq != 0) { 648 tree[node].Freq = 1; [all …]
|
D | deflate.h | 79 #define Freq fc.freq macro 326 s->dyn_ltree[cc].Freq++; \ 336 s->dyn_ltree[_length_code[len]+LITERALS+1].Freq++; \ 337 s->dyn_dtree[d_code(dist)].Freq++; \
|
/third_party/skia/third_party/externals/zlib/ |
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; 633 if (tree[n].Freq != 0) { 648 tree[node].Freq = 1; [all …]
|
D | deflate.h | 79 #define Freq fc.freq macro 326 s->dyn_ltree[cc].Freq++; \ 336 s->dyn_ltree[_length_code[len]+LITERALS+1].Freq++; \ 337 s->dyn_dtree[d_code(dist)].Freq++; \
|
/third_party/node/deps/zlib/ |
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; 633 if (tree[n].Freq != 0) { 648 tree[node].Freq = 1; [all …]
|
D | deflate.h | 79 #define Freq fc.freq macro 326 s->dyn_ltree[cc].Freq++; \ 336 s->dyn_ltree[_length_code[len]+LITERALS+1].Freq++; \ 337 s->dyn_dtree[d_code(dist)].Freq++; \
|
/third_party/zlib/ |
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; 633 if (tree[n].Freq != 0) { 648 tree[node].Freq = 1; [all …]
|
D | deflate.h | 79 #define Freq fc.freq macro 326 s->dyn_ltree[cc].Freq++; \ 336 s->dyn_ltree[_length_code[len]+LITERALS+1].Freq++; \ 337 s->dyn_dtree[d_code(dist)].Freq++; \
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/ |
D | BlockFrequencyInfo.cpp | 216 BlockFrequencyInfo::getProfileCountFromFreq(uint64_t Freq) const { in getProfileCountFromFreq() 219 return BFI->getProfileCountFromFreq(*getFunction(), Freq); in getProfileCountFromFreq() 227 void BlockFrequencyInfo::setBlockFreq(const BasicBlock *BB, uint64_t Freq) { in setBlockFreq() argument 229 BFI->setBlockFreq(BB, Freq); in setBlockFreq() 233 const BasicBlock *ReferenceBB, uint64_t Freq, in setBlockFreqAndScale() argument 237 APInt NewFreq(128, Freq); in setBlockFreqAndScale() 251 BFI->setBlockFreq(ReferenceBB, Freq); in setBlockFreqAndScale() 269 printBlockFreq(raw_ostream &OS, const BlockFrequency Freq) const { in printBlockFreq() 270 return BFI ? BFI->printBlockFreq(OS, Freq) : OS; in printBlockFreq()
|
D | BlockFrequencyInfoImpl.cpp | 568 uint64_t Freq, in getProfileCountFromFreq() argument 575 APInt BlockFreq(128, Freq); in getProfileCountFromFreq() 599 uint64_t Freq) { in setBlockFreq() argument 602 Freqs[Node.Index].Integer = Freq; in setBlockFreq() 623 const BlockFrequency &Freq) const { in printBlockFreq() 624 Scaled64 Block(Freq.getFrequency(), 0); in printBlockFreq()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Analysis/ |
D | BlockFrequencyInfo.h | 76 Optional<uint64_t> getProfileCountFromFreq(uint64_t Freq) const; 83 void setBlockFreq(const BasicBlock *BB, uint64_t Freq); 88 void setBlockFreqAndScale(const BasicBlock *ReferenceBB, uint64_t Freq, 97 raw_ostream &printBlockFreq(raw_ostream &OS, const BlockFrequency Freq) const;
|
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) { 1051 BlockFrequencyInfoImplBase::setBlockFreq(getNode(BB), Freq); 1059 BlockFrequencyInfoImplBase::setBlockFreq(NewNode, Freq); 1398 BlockFrequency Freq = Graph->getBlockFreq(Node); [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/ProfileData/ |
D | ProfileSummaryBuilder.cpp | 83 uint32_t Freq = Iter->second; in computeDetailedSummary() local 84 CurrSum += (Count * Freq); in computeDetailedSummary() 85 CountsSeen += Freq; in computeDetailedSummary()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/ |
D | MachineBlockFrequencyInfo.h | 65 Optional<uint64_t> getProfileCountFromFreq(uint64_t Freq) const; 75 raw_ostream &printBlockFreq(raw_ostream &OS, const BlockFrequency Freq) const;
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/ |
D | InlineFunction.cpp | 1481 uint64_t Freq = CalleeBFI->getBlockFreq(OrigBB).getFrequency(); in updateCallerBFI() local 1487 if (NewFreq > Freq) in updateCallerBFI() 1488 Freq = NewFreq; in updateCallerBFI() 1490 CallerBFI->setBlockFreq(ClonedBB, Freq); in updateCallerBFI()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Bitcode/Reader/ |
D | BitcodeAnalyzer.cpp | 687 if (unsigned Freq = Stats.CodeFreq[i].NumInstances) in printStats() local 688 FreqPairs.push_back(std::make_pair(Freq, i)); in printStats()
|