Home
last modified time | relevance | path

Searched refs:inWeight (Results 1 – 6 of 6) sorted by relevance

/external/libaom/libaom/tools/txfm_analyzer/
Dtxfm_gen_code.cc67 if (fabs(node->inWeight[i]) == 1 || fabs(node->inWeight[i]) == 0) cnt++; in node_to_code_c()
73 if (fabs(node->inWeight[i]) == 1) { in node_to_code_c()
82 if (node->inWeight[i] == 1) { in node_to_code_c()
88 } else if (node->inWeight[i] == -1) { in node_to_code_c()
106 buf1, node->nodeIdx, cos_text_arr(node->inWeight[0], COS_MOD, w0, 100), in node_to_code_c()
108 cos_text_arr(node->inWeight[1], COS_MOD, w1, 100), buf0, in node_to_code_c()
187 if (node->inWeight[0] == 1 && node->inWeight[1] == 1) { in single_node_to_code_sse2()
190 } else if (node->inWeight[0] == 1 && node->inWeight[1] == -1) { in single_node_to_code_sse2()
193 } else if (node->inWeight[0] == -1 && node->inWeight[1] == 1) { in single_node_to_code_sse2()
196 } else if (node->inWeight[0] == 1 && node->inWeight[1] == 0) { in single_node_to_code_sse2()
[all …]
Dtxfm_graph.cc190 node[outIdx].inWeight[idx] = w; in add_node()
208 node[outIdx].inWeight[idx] = w0; in connect_node()
215 node[outIdx].inWeight[idx] = w1; in connect_node()
228 node[outIdx].inNode[k]->value * node[outIdx].inWeight[k]; in propagate()
271 int64_t w = round(node[outIdx].inWeight[k] * (1 << estimate_bit)); in estimate_value()
939 node[idx].inWeight[k]); in gen_inv_graph()
Dtxfm_graph.h19 double inWeight[2]; member
/external/swiftshader/third_party/LLVM/lib/Analysis/
DProfileVerifierPass.cpp40 double inWeight; member
98 double inWeight = 0; in printDebugInfo() local
109 inWeight += EdgeWeight; in printDebugInfo()
131 << "inWeight=" << format("%20.20g",inWeight) << "," in printDebugInfo()
149 << "inWeight=" << format("%20.20g",DI->inWeight) << "," in debugEntry()
243 DI.inWeight = DI.outWeight = 0; in recurseBasicBlock()
250 DI.inWeight += ReadOrAssert(PI->getEdge(0,BB)); in recurseBasicBlock()
255 DI.inWeight += ReadOrAssert(PI->getEdge(*bpi,BB)); in recurseBasicBlock()
287 if (DI.outWeight > DI.inWeight) { in recurseBasicBlock()
300 if (DI.inWeight > DI.outWeight) { in recurseBasicBlock()
[all …]
DBranchProbabilityInfo.cpp296 uint32_t inWeight = LBH_TAKEN_WEIGHT / numInEdges; in calcLoopBranchHeuristics() local
297 if (inWeight < NORMAL_WEIGHT) in calcLoopBranchHeuristics()
298 inWeight = NORMAL_WEIGHT; in calcLoopBranchHeuristics()
303 BP->setEdgeWeight(BB, Back, inWeight); in calcLoopBranchHeuristics()
DProfileInfo.cpp583 double inWeight = 0; in EstimateMissingEdges() local
588 readEdge(this,getEdge(0,BB),inWeight,inMissing); in EstimateMissingEdges()
592 readEdge(this,getEdge(*bbi,BB),inWeight,inMissing); in EstimateMissingEdges()
613 share = inWeight/outMissing.size(); in EstimateMissingEdges()
614 setExecutionCount(BB,inWeight); in EstimateMissingEdges()