13#ifndef LLVM_EXECUTIONENGINE_ORC_SPECULATEANALYSES_H
14#define LLVM_EXECUTIONENGINE_ORC_SPECULATEANALYSES_H
31 using ResultTy = std::optional<DenseMap<StringRef, DenseSet<StringRef>>>;
36 size_t numBBToGet(
size_t);
48 struct WalkDirection {
49 bool Upward =
true, Downward =
true;
51 bool CallerBlock =
false;
63 std::size_t getHottestBlocks(std::size_t TotalBlocks);
LLVM Basic Block Representation.
Analysis providing branch probability information.
Implements a dense probed hash-table based set.
This is a 'vector' (really, a variable-sized array), optimized for the case when the array is small.
ResultTy operator()(Function &F)
ResultTy operator()(Function &F)
std::optional< DenseMap< StringRef, DenseSet< StringRef > > > ResultTy
bool isStraightLine(const Function &F)
void findCalles(const BasicBlock *, DenseSet< StringRef > &)
This is an optimization pass for GlobalISel generic memory operations.