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

#include "clang/Analysis/Analyses/LiveVariables.h"

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

Public Member Functions

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

Public Attributes

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

Friends

class LiveVariables
 

Detailed Description

Definition at line 31 of file LiveVariables.h.

Constructor & Destructor Documentation

◆ LivenessValues() [1/2]

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

Definition at line 40 of file LiveVariables.h.

◆ LivenessValues() [2/2]

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

Definition at line 43 of file LiveVariables.h.

References isLive().

Member Function Documentation

◆ equals()

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

Definition at line 171 of file LiveVariables.cpp.

References liveDecls, and liveStmts.

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

◆ isLive() [1/2]

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

◆ isLive() [2/2]

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

Definition at line 118 of file LiveVariables.cpp.

References liveBindings, liveDecls, and liveStmts.

Friends And Related Function Documentation

◆ LiveVariables

friend class LiveVariables
friend

Definition at line 52 of file LiveVariables.h.

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

Member Data Documentation

◆ liveBindings

llvm::ImmutableSet<const BindingDecl *> clang::LiveVariables::LivenessValues::liveBindings

Definition at line 36 of file LiveVariables.h.

Referenced by isLive().

◆ liveDecls

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

◆ liveStmts

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

Definition at line 34 of file LiveVariables.h.

Referenced by equals(), and isLive().


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