LLVM 20.0.0git
Functions | Variables
RegAllocPriorityAdvisor.cpp File Reference
#include "RegAllocPriorityAdvisor.h"
#include "RegAllocGreedy.h"
#include "llvm/CodeGen/MachineFunction.h"
#include "llvm/CodeGen/VirtRegMap.h"
#include "llvm/IR/Module.h"
#include "llvm/InitializePasses.h"
#include "llvm/Pass.h"

Go to the source code of this file.

Functions

 INITIALIZE_PASS (RegAllocPriorityAdvisorAnalysis, "regalloc-priority", "Regalloc priority policy", false, true) namespace
 

Variables

static cl::opt< RegAllocPriorityAdvisorAnalysis::AdvisorModeMode ("regalloc-enable-priority-advisor", cl::Hidden, cl::init(RegAllocPriorityAdvisorAnalysis::AdvisorMode::Default), cl::desc("Enable regalloc advisor mode"), cl::values(clEnumValN(RegAllocPriorityAdvisorAnalysis::AdvisorMode::Default, "default", "Default"), clEnumValN(RegAllocPriorityAdvisorAnalysis::AdvisorMode::Release, "release", "precompiled"), clEnumValN(RegAllocPriorityAdvisorAnalysis::AdvisorMode::Development, "development", "for training")))
 

Function Documentation

◆ INITIALIZE_PASS()

INITIALIZE_PASS ( RegAllocPriorityAdvisorAnalysis  ,
"regalloc-priority"  ,
"Regalloc priority policy"  ,
false  ,
true   
)

Variable Documentation

◆ Mode

cl::opt< RegAllocPriorityAdvisorAnalysis::AdvisorMode > Mode("regalloc-enable-priority-advisor", cl::Hidden, cl::init(RegAllocPriorityAdvisorAnalysis::AdvisorMode::Default), cl::desc("Enable regalloc advisor mode"), cl::values( clEnumValN(RegAllocPriorityAdvisorAnalysis::AdvisorMode::Default, "default", "Default"), clEnumValN(RegAllocPriorityAdvisorAnalysis::AdvisorMode::Release, "release", "precompiled"), clEnumValN(RegAllocPriorityAdvisorAnalysis::AdvisorMode::Development, "development", "for training"))) ( "regalloc-enable-priority-advisor"  ,
cl::Hidden  ,
cl::init(RegAllocPriorityAdvisorAnalysis::AdvisorMode::Default ,
cl::desc("Enable regalloc advisor mode")  ,
cl::values( clEnumValN(RegAllocPriorityAdvisorAnalysis::AdvisorMode::Default, "default", "Default"), clEnumValN(RegAllocPriorityAdvisorAnalysis::AdvisorMode::Release, "release", "precompiled"), clEnumValN(RegAllocPriorityAdvisorAnalysis::AdvisorMode::Development, "development", "for training"))   
)
static