Home
last modified time | relevance | path

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

/external/llvm/lib/Analysis/
DProfileVerifierPass.cpp41 double inWeight; member
99 double inWeight = 0; in printDebugInfo() local
110 inWeight += EdgeWeight; in printDebugInfo()
132 << "inWeight=" << format("%20.20g",inWeight) << "," in printDebugInfo()
150 << "inWeight=" << format("%20.20g",DI->inWeight) << "," in debugEntry()
244 DI.inWeight = DI.outWeight = 0; in recurseBasicBlock()
251 DI.inWeight += ReadOrAssert(PI->getEdge(0,BB)); in recurseBasicBlock()
256 DI.inWeight += ReadOrAssert(PI->getEdge(*bpi,BB)); in recurseBasicBlock()
288 if (DI.outWeight > DI.inWeight) { in recurseBasicBlock()
301 if (DI.inWeight > DI.outWeight) { in recurseBasicBlock()
[all …]
DBranchProbabilityInfo.cpp336 uint32_t inWeight = LBH_TAKEN_WEIGHT / numInEdges; in calcLoopBranchHeuristics() local
337 if (inWeight < NORMAL_WEIGHT) in calcLoopBranchHeuristics()
338 inWeight = NORMAL_WEIGHT; in calcLoopBranchHeuristics()
342 setEdgeWeight(BB, *EI, 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()