Searched refs:BlockMass (Results 1 – 2 of 2) sorted by relevance
91 class BlockMass {95 BlockMass() = default;96 explicit BlockMass(uint64_t Mass) : Mass(Mass) {} in BlockMass() function98 static BlockMass getEmpty() { return BlockMass(); } in getEmpty()100 static BlockMass getFull() { in getFull()101 return BlockMass(std::numeric_limits<uint64_t>::max()); in getFull()114 BlockMass &operator+=(BlockMass X) {124 BlockMass &operator-=(BlockMass X) {130 BlockMass &operator*=(BranchProbability P) {135 bool operator==(BlockMass X) const { return Mass == X.Mass; }[all …]
64 ScaledNumber<uint64_t> BlockMass::toScaled() const { in toScaled()71 LLVM_DUMP_METHOD void BlockMass::dump() const { print(dbgs()); } in dump()81 raw_ostream &BlockMass::print(raw_ostream &OS) const { in print()117 BlockMass RemMass;119 DitheringDistributer(Distribution &Dist, const BlockMass &Mass);121 BlockMass takeMass(uint32_t Weight);127 const BlockMass &Mass) { in DitheringDistributer()133 BlockMass DitheringDistributer::takeMass(uint32_t Weight) { in takeMass()136 BlockMass Mass = RemMass * BranchProbability(Weight, RemWeight); in takeMass()403 BlockMass TotalBackedgeMass; in computeLoopScale()[all …]