Lines Matching refs:Src
47 MachineBranchProbabilityInfo::getEdgeWeight(MachineBasicBlock *Src, in getEdgeWeight() argument
49 uint32_t Weight = Src->getSuccWeight(Dst); in getEdgeWeight()
55 bool MachineBranchProbabilityInfo::isEdgeHot(MachineBasicBlock *Src, in isEdgeHot() argument
58 uint32_t Weight = getEdgeWeight(Src, Dst); in isEdgeHot()
59 uint32_t Sum = getSumForBlock(Src); in isEdgeHot()
95 MachineBranchProbabilityInfo::getEdgeProbability(MachineBasicBlock *Src, in getEdgeProbability() argument
97 uint32_t N = getEdgeWeight(Src, Dst); in getEdgeProbability()
98 uint32_t D = getSumForBlock(Src); in getEdgeProbability()
104 printEdgeProbability(raw_ostream &OS, MachineBasicBlock *Src, in printEdgeProbability() argument
107 const BranchProbability Prob = getEdgeProbability(Src, Dst); in printEdgeProbability()
108 OS << "edge MBB#" << Src->getNumber() << " -> MBB#" << Dst->getNumber() in printEdgeProbability()
110 << (isEdgeHot(Src, Dst) ? " [HOT edge]\n" : "\n"); in printEdgeProbability()