HomeSort by relevance Sort by last modified time
    Searched refs:VarDecl (Results 1 - 25 of 167) sorted by null

1 2 3 4 5 6 7

  /external/clang/include/clang/Analysis/Analyses/
UninitializedValues.h 24 class VarDecl;
33 const VarDecl *vd,
39 virtual void handleSelfInit(const VarDecl *vd) {}
PseudoConstantAnalysis.h 28 bool isPseudoConstant(const VarDecl *VD);
29 bool wasReferenced(const VarDecl *VD);
LiveVariables.h 36 llvm::ImmutableSet<const VarDecl *> liveDecls;
44 llvm::ImmutableSet<const VarDecl *> LiveDecls)
50 bool isLive(const VarDecl *D) const;
80 bool isLive(const CFGBlock *B, const VarDecl *D);
86 bool isLive(const Stmt *S, const VarDecl *D);
  /external/clang/lib/CodeGen/
CGOpenCLRuntime.h 21 class VarDecl;
40 const VarDecl &D);
CGOpenCLRuntime.cpp 26 const VarDecl &D) {
  /external/clang/lib/AST/
StmtIterator.cpp 44 if (VarDecl* VD = dyn_cast<VarDecl>(decl))
51 if (VarDecl* VD = dyn_cast<VarDecl>(*DGI))
92 if (VarDecl* VD = dyn_cast<VarDecl>(D)) {
142 VarDecl* VD = cast<VarDecl>(*DGI);
148 if (VarDecl* VD = dyn_cast<VarDecl>(decl))
    [all...]
Decl.cpp 208 if (const VarDecl *Var = dyn_cast<VarDecl>(D)) {
222 for (const VarDecl *PrevVar = Var->getPreviousDecl();
232 const VarDecl *PrevVar = Var->getPreviousDecl();
260 const VarDecl *Var = dyn_cast<VarDecl>(D);
301 if (const VarDecl *Var = dyn_cast<VarDecl>(D)) {
347 if (const VarDecl *PrevVar = Var->getPreviousDecl()) {
478 isa<VarDecl>(D) |
    [all...]
  /external/clang/lib/Analysis/
PseudoConstantAnalysis.cpp 26 typedef llvm::SmallPtrSet<const VarDecl*, VARDECL_SET_SIZE> VarDeclSet;
40 bool PseudoConstantAnalysis::isPseudoConstant(const VarDecl *VD) {
56 bool PseudoConstantAnalysis::wasReferenced(const VarDecl *VD) {
123 const VarDecl *VD = dyn_cast<VarDecl>(LHSDecl);
157 const VarDecl *VD = dyn_cast<VarDecl>(D);
176 const VarDecl *VD = dyn_cast<VarDecl>(*I);
180 // We found a VarDecl; make sure it is a reference typ
    [all...]
UninitializedValues.cpp 28 static bool isTrackedVar(const VarDecl *vd, const DeclContext *dc) {
44 llvm::DenseMap<const VarDecl *, unsigned> map;
55 llvm::Optional<unsigned> getValueIndex(const VarDecl *d) const;
61 DeclContext::specific_decl_iterator<VarDecl> I(dc.decls_begin()),
64 const VarDecl *vd = *I;
70 llvm::Optional<unsigned> DeclToIndex::getValueIndex(const VarDecl *d) const {
71 llvm::DenseMap<const VarDecl *, unsigned>::const_iterator I = map.find(d);
130 ValueVector::reference operator[](const VarDecl *vd);
272 ValueVector::reference CFGBlockValues::operator[](const VarDecl *vd) {
328 const VarDecl *vd
    [all...]
LiveVariables.cpp 92 llvm::ImmutableSet<const VarDecl *>::Factory DSetFact;
129 bool LiveVariables::LivenessValues::isLive(const VarDecl *D) const {
157 llvm::ImmutableSetRef<const VarDecl *>
179 static bool isAlwaysAlive(const VarDecl *D) {
183 bool LiveVariables::isLive(const CFGBlock *B, const VarDecl *D) {
187 bool LiveVariables::isLive(const Stmt *S, const VarDecl *D) {
289 if (const VarDecl *VD = dyn_cast<VarDecl>(DS->getSingleDecl())) {
340 if (const VarDecl *VD = dyn_cast<VarDecl>(DR->getDecl()))
    [all...]
  /external/clang/include/clang/AST/
ASTConsumer.h 26 class VarDecl;
91 virtual void CompleteTentativeDefinition(VarDecl *D) {}
95 virtual void HandleCXXStaticMemberVarInstantiation(VarDecl *D) {}
Mangle.h 33 class VarDecl;
107 virtual void mangleReferenceTemporary(const VarDecl *D,
138 virtual void mangleItaniumGuardVariable(const VarDecl *D,
ASTMutationListener.h 60 virtual void StaticDataMemberInstantiated(const VarDecl *D) {}
  /external/clang/lib/ARCMigrate/
TransBlockObjCVariable.cpp 41 llvm::DenseSet<VarDecl *> &VarsToChange;
44 VarDecl *Var;
48 BlockVarChecker(VarDecl *var) : Var(var) { }
75 llvm::DenseSet<VarDecl *> &VarsToChange)
79 SmallVector<VarDecl *, 4> BlockVars;
83 VarDecl *var = I->getVariable();
92 VarDecl *var = BlockVars[i];
115 llvm::DenseSet<VarDecl *> &VarsToChange;
119 llvm::DenseSet<VarDecl *> &VarsToChange)
132 llvm::DenseSet<VarDecl *> VarsToChange
    [all...]
TransARCAssign.cpp 36 llvm::DenseSet<VarDecl *> ModifiedVars;
49 if (declRef && isa<VarDecl>(declRef->getDecl())) {
54 VarDecl *var = cast<VarDecl>(declRef->getDecl());
  /external/clang/lib/StaticAnalyzer/Checkers/
DeadStoresChecker.cpp 93 llvm::SmallPtrSet<const VarDecl*, 20> Escaped;
102 llvm::SmallPtrSet<const VarDecl*, 20> &escaped)
108 void Report(const VarDecl *V, DeadStoreKind dsk,
151 void CheckVarDecl(const VarDecl *VD, const Expr *Ex, const Expr *Val,
173 if (const VarDecl *VD = dyn_cast<VarDecl>(DR->getDecl()))
177 bool isIncrement(VarDecl *VD, const BinaryOperator* B) {
215 if (VarDecl *VD = dyn_cast<VarDecl>(DR->getDecl())) {
230 if (VD == dyn_cast<VarDecl>(RhsDR->getDecl())
    [all...]
UndefinedAssignmentChecker.cpp 71 const VarDecl *VD = dyn_cast<VarDecl>(DS->getSingleDecl());
  /external/clang/include/clang/Frontend/
MultiplexConsumer.h 38 virtual void HandleCXXStaticMemberVarInstantiation(VarDecl *VD);
45 virtual void CompleteTentativeDefinition(VarDecl *D);
  /frameworks/compile/slang/
slang_rs_object_ref_count.h 50 std::list<clang::VarDecl*> mRSO; // Declared RS objects in this scope
57 inline void addRSObject(clang::VarDecl* VD) {
64 void AppendRSObjectInit(clang::VarDecl *VD,
71 static clang::Stmt *ClearRSObject(clang::VarDecl *VD,
93 static bool InitializeRSObject(clang::VarDecl *VD,
slang_backend.h 44 class VarDecl;
134 virtual void CompleteTentativeDefinition(clang::VarDecl *D);
  /external/clang/include/clang/Sema/
ScopeInfo.h 31 class VarDecl;
163 llvm::PointerIntPair<VarDecl*, 2, CaptureKind> VarAndKind;
182 Capture(VarDecl *Var, bool block, bool byRef, bool isNested,
202 VarDecl *getVariable() const {
229 llvm::DenseMap<VarDecl*, unsigned> CaptureMap;
246 void addCapture(VarDecl *Var, bool isBlock, bool isByref, bool isNested,
271 bool isCaptured(VarDecl *Var) const {
277 Capture &getCapture(VarDecl *Var) {
282 const Capture &getCapture(VarDecl *Var) const {
283 llvm::DenseMap<VarDecl*, unsigned>::const_iterator Know
    [all...]
ExternalSemaSource.h 31 class VarDecl;
87 SmallVectorImpl<VarDecl *> &TentativeDefs) {}
  /external/clang/lib/StaticAnalyzer/Core/
CheckerHelpers.cpp 55 if (const VarDecl *VD = dyn_cast<VarDecl>(DR->getDecl()))
  /gdk/sources/llvm-ndk-cc/
Backend.h 27 class VarDecl;
65 virtual void CompleteTentativeDefinition(clang::VarDecl *D);
  /external/clang/include/clang/Analysis/Visitors/
CFGRecStmtVisitor.h 36 VarDecl *CondVar = 0;

Completed in 370 milliseconds

1 2 3 4 5 6 7