LLVM API Documentation

Public Types | Public Member Functions
llvm::VirtRegAuxInfo Class Reference

Calculate auxiliary information for a virtual register such as its spill weight and allocation hint. More...

#include <CalcSpillWeights.h>

List of all members.

Public Types

typedef float(* NormalizingFn )(float, unsigned)

Public Member Functions

 VirtRegAuxInfo (MachineFunction &mf, LiveIntervals &lis, const MachineLoopInfo &loops, const MachineBlockFrequencyInfo &mbfi, NormalizingFn norm=normalizeSpillWeight)
void calculateSpillWeightAndHint (LiveInterval &li)
 (re)compute li's spill weight and allocation hint.

Detailed Description

Calculate auxiliary information for a virtual register such as its spill weight and allocation hint.

Definition at line 45 of file CalcSpillWeights.h.


Member Typedef Documentation

Definition at line 47 of file CalcSpillWeights.h.


Constructor & Destructor Documentation

Definition at line 58 of file CalcSpillWeights.h.


Member Function Documentation


The documentation for this class was generated from the following files: