Home
last modified time | relevance | path

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

/external/llvm/lib/Transforms/Scalar/
DSampleProfile.cpp444 unsigned TotalWeight = 0; in propagateThroughEdges() local
452 TotalWeight += visitEdge(E, &NumUnknownEdges, &UnknownEdge); in propagateThroughEdges()
460 TotalWeight += visitEdge(E, &NumUnknownEdges, &UnknownEdge); in propagateThroughEdges()
493 if (TotalWeight > BBWeight) { in propagateThroughEdges()
494 BBWeight = TotalWeight; in propagateThroughEdges()
505 if (BBWeight >= TotalWeight) in propagateThroughEdges()
506 EdgeWeights[UnknownEdge] = BBWeight - TotalWeight; in propagateThroughEdges()
517 if (BBWeight >= TotalWeight) in propagateThroughEdges()
518 EdgeWeights[SelfReferentialEdge] = BBWeight - TotalWeight; in propagateThroughEdges()