Lines Matching refs:DeclStmt
452 CFGBlock *VisitDeclStmt(DeclStmt *DS);
453 CFGBlock *VisitDeclSubExpr(DeclStmt *DS);
588 LocalScope* addLocalScopeForDeclStmt(DeclStmt *DS,
1318 if (DeclStmt *DS = dyn_cast<DeclStmt>(SI)) in addLocalScopeForStmt()
1326 if (DeclStmt *DS = dyn_cast<DeclStmt>(S->stripLabelLikeStatements())) in addLocalScopeForStmt()
1332 LocalScope* CFGBuilder::addLocalScopeForDeclStmt(DeclStmt *DS, in addLocalScopeForDeclStmt()
1527 return VisitDeclStmt(cast<DeclStmt>(S)); in Visit()
2036 CFGBlock *CFGBuilder::VisitDeclStmt(DeclStmt *DS) { in VisitDeclStmt()
2049 for (DeclStmt::reverse_decl_iterator I = DS->decl_rbegin(), in VisitDeclStmt()
2053 unsigned A = llvm::AlignOf<DeclStmt>::Alignment < 8 in VisitDeclStmt()
2054 ? 8 : llvm::AlignOf<DeclStmt>::Alignment; in VisitDeclStmt()
2060 void *Mem = cfg->getAllocator().Allocate(sizeof(DeclStmt), A); in VisitDeclStmt()
2061 DeclStmt *DSNew = new (Mem) DeclStmt(DG, D->getLocation(), GetEndLoc(D)); in VisitDeclStmt()
2073 CFGBlock *CFGBuilder::VisitDeclSubExpr(DeclStmt *DS) { in VisitDeclSubExpr()
2281 if (const DeclStmt* DS = I->getConditionVariableDeclStmt()) { in VisitIfStmt()
2283 LastBlock = addStmt(const_cast<DeclStmt *>(DS)); in VisitIfStmt()
4020 DeclMap[cast<DeclStmt>(stmt)->getSingleDecl()] = P; in StmtPrinterHelper()
4127 void VisitDeclStmt(DeclStmt *DS) { in VisitDeclStmt()