/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/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; 92 BlockFrequency Freq(Frequency); 93 Freq *= Prob; 94 return Freq; 97 BlockFrequency &BlockFrequency::operator+=(const BlockFrequency &Freq) { 98 uint64_t Before = Freq.Frequency; 99 Frequency += Freq.Frequency [all...] |
/external/llvm/include/llvm/Support/ |
BlockFrequency.h | 29 BlockFrequency(uint64_t Freq = 0) : Frequency(Freq) { } 37 BlockFrequency &operator+=(const BlockFrequency &Freq); 38 const BlockFrequency operator+(const BlockFrequency &Freq) const; 59 raw_ostream &operator<<(raw_ostream &OS, const BlockFrequency &Freq);
|
/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/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::__anon9850 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++; \
|
/external/zlib/ |
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])) 487 * IN assertion: the fields freq and dad are set, heap[heap_max] and 530 f = tree[n].Freq; [all...] |
deflate.h | 64 ush freq; /* frequency count */ member in union:ct_data_s::__anon14463 73 #define Freq fc.freq 323 s->dyn_ltree[cc].Freq++; \ 332 s->dyn_ltree[_length_code[len]+LITERALS+1].Freq++; \ 333 s->dyn_dtree[d_code(dist)].Freq++; \
|
/frameworks/base/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 | 586 std::vector<std::pair<unsigned, unsigned> > FreqPairs; // <freq,code> 588 if (unsigned Freq = Stats.CodeFreq[i].NumInstances) 589 FreqPairs.push_back(std::make_pair(Freq, i));
|
/prebuilt/common/tradefed/ |
tradefed-prebuilt.jar | |