Lines Matching full:mass

84     OS << getHexDigit(Mass >> (60 - Digits * 4) & 0xf);  in print()
98 /// Dithering mass distributer.
100 /// This class splits up a single mass into portions by weight, dithering to
101 /// spread out error. No mass is lost. The dithering precision depends on the
107 /// mass to distribute in \a RemMass.
113 /// 2. Calculate the portion's mass as \a RemMass times P.
115 /// the current portion's weight and mass.
120 DitheringDistributer(Distribution &Dist, const BlockMass &Mass);
128 const BlockMass &Mass) { in DitheringDistributer() argument
131 RemMass = Mass; in DitheringDistributer()
137 BlockMass Mass = RemMass * BranchProbability(Weight, RemWeight); in takeMass() local
141 RemMass -= Mass; in takeMass()
142 return Mass; in takeMass()
392 // mass, they may saturate all the other scales in the function down to 1, in computeLoopScale()
405 for (auto &Mass : Loop.BackedgeMass) in computeLoopScale() local
406 TotalBackedgeMass += Mass; in computeLoopScale()
410 // its exit mass will be zero. In this case, use an arbitrary scale for the in computeLoopScale()
415 LLVM_DEBUG(dbgs() << " - exit-mass = " << ExitMass << " (" in computeLoopScale()
450 BlockMass Mass = Working[Source.Index].getMass(); in distributeMass() local
451 LLVM_DEBUG(dbgs() << " => mass: " << Mass << "\n"); in distributeMass()
453 // Distribute mass to successors as laid out in Dist. in distributeMass()
454 DitheringDistributer D(Dist, Mass); in distributeMass()
517 << ": mass = " << Loop.Mass << ", scale = " << Loop.Scale in unwrapLoop()
519 Loop.Scale *= Loop.Mass.toScaled(); in unwrapLoop()
540 Freqs[Index].Scaled = Working[Index].Mass.toScaled(); in unwrapLoops()
803 for (auto &Mass : OuterLoop.BackedgeMass) in updateLoopWithIrreducible() local
804 Mass = BlockMass::getEmpty(); in updateLoopWithIrreducible()
815 // Since the loop has more than one header block, the mass flowing back into in adjustLoopHeaderMass()
816 // each header will be different. Adjust the mass in each header loop to in adjustLoopHeaderMass()
819 // To do this, we distribute the initial mass using the backedge masses in adjustLoopHeaderMass()
824 LLVM_DEBUG(dbgs() << "adjust-loop-header-mass:\n"); in adjustLoopHeaderMass()
828 LLVM_DEBUG(dbgs() << " - Add back edge mass for node " in adjustLoopHeaderMass()
834 LLVM_DEBUG(dbgs() << " Nothing added. Back edge mass is zero\n"); in adjustLoopHeaderMass()
839 LLVM_DEBUG(dbgs() << " Distribute loop mass " << LoopMass in adjustLoopHeaderMass()