LLVM 22.0.0git
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.

References Size.

Referenced by join(), and overlaps().

Member Function Documentation

◆ addRange()

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

Definition at line 70 of file StackLifetime.h.

◆ join()

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

Definition at line 76 of file StackLifetime.h.

References LiveRange(), and llvm::Other.

◆ overlaps()

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

Definition at line 72 of file StackLifetime.h.

References LiveRange(), and llvm::Other.

◆ test()

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

Definition at line 78 of file StackLifetime.h.

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

◆ operator<<

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

Definition at line 176 of file StackLifetime.h.


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