|
LLVM 24.0.0git
|
#include "AllocationOrder.h"#include "RegAllocGreedy.h"#include "llvm/Analysis/AliasAnalysis.h"#include "llvm/Analysis/InteractiveModelRunner.h"#include "llvm/Analysis/MLModelRunner.h"#include "llvm/Analysis/ReleaseModeModelRunner.h"#include "llvm/Analysis/TensorSpec.h"#include "llvm/CodeGen/CalcSpillWeights.h"#include "llvm/CodeGen/LiveRegMatrix.h"#include "llvm/CodeGen/MachineBlockFrequencyInfo.h"#include "llvm/CodeGen/MachineFunction.h"#include "llvm/CodeGen/MachineLoopInfo.h"#include "llvm/CodeGen/MachineRegisterInfo.h"#include "llvm/CodeGen/Passes.h"#include "llvm/CodeGen/RegAllocPriorityAdvisor.h"#include "llvm/CodeGen/RegisterClassInfo.h"#include "llvm/CodeGen/SlotIndexes.h"#include "llvm/CodeGen/VirtRegMap.h"#include "llvm/InitializePasses.h"#include "llvm/Pass.h"#include "llvm/PassRegistry.h"#include "llvm/Support/CommandLine.h"#include <cmath>#include <limits>Go to the source code of this file.
Classes | |
| class | llvm::MLPriorityAdvisor |
| class | llvm::ReleaseModePriorityAdvisorProvider |
| class | llvm::ReleaseModePriorityAdvisorAnalysisLegacy |
Namespaces | |
| namespace | llvm |
| This is an optimization pass for GlobalISel generic memory operations. | |
Macros | |
| #define | RA_PRIORITY_FEATURES_LIST(M) |
| #define | DecisionName "priority" |
| #define | _FEATURE_IDX(_, name, __, ___) |
| #define | _DECL_FEATURES(type, name, shape, _) |
Enumerations | |
| enum | llvm::FeatureIDs { llvm::FeatureCount } |
Functions | |
| static bool | hasReleaseModePriorityModel () |
| static unsigned | convertAdviceToPriority (double Advice) |
Variables | |
| static cl::opt< std::string > | InteractiveChannelBaseName ("regalloc-priority-interactive-channel-base", cl::Hidden, cl::desc("Base file path for the interactive mode. The incoming filename should " "have the name <regalloc-priority-interactive-channel-base>.in, while " "the outgoing name should be " "<regalloc-priority-interactive-channel-base>.out")) |
| static const std::vector< int64_t > | llvm::PerLiveRangeShape {1} |
| static const TensorSpec | llvm::DecisionSpec |
| static const std::vector< TensorSpec > | llvm::InputFeatures |
Definition at line 121 of file MLRegAllocPriorityAdvisor.cpp.
Definition at line 94 of file MLRegAllocPriorityAdvisor.cpp.
| #define DecisionName "priority" |
Definition at line 87 of file MLRegAllocPriorityAdvisor.cpp.
| #define RA_PRIORITY_FEATURES_LIST | ( | M | ) |
Definition at line 82 of file MLRegAllocPriorityAdvisor.cpp.
|
static |
Definition at line 337 of file MLRegAllocPriorityAdvisor.cpp.
References assert().
Referenced by llvm::MLPriorityAdvisor::getPriority().
|
static |
Definition at line 58 of file MLRegAllocPriorityAdvisor.cpp.
References InteractiveChannelBaseName, and llvm::isEmbeddedModelEvaluatorValid().
Referenced by llvm::createReleaseModePriorityAdvisorAnalysis(), and llvm::createReleaseModePriorityAdvisorProvider().
|
static |