LLVM 22.0.0git
MLRegAllocPriorityAdvisor.cpp File Reference

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 }

Variables

static cl::opt< std::stringInteractiveChannelBaseName ("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< TensorSpecllvm::InputFeatures

Macro Definition Documentation

◆ _DECL_FEATURES

#define _DECL_FEATURES ( type,
name,
shape,
_ )
Value:
static const char * name
static TensorSpec createSpec(const std::string &Name, const std::vector< int64_t > &Shape, int Port=0)
Definition TensorSpec.h:66

Definition at line 113 of file MLRegAllocPriorityAdvisor.cpp.

◆ _FEATURE_IDX

#define _FEATURE_IDX ( _,
name,
__,
___ )
Value:

Definition at line 86 of file MLRegAllocPriorityAdvisor.cpp.

◆ DecisionName

#define DecisionName   "priority"

Definition at line 79 of file MLRegAllocPriorityAdvisor.cpp.

◆ RA_PRIORITY_FEATURES_LIST

#define RA_PRIORITY_FEATURES_LIST ( M)
Value:
M(int64_t, li_size, PerLiveRangeShape, "size") \
M(int64_t, stage, PerLiveRangeShape, "stage") \
M(float, weight, PerLiveRangeShape, "weight")
static const std::vector< int64_t > PerLiveRangeShape

Definition at line 74 of file MLRegAllocPriorityAdvisor.cpp.

Variable Documentation

◆ InteractiveChannelBaseName

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")) ( "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