Home | History | Annotate | Download | only in Serialization

Lines Matching refs:STMT

1 //===--- ASTReaderStmt.cpp - Stmt/Expr Deserialization ----------*- C++ -*-===//
75 /// \brief The number of record fields required for the Stmt class
90 void VisitStmt(Stmt *S);
91 #define STMT(Type, Base) \
110 void ASTStmtReader::VisitStmt(Stmt *S) {
122 SmallVector<Stmt *, 16> Stmts;
302 SmallVector<Stmt*, 16> Exprs;
421 E->Exprs = new (Reader.getContext()) Stmt*[NumExprs];
514 assert(E->getStmtClass() == Stmt::MemberExprClass &&
770 new(Reader.getContext()) Stmt*[GenericSelectionExpr::END_EXPR+E->NumAssocs];
1084 E->Args = new (Reader.getContext()) Stmt*[E->NumArgs];
1531 Stmt *ASTReader::ReadStmt(ModuleFile &F) {
1558 Stmt *ASTReader::ReadStmtFromStream(ModuleFile &F) {
1563 // Map of offset to previously deserialized stmt. The offset points
1564 /// just after the stmt record.
1565 llvm::DenseMap<uint64_t, Stmt *> StmtEntries;
1574 Stmt::EmptyShell Empty;
1601 Stmt *S = 0;
1614 "No stmt was recorded for this offset reference!");
1756 S = new (Context) CallExpr(Context, Stmt::CallExprClass, Empty);