Searched refs:BlockMass (Results 1 – 2 of 2) sorted by relevance
92 class BlockMass {96 BlockMass() = default;97 explicit BlockMass(uint64_t Mass) : Mass(Mass) {} in BlockMass() function99 static BlockMass getEmpty() { return BlockMass(); } in getEmpty()101 static BlockMass getFull() { in getFull()102 return BlockMass(std::numeric_limits<uint64_t>::max()); in getFull()115 BlockMass &operator+=(BlockMass X) {125 BlockMass &operator-=(BlockMass X) {131 BlockMass &operator*=(BranchProbability P) {136 bool operator==(BlockMass X) const { return Mass == X.Mass; }[all …]
65 ScaledNumber<uint64_t> BlockMass::toScaled() const { in toScaled()72 LLVM_DUMP_METHOD void BlockMass::dump() const { print(dbgs()); } in dump()82 raw_ostream &BlockMass::print(raw_ostream &OS) const { in print()118 BlockMass RemMass;120 DitheringDistributer(Distribution &Dist, const BlockMass &Mass);122 BlockMass takeMass(uint32_t Weight);128 const BlockMass &Mass) { in DitheringDistributer()134 BlockMass DitheringDistributer::takeMass(uint32_t Weight) { in takeMass()137 BlockMass Mass = RemMass * BranchProbability(Weight, RemWeight); in takeMass()404 BlockMass TotalBackedgeMass; in computeLoopScale()[all …]