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

1 2 3 4 5 6 7 8

  /external/clang/include/clang/Analysis/Analyses/
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);
UninitializedValues.h 27 class VarDecl;
88 virtual void handleUseOfUninitVariable(const VarDecl *vd,
94 virtual void handleSelfInit(const VarDecl *vd) {}
  /external/clang/lib/CodeGen/
CGOpenCLRuntime.h 25 class VarDecl;
44 const VarDecl &D);
CGBlocks.h 206 llvm::DenseMap<const VarDecl*, Capture> Captures;
233 const Capture &getCapture(const VarDecl *var) const {
236 Capture &getCapture(const VarDecl *var) {
237 llvm::DenseMap<const VarDecl*, Capture>::iterator
  /external/clang/lib/ARCMigrate/
TransBlockObjCVariable.cpp 42 llvm::DenseSet<VarDecl *> &VarsToChange;
45 VarDecl *Var;
49 BlockVarChecker(VarDecl *var) : Var(var) { }
75 RootBlockObjCVarRewriter(llvm::DenseSet<VarDecl *> &VarsToChange)
79 SmallVector<VarDecl *, 4> BlockVars;
83 VarDecl *var = I->getVariable();
92 VarDecl *var = BlockVars[i];
114 llvm::DenseSet<VarDecl *> &VarsToChange;
117 BlockObjCVarRewriter(llvm::DenseSet<VarDecl *> &VarsToChange)
130 llvm::DenseSet<VarDecl *> VarsToChange
    [all...]
TransARCAssign.cpp 37 llvm::DenseSet<VarDecl *> ModifiedVars;
50 if (declRef && isa<VarDecl>(declRef->getDecl())) {
55 VarDecl *var = cast<VarDecl>(declRef->getDecl());
  /external/clang/include/clang/AST/
MangleNumberingContext.h 29 class VarDecl;
50 unsigned getManglingNumber(const VarDecl *VD);
ASTConsumer.h 29 class VarDecl;
119 virtual void CompleteTentativeDefinition(VarDecl *D) {}
123 virtual void HandleCXXStaticMemberVarInstantiation(VarDecl *D) {}
ASTMutationListener.h 32 class VarDecl;
75 virtual void StaticDataMemberInstantiated(const VarDecl *D) {}
Mangle.h 33 class VarDecl;
107 virtual void mangleReferenceTemporary(const VarDecl *D,
143 virtual void mangleItaniumGuardVariable(const VarDecl *D,
148 virtual void mangleItaniumThreadLocalInit(const VarDecl *D,
152 virtual void mangleItaniumThreadLocalWrapper(const VarDecl *D,
  /external/clang/lib/Analysis/
PseudoConstantAnalysis.cpp 27 typedef llvm::SmallPtrSet<const VarDecl*, VARDECL_SET_SIZE> VarDeclSet;
41 bool PseudoConstantAnalysis::isPseudoConstant(const VarDecl *VD) {
57 bool PseudoConstantAnalysis::wasReferenced(const VarDecl *VD) {
124 const VarDecl *VD = dyn_cast<VarDecl>(LHSDecl);
158 const VarDecl *VD = dyn_cast<VarDecl>(D);
177 const VarDecl *VD = dyn_cast<VarDecl>(*I);
181 // We found a VarDecl; make sure it is a reference typ
    [all...]
UninitializedValues.cpp 35 static bool isTrackedVar(const VarDecl *vd, const DeclContext *dc) {
51 llvm::DenseMap<const VarDecl *, unsigned> map;
62 Optional<unsigned> getValueIndex(const VarDecl *d) const;
68 DeclContext::specific_decl_iterator<VarDecl> I(dc.decls_begin()),
71 const VarDecl *vd = *I;
77 Optional<unsigned> DeclToIndex::getValueIndex(const VarDecl *d) const {
78 llvm::DenseMap<const VarDecl *, unsigned>::const_iterator I = map.find(d);
131 ValueVector::reference operator[](const VarDecl *vd);
134 const VarDecl *vd) {
195 ValueVector::reference CFGBlockValues::operator[](const VarDecl *vd)
    [all...]
LiveVariables.cpp 102 llvm::ImmutableSet<const VarDecl *>::Factory DSetFact;
139 bool LiveVariables::LivenessValues::isLive(const VarDecl *D) const {
167 llvm::ImmutableSetRef<const VarDecl *>
189 static bool isAlwaysAlive(const VarDecl *D) {
193 bool LiveVariables::isLive(const CFGBlock *B, const VarDecl *D) {
197 bool LiveVariables::isLive(const Stmt *S, const VarDecl *D) {
307 if (const VarDecl *VD = dyn_cast<VarDecl>(DS->getSingleDecl())) {
358 if (const VarDecl *VD = dyn_cast<VarDecl>(DR->getDecl()))
    [all...]
  /external/clang/lib/AST/
StmtIterator.cpp 44 if (VarDecl* VD = dyn_cast<VarDecl>(*DGI))
71 if (VarDecl* VD = dyn_cast<VarDecl>(D)) {
112 VarDecl* VD = cast<VarDecl>(*DGI);
MangleNumberingContext.cpp 41 MangleNumberingContext::getManglingNumber(const VarDecl *VD) {
  /external/clang/lib/StaticAnalyzer/Checkers/
DeadStoresChecker.cpp 37 llvm::DenseSet<const VarDecl *> &S;
56 if (const VarDecl *D = dyn_cast<VarDecl>(DR->getDecl()))
61 EHCodeVisitor(llvm::DenseSet<const VarDecl *> &S) :
130 llvm::SmallPtrSet<const VarDecl*, 20> Escaped;
133 OwningPtr<llvm::DenseSet<const VarDecl *> > InEH;
140 llvm::SmallPtrSet<const VarDecl*, 20> &escaped)
146 bool isLive(const LiveVariables::LivenessValues &Live, const VarDecl *D) {
152 InEH.reset(new llvm::DenseSet<const VarDecl *>());
163 void Report(const VarDecl *V, DeadStoreKind dsk
    [all...]
UndefinedAssignmentChecker.cpp 79 const VarDecl *VD = dyn_cast<VarDecl>(DS->getSingleDecl());
  /external/clang/include/clang/Frontend/
MultiplexConsumer.h 37 virtual void HandleCXXStaticMemberVarInstantiation(VarDecl *VD);
44 virtual void CompleteTentativeDefinition(VarDecl *D);
  /external/clang/unittests/AST/
ASTTypeTraitsTest.cpp 27 EXPECT_TRUE(DNT<Decl>().isBaseOf(DNT<VarDecl>()));
28 EXPECT_FALSE(DNT<Decl>().isSame(DNT<VarDecl>()));
29 EXPECT_FALSE(DNT<VarDecl>().isBaseOf(DNT<Decl>()));
  /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/lib/Sema/
SemaOpenMP.cpp 39 if (VarDecl *VD = dyn_cast_or_null<VarDecl>(ND)) {
58 VarDecl *VD;
80 VD = Corrected.getCorrectionDeclAs<VarDecl>();
82 if (!(VD = Lookup.getAsSingle<VarDecl>())) {
98 VarDecl::DeclarationOnly;
123 VarDecl::DeclarationOnly;
161 VarDecl *VD = cast<VarDecl>(DE->getDecl());
178 VarDecl::DeclarationOnly
    [all...]
  /external/clang/include/clang/Sema/
ExternalSemaSource.h 32 class VarDecl;
93 SmallVectorImpl<VarDecl *> &TentativeDefs) {}
  /external/clang/lib/StaticAnalyzer/Core/
CheckerHelpers.cpp 55 if (const VarDecl *VD = dyn_cast<VarDecl>(DR->getDecl()))

Completed in 318 milliseconds

1 2 3 4 5 6 7 8