Lines Matching defs:weight
488 void MachineBasicBlock::addSuccessor(MachineBasicBlock *succ, uint32_t weight) {
492 if (weight != 0 && Weights.empty())
495 if (weight != 0 || !Weights.empty())
496 Weights.push_back(weight);
561 // Update its weight instead of adding a duplicate edge.
1119 /// getSuccWeight - Return weight of the edge from this block to MBB.
1128 /// Set successor weight of a given iterator.
1129 void MachineBasicBlock::setSuccWeight(succ_iterator I, uint32_t weight) {
1132 *getWeightIterator(I) = weight;
1139 assert(Weights.size() == Successors.size() && "Async weight list!");
1149 assert(Weights.size() == Successors.size() && "Async weight list!");