LLVM
15.0.0git
|
#include "llvm/CodeGen/MIRSampleProfile.h"
#include "llvm/ADT/DenseMap.h"
#include "llvm/ADT/DenseSet.h"
#include "llvm/Analysis/BlockFrequencyInfoImpl.h"
#include "llvm/CodeGen/MachineBlockFrequencyInfo.h"
#include "llvm/CodeGen/MachineBranchProbabilityInfo.h"
#include "llvm/CodeGen/MachineDominators.h"
#include "llvm/CodeGen/MachineLoopInfo.h"
#include "llvm/CodeGen/MachineOptimizationRemarkEmitter.h"
#include "llvm/CodeGen/MachinePostDominators.h"
#include "llvm/CodeGen/Passes.h"
#include "llvm/IR/Function.h"
#include "llvm/InitializePasses.h"
#include "llvm/Support/CommandLine.h"
#include "llvm/Support/Debug.h"
#include "llvm/Support/raw_ostream.h"
#include "llvm/Transforms/Utils/SampleProfileLoaderBaseImpl.h"
#include "llvm/Transforms/Utils/SampleProfileLoaderBaseUtil.h"
Go to the source code of this file.
Classes | |
struct | llvm::afdo_detail::IRTraits< MachineBasicBlock > |
class | llvm::MIRProfileLoader |
Namespaces | |
llvm | |
This is an optimization pass for GlobalISel generic memory operations. | |
llvm::afdo_detail | |
Macros | |
#define | DEBUG_TYPE "fs-profile-loader" |
Typedefs | |
using | ProfileCount = Function::ProfileCount |
Functions | |
INITIALIZE_PASS_BEGIN (MIRProfileLoaderPass, DEBUG_TYPE, "Load MIR Sample Profile", false, false) INITIALIZE_PASS_END(MIRProfileLoaderPass | |
Variables | |
static cl::opt< bool > | ShowFSBranchProb ("show-fs-branchprob", cl::Hidden, cl::init(false), cl::desc("Print setting flow sensitive branch probabilities")) |
static cl::opt< unsigned > | FSProfileDebugProbDiffThreshold ("fs-profile-debug-prob-diff-threshold", cl::init(10), cl::desc("Only show debug message if the branch probility is greater than " "this value (in percentage).")) |
static cl::opt< unsigned > | FSProfileDebugBWThreshold ("fs-profile-debug-bw-threshold", cl::init(10000), cl::desc("Only show debug message if the source branch weight is greater " " than this value.")) |
static cl::opt< bool > | ViewBFIBefore ("fs-viewbfi-before", cl::Hidden, cl::init(false), cl::desc("View BFI before MIR loader")) |
static cl::opt< bool > | ViewBFIAfter ("fs-viewbfi-after", cl::Hidden, cl::init(false), cl::desc("View BFI after MIR loader")) |
DEBUG_TYPE | |
Load MIR Sample | Profile |
Load MIR Sample | false |
Definition at line 38 of file MIRSampleProfile.cpp.
using ProfileCount = Function::ProfileCount |
Definition at line 36 of file MIRSampleProfile.cpp.
INITIALIZE_PASS_BEGIN | ( | MIRProfileLoaderPass | , |
DEBUG_TYPE | , | ||
"Load MIR Sample Profile" | , | ||
false | , | ||
false | |||
) |
DEBUG_TYPE |
Definition at line 70 of file MIRSampleProfile.cpp.
Load MIR Sample false |
Definition at line 71 of file MIRSampleProfile.cpp.
|
static |
Referenced by llvm::MIRProfileLoader::setBranchProbs().
|
static |
Referenced by llvm::MIRProfileLoader::setBranchProbs().
Load MIR Sample Profile |
Definition at line 70 of file MIRSampleProfile.cpp.
Referenced by llvm::SampleProfileSummaryBuilder::computeSummaryForProfiles(), llvm::InlineFunction(), and parseARMArch().
|
static |
Referenced by llvm::MIRProfileLoader::setBranchProbs().
|
static |