Searched refs:VarDecl (Results 1 - 25 of 193) sorted by relevance

12345678

/freebsd-11.0-release/contrib/llvm/tools/clang/include/clang/Sema/
H A DSemaLambda.h32 VarDecl *VarToCapture, Sema &S);
H A DScopeInfo.h44 class VarDecl;
149 VarDecl *CoroutinePromise;
179 /// self.property | self (VarDecl) | property (ObjCPropertyDecl)
180 /// self.implicitProp | self (VarDecl) | -implicitProp (ObjCMethodDecl)
186 /// weakVar | 0 (known) | weakVar (VarDecl)
187 /// self->weakIvar | self (VarDecl) | weakIvar (ObjCIvarDecl)
412 llvm::PointerIntPair<VarDecl*, 1, bool> VarAndNested;
431 Capture(VarDecl *Var, bool Block, bool ByRef, bool IsNested,
468 VarDecl *getVariable() const {
496 llvm::DenseMap<VarDecl*, unsigne
[all...]
/freebsd-11.0-release/contrib/llvm/tools/clang/include/clang/Analysis/Analyses/
H A DPseudoConstantAnalysis.h28 bool isPseudoConstant(const VarDecl *VD);
29 bool wasReferenced(const VarDecl *VD);
H A DLiveVariables.h36 llvm::ImmutableSet<const VarDecl *> liveDecls;
44 llvm::ImmutableSet<const VarDecl *> LiveDecls)
48 bool isLive(const VarDecl *D) const;
77 bool isLive(const CFGBlock *B, const VarDecl *D);
83 bool isLive(const Stmt *S, const VarDecl *D);
H A DUninitializedValues.h27 class VarDecl;
106 virtual void handleUseOfUninitVariable(const VarDecl *vd,
112 virtual void handleSelfInit(const VarDecl *vd) {}
/freebsd-11.0-release/contrib/llvm/tools/clang/lib/ARCMigrate/
H A DTransBlockObjCVariable.cpp42 llvm::DenseSet<VarDecl *> &VarsToChange;
45 VarDecl *Var;
49 BlockVarChecker(VarDecl *var) : Var(var) { }
75 RootBlockObjCVarRewriter(llvm::DenseSet<VarDecl *> &VarsToChange)
79 SmallVector<VarDecl *, 4> BlockVars;
82 VarDecl *var = I.getVariable();
91 VarDecl *var = BlockVars[i];
113 llvm::DenseSet<VarDecl *> &VarsToChange;
116 BlockObjCVarRewriter(llvm::DenseSet<VarDecl *> &VarsToChange)
129 llvm::DenseSet<VarDecl *> VarsToChang
[all...]
H A DTransARCAssign.cpp37 llvm::DenseSet<VarDecl *> ModifiedVars;
50 if (declRef && isa<VarDecl>(declRef->getDecl())) {
55 VarDecl *var = cast<VarDecl>(declRef->getDecl());
/freebsd-11.0-release/contrib/llvm/tools/clang/include/clang/AST/
H A DMangleNumberingContext.h29 class VarDecl;
46 virtual unsigned getStaticLocalNumber(const VarDecl *VD) = 0;
50 virtual unsigned getManglingNumber(const VarDecl *VD,
H A DLambdaCapture.h63 VarDecl *Var = nullptr,
78 return dyn_cast_or_null<VarDecl>(DeclAndBits.getPointer());
93 VarDecl *getCapturedVar() const {
95 return cast<VarDecl>(DeclAndBits.getPointer());
H A DASTConsumer.h29 class VarDecl;
121 virtual void CompleteTentativeDefinition(VarDecl *D) {}
125 virtual void HandleCXXStaticMemberVarInstantiation(VarDecl *D) {}
H A DMangle.h37 class VarDecl;
105 virtual void mangleReferenceTemporary(const VarDecl *D,
128 virtual void mangleStaticGuardVariable(const VarDecl *D, raw_ostream &) = 0;
130 virtual void mangleDynamicInitializer(const VarDecl *D, raw_ostream &) = 0;
132 virtual void mangleDynamicAtExitDestructor(const VarDecl *D,
160 virtual void mangleItaniumThreadLocalInit(const VarDecl *D,
162 virtual void mangleItaniumThreadLocalWrapper(const VarDecl *D,
197 virtual void mangleThreadSafeStaticGuardVariable(const VarDecl *VD,
H A DASTMutationListener.h36 class VarDecl;
87 virtual void StaticDataMemberInstantiated(const VarDecl *D) {}
/freebsd-11.0-release/contrib/llvm/tools/clang/lib/Analysis/
H A DPseudoConstantAnalysis.cpp27 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);
176 const VarDecl *VD = dyn_cast<VarDecl>(I);
180 // We found a VarDecl; mak
[all...]
H A DUninitializedValues.cpp36 static bool isTrackedVar(const VarDecl *vd, const DeclContext *dc) {
52 llvm::DenseMap<const VarDecl *, unsigned> map;
63 Optional<unsigned> getValueIndex(const VarDecl *d) const;
69 DeclContext::specific_decl_iterator<VarDecl> I(dc.decls_begin()),
72 const VarDecl *vd = *I;
78 Optional<unsigned> DeclToIndex::getValueIndex(const VarDecl *d) const {
79 llvm::DenseMap<const VarDecl *, unsigned>::const_iterator I = map.find(d);
132 ValueVector::reference operator[](const VarDecl *vd);
135 const VarDecl *vd) {
196 ValueVector::reference CFGBlockValues::operator[](const VarDecl *v
[all...]
H A DLiveVariables.cpp86 llvm::ImmutableSet<const VarDecl *>::Factory DSetFact;
123 bool LiveVariables::LivenessValues::isLive(const VarDecl *D) const {
151 llvm::ImmutableSetRef<const VarDecl *>
173 static bool isAlwaysAlive(const VarDecl *D) {
177 bool LiveVariables::isLive(const CFGBlock *B, const VarDecl *D) {
181 bool LiveVariables::isLive(const Stmt *S, const VarDecl *D) {
291 if (const VarDecl *VD = dyn_cast<VarDecl>(DS->getSingleDecl())) {
341 if (const VarDecl *VD = dyn_cast<VarDecl>(D
[all...]
/freebsd-11.0-release/contrib/llvm/tools/clang/lib/AST/
H A DStmtIterator.cpp44 if (VarDecl* VD = dyn_cast<VarDecl>(*DGI))
71 if (VarDecl* VD = dyn_cast<VarDecl>(D)) {
112 VarDecl* VD = cast<VarDecl>(*DGI);
H A DStmtCXX.cpp69 VarDecl *RangeDecl = dyn_cast_or_null<VarDecl>(RangeStmt->getSingleDecl());
78 VarDecl *CXXForRangeStmt::getLoopVariable() {
81 return cast<VarDecl>(LV);
84 const VarDecl *CXXForRangeStmt::getLoopVariable() const {
/freebsd-11.0-release/contrib/llvm/tools/clang/lib/StaticAnalyzer/Core/
H A DCheckerHelpers.cpp52 if (const VarDecl *VD = dyn_cast<VarDecl>(DR->getDecl()))
76 std::pair<const clang::VarDecl *, const clang::Expr *>
78 const VarDecl *VD = 0;
86 VD = dyn_cast_or_null<VarDecl>(DE->getDecl());
91 VD = dyn_cast_or_null<VarDecl>(PD->getSingleDecl());
/freebsd-11.0-release/contrib/llvm/tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DCheckerHelpers.h23 class VarDecl;
42 std::pair<const clang::VarDecl *, const clang::Expr *>
/freebsd-11.0-release/contrib/llvm/tools/clang/lib/CodeGen/
H A DCGOpenCLRuntime.h25 class VarDecl;
45 const VarDecl &D);
H A DSanitizerMetadata.h27 class VarDecl;
40 void reportGlobalToASan(llvm::GlobalVariable *GV, const VarDecl &D,
/freebsd-11.0-release/contrib/llvm/tools/clang/lib/StaticAnalyzer/Checkers/
H A DDeadStoresChecker.cpp37 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 std::unique_ptr<llvm::DenseSet<const VarDecl *>> InEH;
141 llvm::SmallPtrSet<const VarDecl *, 20> &escaped)
147 bool isLive(const LiveVariables::LivenessValues &Live, const VarDecl *D) {
153 InEH.reset(new llvm::DenseSet<const VarDecl *>());
164 void Report(const VarDecl *
[all...]
H A DUndefinedAssignmentChecker.cpp79 const VarDecl *VD = dyn_cast<VarDecl>(DS->getSingleDecl());
H A DUndefCapturedBlockVarChecker.cpp38 const VarDecl *VD) {
69 const VarDecl *VD = VR->getDecl();
/freebsd-11.0-release/contrib/llvm/tools/clang/include/clang/Frontend/
H A DMultiplexConsumer.h37 void HandleCXXStaticMemberVarInstantiation(VarDecl *VD) override;
51 void CompleteTentativeDefinition(VarDecl *D) override;

Completed in 230 milliseconds

12345678