Lines Matching defs:Weight
90 // | | (Weight = 124)
94 // | (Weight = 4)
203 /// Weight to an 'unreachable' block.
205 /// Weight to a block containing non returning call.
207 /// Weight to 'unwind' block of an invoke instruction.
209 /// Weight to a 'cold' block. Cold blocks are the ones containing calls marked
677 auto Weight = getEstimatedEdgeWeight({SrcLoopBB, DstLoopBB});
679 if (!Weight)
682 if (!MaxWeight || *MaxWeight < *Weight)
683 MaxWeight = Weight;
893 std::optional<uint32_t> Weight;
897 Weight = getEstimatedEdgeWeight(Edge);
901 Weight != static_cast<uint32_t>(BlockExecWeight::ZERO)) {
903 Weight = std::max(
905 Weight.value_or(static_cast<uint32_t>(BlockExecWeight::DEFAULT)) /
911 Weight != static_cast<uint32_t>(BlockExecWeight::ZERO)) {
913 Weight = std::max(
915 Weight.value_or(static_cast<uint32_t>(BlockExecWeight::DEFAULT)) / 2);
918 if (Weight)
922 Weight.value_or(static_cast<uint32_t>(BlockExecWeight::DEFAULT));