LLVM 17.0.0git
|
#include "llvm/Transforms/IPO/SyntheticCountsPropagation.h"
#include "llvm/Analysis/BlockFrequencyInfo.h"
#include "llvm/Analysis/CallGraph.h"
#include "llvm/Analysis/SyntheticCountsUtils.h"
#include "llvm/IR/Function.h"
#include "llvm/IR/Instructions.h"
#include "llvm/IR/Module.h"
#include "llvm/Support/CommandLine.h"
Go to the source code of this file.
Namespaces | |
namespace | llvm |
This is an optimization pass for GlobalISel generic memory operations. | |
Macros | |
#define | DEBUG_TYPE "synthetic-counts-propagation" |
Typedefs | |
using | Scaled64 = ScaledNumber< uint64_t > |
using | ProfileCount = Function::ProfileCount |
Functions | |
cl::opt< int > | llvm::InitialSyntheticCount ("initial-synthetic-count", cl::Hidden, cl::init(10), cl::desc("Initial value of synthetic entry count")) |
static void | initializeCounts (Module &M, function_ref< void(Function *, uint64_t)> SetCount) |
Variables | |
static cl::opt< int > | InlineSyntheticCount ("inline-synthetic-count", cl::Hidden, cl::init(15), cl::desc("Initial synthetic entry count for inline functions.")) |
Initial synthetic count assigned to inline functions. | |
static cl::opt< int > | ColdSyntheticCount ("cold-synthetic-count", cl::Hidden, cl::init(5), cl::desc("Initial synthetic entry count for cold functions.")) |
Initial synthetic count assigned to cold functions. | |
#define DEBUG_TYPE "synthetic-counts-propagation" |
Definition at line 40 of file SyntheticCountsPropagation.cpp.
using ProfileCount = Function::ProfileCount |
Definition at line 38 of file SyntheticCountsPropagation.cpp.
using Scaled64 = ScaledNumber<uint64_t> |
Definition at line 37 of file SyntheticCountsPropagation.cpp.
|
static |
Definition at line 60 of file SyntheticCountsPropagation.cpp.
References ColdSyntheticCount, F, llvm::InitialSyntheticCount, and InlineSyntheticCount.
|
static |
Initial synthetic count assigned to cold functions.
Referenced by initializeCounts().
|
static |
Initial synthetic count assigned to inline functions.
Referenced by initializeCounts().