LLVM  4.0.0
Public Member Functions | Public Attributes | List of all members
llvm::safestack::StackColoring::LiveRange Struct Reference

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

#include <SafeStackColoring.h>

Collaboration diagram for llvm::safestack::StackColoring::LiveRange:
[legend]

Public Member Functions

void SetMaximum (int size)
 
void AddRange (unsigned start, unsigned end)
 
bool Overlaps (const LiveRange &Other) const
 
void Join (const LiveRange &Other)
 

Public Attributes

BitVector bv
 

Detailed Description

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

Definition at line 49 of file SafeStackColoring.h.

Member Function Documentation

void llvm::safestack::StackColoring::LiveRange::AddRange ( unsigned  start,
unsigned  end 
)
inline

Definition at line 52 of file SafeStackColoring.h.

References bv, and llvm::BitVector::set().

Referenced by llvm::safestack::StackColoring::getFullLiveRange().

void llvm::safestack::StackColoring::LiveRange::Join ( const LiveRange Other)
inline

Definition at line 56 of file SafeStackColoring.h.

References bv.

bool llvm::safestack::StackColoring::LiveRange::Overlaps ( const LiveRange Other) const
inline

Definition at line 53 of file SafeStackColoring.h.

References llvm::BitVector::anyCommon(), and bv.

void llvm::safestack::StackColoring::LiveRange::SetMaximum ( int  size)
inline

Definition at line 51 of file SafeStackColoring.h.

References bv, and llvm::BitVector::resize().

Referenced by llvm::safestack::StackColoring::getFullLiveRange().

Member Data Documentation

BitVector llvm::safestack::StackColoring::LiveRange::bv

Definition at line 50 of file SafeStackColoring.h.

Referenced by AddRange(), Join(), llvm::safestack::operator<<(), Overlaps(), and SetMaximum().


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