Home
last modified time | relevance | path

Searched refs:BlockMass (Results 1 – 2 of 2) sorted by relevance

/external/llvm/include/llvm/Analysis/
DBlockFrequencyInfoImpl.h67 class BlockMass {
71 BlockMass() : Mass(0) {} in BlockMass() function
72 explicit BlockMass(uint64_t Mass) : Mass(Mass) {} in BlockMass() function
74 static BlockMass getEmpty() { return BlockMass(); } in getEmpty()
75 static BlockMass getFull() { return BlockMass(UINT64_MAX); } in getFull()
87 BlockMass &operator+=(const BlockMass &X) {
97 BlockMass &operator-=(const BlockMass &X) {
103 BlockMass &operator*=(const BranchProbability &P) {
108 bool operator==(const BlockMass &X) const { return Mass == X.Mass; }
109 bool operator!=(const BlockMass &X) const { return Mass != X.Mass; }
[all …]
/external/llvm/lib/Analysis/
DBlockFrequencyInfoImpl.cpp24 ScaledNumber<uint64_t> BlockMass::toScaled() const { in toScaled()
30 void BlockMass::dump() const { print(dbgs()); } in dump()
38 raw_ostream &BlockMass::print(raw_ostream &OS) const { in print()
74 BlockMass RemMass;
76 DitheringDistributer(Distribution &Dist, const BlockMass &Mass);
78 BlockMass takeMass(uint32_t Weight);
84 const BlockMass &Mass) { in DitheringDistributer()
90 BlockMass DitheringDistributer::takeMass(uint32_t Weight) { in takeMass()
93 BlockMass Mass = RemMass * BranchProbability(Weight, RemWeight); in takeMass()
352 BlockMass ExitMass = BlockMass::getFull() - Loop.BackedgeMass; in computeLoopScale()
[all …]