LLVM 19.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 63 of file StackLifetime.h.

Constructor & Destructor Documentation

◆ LiveRange()

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

Definition at line 69 of file StackLifetime.h.

Member Function Documentation

◆ addRange()

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

Definition at line 70 of file StackLifetime.h.

References End.

◆ join()

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

Definition at line 76 of file StackLifetime.h.

References llvm::Other.

◆ overlaps()

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

Definition at line 72 of file StackLifetime.h.

References llvm::Other.

◆ test()

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

Definition at line 78 of file StackLifetime.h.

References Idx.

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 178 of file StackLifetime.h.


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