Lines Matching refs:Weight
36 uint32_t Weight = getEdgeWeight(MBB, Succ); in getSumForBlock() local
39 Sum += Weight; in getSumForBlock()
49 uint32_t Weight = Src->getSuccWeight(Dst); in getEdgeWeight() local
50 if (!Weight) in getEdgeWeight()
52 return Weight; in getEdgeWeight()
58 uint32_t Weight = getEdgeWeight(Src, Dst); in isEdgeHot() local
63 return (uint64_t)Weight * 5 > (uint64_t)Sum * 4; in isEdgeHot()
75 uint32_t Weight = getEdgeWeight(MBB, Succ); in getHotSucc() local
78 Sum += Weight; in getHotSucc()
81 if (Weight > MaxWeight) { in getHotSucc()
82 MaxWeight = Weight; in getHotSucc()