LLVM  14.0.0git
Public Member Functions | Friends | List of all members
llvm::StackLifetime::LiveRange Class Reference

This class represents a set of interesting instructions where an alloca is live. More...

#include "llvm/Analysis/StackLifetime.h"

Public Member Functions

 LiveRange (unsigned Size, bool Set=false)
 
void addRange (unsigned Start, unsigned End)
 
bool overlaps (const LiveRange &Other) const
 
void join (const LiveRange &Other)
 
bool test (unsigned Idx) const
 

Friends

raw_ostreamoperator<< (raw_ostream &OS, const StackLifetime::LiveRange &R)
 

Detailed Description

This class represents a set of interesting instructions where an alloca is live.

Definition at line 64 of file StackLifetime.h.

Constructor & Destructor Documentation

◆ LiveRange()

llvm::StackLifetime::LiveRange::LiveRange ( unsigned  Size,
bool  Set = false 
)
inline

Definition at line 70 of file StackLifetime.h.

Member Function Documentation

◆ addRange()

void llvm::StackLifetime::LiveRange::addRange ( unsigned  Start,
unsigned  End 
)
inline

Definition at line 71 of file StackLifetime.h.

◆ join()

void llvm::StackLifetime::LiveRange::join ( const LiveRange Other)
inline

Definition at line 77 of file StackLifetime.h.

References Other.

◆ overlaps()

bool llvm::StackLifetime::LiveRange::overlaps ( const LiveRange Other) const
inline

Definition at line 73 of file StackLifetime.h.

References Other.

◆ test()

bool llvm::StackLifetime::LiveRange::test ( unsigned  Idx) const
inline

Definition at line 79 of file StackLifetime.h.

Referenced by llvm::StackLifetime::isAliveAfter().

Friends And Related Function Documentation

◆ operator<<

raw_ostream& operator<< ( raw_ostream OS,
const StackLifetime::LiveRange R 
)
friend

Definition at line 179 of file StackLifetime.h.


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