Searched refs:BlockMass (Results 1 – 2 of 2) sorted by relevance
85 class BlockMass {89 BlockMass() = default;90 explicit BlockMass(uint64_t Mass) : Mass(Mass) {} in BlockMass() function92 static BlockMass getEmpty() { return BlockMass(); } in getEmpty()94 static BlockMass getFull() { in getFull()95 return BlockMass(std::numeric_limits<uint64_t>::max()); in getFull()108 BlockMass &operator+=(BlockMass X) {118 BlockMass &operator-=(BlockMass X) {124 BlockMass &operator*=(BranchProbability P) {129 bool operator==(BlockMass X) const { return Mass == X.Mass; }[all …]
51 ScaledNumber<uint64_t> BlockMass::toScaled() const { in toScaled()58 LLVM_DUMP_METHOD void BlockMass::dump() const { print(dbgs()); } in dump()68 raw_ostream &BlockMass::print(raw_ostream &OS) const { in print()104 BlockMass RemMass;106 DitheringDistributer(Distribution &Dist, const BlockMass &Mass);108 BlockMass takeMass(uint32_t Weight);114 const BlockMass &Mass) { in DitheringDistributer()120 BlockMass DitheringDistributer::takeMass(uint32_t Weight) { in takeMass()123 BlockMass Mass = RemMass * BranchProbability(Weight, RemWeight); in takeMass()390 BlockMass TotalBackedgeMass; in computeLoopScale()[all …]