LLVM API Documentation

Public Member Functions
llvm::ConnectedVNInfoEqClasses Class Reference

#include <LiveInterval.h>

List of all members.

Public Member Functions

 ConnectedVNInfoEqClasses (LiveIntervals &lis)
unsigned Classify (const LiveInterval *LI)
unsigned getEqClass (const VNInfo *VNI) const
void Distribute (LiveInterval *LIV[], MachineRegisterInfo &MRI)

Detailed Description

ConnectedVNInfoEqClasses - Helper class that can divide VNInfos in a LiveInterval into equivalence clases of connected components. A LiveInterval that has multiple connected components can be broken into multiple LiveIntervals.

Given a LiveInterval that may have multiple connected components, run:

unsigned numComps = ConEQ.Classify(LI); if (numComps > 1) { allocate numComps-1 new LiveIntervals into LIS[1..] ConEQ.Distribute(LIS); }

Definition at line 653 of file LiveInterval.h.


Constructor & Destructor Documentation

Definition at line 663 of file LiveInterval.h.


Member Function Documentation

getEqClass - Classify creates equivalence classes numbered 0..N. Return the equivalence class assigned the VNI.

Definition at line 671 of file LiveInterval.h.

References llvm::VNInfo::id.


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