Lines Matching full:serialization
1 //===--- ASTWriterStmt.cpp - Statement and Expression Serialization -------===//
11 /// \brief Implements serialization for Statements and Expressions.
15 #include "clang/Serialization/ASTWriter.h"
26 // Statement/expression serialization
37 serialization::StmtCode Code;
68 Code = serialization::STMT_NULL;
78 Code = serialization::STMT_COMPOUND;
94 Code = serialization::STMT_CASE;
100 Code = serialization::STMT_DEFAULT;
108 Code = serialization::STMT_LABEL;
117 Code = serialization::STMT_ATTRIBUTED;
128 Code = serialization::STMT_IF;
141 Code = serialization::STMT_SWITCH;
150 Code = serialization::STMT_WHILE;
160 Code = serialization::STMT_DO;
173 Code = serialization::STMT_FOR;
181 Code = serialization::STMT_GOTO;
189 Code = serialization::STMT_INDIRECT_GOTO;
195 Code = serialization::STMT_CONTINUE;
201 Code = serialization::STMT_BREAK;
209 Code = serialization::STMT_RETURN;
219 Code = serialization::STMT_DECL;
255 Code = serialization::STMT_GCCASM;
287 Code = serialization::STMT_MSASM;
291 // FIXME: Implement coroutine serialization.
296 // FIXME: Implement coroutine serialization.
301 // FIXME: Implement coroutine serialization.
306 // FIXME: Implement coroutine serialization.
338 Code = serialization::STMT_CAPTURED;
357 Code = serialization::EXPR_PREDEFINED;
394 Code = serialization::EXPR_DECL_REF;
406 Code = serialization::EXPR_INTEGER_LITERAL;
415 Code = serialization::EXPR_FLOATING_LITERAL;
421 Code = serialization::EXPR_IMAGINARY_LITERAL;
437 Code = serialization::EXPR_STRING_LITERAL;
448 Code = serialization::EXPR_CHARACTER_LITERAL;
456 Code = serialization::EXPR_PAREN;
466 Code = serialization::EXPR_PAREN_LIST;
474 Code = serialization::EXPR_UNARY_OPERATOR;
509 serialization::EXPR_OFFSETOF;
523 Code = serialization::EXPR_SIZEOF_ALIGN_OF;
531 Code = serialization::EXPR_ARRAY_SUBSCRIPT;
541 Code = serialization::EXPR_OMP_ARRAY_SECTION;
552 Code = serialization::EXPR_CALL;
589 Code = serialization::EXPR_MEMBER;
598 Code = serialization::EXPR_OBJC_ISA;
606 Code = serialization::EXPR_OBJC_INDIRECT_COPY_RESTORE;
614 Code = serialization::EXPR_OBJC_BRIDGED_CAST;
635 Code = serialization::EXPR_BINARY_OPERATOR;
642 Code = serialization::EXPR_COMPOUND_ASSIGN_OPERATOR;
652 Code = serialization::EXPR_CONDITIONAL_OPERATOR;
665 Code = serialization::EXPR_BINARY_CONDITIONAL_OPERATOR;
674 Code = serialization::EXPR_IMPLICIT_CAST;
686 Code = serialization::EXPR_CSTYLE_CAST;
695 Code = serialization::EXPR_COMPOUND_LITERAL;
703 Code = serialization::EXPR_EXT_VECTOR_ELEMENT;
731 Code = serialization::EXPR_INIT_LIST;
746 Record.push_back(serialization::DESIG_FIELD_DECL);
749 Record.push_back(serialization::DESIG_FIELD_NAME);
755 Record.push_back(serialization::DESIG_ARRAY);
761 Record.push_back(serialization::DESIG_ARRAY_RANGE);
768 Code = serialization::EXPR_DESIGNATED_INIT;
775 Code = serialization::EXPR_DESIGNATED_INIT_UPDATE;
780 Code = serialization::EXPR_NO_INIT;
785 Code = serialization::EXPR_IMPLICIT_VALUE_INIT;
795 Code = serialization::EXPR_VA_ARG;
803 Code = serialization::EXPR_ADDR_LABEL;
811 Code = serialization::EXPR_STMT;
822 Code = serialization::EXPR_CHOOSE;
828 Code = serialization::EXPR_GNU_NULL;
838 Code = serialization::EXPR_SHUFFLE_VECTOR;
847 Code = serialization::EXPR_CONVERT_VECTOR;
853 Code = serialization::EXPR_BLOCK;
870 Code = serialization::EXPR_GENERIC_SELECTION;
888 Code = serialization::EXPR_PSEUDO_OBJECT;
898 Code = serialization::EXPR_ATOMIC;
909 Code = serialization::EXPR_OBJC_STRING_LITERAL;
917 Code = serialization::EXPR_OBJC_BOXED_EXPRESSION;
927 Code = serialization::EXPR_OBJC_ARRAY_LITERAL;
949 Code = serialization::EXPR_OBJC_DICTIONARY_LITERAL;
957 Code = serialization::EXPR_OBJC_ENCODE;
965 Code = serialization
974 Code = serialization::EXPR_OBJC_PROTOCOL_EXPR;
985 Code = serialization::EXPR_OBJC_IVAR_REF_EXPR;
1011 Code = serialization::EXPR_OBJC_PROPERTY_REF_EXPR;
1022 Code = serialization::EXPR_OBJC_SUBSCRIPT_REF_EXPR;
1068 Code = serialization::EXPR_OBJC_MESSAGE_EXPR;
1078 Code = serialization::STMT_OBJC_FOR_COLLECTION;
1086 Code = serialization::STMT_OBJC_CATCH;
1092 Code = serialization::STMT_OBJC_FINALLY;
1098 Code = serialization::STMT_OBJC_AUTORELEASE_POOL;
1110 Code = serialization::STMT_OBJC_AT_TRY;
1117 Code = serialization::STMT_OBJC_AT_SYNCHRONIZED;
1123 Code = serialization::STMT_OBJC_AT_THROW;
1130 Code = serialization::EXPR_OBJC_BOOL_LITERAL;
1142 Code = serialization::STMT_CXX_CATCH;
1152 Code = serialization::STMT_CXX_TRY;
1167 Code = serialization::STMT_CXX_FOR_RANGE;
1177 Code = serialization::STMT_MS_DEPENDENT_EXISTS;
1185 Code = serialization::EXPR_CXX_OPERATOR_CALL;
1190 Code = serialization::EXPR_CXX_MEMBER_CALL;
1207 Code = serialization::EXPR_CXX_CONSTRUCT;
1213 Code = serialization::EXPR_CXX_TEMPORARY_OBJECT;
1246 Code = serialization::EXPR_LAMBDA;
1252 Code = serialization::EXPR_CXX_STD_INITIALIZER_LIST;
1264 Code = serialization::EXPR_CXX_STATIC_CAST;
1269 Code = serialization::EXPR_CXX_DYNAMIC_CAST;
1274 Code = serialization::EXPR_CXX_REINTERPRET_CAST;
1279 Code = serialization::EXPR_CXX_CONST_CAST;
1286 Code = serialization::EXPR_CXX_FUNCTIONAL_CAST;
1292 Code = serialization::EXPR_USER_DEFINED_LITERAL;
1299 Code = serialization::EXPR_CXX_BOOL_LITERAL;
1305 Code = serialization::EXPR_CXX_NULL_PTR_LITERAL;
1313 Code = serialization::EXPR_CXX_TYPEID_TYPE;
1316 Code = serialization::EXPR_CXX_TYPEID_EXPR;
1324 Code = serialization::EXPR_CXX_THIS;
1332 Code = serialization::EXPR_CXX_THROW;
1346 Code = serialization::EXPR_CXX_DEFAULT_ARG;
1353 Code = serialization::EXPR_CXX_DEFAULT_INIT;
1360 Code = serialization::EXPR_CXX_BIND_TEMPORARY;
1367 Code = serialization::EXPR_CXX_SCALAR_VALUE_INIT;
1387 Code = serialization::EXPR_CXX_NEW;
1400 Code = serialization::EXPR_CXX_DELETE;
1421 Code = serialization::EXPR_CXX_PSEUDO_DESTRUCTOR;
1431 Code = serialization::EXPR_EXPR_WITH_CLEANUPS;
1458 Code = serialization::EXPR_CXX_DEPENDENT_SCOPE_MEMBER;
1477 Code = serialization::EXPR_CXX_DEPENDENT_SCOPE_DECL_REF;
1490 Code = serialization::EXPR_CXX_UNRESOLVED_CONSTRUCT;
1524 Code = serialization::EXPR_CXX_UNRESOLVED_MEMBER;
1532 Code = serialization::EXPR_CXX_UNRESOLVED_LOOKUP;
1543 Code = serialization::EXPR_TYPE_TRAIT;
1552 Code = serialization::EXPR_ARRAY_TYPE_TRAIT;
1561 Code = serialization::EXPR_CXX_EXPRESSION_TRAIT;
1569 Code = serialization::EXPR_CXX_NOEXCEPT;
1577 Code = serialization::EXPR_PACK_EXPANSION;
1594 Code = serialization::EXPR_SIZEOF_PACK;
1603 Code = serialization::EXPR_SUBST_NON_TYPE_TEMPLATE_PARM;
1612 Code = serialization::EXPR_SUBST_NON_TYPE_TEMPLATE_PARM_PACK;
1623 Code = serialization::EXPR_FUNCTION_PARM_PACK;
1631 Code = serialization::EXPR_MATERIALIZE_TEMPORARY;
1642 Code = serialization::EXPR_CXX_FOLD;
1649 Code = serialization::EXPR_OPAQUE_VALUE;
1665 Code = serialization::EXPR_CUDA_KERNEL_CALL;
1676 Code = serialization::EXPR_ASTYPE;
1689 Code = serialization::EXPR_CXX_PROPERTY_REF_EXPR;
1697 Code = serialization::EXPR_CXX_PROPERTY_SUBSCRIPT_EXPR;
1705 Code = serialization::EXPR_CXX_UUIDOF_TYPE;
1708 Code = serialization::EXPR_CXX_UUIDOF_EXPR;
1717 Code = serialization::STMT_SEH_EXCEPT;
1724 Code = serialization::STMT_SEH_FINALLY;
1733 Code = serialization::STMT_SEH_TRY;
1739 Code = serialization::STMT_SEH_LEAVE;
2093 Code = serialization::STMT_OMP_PARALLEL_DIRECTIVE;
2098 Code = serialization::STMT_OMP_SIMD_DIRECTIVE;
2104 Code = serialization::STMT_OMP_FOR_DIRECTIVE;
2109 Code = serialization::STMT_OMP_FOR_SIMD_DIRECTIVE;
2117 Code = serialization::STMT_OMP_SECTIONS_DIRECTIVE;
2124 Code = serialization::STMT_OMP_SECTION_DIRECTIVE;
2131 Code = serialization::STMT_OMP_SINGLE_DIRECTIVE;
2137 Code = serialization::STMT_OMP_MASTER_DIRECTIVE;
2145 Code = serialization::STMT_OMP_CRITICAL_DIRECTIVE;
2151 Code = serialization::STMT_OMP_PARALLEL_FOR_DIRECTIVE;
2157 Code = serialization::STMT_OMP_PARALLEL_FOR_SIMD_DIRECTIVE;
2166 Code = serialization::STMT_OMP_PARALLEL_SECTIONS_DIRECTIVE;
2174 Code = serialization::STMT_OMP_TASK_DIRECTIVE;
2187 Code = serialization::STMT_OMP_ATOMIC_DIRECTIVE;
2194 Code = serialization::STMT_OMP_TARGET_DIRECTIVE;
2201 Code = serialization::STMT_OMP_TARGET_DATA_DIRECTIVE;
2207 Code = serialization::STMT_OMP_TASKYIELD_DIRECTIVE;
2213 Code = serialization::STMT_OMP_BARRIER_DIRECTIVE;
2219 Code = serialization::STMT_OMP_TASKWAIT_DIRECTIVE;
2225 Code = serialization::STMT_OMP_TASKGROUP_DIRECTIVE;
2232 Code = serialization::STMT_OMP_FLUSH_DIRECTIVE;
2239 Code = serialization::STMT_OMP_ORDERED_DIRECTIVE;
2246 Code = serialization::STMT_OMP_TEAMS_DIRECTIVE;
2254 Code = serialization::STMT_OMP_CANCELLATION_POINT_DIRECTIVE;
2262 Code = serialization::STMT_OMP_CANCEL_DIRECTIVE;
2267 Code = serialization::STMT_OMP_TASKLOOP_DIRECTIVE;
2272 Code = serialization::STMT_OMP_TASKLOOP_SIMD_DIRECTIVE;
2277 Code = serialization::STMT_OMP_DISTRIBUTE_DIRECTIVE;
2312 Stream.EmitRecord(serialization::STMT_NULL_PTR, Record);
2319 Stream.EmitRecord(serialization::STMT_REF_PTR, Record);
2346 Writer.Code = serialization::STMT_NULL_PTR;
2351 if (Writer.Code == serialization::STMT_NULL_PTR) {
2393 serialization::STMT_STOP, Record);