LLVM 20.0.0git
|
#include "RegAllocEvictionAdvisor.h"
#include "AllocationOrder.h"
#include "RegAllocGreedy.h"
#include "llvm/CodeGen/LiveRegMatrix.h"
#include "llvm/CodeGen/MachineFunction.h"
#include "llvm/CodeGen/RegisterClassInfo.h"
#include "llvm/CodeGen/VirtRegMap.h"
#include "llvm/IR/Module.h"
#include "llvm/InitializePasses.h"
#include "llvm/Pass.h"
#include "llvm/Support/CommandLine.h"
#include "llvm/Support/ErrorHandling.h"
#include "llvm/Target/TargetMachine.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 "regalloc" |
Functions | |
cl::opt< unsigned > | llvm::EvictInterferenceCutoff ("regalloc-eviction-max-interference-cutoff", cl::Hidden, cl::desc("Number of interferences after which we declare " "an interference unevictable and bail out. This " "is a compilation cost-saving consideration. To " "disable, pass a very large number."), cl::init(10)) |
INITIALIZE_PASS (RegAllocEvictionAdvisorAnalysis, "regalloc-evict", "Regalloc eviction policy", false, true) namespace | |
Variables | |
static cl::opt< RegAllocEvictionAdvisorAnalysis::AdvisorMode > | Mode ("regalloc-enable-advisor", cl::Hidden, cl::init(RegAllocEvictionAdvisorAnalysis::AdvisorMode::Default), cl::desc("Enable regalloc advisor mode"), cl::values(clEnumValN(RegAllocEvictionAdvisorAnalysis::AdvisorMode::Default, "default", "Default"), clEnumValN(RegAllocEvictionAdvisorAnalysis::AdvisorMode::Release, "release", "precompiled"), clEnumValN(RegAllocEvictionAdvisorAnalysis::AdvisorMode::Development, "development", "for training"))) |
static cl::opt< bool > | EnableLocalReassignment ("enable-local-reassign", cl::Hidden, cl::desc("Local reassignment can yield better allocation decisions, but " "may be compile time intensive"), cl::init(false)) |
#define DEBUG_TYPE "regalloc" |
Definition at line 57 of file RegAllocEvictionAdvisor.cpp.
INITIALIZE_PASS | ( | RegAllocEvictionAdvisorAnalysis | , |
"regalloc-evict" | , | ||
"Regalloc eviction policy" | , | ||
false | , | ||
true | |||
) |
Definition at line 63 of file RegAllocEvictionAdvisor.cpp.
References llvm::RegAllocEvictionAdvisorAnalysis::Default, llvm::Pass::doInitialization(), llvm::RegAllocEvictionAdvisorAnalysis::getAdvisor(), and RA.
|
static |
|
static |
Referenced by ARM64EmitUnwindCode(), llvm::callDefaultCtor< RegAllocEvictionAdvisorAnalysis >(), llvm::AAResults::canInstructionRangeModRef(), llvm::denormalModeKindName(), llvm::ARM_AM::getAM4SubMode(), llvm::ARM_AM::getAMSubModeStr(), llvm::SIModeRegisterDefaults::getDefaultForCallingConv(), llvm::RISCVFPRndMode::isValidRoundingMode(), llvm::yaml::MappingTraits< SIMode >::mapping(), llvm::orc::rt_bootstrap::SimpleExecutorDylibManager::open(), llvm::orc::EPCGenericDylibManager::open(), llvm::sys::fs::openFileForReadWrite(), llvm::sys::fs::openFileForWrite(), llvm::sys::fs::openNativeFileForReadWrite(), llvm::sys::fs::openNativeFileForWrite(), llvm::operator<<(), llvm::parseDenormalFPAttribute(), llvm::TargetOptions::setFP32DenormalMode(), llvm::TargetOptions::setFPDenormalMode(), llvm::TargetMachine::setGlobalISelAbort(), llvm::yaml::SIMode::SIMode(), and llvm::writeToOutput().