/external/llvm/unittests/Support/ |
BlockFrequencyTest.cpp | 13 BlockFrequency Freq(1); 15 Freq *= Prob; 16 EXPECT_EQ(Freq.getFrequency(), 0u); 20 BlockFrequency Freq(1); 22 Freq *= Prob; 23 EXPECT_EQ(Freq.getFrequency(), 1u); 27 BlockFrequency Freq(3); 29 Freq *= Prob; 30 EXPECT_EQ(Freq.getFrequency(), 1u); 34 BlockFrequency Freq(UINT64_MAX) [all...] |
/external/llvm/include/llvm/Support/ |
BlockFrequency.h | 31 BlockFrequency(uint64_t Freq = 0) : Frequency(Freq) { } 39 BlockFrequency &operator+=(const BlockFrequency &Freq); 40 const BlockFrequency operator+(const BlockFrequency &Freq) const; 61 raw_ostream &operator<<(raw_ostream &OS, const BlockFrequency &Freq);
|
/external/llvm/lib/Support/ |
BlockFrequency.cpp | 23 /// mult96bit - Multiply FREQ by N and store result in W array. 24 void mult96bit(uint64_t freq, uint32_t N, uint64_t W[2]) { 25 uint64_t u0 = freq & UINT32_MAX; 26 uint64_t u1 = freq >> 32; 96 BlockFrequency Freq(Frequency); 97 Freq *= Prob; 98 return Freq; 101 BlockFrequency &BlockFrequency::operator+=(const BlockFrequency &Freq) { 102 uint64_t Before = Freq.Frequency; 103 Frequency += Freq.Frequency [all...] |
/external/llvm/lib/CodeGen/ |
SpillPlacement.cpp | 181 float Freq = LiveIntervals::getSpillWeight(true, false, 184 BlockFrequency[Num] = Freq; 185 nodes[bundles->getBundle(Num, 1)].Scale[0] += Freq; 186 nodes[bundles->getBundle(Num, 0)].Scale[1] += Freq; 218 float Freq = getBlockFrequency(I->Number); 231 nodes[ib].addBias(Freq * Bias[I->Entry], 1); 238 nodes[ob].addBias(Freq * Bias[I->Exit], 0); 247 float Freq = getBlockFrequency(*I); 249 Freq += Freq; [all...] |
/external/zlib/ |
trees.c | 415 for (n = 0; n < L_CODES; n++) s->dyn_ltree[n].Freq = 0; 416 for (n = 0; n < D_CODES; n++) s->dyn_dtree[n].Freq = 0; 417 for (n = 0; n < BL_CODES; n++) s->bl_tree[n].Freq = 0; 419 s->dyn_ltree[END_BLOCK].Freq = 1; 444 (tree[n].Freq < tree[m].Freq || \ 445 (tree[n].Freq == tree[m].Freq && depth[n] <= depth[m])) 481 * IN assertion: the fields freq and dad are set, heap[heap_max] and 524 f = tree[n].Freq; [all...] |
deflate.h | 67 ush freq; /* frequency count */ member in union:ct_data_s::__anon15817 76 #define Freq fc.freq 327 s->dyn_ltree[cc].Freq++; \ 336 s->dyn_ltree[_length_code[len]+LITERALS+1].Freq++; \ 337 s->dyn_dtree[d_code(dist)].Freq++; \
|
/external/llvm/include/llvm/Analysis/ |
BlockFrequencyImpl.h | 68 void setBlockFreq(BlockT *BB, BlockFrequency Freq) { 69 Freqs[BB] = Freq; 70 DEBUG(dbgs() << "Frequency(" << getBlockName(BB) << ") = " << Freq << "\n"); 80 /// incBlockFreq - Increase BB block frequency by FREQ. 82 void incBlockFreq(BlockT *BB, BlockFrequency Freq) { 83 Freqs[BB] += Freq; 84 DEBUG(dbgs() << "Frequency(" << getBlockName(BB) << ") += " << Freq 94 uint64_t Freq = (Freqs[BB].getFrequency() * D) / N; 97 if (Freq > UINT32_MAX) 98 Freq = UINT32_MAX [all...] |
/external/qemu/distrib/zlib-1.2.3/ |
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])) 483 * IN assertion: the fields freq and dad are set, heap[heap_max] and 526 f = tree[n].Freq; [all...] |
deflate.h | 64 ush freq; /* frequency count */ member in union:ct_data_s::__anon10956 73 #define Freq fc.freq 312 s->dyn_ltree[cc].Freq++; \ 321 s->dyn_ltree[_length_code[len]+LITERALS+1].Freq++; \ 322 s->dyn_dtree[d_code(dist)].Freq++; \
|
/frameworks/av/media/libeffects/lvm/lib/SpectrumAnalyzer/src/ |
LVPSA_Control.c | 179 LVM_UINT16 Freq; 200 Freq = (LVM_UINT16) ((LVPSA_SampleRateTab[pInst->CurrentParams.Fs]>>1) / (pInst->nBands + 1)); 203 pInst->pFiltersParams[ii-1].CenterFrequency = (LVM_UINT16) (Freq * ii); [all...] |
/external/llvm/tools/llvm-bcanalyzer/ |
llvm-bcanalyzer.cpp | 583 std::vector<std::pair<unsigned, unsigned> > FreqPairs; // <freq,code> 585 if (unsigned Freq = Stats.CodeFreq[i].NumInstances) 586 FreqPairs.push_back(std::make_pair(Freq, i));
|
/prebuilt/common/tradefed/ |
tradefed-prebuilt.jar | |