/freebsd-11.0-release/contrib/llvm/tools/clang/lib/ARCMigrate/ |
H A D | TransAutoreleasePool.cpp | 85 SmallVector<VarDecl *, 8> VarsToHandle; 87 for (std::map<VarDecl *, PoolVarInfo>::iterator 89 VarDecl *var = I->first; 172 if (VarDecl *VD = dyn_cast<VarDecl>(DclS->getSingleDecl())) { 190 if (VarDecl *VD = dyn_cast<VarDecl>(dref->getDecl())) { 226 VarDecl *PoolVar; 373 bool isPoolDrain(VarDecl *poolVar, Stmt *S) { 427 std::map<VarDecl *, PoolVarInf [all...] |
/freebsd-11.0-release/contrib/llvm/tools/clang/lib/Sema/ |
H A D | ScopeInfo.cpp | 67 IsExact = isa<VarDecl>(D); 144 assert(isa<VarDecl>(Property)); 222 void LambdaScopeInfo::getPotentialVariableCapture(unsigned Idx, VarDecl *&VD, 229 VD = dyn_cast<VarDecl>(DRE->getFoundDecl()); 231 VD = dyn_cast<VarDecl>(ME->getMemberDecl());
|
H A D | SemaOpenMP.cpp | 90 typedef llvm::SmallDenseMap<VarDecl *, DSAInfo, 64> DeclSAMapTy; 91 typedef llvm::SmallDenseMap<VarDecl *, DeclRefExpr *, 64> AlignedMapTy; 92 typedef llvm::DenseMap<VarDecl *, unsigned> LoopControlVariablesMapTy; 93 typedef llvm::SmallDenseMap<VarDecl *, MapInfo, 64> MappedDeclsTy; 142 DSAVarData getDSA(StackTy::reverse_iterator Iter, VarDecl *D); 145 bool isOpenMPLocal(VarDecl *D, StackTy::reverse_iterator Iter); 182 DeclRefExpr *addUniqueAligned(VarDecl *D, DeclRefExpr *NewDE); 185 void addLoopControlVariable(VarDecl *D); 190 unsigned isLoopControlVariable(VarDecl *D); 195 unsigned isParentLoopControlVariable(VarDecl * [all...] |
H A D | SemaStmt.cpp | 94 VarDecl *var = dyn_cast<VarDecl>(decl); 497 VarDecl *ConditionVar = nullptr; 499 ConditionVar = cast<VarDecl>(CondVar); 587 VarDecl *ConditionVar = nullptr; 589 ConditionVar = cast<VarDecl>(CondVar); 706 if (const VarDecl *VD = dyn_cast<VarDecl>(DRE->getDecl())) { 1229 VarDecl *ConditionVar = nullptr; 1231 ConditionVar = cast<VarDecl>(CondVa [all...] |
H A D | SemaLambda.cpp | 65 VarDecl *VarToCapture) { 172 VarDecl *VarToCapture, Sema &S) { 300 } else if (VarDecl *Var = dyn_cast<VarDecl>(ManglingContextDecl)) { 722 /*VarDecl*/nullptr, DeclarationName(Id), DeductType, TSI, 766 VarDecl *Sema::createLambdaInitCaptureVarDecl(SourceLocation Loc, 776 VarDecl *NewVD = VarDecl::Create(Context, CurContext, Loc, 780 // FIXME: Pass in a VarDecl::InitializationStyle. 781 NewVD->setInitStyle(static_cast<VarDecl [all...] |
/freebsd-11.0-release/contrib/llvm/tools/clang/lib/StaticAnalyzer/Checkers/ |
H A D | MallocSizeofChecker.cpp | 32 typedef llvm::PointerUnion<const Stmt *, const VarDecl *> ExprParent; 104 if (const VarDecl *VD = dyn_cast<VarDecl>(I)) 212 if (i->CastedExprParent.is<const VarDecl *>()) { 214 i->CastedExprParent.get<const VarDecl *>()->getTypeSourceInfo();
|
H A D | LLVMConventionsChecker.cpp | 134 void VisitVarDecl(VarDecl *VD); 148 if (VarDecl *VD = dyn_cast<VarDecl>(I)) 152 void StringRefCheckerVisitor::VisitVarDecl(VarDecl *VD) {
|
/freebsd-11.0-release/contrib/llvm/tools/clang/lib/CodeGen/ |
H A D | CodeGenModule.h | 69 class VarDecl; 381 std::vector<const VarDecl *> CXXThreadLocals; 386 std::vector<const VarDecl *> CXXThreadLocalInitVars; 540 llvm::Constant *getStaticLocalDeclAddress(const VarDecl *D) { 543 void setStaticLocalDeclAddress(const VarDecl *D, 549 getOrCreateStaticVarDecl(const VarDecl &D, 552 llvm::GlobalVariable *getStaticLocalDeclGuardAddress(const VarDecl *D) { 555 void setStaticLocalDeclGuardAddress(const VarDecl *D, 665 void setTLSMode(llvm::GlobalValue *GV, const VarDecl &D) const; 696 unsigned GetGlobalVarAddressSpace(const VarDecl * [all...] |
H A D | CGDecl.cpp | 112 const VarDecl &VD = cast<VarDecl>(D); 131 void CodeGenFunction::EmitVarDecl(const VarDecl &D) { 154 static std::string getStaticDeclName(CodeGenModule &CGM, const VarDecl &D) { 178 const VarDecl &D, llvm::GlobalValue::LinkageTypes Linkage) { 283 CodeGenFunction::AddInitializerToStaticVarDecl(const VarDecl &D, 343 void CodeGenFunction::EmitStaticVarDecl(const VarDecl &D, 470 const VarDecl &Var; 471 ExtendGCLifetime(const VarDecl *var) : Var(*var) {} 476 DeclRefExpr DRE(const_cast<VarDecl*>( [all...] |
H A D | CGDebugInfo.h | 41 class VarDecl; 252 llvm::DIDerivedType *CreateRecordStaticField(const VarDecl *Var, 319 void EmitDeclareOfAutoVariable(const VarDecl *Decl, llvm::Value *AI, 324 void EmitDeclareOfBlockDeclRefVariable(const VarDecl *variable, 332 void EmitDeclareOfArgVariable(const VarDecl *Decl, llvm::Value *AI, 343 void EmitGlobalVariable(llvm::GlobalVariable *GV, const VarDecl *Decl); 381 void EmitDeclare(const VarDecl *decl, llvm::Value *AI, 385 llvm::DIType *EmitTypeForVarWithBlocksAttr(const VarDecl *VD, 452 getOrCreateStaticDataMemberDeclarationOrNull(const VarDecl *D); 459 /// represented in the given VarDecl [all...] |
H A D | CGDeclCXX.cpp | 26 static void EmitDeclInit(CodeGenFunction &CGF, const VarDecl &D, 28 assert(D.hasGlobalStorage() && "VarDecl must have global storage!"); 63 static void EmitDeclDestroy(CodeGenFunction &CGF, const VarDecl &D, 114 static void EmitDeclInvariant(CodeGenFunction &CGF, const VarDecl &D, 132 void CodeGenFunction::EmitCXXGlobalVarDeclInit(const VarDecl &D, 186 llvm::Constant *CodeGenFunction::createAtExitStub(const VarDecl &VD, 219 void CodeGenFunction::registerGlobalDtorWithAtExit(const VarDecl &VD, 237 void CodeGenFunction::EmitCXXGuardedInit(const VarDecl &D, 288 void CodeGenModule::EmitPointerToInitFunc(const VarDecl *D, 304 CodeGenModule::EmitCXXGlobalVarDeclInitFunc(const VarDecl * [all...] |
H A D | CGBlocks.h | 226 llvm::DenseMap<const VarDecl*, Capture> Captures; 254 const Capture &getCapture(const VarDecl *var) const { 257 Capture &getCapture(const VarDecl *var) { 258 llvm::DenseMap<const VarDecl*, Capture>::iterator
|
H A D | ModuleBuilder.cpp | 110 void HandleCXXStaticMemberVarInstantiation(VarDecl *VD) override { 180 if (VarDecl *VD = dyn_cast<VarDecl>(Member)) { 211 void CompleteTentativeDefinition(VarDecl *D) override {
|
H A D | CGOpenMPRuntime.h | 40 class VarDecl; 513 llvm::Constant *getOrCreateThreadPrivateCache(const VarDecl *VD); 533 llvm::DenseSet<const VarDecl *> ThreadPrivateWithDefinition; 566 const OMPExecutableDirective &D, const VarDecl *ThreadIDVar, 579 const OMPExecutableDirective &D, const VarDecl *ThreadIDVar, 770 const VarDecl *VD, 783 emitThreadPrivateVarDefinition(const VarDecl *VD, Address VDAddr,
|
H A D | CGStmtOpenMP.cpp | 90 VarDecl *CapVar = nullptr; 318 Address SrcAddr, const VarDecl *DestVD, 319 const VarDecl *SrcVD, const Expr *Copy) { 359 llvm::DenseSet<const VarDecl *> EmittedAsFirstprivate; 364 auto *OrigVD = cast<VarDecl>(cast<DeclRefExpr>(*IRef)->getDecl()); 367 auto *VD = cast<VarDecl>(cast<DeclRefExpr>(IInit)->getDecl()); 368 auto *VDInit = cast<VarDecl>(cast<DeclRefExpr>(*InitsRef)->getDecl()); 371 const_cast<VarDecl *>(OrigVD), 378 // Emit VarDecl with copy init for arrays. 408 // Emit private VarDecl wit [all...] |
/freebsd-11.0-release/contrib/llvm/tools/clang/lib/AST/ |
H A D | ItaniumCXXABI.cpp | 41 /// Returns the name of anonymous union VarDecl or nullptr if it is not found. 42 static const IdentifierInfo *findAnonymousUnionVarDeclName(const VarDecl& VD) { 44 assert(RT && "type of VarDecl is expected to be RecordType."); 78 unsigned getStaticLocalNumber(const VarDecl *VD) override { 83 unsigned getManglingNumber(const VarDecl *VD, unsigned) override { 86 // VarDecl without an identifier represents an anonymous union declaration.
|
H A D | Decl.cpp | 589 if (const auto *Var = dyn_cast<VarDecl>(D)) { 600 const VarDecl *PrevVar = Var->getPreviousDecl(); 610 for (const VarDecl *PrevVar = Var->getPreviousDecl(); PrevVar; 629 const VarDecl *VD = IFD->getVarDecl(); 630 assert(VD && "Expected a VarDecl in this IndirectFieldDecl!"); 636 const auto *Var = dyn_cast<VarDecl>(D); 696 if (const auto *Var = dyn_cast<VarDecl>(D)) { 858 isa<VarDecl>(D) || 950 } else if (const auto *VD = dyn_cast<VarDecl>(D)) { 1071 if (const auto *Var = dyn_cast<VarDecl>(N 1783 VarDecl::VarDecl(Kind DK, ASTContext &C, DeclContext *DC, function in class:VarDecl [all...] |
H A D | Stmt.cpp | 759 IfStmt::IfStmt(const ASTContext &C, SourceLocation IL, VarDecl *var, Expr *cond, 769 VarDecl *IfStmt::getConditionVariable() const { 774 return cast<VarDecl>(DS->getSingleDecl()); 777 void IfStmt::setConditionVariable(const ASTContext &C, VarDecl *V) { 788 ForStmt::ForStmt(const ASTContext &C, Stmt *Init, Expr *Cond, VarDecl *condVar, 800 VarDecl *ForStmt::getConditionVariable() const { 805 return cast<VarDecl>(DS->getSingleDecl()); 808 void ForStmt::setConditionVariable(const ASTContext &C, VarDecl *V) { 819 SwitchStmt::SwitchStmt(const ASTContext &C, VarDecl *Var, Expr *cond) 826 VarDecl *SwitchStm [all...] |
/freebsd-11.0-release/contrib/llvm/tools/clang/include/clang/Analysis/Analyses/ |
H A D | Consumed.h | 133 typedef llvm::DenseMap<const VarDecl *, ConsumedState> VarMapType; 159 ConsumedState getState(const VarDecl *Var) const; 183 void setState(const VarDecl *Var, ConsumedState State);
|
/freebsd-11.0-release/contrib/llvm/tools/clang/include/clang/Sema/ |
H A D | ExternalSemaSource.h | 39 class VarDecl; 104 SmallVectorImpl<VarDecl *> &TentativeDefs) {}
|
/freebsd-11.0-release/contrib/llvm/tools/clang/include/clang/AST/ |
H A D | StmtCXX.h | 25 class VarDecl; 32 VarDecl *ExceptionDecl; 37 CXXCatchStmt(SourceLocation catchLoc, VarDecl *exDecl, Stmt *handlerBlock) 50 VarDecl *getExceptionDecl() const { return ExceptionDecl; } 147 VarDecl *getLoopVariable(); 150 const VarDecl *getLoopVariable() const; 331 VarDecl *getPromiseDecl() const { 332 return cast<VarDecl>(cast<DeclStmt>(getPromiseDeclStmt())->getSingleDecl());
|
H A D | Decl.h | 697 /// VarDecl - An instance of this class is created to represent a variable 699 class VarDecl : public DeclaratorDecl, public Redeclarable<VarDecl> { 725 // TODO: It is a bit unfortunate to use a PointerUnion inside the VarDecl for 737 friend class VarDecl; 772 /// the \c VarDecl initalizer expression unless we were unble to parse 794 friend class VarDecl; 839 VarDecl(Kind DK, ASTContext &C, DeclContext *DC, SourceLocation StartLoc, 843 typedef Redeclarable<VarDecl> redeclarable_base; 844 VarDecl *getNextRedeclarationImp [all...] |
/freebsd-11.0-release/contrib/llvm/tools/lldb/source/Plugins/ExpressionParser/Clang/ |
H A D | ASTResultSynthesizer.h | 89 void CompleteTentativeDefinition(clang::VarDecl *D) override;
|
H A D | ASTStructExtractor.h | 98 void CompleteTentativeDefinition(clang::VarDecl *D) override;
|
/freebsd-11.0-release/contrib/llvm/tools/clang/lib/Analysis/ |
H A D | Consumed.cpp | 277 const VarDecl *Var; 310 const VarDecl *Var; 321 PropagationInfo(const VarDecl *Var, ConsumedState TestsFor) 339 const VarDecl *LVar, ConsumedState LTestsFor, 340 const VarDecl *RVar, ConsumedState RTestsFor) 354 PropagationInfo(const VarDecl *Var) : InfoType(IT_Var), Var(Var) {} 378 const VarDecl * getVar() const { 505 void VisitVarDecl(const VarDecl *Var); 841 if (const VarDecl *Var = dyn_cast_or_null<VarDecl>(DeclRe [all...] |