struct EvictionCost

Declaration

struct EvictionCost { /* full declaration omitted */ };

Description

Cost of evicting interference - used by default advisor, and the eviction chain heuristic in RegAllocGreedy.

Declared at: llvm/lib/CodeGen/RegAllocEvictionAdvisor.h:78

Member Variables

public unsigned int BrokenHints = 0
Total number of broken hints.
public float MaxWeight = 0
Maximum spill weight evicted.

Method Overview

Methods

EvictionCost()

Declared at: llvm/lib/CodeGen/RegAllocEvictionAdvisor.h:82

bool isMax() const

Declared at: llvm/lib/CodeGen/RegAllocEvictionAdvisor.h:84

void setBrokenHints(unsigned int NHints)

Declared at: llvm/lib/CodeGen/RegAllocEvictionAdvisor.h:88

Parameters

unsigned int NHints

void setMax()

Declared at: llvm/lib/CodeGen/RegAllocEvictionAdvisor.h:86