Lines Matching full:record

275   ASTWriter::RecordData Record;  member in __anond5eb14810111::ASTTypeWriter
280 : Writer(Writer), BasicWriter(Writer, Record) {} in ASTTypeWriter()
301 ASTRecordWriter &Record; member in __anond5eb14810111::TypeLocWriter
305 Record.AddSourceLocation(Loc, Seq); in addSourceLocation()
307 void addSourceRange(SourceRange Range) { Record.AddSourceRange(Range, Seq); } in addSourceRange()
310 TypeLocWriter(ASTRecordWriter &Record, LocSeq *Seq) in TypeLocWriter() argument
311 : Record(Record), Seq(Seq) {} in TypeLocWriter()
331 Record.push_back(TL.getWrittenTypeSpec()); in VisitBuiltinTypeLoc()
332 Record.push_back(static_cast<uint64_t>(TL.getWrittenSignSpec())); in VisitBuiltinTypeLoc()
333 Record.push_back(static_cast<uint64_t>(TL.getWrittenWidthSpec())); in VisitBuiltinTypeLoc()
334 Record.push_back(TL.hasModeAttr()); in VisitBuiltinTypeLoc()
372 Record.AddTypeSourceInfo(TL.getClassTInfo()); in VisitMemberPointerTypeLoc()
378 Record.push_back(TL.getSizeExpr() ? 1 : 0); in VisitArrayTypeLoc()
380 Record.AddStmt(TL.getSizeExpr()); in VisitArrayTypeLoc()
406 Record.AddStmt(TL.getAttrExprOperand()); in VisitDependentAddressSpaceTypeLoc()
432 Record.AddStmt(TL.getAttrRowOperand()); in VisitConstantMatrixTypeLoc()
433 Record.AddStmt(TL.getAttrColumnOperand()); in VisitConstantMatrixTypeLoc()
442 Record.AddStmt(TL.getAttrRowOperand()); in VisitDependentSizedMatrixTypeLoc()
443 Record.AddStmt(TL.getAttrColumnOperand()); in VisitDependentSizedMatrixTypeLoc()
453 Record.AddDeclRef(TL.getParam(i)); in VisitFunctionTypeLoc()
495 Record.AddTypeSourceInfo(TL.getUnmodifiedTInfo()); in VisitTypeOfTypeLoc()
507 Record.AddTypeSourceInfo(TL.getUnderlyingTInfo()); in VisitUnaryTransformTypeLoc()
529 Record.push_back(TL.isConstrained() && CR); in VisitAutoTypeLoc()
531 Record.AddConceptReference(CR); in VisitAutoTypeLoc()
532 Record.push_back(TL.isDecltypeAuto()); in VisitAutoTypeLoc()
551 Record.AddAttr(TL.getAttr()); in VisitAttributedTypeLoc()
583 Record.AddTemplateArgumentLocInfo(TL.getArgLoc(i).getArgument().getKind(), in VisitTemplateSpecializationTypeLoc()
598 Record.AddNestedNameSpecifierLoc(TL.getQualifierLoc()); in VisitElaboratedTypeLoc()
607 Record.AddNestedNameSpecifierLoc(TL.getQualifierLoc()); in VisitDependentNameTypeLoc()
614 Record.AddNestedNameSpecifierLoc(TL.getQualifierLoc()); in VisitDependentTemplateSpecializationTypeLoc()
620 Record.AddTemplateArgumentLocInfo(TL.getArgLoc(I).getArgument().getKind(), in VisitDependentTemplateSpecializationTypeLoc()
634 Record.push_back(TL.hasBaseTypeAsWritten()); in VisitObjCObjectTypeLoc()
638 Record.AddTypeSourceInfo(TL.getTypeArgTInfo(i)); in VisitObjCObjectTypeLoc()
686 ASTWriter::RecordDataImpl &Record) { in EmitBlockID() argument
687 Record.clear(); in EmitBlockID()
688 Record.push_back(ID); in EmitBlockID()
689 Stream.EmitRecord(llvm::bitc::BLOCKINFO_CODE_SETBID, Record); in EmitBlockID()
694 Record.clear(); in EmitBlockID()
696 Record.push_back(*Name++); in EmitBlockID()
697 Stream.EmitRecord(llvm::bitc::BLOCKINFO_CODE_BLOCKNAME, Record); in EmitBlockID()
702 ASTWriter::RecordDataImpl &Record) { in EmitRecordID() argument
703 Record.clear(); in EmitRecordID()
704 Record.push_back(ID); in EmitRecordID()
706 Record.push_back(*Name++); in EmitRecordID()
707 Stream.EmitRecord(llvm::bitc::BLOCKINFO_CODE_SETRECORDNAME, Record); in EmitRecordID()
711 ASTWriter::RecordDataImpl &Record) { in AddStmtsExprs() argument
712 #define RECORD(X) EmitRecordID(X, #X, Stream, Record) in AddStmtsExprs() macro
713 RECORD(STMT_STOP); in AddStmtsExprs()
714 RECORD(STMT_NULL_PTR); in AddStmtsExprs()
715 RECORD(STMT_REF_PTR); in AddStmtsExprs()
716 RECORD(STMT_NULL); in AddStmtsExprs()
717 RECORD(STMT_COMPOUND); in AddStmtsExprs()
718 RECORD(STMT_CASE); in AddStmtsExprs()
719 RECORD(STMT_DEFAULT); in AddStmtsExprs()
720 RECORD(STMT_LABEL); in AddStmtsExprs()
721 RECORD(STMT_ATTRIBUTED); in AddStmtsExprs()
722 RECORD(STMT_IF); in AddStmtsExprs()
723 RECORD(STMT_SWITCH); in AddStmtsExprs()
724 RECORD(STMT_WHILE); in AddStmtsExprs()
725 RECORD(STMT_DO); in AddStmtsExprs()
726 RECORD(STMT_FOR); in AddStmtsExprs()
727 RECORD(STMT_GOTO); in AddStmtsExprs()
728 RECORD(STMT_INDIRECT_GOTO); in AddStmtsExprs()
729 RECORD(STMT_CONTINUE); in AddStmtsExprs()
730 RECORD(STMT_BREAK); in AddStmtsExprs()
731 RECORD(STMT_RETURN); in AddStmtsExprs()
732 RECORD(STMT_DECL); in AddStmtsExprs()
733 RECORD(STMT_GCCASM); in AddStmtsExprs()
734 RECORD(STMT_MSASM); in AddStmtsExprs()
735 RECORD(EXPR_PREDEFINED); in AddStmtsExprs()
736 RECORD(EXPR_DECL_REF); in AddStmtsExprs()
737 RECORD(EXPR_INTEGER_LITERAL); in AddStmtsExprs()
738 RECORD(EXPR_FIXEDPOINT_LITERAL); in AddStmtsExprs()
739 RECORD(EXPR_FLOATING_LITERAL); in AddStmtsExprs()
740 RECORD(EXPR_IMAGINARY_LITERAL); in AddStmtsExprs()
741 RECORD(EXPR_STRING_LITERAL); in AddStmtsExprs()
742 RECORD(EXPR_CHARACTER_LITERAL); in AddStmtsExprs()
743 RECORD(EXPR_PAREN); in AddStmtsExprs()
744 RECORD(EXPR_PAREN_LIST); in AddStmtsExprs()
745 RECORD(EXPR_UNARY_OPERATOR); in AddStmtsExprs()
746 RECORD(EXPR_SIZEOF_ALIGN_OF); in AddStmtsExprs()
747 RECORD(EXPR_ARRAY_SUBSCRIPT); in AddStmtsExprs()
748 RECORD(EXPR_CALL); in AddStmtsExprs()
749 RECORD(EXPR_MEMBER); in AddStmtsExprs()
750 RECORD(EXPR_BINARY_OPERATOR); in AddStmtsExprs()
751 RECORD(EXPR_COMPOUND_ASSIGN_OPERATOR); in AddStmtsExprs()
752 RECORD(EXPR_CONDITIONAL_OPERATOR); in AddStmtsExprs()
753 RECORD(EXPR_IMPLICIT_CAST); in AddStmtsExprs()
754 RECORD(EXPR_CSTYLE_CAST); in AddStmtsExprs()
755 RECORD(EXPR_COMPOUND_LITERAL); in AddStmtsExprs()
756 RECORD(EXPR_EXT_VECTOR_ELEMENT); in AddStmtsExprs()
757 RECORD(EXPR_INIT_LIST); in AddStmtsExprs()
758 RECORD(EXPR_DESIGNATED_INIT); in AddStmtsExprs()
759 RECORD(EXPR_DESIGNATED_INIT_UPDATE); in AddStmtsExprs()
760 RECORD(EXPR_IMPLICIT_VALUE_INIT); in AddStmtsExprs()
761 RECORD(EXPR_NO_INIT); in AddStmtsExprs()
762 RECORD(EXPR_VA_ARG); in AddStmtsExprs()
763 RECORD(EXPR_ADDR_LABEL); in AddStmtsExprs()
764 RECORD(EXPR_STMT); in AddStmtsExprs()
765 RECORD(EXPR_CHOOSE); in AddStmtsExprs()
766 RECORD(EXPR_GNU_NULL); in AddStmtsExprs()
767 RECORD(EXPR_SHUFFLE_VECTOR); in AddStmtsExprs()
768 RECORD(EXPR_BLOCK); in AddStmtsExprs()
769 RECORD(EXPR_GENERIC_SELECTION); in AddStmtsExprs()
770 RECORD(EXPR_OBJC_STRING_LITERAL); in AddStmtsExprs()
771 RECORD(EXPR_OBJC_BOXED_EXPRESSION); in AddStmtsExprs()
772 RECORD(EXPR_OBJC_ARRAY_LITERAL); in AddStmtsExprs()
773 RECORD(EXPR_OBJC_DICTIONARY_LITERAL); in AddStmtsExprs()
774 RECORD(EXPR_OBJC_ENCODE); in AddStmtsExprs()
775 RECORD(EXPR_OBJC_SELECTOR_EXPR); in AddStmtsExprs()
776 RECORD(EXPR_OBJC_PROTOCOL_EXPR); in AddStmtsExprs()
777 RECORD(EXPR_OBJC_IVAR_REF_EXPR); in AddStmtsExprs()
778 RECORD(EXPR_OBJC_PROPERTY_REF_EXPR); in AddStmtsExprs()
779 RECORD(EXPR_OBJC_KVC_REF_EXPR); in AddStmtsExprs()
780 RECORD(EXPR_OBJC_MESSAGE_EXPR); in AddStmtsExprs()
781 RECORD(STMT_OBJC_FOR_COLLECTION); in AddStmtsExprs()
782 RECORD(STMT_OBJC_CATCH); in AddStmtsExprs()
783 RECORD(STMT_OBJC_FINALLY); in AddStmtsExprs()
784 RECORD(STMT_OBJC_AT_TRY); in AddStmtsExprs()
785 RECORD(STMT_OBJC_AT_SYNCHRONIZED); in AddStmtsExprs()
786 RECORD(STMT_OBJC_AT_THROW); in AddStmtsExprs()
787 RECORD(EXPR_OBJC_BOOL_LITERAL); in AddStmtsExprs()
788 RECORD(STMT_CXX_CATCH); in AddStmtsExprs()
789 RECORD(STMT_CXX_TRY); in AddStmtsExprs()
790 RECORD(STMT_CXX_FOR_RANGE); in AddStmtsExprs()
791 RECORD(EXPR_CXX_OPERATOR_CALL); in AddStmtsExprs()
792 RECORD(EXPR_CXX_MEMBER_CALL); in AddStmtsExprs()
793 RECORD(EXPR_CXX_REWRITTEN_BINARY_OPERATOR); in AddStmtsExprs()
794 RECORD(EXPR_CXX_CONSTRUCT); in AddStmtsExprs()
795 RECORD(EXPR_CXX_TEMPORARY_OBJECT); in AddStmtsExprs()
796 RECORD(EXPR_CXX_STATIC_CAST); in AddStmtsExprs()
797 RECORD(EXPR_CXX_DYNAMIC_CAST); in AddStmtsExprs()
798 RECORD(EXPR_CXX_REINTERPRET_CAST); in AddStmtsExprs()
799 RECORD(EXPR_CXX_CONST_CAST); in AddStmtsExprs()
800 RECORD(EXPR_CXX_ADDRSPACE_CAST); in AddStmtsExprs()
801 RECORD(EXPR_CXX_FUNCTIONAL_CAST); in AddStmtsExprs()
802 RECORD(EXPR_USER_DEFINED_LITERAL); in AddStmtsExprs()
803 RECORD(EXPR_CXX_STD_INITIALIZER_LIST); in AddStmtsExprs()
804 RECORD(EXPR_CXX_BOOL_LITERAL); in AddStmtsExprs()
805 RECORD(EXPR_CXX_PAREN_LIST_INIT); in AddStmtsExprs()
806 RECORD(EXPR_CXX_NULL_PTR_LITERAL); in AddStmtsExprs()
807 RECORD(EXPR_CXX_TYPEID_EXPR); in AddStmtsExprs()
808 RECORD(EXPR_CXX_TYPEID_TYPE); in AddStmtsExprs()
809 RECORD(EXPR_CXX_THIS); in AddStmtsExprs()
810 RECORD(EXPR_CXX_THROW); in AddStmtsExprs()
811 RECORD(EXPR_CXX_DEFAULT_ARG); in AddStmtsExprs()
812 RECORD(EXPR_CXX_DEFAULT_INIT); in AddStmtsExprs()
813 RECORD(EXPR_CXX_BIND_TEMPORARY); in AddStmtsExprs()
814 RECORD(EXPR_CXX_SCALAR_VALUE_INIT); in AddStmtsExprs()
815 RECORD(EXPR_CXX_NEW); in AddStmtsExprs()
816 RECORD(EXPR_CXX_DELETE); in AddStmtsExprs()
817 RECORD(EXPR_CXX_PSEUDO_DESTRUCTOR); in AddStmtsExprs()
818 RECORD(EXPR_EXPR_WITH_CLEANUPS); in AddStmtsExprs()
819 RECORD(EXPR_CXX_DEPENDENT_SCOPE_MEMBER); in AddStmtsExprs()
820 RECORD(EXPR_CXX_DEPENDENT_SCOPE_DECL_REF); in AddStmtsExprs()
821 RECORD(EXPR_CXX_UNRESOLVED_CONSTRUCT); in AddStmtsExprs()
822 RECORD(EXPR_CXX_UNRESOLVED_MEMBER); in AddStmtsExprs()
823 RECORD(EXPR_CXX_UNRESOLVED_LOOKUP); in AddStmtsExprs()
824 RECORD(EXPR_CXX_EXPRESSION_TRAIT); in AddStmtsExprs()
825 RECORD(EXPR_CXX_NOEXCEPT); in AddStmtsExprs()
826 RECORD(EXPR_OPAQUE_VALUE); in AddStmtsExprs()
827 RECORD(EXPR_BINARY_CONDITIONAL_OPERATOR); in AddStmtsExprs()
828 RECORD(EXPR_TYPE_TRAIT); in AddStmtsExprs()
829 RECORD(EXPR_ARRAY_TYPE_TRAIT); in AddStmtsExprs()
830 RECORD(EXPR_PACK_EXPANSION); in AddStmtsExprs()
831 RECORD(EXPR_SIZEOF_PACK); in AddStmtsExprs()
832 RECORD(EXPR_PACK_INDEXING); in AddStmtsExprs()
833 RECORD(EXPR_SUBST_NON_TYPE_TEMPLATE_PARM); in AddStmtsExprs()
834 RECORD(EXPR_SUBST_NON_TYPE_TEMPLATE_PARM_PACK); in AddStmtsExprs()
835 RECORD(EXPR_FUNCTION_PARM_PACK); in AddStmtsExprs()
836 RECORD(EXPR_MATERIALIZE_TEMPORARY); in AddStmtsExprs()
837 RECORD(EXPR_CUDA_KERNEL_CALL); in AddStmtsExprs()
838 RECORD(EXPR_CXX_UUIDOF_EXPR); in AddStmtsExprs()
839 RECORD(EXPR_CXX_UUIDOF_TYPE); in AddStmtsExprs()
840 RECORD(EXPR_LAMBDA); in AddStmtsExprs()
841 #undef RECORD in AddStmtsExprs()
845 RecordData Record; in WriteBlockInfoBlock() local
848 #define BLOCK(X) EmitBlockID(X ## _ID, #X, Stream, Record) in WriteBlockInfoBlock()
849 #define RECORD(X) EmitRecordID(X, #X, Stream, Record) in WriteBlockInfoBlock() macro
853 RECORD(METADATA); in WriteBlockInfoBlock()
854 RECORD(MODULE_NAME); in WriteBlockInfoBlock()
855 RECORD(MODULE_DIRECTORY); in WriteBlockInfoBlock()
856 RECORD(MODULE_MAP_FILE); in WriteBlockInfoBlock()
857 RECORD(IMPORTS); in WriteBlockInfoBlock()
858 RECORD(ORIGINAL_FILE); in WriteBlockInfoBlock()
859 RECORD(ORIGINAL_FILE_ID); in WriteBlockInfoBlock()
860 RECORD(INPUT_FILE_OFFSETS); in WriteBlockInfoBlock()
863 RECORD(LANGUAGE_OPTIONS); in WriteBlockInfoBlock()
864 RECORD(TARGET_OPTIONS); in WriteBlockInfoBlock()
865 RECORD(FILE_SYSTEM_OPTIONS); in WriteBlockInfoBlock()
866 RECORD(HEADER_SEARCH_OPTIONS); in WriteBlockInfoBlock()
867 RECORD(PREPROCESSOR_OPTIONS); in WriteBlockInfoBlock()
870 RECORD(INPUT_FILE); in WriteBlockInfoBlock()
871 RECORD(INPUT_FILE_HASH); in WriteBlockInfoBlock()
875 RECORD(TYPE_OFFSET); in WriteBlockInfoBlock()
876 RECORD(DECL_OFFSET); in WriteBlockInfoBlock()
877 RECORD(IDENTIFIER_OFFSET); in WriteBlockInfoBlock()
878 RECORD(IDENTIFIER_TABLE); in WriteBlockInfoBlock()
879 RECORD(EAGERLY_DESERIALIZED_DECLS); in WriteBlockInfoBlock()
880 RECORD(MODULAR_CODEGEN_DECLS); in WriteBlockInfoBlock()
881 RECORD(SPECIAL_TYPES); in WriteBlockInfoBlock()
882 RECORD(STATISTICS); in WriteBlockInfoBlock()
883 RECORD(TENTATIVE_DEFINITIONS); in WriteBlockInfoBlock()
884 RECORD(SELECTOR_OFFSETS); in WriteBlockInfoBlock()
885 RECORD(METHOD_POOL); in WriteBlockInfoBlock()
886 RECORD(PP_COUNTER_VALUE); in WriteBlockInfoBlock()
887 RECORD(SOURCE_LOCATION_OFFSETS); in WriteBlockInfoBlock()
888 RECORD(EXT_VECTOR_DECLS); in WriteBlockInfoBlock()
889 RECORD(UNUSED_FILESCOPED_DECLS); in WriteBlockInfoBlock()
890 RECORD(PPD_ENTITIES_OFFSETS); in WriteBlockInfoBlock()
891 RECORD(VTABLE_USES); in WriteBlockInfoBlock()
892 RECORD(PPD_SKIPPED_RANGES); in WriteBlockInfoBlock()
893 RECORD(REFERENCED_SELECTOR_POOL); in WriteBlockInfoBlock()
894 RECORD(TU_UPDATE_LEXICAL); in WriteBlockInfoBlock()
895 RECORD(SEMA_DECL_REFS); in WriteBlockInfoBlock()
896 RECORD(WEAK_UNDECLARED_IDENTIFIERS); in WriteBlockInfoBlock()
897 RECORD(PENDING_IMPLICIT_INSTANTIATIONS); in WriteBlockInfoBlock()
898 RECORD(UPDATE_VISIBLE); in WriteBlockInfoBlock()
899 RECORD(DELAYED_NAMESPACE_LEXICAL_VISIBLE_RECORD); in WriteBlockInfoBlock()
900 RECORD(DECL_UPDATE_OFFSETS); in WriteBlockInfoBlock()
901 RECORD(DECL_UPDATES); in WriteBlockInfoBlock()
902 RECORD(CUDA_SPECIAL_DECL_REFS); in WriteBlockInfoBlock()
903 RECORD(HEADER_SEARCH_TABLE); in WriteBlockInfoBlock()
904 RECORD(FP_PRAGMA_OPTIONS); in WriteBlockInfoBlock()
905 RECORD(OPENCL_EXTENSIONS); in WriteBlockInfoBlock()
906 RECORD(OPENCL_EXTENSION_TYPES); in WriteBlockInfoBlock()
907 RECORD(OPENCL_EXTENSION_DECLS); in WriteBlockInfoBlock()
908 RECORD(DELEGATING_CTORS); in WriteBlockInfoBlock()
909 RECORD(KNOWN_NAMESPACES); in WriteBlockInfoBlock()
910 RECORD(MODULE_OFFSET_MAP); in WriteBlockInfoBlock()
911 RECORD(SOURCE_MANAGER_LINE_TABLE); in WriteBlockInfoBlock()
912 RECORD(OBJC_CATEGORIES_MAP); in WriteBlockInfoBlock()
913 RECORD(FILE_SORTED_DECLS); in WriteBlockInfoBlock()
914 RECORD(IMPORTED_MODULES); in WriteBlockInfoBlock()
915 RECORD(OBJC_CATEGORIES); in WriteBlockInfoBlock()
916 RECORD(MACRO_OFFSET); in WriteBlockInfoBlock()
917 RECORD(INTERESTING_IDENTIFIERS); in WriteBlockInfoBlock()
918 RECORD(UNDEFINED_BUT_USED); in WriteBlockInfoBlock()
919 RECORD(LATE_PARSED_TEMPLATE); in WriteBlockInfoBlock()
920 RECORD(OPTIMIZE_PRAGMA_OPTIONS); in WriteBlockInfoBlock()
921 RECORD(MSSTRUCT_PRAGMA_OPTIONS); in WriteBlockInfoBlock()
922 RECORD(POINTERS_TO_MEMBERS_PRAGMA_OPTIONS); in WriteBlockInfoBlock()
923 RECORD(UNUSED_LOCAL_TYPEDEF_NAME_CANDIDATES); in WriteBlockInfoBlock()
924 RECORD(DELETE_EXPRS_TO_ANALYZE); in WriteBlockInfoBlock()
925 RECORD(CUDA_PRAGMA_FORCE_HOST_DEVICE_DEPTH); in WriteBlockInfoBlock()
926 RECORD(PP_CONDITIONAL_STACK); in WriteBlockInfoBlock()
927 RECORD(DECLS_TO_CHECK_FOR_DEFERRED_DIAGS); in WriteBlockInfoBlock()
928 RECORD(PP_ASSUME_NONNULL_LOC); in WriteBlockInfoBlock()
929 RECORD(PP_UNSAFE_BUFFER_USAGE); in WriteBlockInfoBlock()
930 RECORD(VTABLES_TO_EMIT); in WriteBlockInfoBlock()
934 RECORD(SM_SLOC_FILE_ENTRY); in WriteBlockInfoBlock()
935 RECORD(SM_SLOC_BUFFER_ENTRY); in WriteBlockInfoBlock()
936 RECORD(SM_SLOC_BUFFER_BLOB); in WriteBlockInfoBlock()
937 RECORD(SM_SLOC_BUFFER_BLOB_COMPRESSED); in WriteBlockInfoBlock()
938 RECORD(SM_SLOC_EXPANSION_ENTRY); in WriteBlockInfoBlock()
942 RECORD(PP_MACRO_DIRECTIVE_HISTORY); in WriteBlockInfoBlock()
943 RECORD(PP_MACRO_FUNCTION_LIKE); in WriteBlockInfoBlock()
944 RECORD(PP_MACRO_OBJECT_LIKE); in WriteBlockInfoBlock()
945 RECORD(PP_MODULE_MACRO); in WriteBlockInfoBlock()
946 RECORD(PP_TOKEN); in WriteBlockInfoBlock()
950 RECORD(SUBMODULE_METADATA); in WriteBlockInfoBlock()
951 RECORD(SUBMODULE_DEFINITION); in WriteBlockInfoBlock()
952 RECORD(SUBMODULE_UMBRELLA_HEADER); in WriteBlockInfoBlock()
953 RECORD(SUBMODULE_HEADER); in WriteBlockInfoBlock()
954 RECORD(SUBMODULE_TOPHEADER); in WriteBlockInfoBlock()
955 RECORD(SUBMODULE_UMBRELLA_DIR); in WriteBlockInfoBlock()
956 RECORD(SUBMODULE_IMPORTS); in WriteBlockInfoBlock()
957 RECORD(SUBMODULE_AFFECTING_MODULES); in WriteBlockInfoBlock()
958 RECORD(SUBMODULE_EXPORTS); in WriteBlockInfoBlock()
959 RECORD(SUBMODULE_REQUIRES); in WriteBlockInfoBlock()
960 RECORD(SUBMODULE_EXCLUDED_HEADER); in WriteBlockInfoBlock()
961 RECORD(SUBMODULE_LINK_LIBRARY); in WriteBlockInfoBlock()
962 RECORD(SUBMODULE_CONFIG_MACRO); in WriteBlockInfoBlock()
963 RECORD(SUBMODULE_CONFLICT); in WriteBlockInfoBlock()
964 RECORD(SUBMODULE_PRIVATE_HEADER); in WriteBlockInfoBlock()
965 RECORD(SUBMODULE_TEXTUAL_HEADER); in WriteBlockInfoBlock()
966 RECORD(SUBMODULE_PRIVATE_TEXTUAL_HEADER); in WriteBlockInfoBlock()
967 RECORD(SUBMODULE_INITIALIZERS); in WriteBlockInfoBlock()
968 RECORD(SUBMODULE_EXPORT_AS); in WriteBlockInfoBlock()
972 RECORD(COMMENTS_RAW_COMMENT); in WriteBlockInfoBlock()
976 RECORD(TYPE_EXT_QUAL); in WriteBlockInfoBlock()
977 RECORD(TYPE_COMPLEX); in WriteBlockInfoBlock()
978 RECORD(TYPE_POINTER); in WriteBlockInfoBlock()
979 RECORD(TYPE_BLOCK_POINTER); in WriteBlockInfoBlock()
980 RECORD(TYPE_LVALUE_REFERENCE); in WriteBlockInfoBlock()
981 RECORD(TYPE_RVALUE_REFERENCE); in WriteBlockInfoBlock()
982 RECORD(TYPE_MEMBER_POINTER); in WriteBlockInfoBlock()
983 RECORD(TYPE_CONSTANT_ARRAY); in WriteBlockInfoBlock()
984 RECORD(TYPE_INCOMPLETE_ARRAY); in WriteBlockInfoBlock()
985 RECORD(TYPE_VARIABLE_ARRAY); in WriteBlockInfoBlock()
986 RECORD(TYPE_VECTOR); in WriteBlockInfoBlock()
987 RECORD(TYPE_EXT_VECTOR); in WriteBlockInfoBlock()
988 RECORD(TYPE_FUNCTION_NO_PROTO); in WriteBlockInfoBlock()
989 RECORD(TYPE_FUNCTION_PROTO); in WriteBlockInfoBlock()
990 RECORD(TYPE_TYPEDEF); in WriteBlockInfoBlock()
991 RECORD(TYPE_TYPEOF_EXPR); in WriteBlockInfoBlock()
992 RECORD(TYPE_TYPEOF); in WriteBlockInfoBlock()
993 RECORD(TYPE_RECORD); in WriteBlockInfoBlock()
994 RECORD(TYPE_ENUM); in WriteBlockInfoBlock()
995 RECORD(TYPE_OBJC_INTERFACE); in WriteBlockInfoBlock()
996 RECORD(TYPE_OBJC_OBJECT_POINTER); in WriteBlockInfoBlock()
997 RECORD(TYPE_DECLTYPE); in WriteBlockInfoBlock()
998 RECORD(TYPE_ELABORATED); in WriteBlockInfoBlock()
999 RECORD(TYPE_SUBST_TEMPLATE_TYPE_PARM); in WriteBlockInfoBlock()
1000 RECORD(TYPE_UNRESOLVED_USING); in WriteBlockInfoBlock()
1001 RECORD(TYPE_INJECTED_CLASS_NAME); in WriteBlockInfoBlock()
1002 RECORD(TYPE_OBJC_OBJECT); in WriteBlockInfoBlock()
1003 RECORD(TYPE_TEMPLATE_TYPE_PARM); in WriteBlockInfoBlock()
1004 RECORD(TYPE_TEMPLATE_SPECIALIZATION); in WriteBlockInfoBlock()
1005 RECORD(TYPE_DEPENDENT_NAME); in WriteBlockInfoBlock()
1006 RECORD(TYPE_DEPENDENT_TEMPLATE_SPECIALIZATION); in WriteBlockInfoBlock()
1007 RECORD(TYPE_DEPENDENT_SIZED_ARRAY); in WriteBlockInfoBlock()
1008 RECORD(TYPE_PAREN); in WriteBlockInfoBlock()
1009 RECORD(TYPE_MACRO_QUALIFIED); in WriteBlockInfoBlock()
1010 RECORD(TYPE_PACK_EXPANSION); in WriteBlockInfoBlock()
1011 RECORD(TYPE_ATTRIBUTED); in WriteBlockInfoBlock()
1012 RECORD(TYPE_SUBST_TEMPLATE_TYPE_PARM_PACK); in WriteBlockInfoBlock()
1013 RECORD(TYPE_AUTO); in WriteBlockInfoBlock()
1014 RECORD(TYPE_UNARY_TRANSFORM); in WriteBlockInfoBlock()
1015 RECORD(TYPE_ATOMIC); in WriteBlockInfoBlock()
1016 RECORD(TYPE_DECAYED); in WriteBlockInfoBlock()
1017 RECORD(TYPE_ADJUSTED); in WriteBlockInfoBlock()
1018 RECORD(TYPE_OBJC_TYPE_PARAM); in WriteBlockInfoBlock()
1019 RECORD(LOCAL_REDECLARATIONS); in WriteBlockInfoBlock()
1020 RECORD(DECL_TYPEDEF); in WriteBlockInfoBlock()
1021 RECORD(DECL_TYPEALIAS); in WriteBlockInfoBlock()
1022 RECORD(DECL_ENUM); in WriteBlockInfoBlock()
1023 RECORD(DECL_RECORD); in WriteBlockInfoBlock()
1024 RECORD(DECL_ENUM_CONSTANT); in WriteBlockInfoBlock()
1025 RECORD(DECL_FUNCTION); in WriteBlockInfoBlock()
1026 RECORD(DECL_OBJC_METHOD); in WriteBlockInfoBlock()
1027 RECORD(DECL_OBJC_INTERFACE); in WriteBlockInfoBlock()
1028 RECORD(DECL_OBJC_PROTOCOL); in WriteBlockInfoBlock()
1029 RECORD(DECL_OBJC_IVAR); in WriteBlockInfoBlock()
1030 RECORD(DECL_OBJC_AT_DEFS_FIELD); in WriteBlockInfoBlock()
1031 RECORD(DECL_OBJC_CATEGORY); in WriteBlockInfoBlock()
1032 RECORD(DECL_OBJC_CATEGORY_IMPL); in WriteBlockInfoBlock()
1033 RECORD(DECL_OBJC_IMPLEMENTATION); in WriteBlockInfoBlock()
1034 RECORD(DECL_OBJC_COMPATIBLE_ALIAS); in WriteBlockInfoBlock()
1035 RECORD(DECL_OBJC_PROPERTY); in WriteBlockInfoBlock()
1036 RECORD(DECL_OBJC_PROPERTY_IMPL); in WriteBlockInfoBlock()
1037 RECORD(DECL_FIELD); in WriteBlockInfoBlock()
1038 RECORD(DECL_MS_PROPERTY); in WriteBlockInfoBlock()
1039 RECORD(DECL_VAR); in WriteBlockInfoBlock()
1040 RECORD(DECL_IMPLICIT_PARAM); in WriteBlockInfoBlock()
1041 RECORD(DECL_PARM_VAR); in WriteBlockInfoBlock()
1042 RECORD(DECL_FILE_SCOPE_ASM); in WriteBlockInfoBlock()
1043 RECORD(DECL_BLOCK); in WriteBlockInfoBlock()
1044 RECORD(DECL_CONTEXT_LEXICAL); in WriteBlockInfoBlock()
1045 RECORD(DECL_CONTEXT_VISIBLE); in WriteBlockInfoBlock()
1046 RECORD(DECL_NAMESPACE); in WriteBlockInfoBlock()
1047 RECORD(DECL_NAMESPACE_ALIAS); in WriteBlockInfoBlock()
1048 RECORD(DECL_USING); in WriteBlockInfoBlock()
1049 RECORD(DECL_USING_SHADOW); in WriteBlockInfoBlock()
1050 RECORD(DECL_USING_DIRECTIVE); in WriteBlockInfoBlock()
1051 RECORD(DECL_UNRESOLVED_USING_VALUE); in WriteBlockInfoBlock()
1052 RECORD(DECL_UNRESOLVED_USING_TYPENAME); in WriteBlockInfoBlock()
1053 RECORD(DECL_LINKAGE_SPEC); in WriteBlockInfoBlock()
1054 RECORD(DECL_EXPORT); in WriteBlockInfoBlock()
1055 RECORD(DECL_CXX_RECORD); in WriteBlockInfoBlock()
1056 RECORD(DECL_CXX_METHOD); in WriteBlockInfoBlock()
1057 RECORD(DECL_CXX_CONSTRUCTOR); in WriteBlockInfoBlock()
1058 RECORD(DECL_CXX_DESTRUCTOR); in WriteBlockInfoBlock()
1059 RECORD(DECL_CXX_CONVERSION); in WriteBlockInfoBlock()
1060 RECORD(DECL_ACCESS_SPEC); in WriteBlockInfoBlock()
1061 RECORD(DECL_FRIEND); in WriteBlockInfoBlock()
1062 RECORD(DECL_FRIEND_TEMPLATE); in WriteBlockInfoBlock()
1063 RECORD(DECL_CLASS_TEMPLATE); in WriteBlockInfoBlock()
1064 RECORD(DECL_CLASS_TEMPLATE_SPECIALIZATION); in WriteBlockInfoBlock()
1065 RECORD(DECL_CLASS_TEMPLATE_PARTIAL_SPECIALIZATION); in WriteBlockInfoBlock()
1066 RECORD(DECL_VAR_TEMPLATE); in WriteBlockInfoBlock()
1067 RECORD(DECL_VAR_TEMPLATE_SPECIALIZATION); in WriteBlockInfoBlock()
1068 RECORD(DECL_VAR_TEMPLATE_PARTIAL_SPECIALIZATION); in WriteBlockInfoBlock()
1069 RECORD(DECL_FUNCTION_TEMPLATE); in WriteBlockInfoBlock()
1070 RECORD(DECL_TEMPLATE_TYPE_PARM); in WriteBlockInfoBlock()
1071 RECORD(DECL_NON_TYPE_TEMPLATE_PARM); in WriteBlockInfoBlock()
1072 RECORD(DECL_TEMPLATE_TEMPLATE_PARM); in WriteBlockInfoBlock()
1073 RECORD(DECL_CONCEPT); in WriteBlockInfoBlock()
1074 RECORD(DECL_REQUIRES_EXPR_BODY); in WriteBlockInfoBlock()
1075 RECORD(DECL_TYPE_ALIAS_TEMPLATE); in WriteBlockInfoBlock()
1076 RECORD(DECL_STATIC_ASSERT); in WriteBlockInfoBlock()
1077 RECORD(DECL_CXX_BASE_SPECIFIERS); in WriteBlockInfoBlock()
1078 RECORD(DECL_CXX_CTOR_INITIALIZERS); in WriteBlockInfoBlock()
1079 RECORD(DECL_INDIRECTFIELD); in WriteBlockInfoBlock()
1080 RECORD(DECL_EXPANDED_NON_TYPE_TEMPLATE_PARM_PACK); in WriteBlockInfoBlock()
1081 RECORD(DECL_EXPANDED_TEMPLATE_TEMPLATE_PARM_PACK); in WriteBlockInfoBlock()
1082 RECORD(DECL_IMPORT); in WriteBlockInfoBlock()
1083 RECORD(DECL_OMP_THREADPRIVATE); in WriteBlockInfoBlock()
1084 RECORD(DECL_EMPTY); in WriteBlockInfoBlock()
1085 RECORD(DECL_OBJC_TYPE_PARAM); in WriteBlockInfoBlock()
1086 RECORD(DECL_OMP_CAPTUREDEXPR); in WriteBlockInfoBlock()
1087 RECORD(DECL_PRAGMA_COMMENT); in WriteBlockInfoBlock()
1088 RECORD(DECL_PRAGMA_DETECT_MISMATCH); in WriteBlockInfoBlock()
1089 RECORD(DECL_OMP_DECLARE_REDUCTION); in WriteBlockInfoBlock()
1090 RECORD(DECL_OMP_ALLOCATE); in WriteBlockInfoBlock()
1091 RECORD(DECL_HLSL_BUFFER); in WriteBlockInfoBlock()
1094 AddStmtsExprs(Stream, Record); in WriteBlockInfoBlock()
1097 RECORD(PPD_MACRO_EXPANSION); in WriteBlockInfoBlock()
1098 RECORD(PPD_MACRO_DEFINITION); in WriteBlockInfoBlock()
1099 RECORD(PPD_INCLUSION_DIRECTIVE); in WriteBlockInfoBlock()
1103 RECORD(EXTENSION_METADATA); in WriteBlockInfoBlock()
1106 RECORD(SIGNATURE); in WriteBlockInfoBlock()
1107 RECORD(AST_BLOCK_HASH); in WriteBlockInfoBlock()
1108 RECORD(DIAGNOSTIC_OPTIONS); in WriteBlockInfoBlock()
1109 RECORD(HEADER_SEARCH_PATHS); in WriteBlockInfoBlock()
1110 RECORD(DIAG_PRAGMA_MAPPINGS); in WriteBlockInfoBlock()
1112 #undef RECORD in WriteBlockInfoBlock()
1221 // get that naturally since we won't record the body of `a()` during the in createSignatureForNamedModule()
1274 RecordData Record; in writeUnhashedControlBlock() local
1286 // The bitstream VBR-encodes record elements, which makes backpatching them in writeUnhashedControlBlock()
1299 Record.push_back(AST_BLOCK_HASH); in writeUnhashedControlBlock()
1300 Stream.EmitRecordWithBlob(ASTBlockHashAbbrev, Record, Blob); in writeUnhashedControlBlock()
1302 Record.clear(); in writeUnhashedControlBlock()
1310 Record.push_back(SIGNATURE); in writeUnhashedControlBlock()
1311 Stream.EmitRecordWithBlob(SignatureAbbrev, Record, Blob); in writeUnhashedControlBlock()
1313 Record.clear(); in writeUnhashedControlBlock()
1322 #define DIAGOPT(Name, Bits, Default) Record.push_back(DiagOpts.Name); in writeUnhashedControlBlock()
1324 Record.push_back(static_cast<unsigned>(DiagOpts.get##Name())); in writeUnhashedControlBlock()
1326 Record.push_back(DiagOpts.Warnings.size()); in writeUnhashedControlBlock()
1328 AddString(DiagOpts.Warnings[I], Record); in writeUnhashedControlBlock()
1329 Record.push_back(DiagOpts.Remarks.size()); in writeUnhashedControlBlock()
1331 AddString(DiagOpts.Remarks[I], Record); in writeUnhashedControlBlock()
1334 Stream.EmitRecord(DIAGNOSTIC_OPTIONS, Record); in writeUnhashedControlBlock()
1335 Record.clear(); in writeUnhashedControlBlock()
1341 Record.push_back(HSOpts.UserEntries.size()); in writeUnhashedControlBlock()
1344 AddString(Entry.Path, Record); in writeUnhashedControlBlock()
1345 Record.push_back(static_cast<unsigned>(Entry.Group)); in writeUnhashedControlBlock()
1346 Record.push_back(Entry.IsFramework); in writeUnhashedControlBlock()
1347 Record.push_back(Entry.IgnoreSysRoot); in writeUnhashedControlBlock()
1351 Record.push_back(HSOpts.SystemHeaderPrefixes.size()); in writeUnhashedControlBlock()
1353 AddString(HSOpts.SystemHeaderPrefixes[I].Prefix, Record); in writeUnhashedControlBlock()
1354 Record.push_back(HSOpts.SystemHeaderPrefixes[I].IsSystemHeader); in writeUnhashedControlBlock()
1358 Record.push_back(HSOpts.VFSOverlayFiles.size()); in writeUnhashedControlBlock()
1360 AddString(VFSOverlayFile, Record); in writeUnhashedControlBlock()
1362 Stream.EmitRecord(HEADER_SEARCH_PATHS, Record); in writeUnhashedControlBlock()
1376 RecordData::value_type Record[] = {HEADER_SEARCH_ENTRY_USAGE, in writeUnhashedControlBlock() local
1378 Stream.EmitRecordWithBlob(HSUsageAbbrevCode, Record, bytes(HSEntryUsage)); in writeUnhashedControlBlock()
1389 RecordData::value_type Record[] = {VFS_USAGE, VFSUsage.size()}; in writeUnhashedControlBlock() local
1390 Stream.EmitRecordWithBlob(VFSUsageAbbrevCode, Record, bytes(VFSUsage)); in writeUnhashedControlBlock()
1404 RecordData Record; in WriteControlBlock() local
1423 RecordData::value_type Record[] = {METADATA, in WriteControlBlock() local
1432 Stream.EmitRecordWithBlob(MetadataAbbrevCode, Record, in WriteControlBlock()
1442 RecordData::value_type Record[] = {MODULE_NAME}; in WriteControlBlock() local
1443 Stream.EmitRecordWithBlob(AbbrevCode, Record, WritingModule->Name); in WriteControlBlock()
1473 RecordData::value_type Record[] = {MODULE_DIRECTORY}; in WriteControlBlock() local
1474 Stream.EmitRecordWithBlob(AbbrevCode, Record, BaseDir); in WriteControlBlock()
1486 Record.clear(); in WriteControlBlock()
1493 Record); in WriteControlBlock()
1498 Record.push_back(AdditionalModMaps->size()); in WriteControlBlock()
1505 AddPath(F.getName(), Record); in WriteControlBlock()
1507 Record.push_back(0); in WriteControlBlock()
1510 Stream.EmitRecord(MODULE_MAP_FILE, Record); in WriteControlBlock()
1516 Record.clear(); in WriteControlBlock()
1523 Record.push_back((unsigned)M.Kind); // FIXME: Stable encoding in WriteControlBlock()
1524 Record.push_back(M.StandardCXXModule); in WriteControlBlock()
1525 AddSourceLocation(M.ImportLoc, Record); in WriteControlBlock()
1532 Record.push_back(M.Signature ? 0 : M.File.getSize()); in WriteControlBlock()
1533 Record.push_back(M.Signature ? 0 : getTimestampForOutput(M.File)); in WriteControlBlock()
1534 llvm::append_range(Record, M.Signature); in WriteControlBlock()
1537 AddString(M.ModuleName, Record); in WriteControlBlock()
1540 AddPath(M.FileName, Record); in WriteControlBlock()
1542 Stream.EmitRecord(IMPORTS, Record); in WriteControlBlock()
1549 Record.clear(); in WriteControlBlock()
1552 Record.push_back(LangOpts.Name); in WriteControlBlock()
1554 Record.push_back(static_cast<unsigned>(LangOpts.get##Name())); in WriteControlBlock()
1557 Record.push_back(LangOpts.Sanitize.has(SanitizerKind::ID)); in WriteControlBlock()
1560 Record.push_back(LangOpts.ModuleFeatures.size()); in WriteControlBlock()
1562 AddString(Feature, Record); in WriteControlBlock()
1564 Record.push_back((unsigned) LangOpts.ObjCRuntime.getKind()); in WriteControlBlock()
1565 AddVersionTuple(LangOpts.ObjCRuntime.getVersion(), Record); in WriteControlBlock()
1567 AddString(LangOpts.CurrentModule, Record); in WriteControlBlock()
1570 Record.push_back(LangOpts.CommentOpts.BlockCommandNames.size()); in WriteControlBlock()
1572 AddString(I, Record); in WriteControlBlock()
1574 Record.push_back(LangOpts.CommentOpts.ParseAllComments); in WriteControlBlock()
1577 Record.push_back(LangOpts.OMPTargetTriples.size()); in WriteControlBlock()
1579 AddString(T.getTriple(), Record); in WriteControlBlock()
1581 AddString(LangOpts.OMPHostIRFile, Record); in WriteControlBlock()
1583 Stream.EmitRecord(LANGUAGE_OPTIONS, Record); in WriteControlBlock()
1586 Record.clear(); in WriteControlBlock()
1589 AddString(TargetOpts.Triple, Record); in WriteControlBlock()
1590 AddString(TargetOpts.CPU, Record); in WriteControlBlock()
1591 AddString(TargetOpts.TuneCPU, Record); in WriteControlBlock()
1592 AddString(TargetOpts.ABI, Record); in WriteControlBlock()
1593 Record.push_back(TargetOpts.FeaturesAsWritten.size()); in WriteControlBlock()
1595 AddString(TargetOpts.FeaturesAsWritten[I], Record); in WriteControlBlock()
1597 Record.push_back(TargetOpts.Features.size()); in WriteControlBlock()
1599 AddString(TargetOpts.Features[I], Record); in WriteControlBlock()
1601 Stream.EmitRecord(TARGET_OPTIONS, Record); in WriteControlBlock()
1604 Record.clear(); in WriteControlBlock()
1607 AddString(FSOpts.WorkingDir, Record); in WriteControlBlock()
1608 Stream.EmitRecord(FILE_SYSTEM_OPTIONS, Record); in WriteControlBlock()
1611 Record.clear(); in WriteControlBlock()
1615 AddString(HSOpts.Sysroot, Record); in WriteControlBlock()
1616 AddString(HSOpts.ResourceDir, Record); in WriteControlBlock()
1617 AddString(HSOpts.ModuleCachePath, Record); in WriteControlBlock()
1618 AddString(HSOpts.ModuleUserBuildPath, Record); in WriteControlBlock()
1619 Record.push_back(HSOpts.DisableModuleHash); in WriteControlBlock()
1620 Record.push_back(HSOpts.ImplicitModuleMaps); in WriteControlBlock()
1621 Record.push_back(HSOpts.ModuleMapFileHomeIsCwd); in WriteControlBlock()
1622 Record.push_back(HSOpts.EnablePrebuiltImplicitModules); in WriteControlBlock()
1623 Record.push_back(HSOpts.UseBuiltinIncludes); in WriteControlBlock()
1624 Record.push_back(HSOpts.UseStandardSystemIncludes); in WriteControlBlock()
1625 Record.push_back(HSOpts.UseStandardCXXIncludes); in WriteControlBlock()
1626 Record.push_back(HSOpts.UseLibcxx); in WriteControlBlock()
1628 AddString(PP.getHeaderSearchInfo().getModuleCachePath(), Record); in WriteControlBlock()
1629 Stream.EmitRecord(HEADER_SEARCH_OPTIONS, Record); in WriteControlBlock()
1632 Record.clear(); in WriteControlBlock()
1640 Record.push_back(WriteMacros); in WriteControlBlock()
1643 Record.push_back(PPOpts.Macros.size()); in WriteControlBlock()
1645 AddString(PPOpts.Macros[I].first, Record); in WriteControlBlock()
1646 Record.push_back(PPOpts.Macros[I].second); in WriteControlBlock()
1651 Record.push_back(PPOpts.Includes.size()); in WriteControlBlock()
1653 AddString(PPOpts.Includes[I], Record); in WriteControlBlock()
1656 Record.push_back(PPOpts.MacroIncludes.size()); in WriteControlBlock()
1658 AddString(PPOpts.MacroIncludes[I], Record); in WriteControlBlock()
1660 Record.push_back(PPOpts.UsePredefines); in WriteControlBlock()
1661 // Detailed record is important since it is used for the module cache hash. in WriteControlBlock()
1662 Record.push_back(PPOpts.DetailedRecord); in WriteControlBlock()
1663 AddString(PPOpts.ImplicitPCHInclude, Record); in WriteControlBlock()
1664 Record.push_back(static_cast<unsigned>(PPOpts.ObjCXXARCStandardLibrary)); in WriteControlBlock()
1665 Stream.EmitRecord(PREPROCESSOR_OPTIONS, Record); in WriteControlBlock()
1679 Record.clear(); in WriteControlBlock()
1680 Record.push_back(ORIGINAL_FILE); in WriteControlBlock()
1681 AddFileID(SM.getMainFileID(), Record); in WriteControlBlock()
1682 EmitRecordWithPath(FileAbbrevCode, Record, MainFile->getName()); in WriteControlBlock()
1685 Record.clear(); in WriteControlBlock()
1686 AddFileID(SM.getMainFileID(), Record); in WriteControlBlock()
1687 Stream.EmitRecord(ORIGINAL_FILE_ID, Record); in WriteControlBlock()
1810 // Record this entry's offset. in WriteInputFiles()
1830 RecordData::value_type Record[] = { in WriteInputFiles() local
1841 Stream.EmitRecordWithBlob(IFAbbrevCode, Record, in WriteInputFiles()
1847 RecordData::value_type Record[] = {INPUT_FILE_HASH, Entry.ContentHash[0], in WriteInputFiles() local
1849 Stream.EmitRecordWithAbbrev(IFHAbbrevCode, Record); in WriteInputFiles()
1865 RecordData::value_type Record[] = {INPUT_FILE_OFFSETS, in WriteInputFiles() local
1867 Stream.EmitRecordWithBlob(OffsetsAbbrevCode, Record, bytes(InputFileOffsets)); in WriteInputFiles()
2208 RecordData::value_type Record[] = {HEADER_SEARCH_TABLE, BucketOffset, in WriteHeaderSearch() local
2211 Stream.EmitRecordWithBlob(TableAbbrev, Record, TableData); in WriteHeaderSearch()
2229 RecordDataType Record[] = {SM_SLOC_BUFFER_BLOB_COMPRESSED, Blob.size() - 1}; in emitBlob() local
2230 Stream.EmitRecordWithBlob(SLocBufferBlobCompressedAbbrv, Record, in emitBlob()
2237 RecordDataType Record[] = {SM_SLOC_BUFFER_BLOB_COMPRESSED, Blob.size() - 1}; in emitBlob() local
2238 Stream.EmitRecordWithBlob(SLocBufferBlobCompressedAbbrv, Record, in emitBlob()
2243 RecordDataType Record[] = {SM_SLOC_BUFFER_BLOB}; in emitBlob() local
2244 Stream.EmitRecordWithBlob(SLocBufferBlobAbbrv, Record, Blob); in emitBlob()
2257 RecordData Record; in WriteSourceManagerBlock() local
2283 // Record the offset of this source-location entry. in WriteSourceManagerBlock()
2287 // Figure out which record code to use. in WriteSourceManagerBlock()
2297 Record.clear(); in WriteSourceManagerBlock()
2298 Record.push_back(Code); in WriteSourceManagerBlock()
2308 Record.push_back(getAdjustedOffset(SLoc->getOffset()) - 2); in WriteSourceManagerBlock()
2309 AddSourceLocation(getAffectingIncludeLoc(SourceMgr, File), Record); in WriteSourceManagerBlock()
2310 Record.push_back(File.getFileCharacteristic()); // FIXME: stable encoding in WriteSourceManagerBlock()
2311 Record.push_back(File.hasLineDirectives()); in WriteSourceManagerBlock()
2320 Record.push_back(InputFileIDs[*Content->OrigEntry]); in WriteSourceManagerBlock()
2322 Record.push_back(getAdjustedNumCreatedFIDs(FID)); in WriteSourceManagerBlock()
2326 Record.push_back(FDI->second->FirstDeclIndex); in WriteSourceManagerBlock()
2327 Record.push_back(FDI->second->DeclIDs.size()); in WriteSourceManagerBlock()
2329 Record.push_back(0); in WriteSourceManagerBlock()
2330 Record.push_back(0); in WriteSourceManagerBlock()
2333 Stream.EmitRecordWithAbbrev(SLocFileAbbrv, Record); in WriteSourceManagerBlock()
2347 Stream.EmitRecordWithBlob(SLocBufferAbbrv, Record, in WriteSourceManagerBlock()
2368 Record.push_back(getAdjustedOffset(SLoc->getOffset()) - 2); in WriteSourceManagerBlock()
2370 AddSourceLocation(Expansion.getSpellingLoc(), Record, Seq); in WriteSourceManagerBlock()
2371 AddSourceLocation(Expansion.getExpansionLocStart(), Record, Seq); in WriteSourceManagerBlock()
2375 Record, Seq); in WriteSourceManagerBlock()
2376 Record.push_back(Expansion.isExpansionTokenRange()); in WriteSourceManagerBlock()
2382 Record.push_back(getAdjustedOffset(NextOffset - SLoc->getOffset()) - 1); in WriteSourceManagerBlock()
2383 Stream.EmitRecordWithAbbrev(SLocExpansionAbbrv, Record); in WriteSourceManagerBlock()
2404 RecordData::value_type Record[] = { in WriteSourceManagerBlock() local
2408 Stream.EmitRecordWithBlob(SLocOffsetsAbbrev, Record, in WriteSourceManagerBlock()
2417 Record.clear(); in WriteSourceManagerBlock()
2428 AddPath(LineTable.getFilename(LE.FilenameID), Record); in WriteSourceManagerBlock()
2431 Record.push_back(0); in WriteSourceManagerBlock()
2439 AddFileID(L.first, Record); in WriteSourceManagerBlock()
2442 Record.push_back(L.second.size()); in WriteSourceManagerBlock()
2444 Record.push_back(LE.FileOffset); in WriteSourceManagerBlock()
2445 Record.push_back(LE.LineNo); in WriteSourceManagerBlock()
2446 Record.push_back(FilenameMap[LE.FilenameID]); in WriteSourceManagerBlock()
2447 Record.push_back((unsigned)LE.FileKind); in WriteSourceManagerBlock()
2448 Record.push_back(LE.IncludeOffset); in WriteSourceManagerBlock()
2452 Stream.EmitRecord(SOURCE_MANAGER_LINE_TABLE, Record); in WriteSourceManagerBlock()
2486 RecordData Record; in WritePreprocessor() local
2491 RecordData::value_type Record[] = {PP.getCounterValue()}; in WritePreprocessor() local
2492 Stream.EmitRecord(PP_COUNTER_VALUE, Record); in WritePreprocessor()
2501 AddSourceLocation(AssumeNonNullLoc, Record); in WritePreprocessor()
2502 Stream.EmitRecord(PP_ASSUME_NONNULL_LOC, Record); in WritePreprocessor()
2503 Record.clear(); in WritePreprocessor()
2510 Record.push_back(true); in WritePreprocessor()
2511 AddSourceLocation(SkipInfo->HashTokenLoc, Record); in WritePreprocessor()
2512 AddSourceLocation(SkipInfo->IfTokenLoc, Record); in WritePreprocessor()
2513 Record.push_back(SkipInfo->FoundNonSkipPortion); in WritePreprocessor()
2514 Record.push_back(SkipInfo->FoundElse); in WritePreprocessor()
2515 AddSourceLocation(SkipInfo->ElseLoc, Record); in WritePreprocessor()
2517 Record.push_back(false); in WritePreprocessor()
2520 AddSourceLocation(Cond.IfLoc, Record); in WritePreprocessor()
2521 Record.push_back(Cond.WasSkipping); in WritePreprocessor()
2522 Record.push_back(Cond.FoundNonSkip); in WritePreprocessor()
2523 Record.push_back(Cond.FoundElse); in WritePreprocessor()
2525 Stream.EmitRecord(PP_CONDITIONAL_STACK, Record); in WritePreprocessor()
2526 Record.clear(); in WritePreprocessor()
2531 AddSourceLocation(S, Record); in WritePreprocessor()
2532 Stream.EmitRecord(PP_UNSAFE_BUFFER_USAGE, Record); in WritePreprocessor()
2533 Record.clear(); in WritePreprocessor()
2584 AddSourceLocation(MD->getLocation(), Record); in WritePreprocessor()
2585 Record.push_back(MD->getKind()); in WritePreprocessor()
2587 Record.push_back(getMacroRef(DefMD->getInfo(), Name)); in WritePreprocessor()
2589 Record.push_back(VisMD->isPublic()); in WritePreprocessor()
2603 AddSourceLocation(MD->getLocation(), Record); in WritePreprocessor()
2604 Record.push_back(MD->getKind()); in WritePreprocessor()
2606 Record.push_back(getMacroRef(DefMD->getInfo(), Name)); in WritePreprocessor()
2608 Record.push_back(VisMD->isPublic()); in WritePreprocessor()
2619 // Emit a record indicating this submodule exports this macro. in WritePreprocessor()
2636 if (Record.empty() && !EmittedModuleMacros) in WritePreprocessor()
2640 Stream.EmitRecord(PP_MACRO_DIRECTIVE_HISTORY, Record); in WritePreprocessor()
2641 Record.clear(); in WritePreprocessor()
2662 // Record the local offset of this macro. in WritePreprocessor()
2671 AddIdentifierRef(Name, Record); in WritePreprocessor()
2672 AddSourceLocation(MI->getDefinitionLoc(), Record); in WritePreprocessor()
2673 AddSourceLocation(MI->getDefinitionEndLoc(), Record); in WritePreprocessor()
2674 Record.push_back(MI->isUsed()); in WritePreprocessor()
2675 Record.push_back(MI->isUsedForHeaderGuard()); in WritePreprocessor()
2676 Record.push_back(MI->getNumTokens()); in WritePreprocessor()
2683 Record.push_back(MI->isC99Varargs()); in WritePreprocessor()
2684 Record.push_back(MI->isGNUVarargs()); in WritePreprocessor()
2685 Record.push_back(MI->hasCommaPasting()); in WritePreprocessor()
2686 Record.push_back(MI->getNumParams()); in WritePreprocessor()
2688 AddIdentifierRef(Param, Record); in WritePreprocessor()
2691 // If we have a detailed preprocessing record, record the macro definition in WritePreprocessor()
2694 Record.push_back(MacroDefinitions[PPRec->findMacroDefinition(MI)]); in WritePreprocessor()
2696 Stream.EmitRecord(Code, Record); in WritePreprocessor()
2697 Record.clear(); in WritePreprocessor()
2705 AddToken(Tok, Record); in WritePreprocessor()
2706 Stream.EmitRecord(PP_TOKEN, Record); in WritePreprocessor()
2707 Record.clear(); in WritePreprocessor()
2726 RecordData::value_type Record[] = {MACRO_OFFSET, MacroOffsets.size(), in WritePreprocessor() local
2729 Stream.EmitRecordWithBlob(MacroOffsetAbbrev, Record, bytes(MacroOffsets)); in WritePreprocessor()
2743 // If the preprocessor has a preprocessing record, emit it. in WritePreprocessorDetail()
2764 RecordData Record; in WritePreprocessorDetail() local
2769 Record.clear(); in WritePreprocessorDetail()
2779 // Record this macro definition's ID. in WritePreprocessorDetail()
2782 AddIdentifierRef(MD->getName(), Record); in WritePreprocessorDetail()
2783 Stream.EmitRecord(PPD_MACRO_DEFINITION, Record); in WritePreprocessorDetail()
2788 Record.push_back(ME->isBuiltinMacro()); in WritePreprocessorDetail()
2790 AddIdentifierRef(ME->getName(), Record); in WritePreprocessorDetail()
2792 Record.push_back(MacroDefinitions[ME->getDefinition()]); in WritePreprocessorDetail()
2793 Stream.EmitRecord(PPD_MACRO_EXPANSION, Record); in WritePreprocessorDetail()
2798 Record.push_back(PPD_INCLUSION_DIRECTIVE); in WritePreprocessorDetail()
2799 Record.push_back(ID->getFileName().size()); in WritePreprocessorDetail()
2800 Record.push_back(ID->wasInQuotes()); in WritePreprocessorDetail()
2801 Record.push_back(static_cast<unsigned>(ID->getKind())); in WritePreprocessorDetail()
2802 Record.push_back(ID->importedModule()); in WritePreprocessorDetail()
2809 Stream.EmitRecordWithBlob(InclusionAbbrev, Record, Buffer); in WritePreprocessorDetail()
2817 // Write the offsets table for the preprocessing record. in WritePreprocessorDetail()
2830 RecordData::value_type Record[] = {PPD_ENTITIES_OFFSETS, in WritePreprocessorDetail() local
2833 Stream.EmitRecordWithBlob(PPEOffsetAbbrev, Record, in WritePreprocessorDetail()
2837 // Write the skipped region table for the preprocessing record. in WritePreprocessorDetail()
2853 Record.clear(); in WritePreprocessorDetail()
2854 Record.push_back(PPD_SKIPPED_RANGES); in WritePreprocessorDetail()
2855 Stream.EmitRecordWithBlob(PPESkippedRangeAbbrev, Record, in WritePreprocessorDetail()
2992 RecordData::value_type Record[] = { in WriteSubmodules() local
2995 Stream.EmitRecord(SUBMODULE_METADATA, Record); in WriteSubmodules()
3016 RecordData::value_type Record[] = {SUBMODULE_DEFINITION, in WriteSubmodules() local
3031 Stream.EmitRecordWithBlob(DefinitionAbbrev, Record, Mod->Name); in WriteSubmodules()
3036 RecordData::value_type Record[] = {SUBMODULE_REQUIRES, R.RequiredState}; in WriteSubmodules() local
3037 Stream.EmitRecordWithBlob(RequiresAbbrev, Record, R.FeatureName); in WriteSubmodules()
3043 RecordData::value_type Record[] = {SUBMODULE_UMBRELLA_HEADER}; in WriteSubmodules() local
3044 Stream.EmitRecordWithBlob(UmbrellaAbbrev, Record, in WriteSubmodules()
3048 RecordData::value_type Record[] = {SUBMODULE_UMBRELLA_DIR}; in WriteSubmodules() local
3049 Stream.EmitRecordWithBlob(UmbrellaDirAbbrev, Record, in WriteSubmodules()
3067 RecordData::value_type Record[] = {HL.RecordKind}; in WriteSubmodules() local
3069 Stream.EmitRecordWithBlob(HL.Abbrev, Record, H.NameAsWritten); in WriteSubmodules()
3074 RecordData::value_type Record[] = {SUBMODULE_TOPHEADER}; in WriteSubmodules() local
3078 Stream.EmitRecordWithBlob(TopHeaderAbbrev, Record, HeaderName); in WriteSubmodules()
3084 RecordData Record; in WriteSubmodules() local
3086 Record.push_back(getSubmoduleID(I)); in WriteSubmodules()
3087 Stream.EmitRecord(SUBMODULE_IMPORTS, Record); in WriteSubmodules()
3092 RecordData Record; in WriteSubmodules() local
3094 Record.push_back(getSubmoduleID(I)); in WriteSubmodules()
3095 Stream.EmitRecord(SUBMODULE_AFFECTING_MODULES, Record); in WriteSubmodules()
3100 RecordData Record; in WriteSubmodules() local
3104 Record.push_back(getSubmoduleID(E.getPointer())); in WriteSubmodules()
3105 Record.push_back(E.getInt()); in WriteSubmodules()
3107 Stream.EmitRecord(SUBMODULE_EXPORTS, Record); in WriteSubmodules()
3118 RecordData::value_type Record[] = {SUBMODULE_LINK_LIBRARY, in WriteSubmodules() local
3120 Stream.EmitRecordWithBlob(LinkLibraryAbbrev, Record, LL.Library); in WriteSubmodules()
3127 RecordData::value_type Record[] = {SUBMODULE_CONFLICT, in WriteSubmodules() local
3129 Stream.EmitRecordWithBlob(ConflictAbbrev, Record, C.Message); in WriteSubmodules()
3134 RecordData::value_type Record[] = {SUBMODULE_CONFIG_MACRO}; in WriteSubmodules() local
3135 Stream.EmitRecordWithBlob(ConfigMacroAbbrev, Record, CM); in WriteSubmodules()
3149 RecordData::value_type Record[] = {SUBMODULE_EXPORT_AS}; in WriteSubmodules() local
3150 Stream.EmitRecordWithBlob(ExportAsAbbrev, Record, Mod->ExportAsModule); in WriteSubmodules()
3171 RecordData Record; in WritePragmaDiagnosticMappings() local
3185 Record.push_back(Flags); in WritePragmaDiagnosticMappings()
3200 Record.push_back(DiagStateID); in WritePragmaDiagnosticMappings()
3207 auto SizeIdx = Record.size(); in WritePragmaDiagnosticMappings()
3208 Record.emplace_back(); in WritePragmaDiagnosticMappings()
3225 Record.push_back(I.first); in WritePragmaDiagnosticMappings()
3226 Record.push_back(I.second.serialize()); in WritePragmaDiagnosticMappings()
3229 Record[SizeIdx] = (Record.size() - SizeIdx) / 2; in WritePragmaDiagnosticMappings()
3236 auto NumLocationsIdx = Record.size(); in WritePragmaDiagnosticMappings()
3237 Record.emplace_back(); in WritePragmaDiagnosticMappings()
3247 AddFileID(FileIDAndFile.first, Record); in WritePragmaDiagnosticMappings()
3249 Record.push_back(FileIDAndFile.second.StateTransitions.size()); in WritePragmaDiagnosticMappings()
3251 Record.push_back(getAdjustedOffset(StatePoint.Offset)); in WritePragmaDiagnosticMappings()
3257 Record[NumLocationsIdx] = NumLocations; in WritePragmaDiagnosticMappings()
3265 AddSourceLocation(Diag.DiagStatesByLoc.CurDiagStateLoc, Record); in WritePragmaDiagnosticMappings()
3268 Stream.EmitRecord(DIAG_PRAGMA_MAPPINGS, Record); in WritePragmaDiagnosticMappings()
3288 // Record the offset for this type. in WriteType()
3349 RecordData::value_type Record[] = {DECL_CONTEXT_LEXICAL}; in WriteDeclContextLexicalBlock() local
3350 Stream.EmitRecordWithBlob(DeclContextLexicalAbbrev, Record, in WriteDeclContextLexicalBlock()
3365 RecordData::value_type Record[] = {TYPE_OFFSET, TypeOffsets.size()}; in WriteTypeDeclOffsets() local
3366 Stream.EmitRecordWithBlob(TypeOffsetAbbrev, Record, bytes(TypeOffsets)); in WriteTypeDeclOffsets()
3376 RecordData::value_type Record[] = {DECL_OFFSET, DeclOffsets.size()}; in WriteTypeDeclOffsets() local
3377 Stream.EmitRecordWithBlob(DeclOffsetAbbrev, Record, bytes(DeclOffsets)); in WriteTypeDeclOffsets()
3405 RecordData::value_type Record[] = {FILE_SORTED_DECLS, in WriteFileDeclIDsMap() local
3407 Stream.EmitRecordWithBlob(AbbrevCode, Record, bytes(FileGroupedDeclIDs)); in WriteFileDeclIDsMap()
3422 RecordData Record; in WriteComments() local
3426 Record.clear(); in WriteComments()
3427 AddSourceRange(I->getSourceRange(), Record); in WriteComments()
3428 Record.push_back(I->getKind()); in WriteComments()
3429 Record.push_back(I->isTrailingComment()); in WriteComments()
3430 Record.push_back(I->isAlmostTrailingComment()); in WriteComments()
3431 Stream.EmitRecord(COMMENTS_RAW_COMMENT, Record); in WriteComments()
3641 RecordData::value_type Record[] = {METHOD_POOL, BucketOffset, in WriteSelectors() local
3643 Stream.EmitRecordWithBlob(MethodPoolAbbrev, Record, MethodPool); in WriteSelectors()
3656 RecordData::value_type Record[] = { in WriteSelectors() local
3659 Stream.EmitRecordWithBlob(SelectorOffsetAbbrev, Record, in WriteSelectors()
3672 RecordData Record; in WriteReferencedSelectorsPool() local
3673 ASTRecordWriter Writer(*this, Record); in WriteReferencedSelectorsPool()
3803 // Record the location of the identifier data. This is used when generating in EmitKeyDataLength()
3938 RecordData::value_type Record[] = {IDENTIFIER_TABLE, BucketOffset}; in WriteIdentifierTable() local
3939 Stream.EmitRecordWithBlob(IDTableAbbrev, Record, IdentifierTable); in WriteIdentifierTable()
3954 RecordData::value_type Record[] = {IDENTIFIER_OFFSET, in WriteIdentifierTable() local
3956 Stream.EmitRecordWithBlob(IdentifierOffsetAbbrev, Record, in WriteIdentifierTable()
4130 /// need to record the result in the current being written module. Return false
4348 // lookup results as an update record for it rather than including them in WriteDeclContextVisibleBlock()
4358 // Note that we need to emit an update record for the primary context. in WriteDeclContextVisibleBlock()
4435 RecordData::value_type Record[] = {DECL_CONTEXT_VISIBLE}; in WriteDeclContextVisibleBlock() local
4436 Stream.EmitRecordWithBlob(DeclContextVisibleLookupAbbrev, Record, in WriteDeclContextVisibleBlock()
4458 // update record; those are the only ones that will be checked on reload. in WriteDeclContextVisibleUpdate()
4463 RecordData::value_type Record[] = {UPDATE_VISIBLE, in WriteDeclContextVisibleUpdate() local
4465 Stream.EmitRecordWithBlob(UpdateVisibleAbbrev, Record, LookupTable); in WriteDeclContextVisibleUpdate()
4470 RecordData::value_type Record[] = {Opts.getAsOpaqueInt()}; in WriteFPPragmaOptions() local
4471 Stream.EmitRecord(FP_PRAGMA_OPTIONS, Record); in WriteFPPragmaOptions()
4480 RecordData Record; in WriteOpenCLExtensions() local
4482 AddString(I.getKey(), Record); in WriteOpenCLExtensions()
4484 Record.push_back(V.Supported ? 1 : 0); in WriteOpenCLExtensions()
4485 Record.push_back(V.Enabled ? 1 : 0); in WriteOpenCLExtensions()
4486 Record.push_back(V.WithPragma ? 1 : 0); in WriteOpenCLExtensions()
4487 Record.push_back(V.Avail); in WriteOpenCLExtensions()
4488 Record.push_back(V.Core); in WriteOpenCLExtensions()
4489 Record.push_back(V.Opt); in WriteOpenCLExtensions()
4491 Stream.EmitRecord(OPENCL_EXTENSIONS, Record); in WriteOpenCLExtensions()
4495 RecordData::value_type Record[] = {SemaRef.CUDA().ForceHostDeviceDepth}; in WriteCUDAPragmas() local
4496 Stream.EmitRecord(CUDA_PRAGMA_FORCE_HOST_DEVICE_DEPTH, Record); in WriteCUDAPragmas()
4525 // Record this interface -> category map. in WriteObjCCategories()
4543 RecordData::value_type Record[] = {OBJC_CATEGORIES_MAP, CategoriesMap.size()}; in WriteObjCCategories() local
4544 Stream.EmitRecordWithBlob(AbbrevID, Record, in WriteObjCCategories()
4558 RecordData Record; in WriteLateParsedTemplates() local
4562 AddDeclRef(FD, Record); in WriteLateParsedTemplates()
4563 AddDeclRef(LPT.D, Record); in WriteLateParsedTemplates()
4564 Record.push_back(LPT.FPO.getAsOpaqueInt()); in WriteLateParsedTemplates()
4565 Record.push_back(LPT.Toks.size()); in WriteLateParsedTemplates()
4568 AddToken(Tok, Record); in WriteLateParsedTemplates()
4571 Stream.EmitRecord(LATE_PARSED_TEMPLATE, Record); in WriteLateParsedTemplates()
4576 RecordData Record; in WriteOptimizePragmaOptions() local
4578 AddSourceLocation(PragmaLoc, Record); in WriteOptimizePragmaOptions()
4579 Stream.EmitRecord(OPTIMIZE_PRAGMA_OPTIONS, Record); in WriteOptimizePragmaOptions()
4584 RecordData Record; in WriteMSStructPragmaOptions() local
4585 Record.push_back(SemaRef.MSStructPragmaOn ? PMSST_ON : PMSST_OFF); in WriteMSStructPragmaOptions()
4586 Stream.EmitRecord(MSSTRUCT_PRAGMA_OPTIONS, Record); in WriteMSStructPragmaOptions()
4592 RecordData Record; in WriteMSPointersToMembersPragmaOptions() local
4593 Record.push_back(SemaRef.MSPointerToMemberRepresentationMethod); in WriteMSPointersToMembersPragmaOptions()
4594 AddSourceLocation(SemaRef.ImplicitMSInheritanceAttrLoc, Record); in WriteMSPointersToMembersPragmaOptions()
4595 Stream.EmitRecord(POINTERS_TO_MEMBERS_PRAGMA_OPTIONS, Record); in WriteMSPointersToMembersPragmaOptions()
4605 RecordData Record; in WritePackPragmaOptions() local
4606 AddAlignPackInfo(SemaRef.AlignPackStack.CurrentValue, Record); in WritePackPragmaOptions()
4607 AddSourceLocation(SemaRef.AlignPackStack.CurrentPragmaLocation, Record); in WritePackPragmaOptions()
4608 Record.push_back(SemaRef.AlignPackStack.Stack.size()); in WritePackPragmaOptions()
4610 AddAlignPackInfo(StackEntry.Value, Record); in WritePackPragmaOptions()
4611 AddSourceLocation(StackEntry.PragmaLocation, Record); in WritePackPragmaOptions()
4612 AddSourceLocation(StackEntry.PragmaPushLocation, Record); in WritePackPragmaOptions()
4613 AddString(StackEntry.StackSlotLabel, Record); in WritePackPragmaOptions()
4615 Stream.EmitRecord(ALIGN_PACK_PRAGMA_OPTIONS, Record); in WritePackPragmaOptions()
4625 RecordData Record; in WriteFloatControlPragmaOptions() local
4626 Record.push_back(SemaRef.FpPragmaStack.CurrentValue.getAsOpaqueInt()); in WriteFloatControlPragmaOptions()
4627 AddSourceLocation(SemaRef.FpPragmaStack.CurrentPragmaLocation, Record); in WriteFloatControlPragmaOptions()
4628 Record.push_back(SemaRef.FpPragmaStack.Stack.size()); in WriteFloatControlPragmaOptions()
4630 Record.push_back(StackEntry.Value.getAsOpaqueInt()); in WriteFloatControlPragmaOptions()
4631 AddSourceLocation(StackEntry.PragmaLocation, Record); in WriteFloatControlPragmaOptions()
4632 AddSourceLocation(StackEntry.PragmaPushLocation, Record); in WriteFloatControlPragmaOptions()
4633 AddString(StackEntry.StackSlotLabel, Record); in WriteFloatControlPragmaOptions()
4635 Stream.EmitRecord(FLOAT_CONTROL_PRAGMA_OPTIONS, Record); in WriteFloatControlPragmaOptions()
4643 // Emit the metadata record abbreviation. in WriteModuleFileExtension()
4653 // Emit the metadata record. in WriteModuleFileExtension()
4654 RecordData Record; in WriteModuleFileExtension() local
4656 Record.push_back(EXTENSION_METADATA); in WriteModuleFileExtension()
4657 Record.push_back(Metadata.MajorVersion); in WriteModuleFileExtension()
4658 Record.push_back(Metadata.MinorVersion); in WriteModuleFileExtension()
4659 Record.push_back(Metadata.BlockName.size()); in WriteModuleFileExtension()
4660 Record.push_back(Metadata.UserInfo.size()); in WriteModuleFileExtension()
4664 Stream.EmitRecordWithBlob(Abbrev, Record, Buffer); in WriteModuleFileExtension()
4678 auto &Record = *this; in AddAttr() local
4684 return Record.push_back(0); in AddAttr()
4686 Record.push_back(A->getKind() + 1); // FIXME: stable encoding, target attrs in AddAttr()
4688 Record.AddIdentifierRef(A->getAttrName()); in AddAttr()
4689 Record.AddIdentifierRef(A->getScopeName()); in AddAttr()
4690 Record.AddSourceRange(A->getRange()); in AddAttr()
4691 Record.AddSourceLocation(A->getScopeLoc()); in AddAttr()
4692 Record.push_back(A->getParsedKind()); in AddAttr()
4693 Record.push_back(A->getSyntax()); in AddAttr()
4694 Record.push_back(A->getAttributeSpellingListIndexRaw()); in AddAttr()
4695 Record.push_back(A->isRegularKeywordAttribute()); in AddAttr()
4700 /// Emit the list of attributes to the specified record.
4707 void ASTWriter::AddToken(const Token &Tok, RecordDataImpl &Record) { in AddToken() argument
4708 AddSourceLocation(Tok.getLocation(), Record); in AddToken()
4710 Record.push_back(Tok.getKind()); in AddToken()
4712 Record.push_back(Tok.getFlags()); in AddToken()
4715 AddSourceLocation(Tok.getAnnotationEndLoc(), Record); in AddToken()
4719 AddToken(Info->PragmaName, Record); in AddToken()
4720 AddToken(Info->Option, Record); in AddToken()
4721 Record.push_back(Info->Toks.size()); in AddToken()
4723 AddToken(T, Record); in AddToken()
4729 Record.push_back(static_cast<unsigned>(Info->Action)); in AddToken()
4730 AddString(Info->SlotLabel, Record); in AddToken()
4731 AddToken(Info->Alignment, Record); in AddToken()
4745 Record.push_back(Tok.getLength()); in AddToken()
4748 AddIdentifierRef(Tok.getIdentifierInfo(), Record); in AddToken()
4752 void ASTWriter::AddString(StringRef Str, RecordDataImpl &Record) { in AddString() argument
4753 Record.push_back(Str.size()); in AddString()
4754 Record.insert(Record.end(), Str.begin(), Str.end()); in AddString()
4780 void ASTWriter::AddPath(StringRef Path, RecordDataImpl &Record) { in AddPath() argument
4783 AddString(FilePath, Record); in AddPath()
4786 void ASTWriter::EmitRecordWithPath(unsigned Abbrev, RecordDataRef Record, in EmitRecordWithPath() argument
4790 Stream.EmitRecordWithBlob(Abbrev, Record, FilePath); in EmitRecordWithPath()
4794 RecordDataImpl &Record) { in AddVersionTuple() argument
4795 Record.push_back(Version.getMajor()); in AddVersionTuple()
4797 Record.push_back(*Minor + 1); in AddVersionTuple()
4799 Record.push_back(0); in AddVersionTuple()
4801 Record.push_back(*Subminor + 1); in AddVersionTuple()
4803 Record.push_back(0); in AddVersionTuple()
4828 // Don't record offsets for selectors that are also available in a different in SetSelectorOffset()
4908 ASTWriter::RecordData &Record) { in AddLazyVectorEmiitedDecls() argument
4911 Writer.AddEmittedDeclRef(*I, Record); in AddLazyVectorEmiitedDecls()
5088 // TentativeDefinitions order. Generally, this record will be empty for in PrepareWritingSpecialDecls()
5188 // Write the record containing external, unnamed definitions. in WriteSpecialDeclRecords()
5195 // Write the record containing tentative definitions. in WriteSpecialDeclRecords()
5202 // Write the record containing unused file scoped decls. in WriteSpecialDeclRecords()
5210 // Write the record containing ext_vector type names. in WriteSpecialDeclRecords()
5216 // Write the record containing VTable uses information. in WriteSpecialDeclRecords()
5231 // Write the record containing potentially unused local typedefs. in WriteSpecialDeclRecords()
5239 // Write the record containing pending implicit instantiations. in WriteSpecialDeclRecords()
5251 // Write the record containing declaration references of Sema. in WriteSpecialDeclRecords()
5268 // Write the record containing decls to be checked for deferred diags. in WriteSpecialDeclRecords()
5277 // Write the record containing CUDA-specific declaration references. in WriteSpecialDeclRecords()
5413 // Form the record of special types. in WriteASTCore()
5438 RecordData Record = {VERSION_MAJOR}; in WriteASTCore() local
5439 Stream.EmitRecord(METADATA_OLD_FORMAT, Record); in WriteASTCore()
5512 RecordData::value_type Record[] = {MODULE_OFFSET_MAP}; in WriteASTCore() local
5513 Stream.EmitRecordWithBlob(ModuleOffsetMapAbbrev, Record, in WriteASTCore()
5540 // Write the record containing weak undeclared identifiers. in WriteASTCore()
5595 RecordData::value_type Record[] = { in WriteASTCore() local
5597 Stream.EmitRecord(STATISTICS, Record); in WriteASTCore()
5638 ASTWriter::UpdateRecord &Record = DeclUpdates[TU]; in AddedAnonymousNamespace() local
5639 if (Record.empty()) in AddedAnonymousNamespace()
5640 Record.push_back(DeclUpdate(UPD_CXX_ADDED_ANONYMOUS_NAMESPACE, NS)); in AddedAnonymousNamespace()
5723 RecordData::value_type Record[] = {TU_UPDATE_LEXICAL}; in WriteDeclAndTypes() local
5724 Stream.EmitRecordWithBlob(TuUpdateLexicalAbbrev, Record, in WriteDeclAndTypes()
5758 ASTRecordWriter Record(*this, RecordData); in WriteDeclUpdatesBlocks() local
5769 Record.push_back(Kind); in WriteDeclUpdatesBlocks()
5776 Record.AddDeclRef(Update.getDecl()); in WriteDeclUpdatesBlocks()
5785 Record.AddSourceLocation(Update.getLoc()); in WriteDeclUpdatesBlocks()
5789 Record.writeStmtRef( in WriteDeclUpdatesBlocks()
5794 Record.AddStmt( in WriteDeclUpdatesBlocks()
5801 Record.push_back(RD->isParamDestroyedInCallee()); in WriteDeclUpdatesBlocks()
5802 Record.push_back(llvm::to_underlying(RD->getArgPassingRestrictions())); in WriteDeclUpdatesBlocks()
5803 Record.AddCXXDefinitionData(RD); in WriteDeclUpdatesBlocks()
5804 Record.AddOffset(WriteDeclContextLexicalBlock(*Context, RD)); in WriteDeclUpdatesBlocks()
5810 Record.push_back(MSInfo->getTemplateSpecializationKind()); in WriteDeclUpdatesBlocks()
5811 Record.AddSourceLocation(MSInfo->getPointOfInstantiation()); in WriteDeclUpdatesBlocks()
5814 Record.push_back(Spec->getTemplateSpecializationKind()); in WriteDeclUpdatesBlocks()
5815 Record.AddSourceLocation(Spec->getPointOfInstantiation()); in WriteDeclUpdatesBlocks()
5818 // specialization. If so, record which one. in WriteDeclUpdatesBlocks()
5822 Record.push_back(true); in WriteDeclUpdatesBlocks()
5823 Record.AddDeclRef(PartialSpec); in WriteDeclUpdatesBlocks()
5824 Record.AddTemplateArgumentList( in WriteDeclUpdatesBlocks()
5827 Record.push_back(false); in WriteDeclUpdatesBlocks()
5830 Record.push_back(llvm::to_underlying(RD->getTagKind())); in WriteDeclUpdatesBlocks()
5831 Record.AddSourceLocation(RD->getLocation()); in WriteDeclUpdatesBlocks()
5832 Record.AddSourceLocation(RD->getBeginLoc()); in WriteDeclUpdatesBlocks()
5833 Record.AddSourceRange(RD->getBraceRange()); in WriteDeclUpdatesBlocks()
5836 Record.push_back(D->hasAttrs()); in WriteDeclUpdatesBlocks()
5838 Record.AddAttributes(D->getAttrs()); in WriteDeclUpdatesBlocks()
5845 Record.AddDeclRef(Update.getDecl()); in WriteDeclUpdatesBlocks()
5846 Record.AddStmt(cast<CXXDestructorDecl>(D)->getOperatorDeleteThisArg()); in WriteDeclUpdatesBlocks()
5852 Record.writeExceptionSpecInfo(prototype->getExceptionSpecInfo()); in WriteDeclUpdatesBlocks()
5857 Record.push_back(GetOrCreateTypeID(Update.getType())); in WriteDeclUpdatesBlocks()
5865 Record.push_back(Update.getNumber()); in WriteDeclUpdatesBlocks()
5869 Record.AddSourceRange( in WriteDeclUpdatesBlocks()
5875 Record.push_back(A->getAllocatorType()); in WriteDeclUpdatesBlocks()
5876 Record.AddStmt(A->getAllocator()); in WriteDeclUpdatesBlocks()
5877 Record.AddStmt(A->getAlignment()); in WriteDeclUpdatesBlocks()
5878 Record.AddSourceRange(A->getRange()); in WriteDeclUpdatesBlocks()
5883 Record.push_back(D->getAttr<OMPDeclareTargetDeclAttr>()->getMapType()); in WriteDeclUpdatesBlocks()
5884 Record.AddSourceRange( in WriteDeclUpdatesBlocks()
5889 Record.push_back(getSubmoduleID(Update.getModule())); in WriteDeclUpdatesBlocks()
5893 Record.AddAttributes(llvm::ArrayRef(Update.getAttr())); in WriteDeclUpdatesBlocks()
5898 // Add a trailing update record, if any. These must go last because we in WriteDeclUpdatesBlocks()
5903 Record.push_back(UPD_CXX_ADDED_FUNCTION_DEFINITION); in WriteDeclUpdatesBlocks()
5904 Record.push_back(Def->isInlined()); in WriteDeclUpdatesBlocks()
5905 Record.AddSourceLocation(Def->getInnerLocStart()); in WriteDeclUpdatesBlocks()
5906 Record.AddFunctionDefinition(Def); in WriteDeclUpdatesBlocks()
5909 Record.push_back(UPD_CXX_ADDED_VAR_DEFINITION); in WriteDeclUpdatesBlocks()
5910 Record.push_back(VD->isInline()); in WriteDeclUpdatesBlocks()
5911 Record.push_back(VD->isInlineSpecified()); in WriteDeclUpdatesBlocks()
5912 Record.AddVarDeclInit(VD); in WriteDeclUpdatesBlocks()
5917 OffsetsRecord.push_back(Record.Emit(DECL_UPDATES)); in WriteDeclUpdatesBlocks()
5922 RecordDataImpl &Record) { in AddAlignPackInfo() argument
5924 Record.push_back(Raw); in AddAlignPackInfo()
5989 void ASTWriter::AddFileID(FileID FID, RecordDataImpl &Record) { in AddFileID() argument
5990 Record.push_back(getAdjustedFileID(FID).getOpaqueValue()); in AddFileID()
6017 void ASTWriter::AddSourceLocation(SourceLocation Loc, RecordDataImpl &Record, in AddSourceLocation() argument
6020 Record.push_back(getRawSourceLocationEncoding(Loc, Seq)); in AddSourceLocation()
6023 void ASTWriter::AddSourceRange(SourceRange Range, RecordDataImpl &Record, in AddSourceRange() argument
6025 AddSourceLocation(Range.getBegin(), Record, Seq); in AddSourceRange()
6026 AddSourceLocation(Range.getEnd(), Record, Seq); in AddSourceRange()
6033 void ASTWriter::AddIdentifierRef(const IdentifierInfo *II, RecordDataImpl &Record) { in AddIdentifierRef() argument
6034 Record.push_back(getIdentifierRef(II)); in AddIdentifierRef()
6076 Record->push_back(Writer->getSelectorRef(SelRef)); in AddSelectorRef()
6137 Record->push_back(InfoHasSameExpr); in AddTemplateArgumentLoc()
6161 void ASTWriter::AddTypeRef(QualType T, RecordDataImpl &Record) { in AddTypeRef() argument
6162 Record.push_back(GetOrCreateTypeID(T)); in AddTypeRef()
6213 void ASTWriter::AddEmittedDeclRef(const Decl *D, RecordDataImpl &Record) { in AddEmittedDeclRef() argument
6217 AddDeclRef(D, Record); in AddEmittedDeclRef()
6220 void ASTWriter::AddDeclRef(const Decl *D, RecordDataImpl &Record) { in AddDeclRef() argument
6221 Record.push_back(GetDeclRef(D).getRawValue()); in AddDeclRef()
6389 Record->push_back(Info.NumTemplParamLists); in AddQualifierInfo()
6406 Record->push_back(NestedNames.size()); in AddNestedNameSpecifierLoc()
6411 Record->push_back(Kind); in AddNestedNameSpecifierLoc()
6430 Record->push_back(Kind == NestedNameSpecifier::TypeSpecWithTemplate); in AddNestedNameSpecifierLoc()
6455 Record->push_back(TemplateParams->size()); in AddTemplateParameterList()
6459 Record->push_back(true); in AddTemplateParameterList()
6462 Record->push_back(false); in AddTemplateParameterList()
6470 Record->push_back(TemplateArgs->size()); in AddTemplateArgumentList()
6480 Record->push_back(ASTTemplArgList->NumTemplateArgs); in AddASTTemplateArgumentListInfo()
6487 Record->push_back(Set.size()); in AddUnresolvedSet()
6491 Record->push_back(I.getAccess()); in AddUnresolvedSet()
6497 Record->push_back(Base.isVirtual()); in AddCXXBaseSpecifier()
6498 Record->push_back(Base.isBaseOfClass()); in AddCXXBaseSpecifier()
6499 Record->push_back(Base.getAccessSpecifierAsWritten()); in AddCXXBaseSpecifier()
6500 Record->push_back(Base.getInheritConstructors()); in AddCXXBaseSpecifier()
6509 ASTWriter::RecordData Record; in EmitCXXBaseSpecifiers() local
6510 ASTRecordWriter Writer(W, Record); in EmitCXXBaseSpecifiers()
6527 ASTWriter::RecordData Record; in EmitCXXCtorInitializers() local
6528 ASTRecordWriter Writer(W, Record); in EmitCXXCtorInitializers()
6568 Record->push_back(Data.IsLambda); in AddCXXDefinitionData()
6574 Record->push_back(DefinitionBits); \ in AddCXXDefinitionData()
6582 Record->push_back(DefinitionBits); in AddCXXDefinitionData()
6586 Record->push_back(D->getODRHash()); in AddCXXDefinitionData()
6592 Record->push_back(ModulesCodegen); in AddCXXDefinitionData()
6599 Record->push_back(Data.ComputedVisibleConversions); in AddCXXDefinitionData()
6605 Record->push_back(Data.NumBases); in AddCXXDefinitionData()
6610 Record->push_back(Data.NumVBases); in AddCXXDefinitionData()
6624 Record->push_back(LambdaBits); in AddCXXDefinitionData()
6626 Record->push_back(Lambda.NumExplicitCaptures); in AddCXXDefinitionData()
6627 Record->push_back(Lambda.ManglingNumber); in AddCXXDefinitionData()
6628 Record->push_back(D->getDeviceLambdaManglingNumber()); in AddCXXDefinitionData()
6639 Record->push_back(CaptureBits); in AddCXXDefinitionData()
6869 // chain, add an update record for it. in ResolvedExceptionSpec()
6980 // we can skip writing the update record. We make sure that isUsed() triggers in DeclarationMarkedUsed()
7026 const RecordDecl *Record) { in AddedAttributeToRecord() argument
7029 if (!Record->isFromASTFile()) in AddedAttributeToRecord()
7031 DeclUpdates[Record].push_back(DeclUpdate(UPD_ADDED_ATTR_TO_RECORD, Attr)); in AddedAttributeToRecord()
7077 ASTRecordWriter &Record; member in __anond5eb14811911::OMPClauseWriter
7080 OMPClauseWriter(ASTRecordWriter &Record) : Record(Record) {} in OMPClauseWriter() argument
7096 Record.push_back(unsigned(C->getClauseKind())); in writeClause()
7098 Record.AddSourceLocation(C->getBeginLoc()); in writeClause()
7099 Record.AddSourceLocation(C->getEndLoc()); in writeClause()
7103 Record.push_back(uint64_t(C->getCaptureRegion())); in VisitOMPClauseWithPreInit()
7104 Record.AddStmt(C->getPreInitStmt()); in VisitOMPClauseWithPreInit()
7109 Record.AddStmt(C->getPostUpdateExpr()); in VisitOMPClauseWithPostUpdate()
7114 Record.push_back(uint64_t(C->getNameModifier())); in VisitOMPIfClause()
7115 Record.AddSourceLocation(C->getNameModifierLoc()); in VisitOMPIfClause()
7116 Record.AddSourceLocation(C->getColonLoc()); in VisitOMPIfClause()
7117 Record.AddStmt(C->getCondition()); in VisitOMPIfClause()
7118 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPIfClause()
7123 Record.AddStmt(C->getCondition()); in VisitOMPFinalClause()
7124 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPFinalClause()
7129 Record.AddStmt(C->getNumThreads()); in VisitOMPNumThreadsClause()
7130 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPNumThreadsClause()
7134 Record.AddStmt(C->getSafelen()); in VisitOMPSafelenClause()
7135 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPSafelenClause()
7139 Record.AddStmt(C->getSimdlen()); in VisitOMPSimdlenClause()
7140 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPSimdlenClause()
7144 Record.push_back(C->getNumSizes()); in VisitOMPSizesClause()
7146 Record.AddStmt(Size); in VisitOMPSizesClause()
7147 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPSizesClause()
7153 Record.AddStmt(C->getFactor()); in VisitOMPPartialClause()
7154 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPPartialClause()
7158 Record.AddStmt(C->getAllocator()); in VisitOMPAllocatorClause()
7159 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPAllocatorClause()
7163 Record.AddStmt(C->getNumForLoops()); in VisitOMPCollapseClause()
7164 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPCollapseClause()
7168 Record.AddStmt(C->getEventHandler()); in VisitOMPDetachClause()
7169 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPDetachClause()
7173 Record.push_back(unsigned(C->getDefaultKind())); in VisitOMPDefaultClause()
7174 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPDefaultClause()
7175 Record.AddSourceLocation(C->getDefaultKindKwLoc()); in VisitOMPDefaultClause()
7179 Record.push_back(unsigned(C->getProcBindKind())); in VisitOMPProcBindClause()
7180 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPProcBindClause()
7181 Record.AddSourceLocation(C->getProcBindKindKwLoc()); in VisitOMPProcBindClause()
7186 Record.push_back(C->getScheduleKind()); in VisitOMPScheduleClause()
7187 Record.push_back(C->getFirstScheduleModifier()); in VisitOMPScheduleClause()
7188 Record.push_back(C->getSecondScheduleModifier()); in VisitOMPScheduleClause()
7189 Record.AddStmt(C->getChunkSize()); in VisitOMPScheduleClause()
7190 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPScheduleClause()
7191 Record.AddSourceLocation(C->getFirstScheduleModifierLoc()); in VisitOMPScheduleClause()
7192 Record.AddSourceLocation(C->getSecondScheduleModifierLoc()); in VisitOMPScheduleClause()
7193 Record.AddSourceLocation(C->getScheduleKindLoc()); in VisitOMPScheduleClause()
7194 Record.AddSourceLocation(C->getCommaLoc()); in VisitOMPScheduleClause()
7198 Record.push_back(C->getLoopNumIterations().size()); in VisitOMPOrderedClause()
7199 Record.AddStmt(C->getNumForLoops()); in VisitOMPOrderedClause()
7201 Record.AddStmt(NumIter); in VisitOMPOrderedClause()
7203 Record.AddStmt(C->getLoopCounter(I)); in VisitOMPOrderedClause()
7204 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPOrderedClause()
7218 Record.push_back(C->isExtended() ? 1 : 0); in VisitOMPUpdateClause()
7220 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPUpdateClause()
7221 Record.AddSourceLocation(C->getArgumentLoc()); in VisitOMPUpdateClause()
7222 Record.writeEnum(C->getDependencyKind()); in VisitOMPUpdateClause()
7232 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPFailClause()
7233 Record.AddSourceLocation(C->getFailParameterLoc()); in VisitOMPFailClause()
7234 Record.writeEnum(C->getFailParameter()); in VisitOMPFailClause()
7256 Record.push_back(C->varlist_size()); in VisitOMPInitClause()
7258 Record.AddStmt(VE); in VisitOMPInitClause()
7259 Record.writeBool(C->getIsTarget()); in VisitOMPInitClause()
7260 Record.writeBool(C->getIsTargetSync()); in VisitOMPInitClause()
7261 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPInitClause()
7262 Record.AddSourceLocation(C->getVarLoc()); in VisitOMPInitClause()
7266 Record.AddStmt(C->getInteropVar()); in VisitOMPUseClause()
7267 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPUseClause()
7268 Record.AddSourceLocation(C->getVarLoc()); in VisitOMPUseClause()
7272 Record.AddStmt(C->getInteropVar()); in VisitOMPDestroyClause()
7273 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPDestroyClause()
7274 Record.AddSourceLocation(C->getVarLoc()); in VisitOMPDestroyClause()
7279 Record.AddStmt(C->getCondition()); in VisitOMPNovariantsClause()
7280 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPNovariantsClause()
7285 Record.AddStmt(C->getCondition()); in VisitOMPNocontextClause()
7286 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPNocontextClause()
7291 Record.AddStmt(C->getThreadID()); in VisitOMPFilterClause()
7292 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPFilterClause()
7296 Record.AddStmt(C->getAlignment()); in VisitOMPAlignClause()
7297 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPAlignClause()
7301 Record.push_back(C->varlist_size()); in VisitOMPPrivateClause()
7302 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPPrivateClause()
7304 Record.AddStmt(VE); in VisitOMPPrivateClause()
7307 Record.AddStmt(VE); in VisitOMPPrivateClause()
7312 Record.push_back(C->varlist_size()); in VisitOMPFirstprivateClause()
7314 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPFirstprivateClause()
7316 Record.AddStmt(VE); in VisitOMPFirstprivateClause()
7319 Record.AddStmt(VE); in VisitOMPFirstprivateClause()
7322 Record.AddStmt(VE); in VisitOMPFirstprivateClause()
7327 Record.push_back(C->varlist_size()); in VisitOMPLastprivateClause()
7329 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPLastprivateClause()
7330 Record.writeEnum(C->getKind()); in VisitOMPLastprivateClause()
7331 Record.AddSourceLocation(C->getKindLoc()); in VisitOMPLastprivateClause()
7332 Record.AddSourceLocation(C->getColonLoc()); in VisitOMPLastprivateClause()
7334 Record.AddStmt(VE); in VisitOMPLastprivateClause()
7336 Record.AddStmt(E); in VisitOMPLastprivateClause()
7338 Record.AddStmt(E); in VisitOMPLastprivateClause()
7340 Record.AddStmt(E); in VisitOMPLastprivateClause()
7342 Record.AddStmt(E); in VisitOMPLastprivateClause()
7346 Record.push_back(C->varlist_size()); in VisitOMPSharedClause()
7347 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPSharedClause()
7349 Record.AddStmt(VE); in VisitOMPSharedClause()
7353 Record.push_back(C->varlist_size()); in VisitOMPReductionClause()
7354 Record.writeEnum(C->getModifier()); in VisitOMPReductionClause()
7356 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPReductionClause()
7357 Record.AddSourceLocation(C->getModifierLoc()); in VisitOMPReductionClause()
7358 Record.AddSourceLocation(C->getColonLoc()); in VisitOMPReductionClause()
7359 Record.AddNestedNameSpecifierLoc(C->getQualifierLoc()); in VisitOMPReductionClause()
7360 Record.AddDeclarationNameInfo(C->getNameInfo()); in VisitOMPReductionClause()
7362 Record.AddStmt(VE); in VisitOMPReductionClause()
7364 Record.AddStmt(VE); in VisitOMPReductionClause()
7366 Record.AddStmt(E); in VisitOMPReductionClause()
7368 Record.AddStmt(E); in VisitOMPReductionClause()
7370 Record.AddStmt(E); in VisitOMPReductionClause()
7373 Record.AddStmt(E); in VisitOMPReductionClause()
7375 Record.AddStmt(E); in VisitOMPReductionClause()
7377 Record.AddStmt(E); in VisitOMPReductionClause()
7382 Record.push_back(C->varlist_size()); in VisitOMPTaskReductionClause()
7384 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPTaskReductionClause()
7385 Record.AddSourceLocation(C->getColonLoc()); in VisitOMPTaskReductionClause()
7386 Record.AddNestedNameSpecifierLoc(C->getQualifierLoc()); in VisitOMPTaskReductionClause()
7387 Record.AddDeclarationNameInfo(C->getNameInfo()); in VisitOMPTaskReductionClause()
7389 Record.AddStmt(VE); in VisitOMPTaskReductionClause()
7391 Record.AddStmt(VE); in VisitOMPTaskReductionClause()
7393 Record.AddStmt(E); in VisitOMPTaskReductionClause()
7395 Record.AddStmt(E); in VisitOMPTaskReductionClause()
7397 Record.AddStmt(E); in VisitOMPTaskReductionClause()
7401 Record.push_back(C->varlist_size()); in VisitOMPInReductionClause()
7403 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPInReductionClause()
7404 Record.AddSourceLocation(C->getColonLoc()); in VisitOMPInReductionClause()
7405 Record.AddNestedNameSpecifierLoc(C->getQualifierLoc()); in VisitOMPInReductionClause()
7406 Record.AddDeclarationNameInfo(C->getNameInfo()); in VisitOMPInReductionClause()
7408 Record.AddStmt(VE); in VisitOMPInReductionClause()
7410 Record.AddStmt(VE); in VisitOMPInReductionClause()
7412 Record.AddStmt(E); in VisitOMPInReductionClause()
7414 Record.AddStmt(E); in VisitOMPInReductionClause()
7416 Record.AddStmt(E); in VisitOMPInReductionClause()
7418 Record.AddStmt(E); in VisitOMPInReductionClause()
7422 Record.push_back(C->varlist_size()); in VisitOMPLinearClause()
7424 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPLinearClause()
7425 Record.AddSourceLocation(C->getColonLoc()); in VisitOMPLinearClause()
7426 Record.push_back(C->getModifier()); in VisitOMPLinearClause()
7427 Record.AddSourceLocation(C->getModifierLoc()); in VisitOMPLinearClause()
7429 Record.AddStmt(VE); in VisitOMPLinearClause()
7432 Record.AddStmt(VE); in VisitOMPLinearClause()
7435 Record.AddStmt(VE); in VisitOMPLinearClause()
7438 Record.AddStmt(VE); in VisitOMPLinearClause()
7441 Record.AddStmt(VE); in VisitOMPLinearClause()
7443 Record.AddStmt(C->getStep()); in VisitOMPLinearClause()
7444 Record.AddStmt(C->getCalcStep()); in VisitOMPLinearClause()
7446 Record.AddStmt(VE); in VisitOMPLinearClause()
7450 Record.push_back(C->varlist_size()); in VisitOMPAlignedClause()
7451 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPAlignedClause()
7452 Record.AddSourceLocation(C->getColonLoc()); in VisitOMPAlignedClause()
7454 Record.AddStmt(VE); in VisitOMPAlignedClause()
7455 Record.AddStmt(C->getAlignment()); in VisitOMPAlignedClause()
7459 Record.push_back(C->varlist_size()); in VisitOMPCopyinClause()
7460 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPCopyinClause()
7462 Record.AddStmt(VE); in VisitOMPCopyinClause()
7464 Record.AddStmt(E); in VisitOMPCopyinClause()
7466 Record.AddStmt(E); in VisitOMPCopyinClause()
7468 Record.AddStmt(E); in VisitOMPCopyinClause()
7472 Record.push_back(C->varlist_size()); in VisitOMPCopyprivateClause()
7473 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPCopyprivateClause()
7475 Record.AddStmt(VE); in VisitOMPCopyprivateClause()
7477 Record.AddStmt(E); in VisitOMPCopyprivateClause()
7479 Record.AddStmt(E); in VisitOMPCopyprivateClause()
7481 Record.AddStmt(E); in VisitOMPCopyprivateClause()
7485 Record.push_back(C->varlist_size()); in VisitOMPFlushClause()
7486 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPFlushClause()
7488 Record.AddStmt(VE); in VisitOMPFlushClause()
7492 Record.AddStmt(C->getDepobj()); in VisitOMPDepobjClause()
7493 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPDepobjClause()
7497 Record.push_back(C->varlist_size()); in VisitOMPDependClause()
7498 Record.push_back(C->getNumLoops()); in VisitOMPDependClause()
7499 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPDependClause()
7500 Record.AddStmt(C->getModifier()); in VisitOMPDependClause()
7501 Record.push_back(C->getDependencyKind()); in VisitOMPDependClause()
7502 Record.AddSourceLocation(C->getDependencyLoc()); in VisitOMPDependClause()
7503 Record.AddSourceLocation(C->getColonLoc()); in VisitOMPDependClause()
7504 Record.AddSourceLocation(C->getOmpAllMemoryLoc()); in VisitOMPDependClause()
7506 Record.AddStmt(VE); in VisitOMPDependClause()
7508 Record.AddStmt(C->getLoopData(I)); in VisitOMPDependClause()
7513 Record.writeEnum(C->getModifier()); in VisitOMPDeviceClause()
7514 Record.AddStmt(C->getDevice()); in VisitOMPDeviceClause()
7515 Record.AddSourceLocation(C->getModifierLoc()); in VisitOMPDeviceClause()
7516 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPDeviceClause()
7520 Record.push_back(C->varlist_size()); in VisitOMPMapClause()
7521 Record.push_back(C->getUniqueDeclarationsNum()); in VisitOMPMapClause()
7522 Record.push_back(C->getTotalComponentListNum()); in VisitOMPMapClause()
7523 Record.push_back(C->getTotalComponentsNum()); in VisitOMPMapClause()
7524 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPMapClause()
7527 Record.push_back(C->getMapTypeModifier(I)); in VisitOMPMapClause()
7528 Record.AddSourceLocation(C->getMapTypeModifierLoc(I)); in VisitOMPMapClause()
7532 Record.AddNestedNameSpecifierLoc(C->getMapperQualifierLoc()); in VisitOMPMapClause()
7533 Record.AddDeclarationNameInfo(C->getMapperIdInfo()); in VisitOMPMapClause()
7534 Record.push_back(C->getMapType()); in VisitOMPMapClause()
7535 Record.AddSourceLocation(C->getMapLoc()); in VisitOMPMapClause()
7536 Record.AddSourceLocation(C->getColonLoc()); in VisitOMPMapClause()
7538 Record.AddStmt(E); in VisitOMPMapClause()
7540 Record.AddStmt(E); in VisitOMPMapClause()
7542 Record.AddStmt(C->getIteratorModifier()); in VisitOMPMapClause()
7544 Record.AddDeclRef(D); in VisitOMPMapClause()
7546 Record.push_back(N); in VisitOMPMapClause()
7548 Record.push_back(N); in VisitOMPMapClause()
7550 Record.AddStmt(M.getAssociatedExpression()); in VisitOMPMapClause()
7551 Record.AddDeclRef(M.getAssociatedDeclaration()); in VisitOMPMapClause()
7556 Record.push_back(C->varlist_size()); in VisitOMPAllocateClause()
7557 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPAllocateClause()
7558 Record.AddSourceLocation(C->getColonLoc()); in VisitOMPAllocateClause()
7559 Record.AddStmt(C->getAllocator()); in VisitOMPAllocateClause()
7561 Record.AddStmt(VE); in VisitOMPAllocateClause()
7566 Record.AddStmt(C->getNumTeams()); in VisitOMPNumTeamsClause()
7567 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPNumTeamsClause()
7572 Record.AddStmt(C->getThreadLimit()); in VisitOMPThreadLimitClause()
7573 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPThreadLimitClause()
7578 Record.AddStmt(C->getPriority()); in VisitOMPPriorityClause()
7579 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPPriorityClause()
7584 Record.writeEnum(C->getModifier()); in VisitOMPGrainsizeClause()
7585 Record.AddStmt(C->getGrainsize()); in VisitOMPGrainsizeClause()
7586 Record.AddSourceLocation(C->getModifierLoc()); in VisitOMPGrainsizeClause()
7587 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPGrainsizeClause()
7592 Record.writeEnum(C->getModifier()); in VisitOMPNumTasksClause()
7593 Record.AddStmt(C->getNumTasks()); in VisitOMPNumTasksClause()
7594 Record.AddSourceLocation(C->getModifierLoc()); in VisitOMPNumTasksClause()
7595 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPNumTasksClause()
7599 Record.AddStmt(C->getHint()); in VisitOMPHintClause()
7600 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPHintClause()
7605 Record.push_back(C->getDistScheduleKind()); in VisitOMPDistScheduleClause()
7606 Record.AddStmt(C->getChunkSize()); in VisitOMPDistScheduleClause()
7607 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPDistScheduleClause()
7608 Record.AddSourceLocation(C->getDistScheduleKindLoc()); in VisitOMPDistScheduleClause()
7609 Record.AddSourceLocation(C->getCommaLoc()); in VisitOMPDistScheduleClause()
7613 Record.push_back(C->getDefaultmapKind()); in VisitOMPDefaultmapClause()
7614 Record.push_back(C->getDefaultmapModifier()); in VisitOMPDefaultmapClause()
7615 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPDefaultmapClause()
7616 Record.AddSourceLocation(C->getDefaultmapModifierLoc()); in VisitOMPDefaultmapClause()
7617 Record.AddSourceLocation(C->getDefaultmapKindLoc()); in VisitOMPDefaultmapClause()
7621 Record.push_back(C->varlist_size()); in VisitOMPToClause()
7622 Record.push_back(C->getUniqueDeclarationsNum()); in VisitOMPToClause()
7623 Record.push_back(C->getTotalComponentListNum()); in VisitOMPToClause()
7624 Record.push_back(C->getTotalComponentsNum()); in VisitOMPToClause()
7625 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPToClause()
7627 Record.push_back(C->getMotionModifier(I)); in VisitOMPToClause()
7628 Record.AddSourceLocation(C->getMotionModifierLoc(I)); in VisitOMPToClause()
7630 Record.AddNestedNameSpecifierLoc(C->getMapperQualifierLoc()); in VisitOMPToClause()
7631 Record.AddDeclarationNameInfo(C->getMapperIdInfo()); in VisitOMPToClause()
7632 Record.AddSourceLocation(C->getColonLoc()); in VisitOMPToClause()
7634 Record.AddStmt(E); in VisitOMPToClause()
7636 Record.AddStmt(E); in VisitOMPToClause()
7638 Record.AddDeclRef(D); in VisitOMPToClause()
7640 Record.push_back(N); in VisitOMPToClause()
7642 Record.push_back(N); in VisitOMPToClause()
7644 Record.AddStmt(M.getAssociatedExpression()); in VisitOMPToClause()
7645 Record.writeBool(M.isNonContiguous()); in VisitOMPToClause()
7646 Record.AddDeclRef(M.getAssociatedDeclaration()); in VisitOMPToClause()
7651 Record.push_back(C->varlist_size()); in VisitOMPFromClause()
7652 Record.push_back(C->getUniqueDeclarationsNum()); in VisitOMPFromClause()
7653 Record.push_back(C->getTotalComponentListNum()); in VisitOMPFromClause()
7654 Record.push_back(C->getTotalComponentsNum()); in VisitOMPFromClause()
7655 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPFromClause()
7657 Record.push_back(C->getMotionModifier(I)); in VisitOMPFromClause()
7658 Record.AddSourceLocation(C->getMotionModifierLoc(I)); in VisitOMPFromClause()
7660 Record.AddNestedNameSpecifierLoc(C->getMapperQualifierLoc()); in VisitOMPFromClause()
7661 Record.AddDeclarationNameInfo(C->getMapperIdInfo()); in VisitOMPFromClause()
7662 Record.AddSourceLocation(C->getColonLoc()); in VisitOMPFromClause()
7664 Record.AddStmt(E); in VisitOMPFromClause()
7666 Record.AddStmt(E); in VisitOMPFromClause()
7668 Record.AddDeclRef(D); in VisitOMPFromClause()
7670 Record.push_back(N); in VisitOMPFromClause()
7672 Record.push_back(N); in VisitOMPFromClause()
7674 Record.AddStmt(M.getAssociatedExpression()); in VisitOMPFromClause()
7675 Record.writeBool(M.isNonContiguous()); in VisitOMPFromClause()
7676 Record.AddDeclRef(M.getAssociatedDeclaration()); in VisitOMPFromClause()
7681 Record.push_back(C->varlist_size()); in VisitOMPUseDevicePtrClause()
7682 Record.push_back(C->getUniqueDeclarationsNum()); in VisitOMPUseDevicePtrClause()
7683 Record.push_back(C->getTotalComponentListNum()); in VisitOMPUseDevicePtrClause()
7684 Record.push_back(C->getTotalComponentsNum()); in VisitOMPUseDevicePtrClause()
7685 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPUseDevicePtrClause()
7687 Record.AddStmt(E); in VisitOMPUseDevicePtrClause()
7689 Record.AddStmt(VE); in VisitOMPUseDevicePtrClause()
7691 Record.AddStmt(VE); in VisitOMPUseDevicePtrClause()
7693 Record.AddDeclRef(D); in VisitOMPUseDevicePtrClause()
7695 Record.push_back(N); in VisitOMPUseDevicePtrClause()
7697 Record.push_back(N); in VisitOMPUseDevicePtrClause()
7699 Record.AddStmt(M.getAssociatedExpression()); in VisitOMPUseDevicePtrClause()
7700 Record.AddDeclRef(M.getAssociatedDeclaration()); in VisitOMPUseDevicePtrClause()
7705 Record.push_back(C->varlist_size()); in VisitOMPUseDeviceAddrClause()
7706 Record.push_back(C->getUniqueDeclarationsNum()); in VisitOMPUseDeviceAddrClause()
7707 Record.push_back(C->getTotalComponentListNum()); in VisitOMPUseDeviceAddrClause()
7708 Record.push_back(C->getTotalComponentsNum()); in VisitOMPUseDeviceAddrClause()
7709 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPUseDeviceAddrClause()
7711 Record.AddStmt(E); in VisitOMPUseDeviceAddrClause()
7713 Record.AddDeclRef(D); in VisitOMPUseDeviceAddrClause()
7715 Record.push_back(N); in VisitOMPUseDeviceAddrClause()
7717 Record.push_back(N); in VisitOMPUseDeviceAddrClause()
7719 Record.AddStmt(M.getAssociatedExpression()); in VisitOMPUseDeviceAddrClause()
7720 Record.AddDeclRef(M.getAssociatedDeclaration()); in VisitOMPUseDeviceAddrClause()
7725 Record.push_back(C->varlist_size()); in VisitOMPIsDevicePtrClause()
7726 Record.push_back(C->getUniqueDeclarationsNum()); in VisitOMPIsDevicePtrClause()
7727 Record.push_back(C->getTotalComponentListNum()); in VisitOMPIsDevicePtrClause()
7728 Record.push_back(C->getTotalComponentsNum()); in VisitOMPIsDevicePtrClause()
7729 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPIsDevicePtrClause()
7731 Record.AddStmt(E); in VisitOMPIsDevicePtrClause()
7733 Record.AddDeclRef(D); in VisitOMPIsDevicePtrClause()
7735 Record.push_back(N); in VisitOMPIsDevicePtrClause()
7737 Record.push_back(N); in VisitOMPIsDevicePtrClause()
7739 Record.AddStmt(M.getAssociatedExpression()); in VisitOMPIsDevicePtrClause()
7740 Record.AddDeclRef(M.getAssociatedDeclaration()); in VisitOMPIsDevicePtrClause()
7745 Record.push_back(C->varlist_size()); in VisitOMPHasDeviceAddrClause()
7746 Record.push_back(C->getUniqueDeclarationsNum()); in VisitOMPHasDeviceAddrClause()
7747 Record.push_back(C->getTotalComponentListNum()); in VisitOMPHasDeviceAddrClause()
7748 Record.push_back(C->getTotalComponentsNum()); in VisitOMPHasDeviceAddrClause()
7749 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPHasDeviceAddrClause()
7751 Record.AddStmt(E); in VisitOMPHasDeviceAddrClause()
7753 Record.AddDeclRef(D); in VisitOMPHasDeviceAddrClause()
7755 Record.push_back(N); in VisitOMPHasDeviceAddrClause()
7757 Record.push_back(N); in VisitOMPHasDeviceAddrClause()
7759 Record.AddStmt(M.getAssociatedExpression()); in VisitOMPHasDeviceAddrClause()
7760 Record.AddDeclRef(M.getAssociatedDeclaration()); in VisitOMPHasDeviceAddrClause()
7777 Record.push_back(C->getAtomicDefaultMemOrderKind()); in VisitOMPAtomicDefaultMemOrderClause()
7778 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPAtomicDefaultMemOrderClause()
7779 Record.AddSourceLocation(C->getAtomicDefaultMemOrderKindKwLoc()); in VisitOMPAtomicDefaultMemOrderClause()
7783 Record.push_back(C->getAtKind()); in VisitOMPAtClause()
7784 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPAtClause()
7785 Record.AddSourceLocation(C->getAtKindKwLoc()); in VisitOMPAtClause()
7789 Record.push_back(C->getSeverityKind()); in VisitOMPSeverityClause()
7790 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPSeverityClause()
7791 Record.AddSourceLocation(C->getSeverityKindKwLoc()); in VisitOMPSeverityClause()
7795 Record.AddStmt(C->getMessageString()); in VisitOMPMessageClause()
7796 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPMessageClause()
7800 Record.push_back(C->varlist_size()); in VisitOMPNontemporalClause()
7801 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPNontemporalClause()
7803 Record.AddStmt(VE); in VisitOMPNontemporalClause()
7805 Record.AddStmt(E); in VisitOMPNontemporalClause()
7809 Record.push_back(C->varlist_size()); in VisitOMPInclusiveClause()
7810 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPInclusiveClause()
7812 Record.AddStmt(VE); in VisitOMPInclusiveClause()
7816 Record.push_back(C->varlist_size()); in VisitOMPExclusiveClause()
7817 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPExclusiveClause()
7819 Record.AddStmt(VE); in VisitOMPExclusiveClause()
7823 Record.writeEnum(C->getKind()); in VisitOMPOrderClause()
7824 Record.writeEnum(C->getModifier()); in VisitOMPOrderClause()
7825 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPOrderClause()
7826 Record.AddSourceLocation(C->getKindKwLoc()); in VisitOMPOrderClause()
7827 Record.AddSourceLocation(C->getModifierKwLoc()); in VisitOMPOrderClause()
7831 Record.push_back(C->getNumberOfAllocators()); in VisitOMPUsesAllocatorsClause()
7832 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPUsesAllocatorsClause()
7835 Record.AddStmt(Data.Allocator); in VisitOMPUsesAllocatorsClause()
7836 Record.AddStmt(Data.AllocatorTraits); in VisitOMPUsesAllocatorsClause()
7837 Record.AddSourceLocation(Data.LParenLoc); in VisitOMPUsesAllocatorsClause()
7838 Record.AddSourceLocation(Data.RParenLoc); in VisitOMPUsesAllocatorsClause()
7843 Record.push_back(C->varlist_size()); in VisitOMPAffinityClause()
7844 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPAffinityClause()
7845 Record.AddStmt(C->getModifier()); in VisitOMPAffinityClause()
7846 Record.AddSourceLocation(C->getColonLoc()); in VisitOMPAffinityClause()
7848 Record.AddStmt(E); in VisitOMPAffinityClause()
7852 Record.writeEnum(C->getBindKind()); in VisitOMPBindClause()
7853 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPBindClause()
7854 Record.AddSourceLocation(C->getBindKindLoc()); in VisitOMPBindClause()
7859 Record.AddStmt(C->getSize()); in VisitOMPXDynCGroupMemClause()
7860 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPXDynCGroupMemClause()
7864 Record.push_back(C->varlist_size()); in VisitOMPDoacrossClause()
7865 Record.push_back(C->getNumLoops()); in VisitOMPDoacrossClause()
7866 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPDoacrossClause()
7867 Record.push_back(C->getDependenceType()); in VisitOMPDoacrossClause()
7868 Record.AddSourceLocation(C->getDependenceLoc()); in VisitOMPDoacrossClause()
7869 Record.AddSourceLocation(C->getColonLoc()); in VisitOMPDoacrossClause()
7871 Record.AddStmt(VE); in VisitOMPDoacrossClause()
7873 Record.AddStmt(C->getLoopData(I)); in VisitOMPDoacrossClause()
7877 Record.AddAttributes(C->getAttrs()); in VisitOMPXAttributeClause()
7878 Record.AddSourceLocation(C->getBeginLoc()); in VisitOMPXAttributeClause()
7879 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPXAttributeClause()
7880 Record.AddSourceLocation(C->getEndLoc()); in VisitOMPXAttributeClause()