clang  14.0.0git
Functions
LiveVariables.cpp File Reference
#include "clang/Analysis/Analyses/LiveVariables.h"
#include "clang/AST/Stmt.h"
#include "clang/AST/StmtVisitor.h"
#include "clang/Analysis/AnalysisDeclContext.h"
#include "clang/Analysis/CFG.h"
#include "clang/Analysis/FlowSensitive/DataflowWorklist.h"
#include "llvm/ADT/DenseMap.h"
#include "llvm/Support/raw_ostream.h"
#include <algorithm>
#include <vector>
Include dependency graph for LiveVariables.cpp:

Go to the source code of this file.

Functions

static LiveVariablesImpl & getImpl (void *x)
 
static bool isAlwaysAlive (const VarDecl *D)
 
static const VariableArrayTypeFindVA (QualType Ty)
 
static const ExprLookThroughExpr (const Expr *E)
 
static void AddLiveExpr (llvm::ImmutableSet< const Expr * > &Set, llvm::ImmutableSet< const Expr * >::Factory &F, const Expr *E)
 
static bool writeShouldKill (const VarDecl *VD)
 

Function Documentation

◆ AddLiveExpr()

static void AddLiveExpr ( llvm::ImmutableSet< const Expr * > &  Set,
llvm::ImmutableSet< const Expr * >::Factory &  F,
const Expr E 
)
static

Definition at line 205 of file LiveVariables.cpp.

References LookThroughExpr().

◆ FindVA()

static const VariableArrayType* FindVA ( QualType  Ty)
static

Definition at line 175 of file LiveVariables.cpp.

References clang::QualType::getTypePtr().

◆ getImpl()

static LiveVariablesImpl& getImpl ( void *  x)
static

◆ isAlwaysAlive()

static bool isAlwaysAlive ( const VarDecl D)
static

◆ LookThroughExpr()

static const Expr* LookThroughExpr ( const Expr E)
static

Definition at line 188 of file LiveVariables.cpp.

References clang::Expr::IgnoreParens().

Referenced by AddLiveExpr().

◆ writeShouldKill()

static bool writeShouldKill ( const VarDecl VD)
static