Home
last modified time | relevance | path

Searched defs:SplitRandom (Results 1 – 1 of 1) sorted by relevance

/llvm-project-15.0.7/bolt/lib/Passes/
H A DSplitFunctions.cpp118 struct SplitRandom { struct
119 std::minstd_rand0 *Gen;
121 explicit SplitRandom(std::minstd_rand0 &Gen) : Gen(&Gen) {} in SplitRandom() function
123 bool canSplit(const BinaryFunction &BF) { return true; } in canSplit()
124 bool canOutline(const BinaryBasicBlock &BB) { return true; } in canOutline()
126 template <typename It> void partition(It Start, It End) const { in partition()