clang  3.7.0
Public Member Functions | Public Attributes | Friends | List of all members
clang::LiveVariables::LivenessValues Class Reference

#include <LiveVariables.h>

Collaboration diagram for clang::LiveVariables::LivenessValues:
[legend]

Public Member Functions

bool equals (const LivenessValues &V) const
 
 LivenessValues ()
 
 LivenessValues (llvm::ImmutableSet< const Stmt * > LiveStmts, llvm::ImmutableSet< const VarDecl * > LiveDecls)
 
bool isLive (const Stmt *S) const
 
bool isLive (const VarDecl *D) const
 

Public Attributes

llvm::ImmutableSet< const Stmt * > liveStmts
 
llvm::ImmutableSet< const
VarDecl * > 
liveDecls
 

Friends

class LiveVariables
 

Detailed Description

Definition at line 32 of file LiveVariables.h.

Constructor & Destructor Documentation

clang::LiveVariables::LivenessValues::LivenessValues ( )
inline

Definition at line 40 of file LiveVariables.h.

clang::LiveVariables::LivenessValues::LivenessValues ( llvm::ImmutableSet< const Stmt * >  LiveStmts,
llvm::ImmutableSet< const VarDecl * >  LiveDecls 
)
inline

Definition at line 43 of file LiveVariables.h.

Member Function Documentation

bool LiveVariables::LivenessValues::equals ( const LivenessValues V) const

Definition at line 165 of file LiveVariables.cpp.

References liveDecls, and liveStmts.

Referenced by clang::LiveVariables::computeLiveness().

bool LiveVariables::LivenessValues::isLive ( const Stmt S) const

Definition at line 119 of file LiveVariables.cpp.

References liveStmts.

bool LiveVariables::LivenessValues::isLive ( const VarDecl D) const

Definition at line 123 of file LiveVariables.cpp.

Friends And Related Function Documentation

friend class LiveVariables
friend

Definition at line 50 of file LiveVariables.h.

Member Data Documentation

llvm::ImmutableSet<const VarDecl *> clang::LiveVariables::LivenessValues::liveDecls

Definition at line 36 of file LiveVariables.h.

Referenced by equals().

llvm::ImmutableSet<const Stmt *> clang::LiveVariables::LivenessValues::liveStmts

Definition at line 35 of file LiveVariables.h.

Referenced by equals(), and isLive().


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