C# Class Mosa.Compiler.Framework.RegisterAllocator.BasicRegisterAllocator

Inheritance: BaseRegisterAllocator
Afficher le fichier Open project: tgiphil/MOSA-Project

Méthodes publiques

Méthode Description
BasicRegisterAllocator ( BasicBlocks basicBlocks, VirtualRegisters virtualRegisters, BaseArchitecture architecture, AddStackLocalDelegate addStackLocal, Operand stackFrame, ITraceFactory traceFactory ) : Mosa.Compiler.Trace

Méthodes protégées

Méthode Description
AdditionalSetup ( ) : void
CalculatePriorityValue ( LiveInterval liveInterval ) : int
CalculateSpillCost ( LiveInterval liveInterval ) : void
SplitIntervalAtCallSite ( LiveInterval liveInterval, SlotIndex callSite ) : void
SplitIntervalsAtCallSites ( ) : void
TrySplitInterval ( LiveInterval liveInterval, int level ) : bool

Private Methods

Méthode Description
GetSpillCost ( SlotIndex use, int factor ) : int

Method Details

AdditionalSetup() protected méthode

protected AdditionalSetup ( ) : void
Résultat void

BasicRegisterAllocator() public méthode

public BasicRegisterAllocator ( BasicBlocks basicBlocks, VirtualRegisters virtualRegisters, BaseArchitecture architecture, AddStackLocalDelegate addStackLocal, Operand stackFrame, ITraceFactory traceFactory ) : Mosa.Compiler.Trace
basicBlocks BasicBlocks
virtualRegisters VirtualRegisters
architecture BaseArchitecture
addStackLocal AddStackLocalDelegate
stackFrame Operand
traceFactory ITraceFactory
Résultat Mosa.Compiler.Trace

CalculatePriorityValue() protected méthode

protected CalculatePriorityValue ( LiveInterval liveInterval ) : int
liveInterval LiveInterval
Résultat int

CalculateSpillCost() protected méthode

protected CalculateSpillCost ( LiveInterval liveInterval ) : void
liveInterval LiveInterval
Résultat void

SplitIntervalAtCallSite() protected méthode

protected SplitIntervalAtCallSite ( LiveInterval liveInterval, SlotIndex callSite ) : void
liveInterval LiveInterval
callSite SlotIndex
Résultat void

SplitIntervalsAtCallSites() protected méthode

protected SplitIntervalsAtCallSites ( ) : void
Résultat void

TrySplitInterval() protected méthode

protected TrySplitInterval ( LiveInterval liveInterval, int level ) : bool
liveInterval LiveInterval
level int
Résultat bool