Lines Matching defs:PGOHash
48 /// PGOHash produces a stable hash of a given function's control flow.
56 class PGOHash {
99 PGOHash() : Working(0), Count(0) {}
103 const int PGOHash::NumBitsPerType;
104 const unsigned PGOHash::NumTypesPerWord;
105 const unsigned PGOHash::TooBig;
112 PGOHash Hash;
145 if (Type == PGOHash::None)
152 PGOHash::HashType getHashType(const Stmt *S) {
157 return PGOHash::LabelStmt;
159 return PGOHash::WhileStmt;
161 return PGOHash::DoStmt;
163 return PGOHash::ForStmt;
165 return PGOHash::CXXForRangeStmt;
167 return PGOHash::ObjCForCollectionStmt;
169 return PGOHash::SwitchStmt;
171 return PGOHash::CaseStmt;
173 return PGOHash::DefaultStmt;
175 return PGOHash::IfStmt;
177 return PGOHash::CXXTryStmt;
179 return PGOHash::CXXCatchStmt;
181 return PGOHash::ConditionalOperator;
183 return PGOHash::BinaryConditionalOperator;
187 return PGOHash::BinaryOperatorLAnd;
189 return PGOHash::BinaryOperatorLOr;
193 return PGOHash::None;
571 void PGOHash::combine(HashType Type) {
589 uint64_t PGOHash::finalize() {