clang API Documentation
#include "clang/Analysis/Analyses/LiveVariables.h"
#include "clang/AST/Stmt.h"
#include "clang/AST/StmtVisitor.h"
#include "clang/Analysis/Analyses/PostOrderCFGView.h"
#include "clang/Analysis/AnalysisContext.h"
#include "clang/Analysis/CFG.h"
#include "llvm/ADT/DenseMap.h"
#include "llvm/ADT/PostOrderIterator.h"
#include "llvm/Support/raw_ostream.h"
#include <algorithm>
#include <vector>
Go to the source code of this file.
Functions | |
static LiveVariablesImpl & | getImpl (void *x) |
static bool | isAlwaysAlive (const VarDecl *D) |
static const VariableArrayType * | FindVA (QualType Ty) |
static const Stmt * | LookThroughStmt (const Stmt *S) |
static void | AddLiveStmt (llvm::ImmutableSet< const Stmt * > &Set, llvm::ImmutableSet< const Stmt * >::Factory &F, const Stmt *S) |
static void AddLiveStmt | ( | llvm::ImmutableSet< const Stmt * > & | Set, |
llvm::ImmutableSet< const Stmt * >::Factory & | F, | ||
const Stmt * | S | ||
) | [static] |
Definition at line 247 of file LiveVariables.cpp.
References LookThroughStmt().
static const VariableArrayType* FindVA | ( | QualType | Ty | ) | [static] |
Definition at line 217 of file LiveVariables.cpp.
References clang::QualType::getTypePtr().
static LiveVariablesImpl& getImpl | ( | void * | x | ) | [static] |
Definition at line 111 of file LiveVariables.cpp.
Referenced by clang::LiveVariables::dumpBlockLiveness(), clang::LiveVariables::isLive(), and clang::LiveVariables::runOnAllBlocks().
static bool isAlwaysAlive | ( | const VarDecl * | D | ) | [static] |
Definition at line 173 of file LiveVariables.cpp.
References clang::VarDecl::hasGlobalStorage().
Referenced by clang::LiveVariables::isLive().
static const Stmt* LookThroughStmt | ( | const Stmt * | S | ) | [static] |