Lines Matching refs:Record

154   ASTWriter::RecordData Record;  member in __anon91274ea00111::ASTTypeWriter
159 : Writer(Writer), BasicWriter(Writer, Record) {} in ASTTypeWriter()
178 ASTRecordWriter &Record; member in __anon91274ea00111::TypeLocWriter
181 TypeLocWriter(ASTRecordWriter &Record) : Record(Record) {} in TypeLocWriter() argument
199 Record.AddSourceLocation(TL.getBuiltinLoc()); in VisitBuiltinTypeLoc()
201 Record.push_back(TL.getWrittenTypeSpec()); in VisitBuiltinTypeLoc()
202 Record.push_back(static_cast<uint64_t>(TL.getWrittenSignSpec())); in VisitBuiltinTypeLoc()
203 Record.push_back(static_cast<uint64_t>(TL.getWrittenWidthSpec())); in VisitBuiltinTypeLoc()
204 Record.push_back(TL.hasModeAttr()); in VisitBuiltinTypeLoc()
209 Record.AddSourceLocation(TL.getNameLoc()); in VisitComplexTypeLoc()
213 Record.AddSourceLocation(TL.getStarLoc()); in VisitPointerTypeLoc()
225 Record.AddSourceLocation(TL.getCaretLoc()); in VisitBlockPointerTypeLoc()
229 Record.AddSourceLocation(TL.getAmpLoc()); in VisitLValueReferenceTypeLoc()
233 Record.AddSourceLocation(TL.getAmpAmpLoc()); in VisitRValueReferenceTypeLoc()
237 Record.AddSourceLocation(TL.getStarLoc()); in VisitMemberPointerTypeLoc()
238 Record.AddTypeSourceInfo(TL.getClassTInfo()); in VisitMemberPointerTypeLoc()
242 Record.AddSourceLocation(TL.getLBracketLoc()); in VisitArrayTypeLoc()
243 Record.AddSourceLocation(TL.getRBracketLoc()); in VisitArrayTypeLoc()
244 Record.push_back(TL.getSizeExpr() ? 1 : 0); in VisitArrayTypeLoc()
246 Record.AddStmt(TL.getSizeExpr()); in VisitArrayTypeLoc()
268 Record.AddSourceLocation(TL.getAttrNameLoc()); in VisitDependentAddressSpaceTypeLoc()
270 Record.AddSourceLocation(range.getBegin()); in VisitDependentAddressSpaceTypeLoc()
271 Record.AddSourceLocation(range.getEnd()); in VisitDependentAddressSpaceTypeLoc()
272 Record.AddStmt(TL.getAttrExprOperand()); in VisitDependentAddressSpaceTypeLoc()
277 Record.AddSourceLocation(TL.getNameLoc()); in VisitDependentSizedExtVectorTypeLoc()
281 Record.AddSourceLocation(TL.getNameLoc()); in VisitVectorTypeLoc()
286 Record.AddSourceLocation(TL.getNameLoc()); in VisitDependentVectorTypeLoc()
290 Record.AddSourceLocation(TL.getNameLoc()); in VisitExtVectorTypeLoc()
294 Record.AddSourceLocation(TL.getAttrNameLoc()); in VisitConstantMatrixTypeLoc()
296 Record.AddSourceLocation(range.getBegin()); in VisitConstantMatrixTypeLoc()
297 Record.AddSourceLocation(range.getEnd()); in VisitConstantMatrixTypeLoc()
298 Record.AddStmt(TL.getAttrRowOperand()); in VisitConstantMatrixTypeLoc()
299 Record.AddStmt(TL.getAttrColumnOperand()); in VisitConstantMatrixTypeLoc()
304 Record.AddSourceLocation(TL.getAttrNameLoc()); in VisitDependentSizedMatrixTypeLoc()
306 Record.AddSourceLocation(range.getBegin()); in VisitDependentSizedMatrixTypeLoc()
307 Record.AddSourceLocation(range.getEnd()); in VisitDependentSizedMatrixTypeLoc()
308 Record.AddStmt(TL.getAttrRowOperand()); in VisitDependentSizedMatrixTypeLoc()
309 Record.AddStmt(TL.getAttrColumnOperand()); in VisitDependentSizedMatrixTypeLoc()
313 Record.AddSourceLocation(TL.getLocalRangeBegin()); in VisitFunctionTypeLoc()
314 Record.AddSourceLocation(TL.getLParenLoc()); in VisitFunctionTypeLoc()
315 Record.AddSourceLocation(TL.getRParenLoc()); in VisitFunctionTypeLoc()
316 Record.AddSourceRange(TL.getExceptionSpecRange()); in VisitFunctionTypeLoc()
317 Record.AddSourceLocation(TL.getLocalRangeEnd()); in VisitFunctionTypeLoc()
319 Record.AddDeclRef(TL.getParam(i)); in VisitFunctionTypeLoc()
331 Record.AddSourceLocation(TL.getNameLoc()); in VisitUnresolvedUsingTypeLoc()
335 Record.AddSourceLocation(TL.getNameLoc()); in VisitTypedefTypeLoc()
340 Record.AddSourceLocation(TL.getProtocolLAngleLoc()); in VisitObjCTypeParamTypeLoc()
341 Record.AddSourceLocation(TL.getProtocolRAngleLoc()); in VisitObjCTypeParamTypeLoc()
344 Record.AddSourceLocation(TL.getProtocolLoc(i)); in VisitObjCTypeParamTypeLoc()
348 Record.AddSourceLocation(TL.getTypeofLoc()); in VisitTypeOfExprTypeLoc()
349 Record.AddSourceLocation(TL.getLParenLoc()); in VisitTypeOfExprTypeLoc()
350 Record.AddSourceLocation(TL.getRParenLoc()); in VisitTypeOfExprTypeLoc()
354 Record.AddSourceLocation(TL.getTypeofLoc()); in VisitTypeOfTypeLoc()
355 Record.AddSourceLocation(TL.getLParenLoc()); in VisitTypeOfTypeLoc()
356 Record.AddSourceLocation(TL.getRParenLoc()); in VisitTypeOfTypeLoc()
357 Record.AddTypeSourceInfo(TL.getUnderlyingTInfo()); in VisitTypeOfTypeLoc()
361 Record.AddSourceLocation(TL.getNameLoc()); in VisitDecltypeTypeLoc()
365 Record.AddSourceLocation(TL.getKWLoc()); in VisitUnaryTransformTypeLoc()
366 Record.AddSourceLocation(TL.getLParenLoc()); in VisitUnaryTransformTypeLoc()
367 Record.AddSourceLocation(TL.getRParenLoc()); in VisitUnaryTransformTypeLoc()
368 Record.AddTypeSourceInfo(TL.getUnderlyingTInfo()); in VisitUnaryTransformTypeLoc()
372 Record.AddSourceLocation(TL.getNameLoc()); in VisitAutoTypeLoc()
373 Record.push_back(TL.isConstrained()); in VisitAutoTypeLoc()
375 Record.AddNestedNameSpecifierLoc(TL.getNestedNameSpecifierLoc()); in VisitAutoTypeLoc()
376 Record.AddSourceLocation(TL.getTemplateKWLoc()); in VisitAutoTypeLoc()
377 Record.AddSourceLocation(TL.getConceptNameLoc()); in VisitAutoTypeLoc()
378 Record.AddDeclRef(TL.getFoundDecl()); in VisitAutoTypeLoc()
379 Record.AddSourceLocation(TL.getLAngleLoc()); in VisitAutoTypeLoc()
380 Record.AddSourceLocation(TL.getRAngleLoc()); in VisitAutoTypeLoc()
382 Record.AddTemplateArgumentLocInfo(TL.getTypePtr()->getArg(I).getKind(), in VisitAutoTypeLoc()
389 Record.AddSourceLocation(TL.getTemplateNameLoc()); in VisitDeducedTemplateSpecializationTypeLoc()
393 Record.AddSourceLocation(TL.getNameLoc()); in VisitRecordTypeLoc()
397 Record.AddSourceLocation(TL.getNameLoc()); in VisitEnumTypeLoc()
401 Record.AddAttr(TL.getAttr()); in VisitAttributedTypeLoc()
405 Record.AddSourceLocation(TL.getNameLoc()); in VisitTemplateTypeParmTypeLoc()
410 Record.AddSourceLocation(TL.getNameLoc()); in VisitSubstTemplateTypeParmTypeLoc()
415 Record.AddSourceLocation(TL.getNameLoc()); in VisitSubstTemplateTypeParmPackTypeLoc()
420 Record.AddSourceLocation(TL.getTemplateKeywordLoc()); in VisitTemplateSpecializationTypeLoc()
421 Record.AddSourceLocation(TL.getTemplateNameLoc()); in VisitTemplateSpecializationTypeLoc()
422 Record.AddSourceLocation(TL.getLAngleLoc()); in VisitTemplateSpecializationTypeLoc()
423 Record.AddSourceLocation(TL.getRAngleLoc()); in VisitTemplateSpecializationTypeLoc()
425 Record.AddTemplateArgumentLocInfo(TL.getArgLoc(i).getArgument().getKind(), in VisitTemplateSpecializationTypeLoc()
430 Record.AddSourceLocation(TL.getLParenLoc()); in VisitParenTypeLoc()
431 Record.AddSourceLocation(TL.getRParenLoc()); in VisitParenTypeLoc()
435 Record.AddSourceLocation(TL.getExpansionLoc()); in VisitMacroQualifiedTypeLoc()
439 Record.AddSourceLocation(TL.getElaboratedKeywordLoc()); in VisitElaboratedTypeLoc()
440 Record.AddNestedNameSpecifierLoc(TL.getQualifierLoc()); in VisitElaboratedTypeLoc()
444 Record.AddSourceLocation(TL.getNameLoc()); in VisitInjectedClassNameTypeLoc()
448 Record.AddSourceLocation(TL.getElaboratedKeywordLoc()); in VisitDependentNameTypeLoc()
449 Record.AddNestedNameSpecifierLoc(TL.getQualifierLoc()); in VisitDependentNameTypeLoc()
450 Record.AddSourceLocation(TL.getNameLoc()); in VisitDependentNameTypeLoc()
455 Record.AddSourceLocation(TL.getElaboratedKeywordLoc()); in VisitDependentTemplateSpecializationTypeLoc()
456 Record.AddNestedNameSpecifierLoc(TL.getQualifierLoc()); in VisitDependentTemplateSpecializationTypeLoc()
457 Record.AddSourceLocation(TL.getTemplateKeywordLoc()); in VisitDependentTemplateSpecializationTypeLoc()
458 Record.AddSourceLocation(TL.getTemplateNameLoc()); in VisitDependentTemplateSpecializationTypeLoc()
459 Record.AddSourceLocation(TL.getLAngleLoc()); in VisitDependentTemplateSpecializationTypeLoc()
460 Record.AddSourceLocation(TL.getRAngleLoc()); in VisitDependentTemplateSpecializationTypeLoc()
462 Record.AddTemplateArgumentLocInfo(TL.getArgLoc(I).getArgument().getKind(), in VisitDependentTemplateSpecializationTypeLoc()
467 Record.AddSourceLocation(TL.getEllipsisLoc()); in VisitPackExpansionTypeLoc()
471 Record.AddSourceLocation(TL.getNameLoc()); in VisitObjCInterfaceTypeLoc()
475 Record.push_back(TL.hasBaseTypeAsWritten()); in VisitObjCObjectTypeLoc()
476 Record.AddSourceLocation(TL.getTypeArgsLAngleLoc()); in VisitObjCObjectTypeLoc()
477 Record.AddSourceLocation(TL.getTypeArgsRAngleLoc()); in VisitObjCObjectTypeLoc()
479 Record.AddTypeSourceInfo(TL.getTypeArgTInfo(i)); in VisitObjCObjectTypeLoc()
480 Record.AddSourceLocation(TL.getProtocolLAngleLoc()); in VisitObjCObjectTypeLoc()
481 Record.AddSourceLocation(TL.getProtocolRAngleLoc()); in VisitObjCObjectTypeLoc()
483 Record.AddSourceLocation(TL.getProtocolLoc(i)); in VisitObjCObjectTypeLoc()
487 Record.AddSourceLocation(TL.getStarLoc()); in VisitObjCObjectPointerTypeLoc()
491 Record.AddSourceLocation(TL.getKWLoc()); in VisitAtomicTypeLoc()
492 Record.AddSourceLocation(TL.getLParenLoc()); in VisitAtomicTypeLoc()
493 Record.AddSourceLocation(TL.getRParenLoc()); in VisitAtomicTypeLoc()
497 Record.AddSourceLocation(TL.getKWLoc()); in VisitPipeTypeLoc()
501 Record.AddSourceLocation(TL.getNameLoc()); in VisitExtIntTypeLoc()
505 Record.AddSourceLocation(TL.getNameLoc()); in VisitDependentExtIntTypeLoc()
551 ASTWriter::RecordDataImpl &Record) { in EmitBlockID() argument
552 Record.clear(); in EmitBlockID()
553 Record.push_back(ID); in EmitBlockID()
554 Stream.EmitRecord(llvm::bitc::BLOCKINFO_CODE_SETBID, Record); in EmitBlockID()
559 Record.clear(); in EmitBlockID()
561 Record.push_back(*Name++); in EmitBlockID()
562 Stream.EmitRecord(llvm::bitc::BLOCKINFO_CODE_BLOCKNAME, Record); in EmitBlockID()
567 ASTWriter::RecordDataImpl &Record) { in EmitRecordID() argument
568 Record.clear(); in EmitRecordID()
569 Record.push_back(ID); in EmitRecordID()
571 Record.push_back(*Name++); in EmitRecordID()
572 Stream.EmitRecord(llvm::bitc::BLOCKINFO_CODE_SETRECORDNAME, Record); in EmitRecordID()
576 ASTWriter::RecordDataImpl &Record) { in AddStmtsExprs() argument
577 #define RECORD(X) EmitRecordID(X, #X, Stream, Record) in AddStmtsExprs()
708 RecordData Record; in WriteBlockInfoBlock() local
711 #define BLOCK(X) EmitBlockID(X ## _ID, #X, Stream, Record) in WriteBlockInfoBlock()
712 #define RECORD(X) EmitRecordID(X, #X, Stream, Record) in WriteBlockInfoBlock()
953 AddStmtsExprs(Stream, Record); in WriteBlockInfoBlock()
1058 RecordData Record; in writeUnhashedControlBlock() local
1072 Record.append(ASTBlockHash.begin(), ASTBlockHash.end()); in writeUnhashedControlBlock()
1073 Stream.EmitRecord(AST_BLOCK_HASH, Record); in writeUnhashedControlBlock()
1074 Record.clear(); in writeUnhashedControlBlock()
1075 Record.append(Signature.begin(), Signature.end()); in writeUnhashedControlBlock()
1076 Stream.EmitRecord(SIGNATURE, Record); in writeUnhashedControlBlock()
1077 Record.clear(); in writeUnhashedControlBlock()
1083 #define DIAGOPT(Name, Bits, Default) Record.push_back(DiagOpts.Name); in writeUnhashedControlBlock()
1085 Record.push_back(static_cast<unsigned>(DiagOpts.get##Name())); in writeUnhashedControlBlock()
1087 Record.push_back(DiagOpts.Warnings.size()); in writeUnhashedControlBlock()
1089 AddString(DiagOpts.Warnings[I], Record); in writeUnhashedControlBlock()
1090 Record.push_back(DiagOpts.Remarks.size()); in writeUnhashedControlBlock()
1092 AddString(DiagOpts.Remarks[I], Record); in writeUnhashedControlBlock()
1095 Stream.EmitRecord(DIAGNOSTIC_OPTIONS, Record); in writeUnhashedControlBlock()
1112 RecordData Record; in WriteControlBlock() local
1129 RecordData::value_type Record[] = { in WriteControlBlock() local
1138 Stream.EmitRecordWithBlob(MetadataAbbrevCode, Record, in WriteControlBlock()
1148 RecordData::value_type Record[] = {MODULE_NAME}; in WriteControlBlock() local
1149 Stream.EmitRecordWithBlob(AbbrevCode, Record, WritingModule->Name); in WriteControlBlock()
1169 RecordData::value_type Record[] = {MODULE_DIRECTORY}; in WriteControlBlock() local
1170 Stream.EmitRecordWithBlob(AbbrevCode, Record, BaseDir); in WriteControlBlock()
1182 Record.clear(); in WriteControlBlock()
1188 Record); in WriteControlBlock()
1193 Record.push_back(AdditionalModMaps->size()); in WriteControlBlock()
1195 AddPath(F->getName(), Record); in WriteControlBlock()
1197 Record.push_back(0); in WriteControlBlock()
1200 Stream.EmitRecord(MODULE_MAP_FILE, Record); in WriteControlBlock()
1206 Record.clear(); in WriteControlBlock()
1213 Record.push_back((unsigned)M.Kind); // FIXME: Stable encoding in WriteControlBlock()
1214 AddSourceLocation(M.ImportLoc, Record); in WriteControlBlock()
1218 Record.push_back(M.Signature ? 0 : M.File->getSize()); in WriteControlBlock()
1219 Record.push_back(M.Signature ? 0 : getTimestampForOutput(M.File)); in WriteControlBlock()
1222 Record.push_back(I); in WriteControlBlock()
1224 AddString(M.ModuleName, Record); in WriteControlBlock()
1225 AddPath(M.FileName, Record); in WriteControlBlock()
1227 Stream.EmitRecord(IMPORTS, Record); in WriteControlBlock()
1234 Record.clear(); in WriteControlBlock()
1237 Record.push_back(LangOpts.Name); in WriteControlBlock()
1239 Record.push_back(static_cast<unsigned>(LangOpts.get##Name())); in WriteControlBlock()
1242 Record.push_back(LangOpts.Sanitize.has(SanitizerKind::ID)); in WriteControlBlock()
1245 Record.push_back(LangOpts.ModuleFeatures.size()); in WriteControlBlock()
1247 AddString(Feature, Record); in WriteControlBlock()
1249 Record.push_back((unsigned) LangOpts.ObjCRuntime.getKind()); in WriteControlBlock()
1250 AddVersionTuple(LangOpts.ObjCRuntime.getVersion(), Record); in WriteControlBlock()
1252 AddString(LangOpts.CurrentModule, Record); in WriteControlBlock()
1255 Record.push_back(LangOpts.CommentOpts.BlockCommandNames.size()); in WriteControlBlock()
1257 AddString(I, Record); in WriteControlBlock()
1259 Record.push_back(LangOpts.CommentOpts.ParseAllComments); in WriteControlBlock()
1262 Record.push_back(LangOpts.OMPTargetTriples.size()); in WriteControlBlock()
1264 AddString(T.getTriple(), Record); in WriteControlBlock()
1266 AddString(LangOpts.OMPHostIRFile, Record); in WriteControlBlock()
1268 Stream.EmitRecord(LANGUAGE_OPTIONS, Record); in WriteControlBlock()
1271 Record.clear(); in WriteControlBlock()
1274 AddString(TargetOpts.Triple, Record); in WriteControlBlock()
1275 AddString(TargetOpts.CPU, Record); in WriteControlBlock()
1276 AddString(TargetOpts.TuneCPU, Record); in WriteControlBlock()
1277 AddString(TargetOpts.ABI, Record); in WriteControlBlock()
1278 Record.push_back(TargetOpts.FeaturesAsWritten.size()); in WriteControlBlock()
1280 AddString(TargetOpts.FeaturesAsWritten[I], Record); in WriteControlBlock()
1282 Record.push_back(TargetOpts.Features.size()); in WriteControlBlock()
1284 AddString(TargetOpts.Features[I], Record); in WriteControlBlock()
1286 Stream.EmitRecord(TARGET_OPTIONS, Record); in WriteControlBlock()
1289 Record.clear(); in WriteControlBlock()
1292 AddString(FSOpts.WorkingDir, Record); in WriteControlBlock()
1293 Stream.EmitRecord(FILE_SYSTEM_OPTIONS, Record); in WriteControlBlock()
1296 Record.clear(); in WriteControlBlock()
1299 AddString(HSOpts.Sysroot, Record); in WriteControlBlock()
1302 Record.push_back(HSOpts.UserEntries.size()); in WriteControlBlock()
1305 AddString(Entry.Path, Record); in WriteControlBlock()
1306 Record.push_back(static_cast<unsigned>(Entry.Group)); in WriteControlBlock()
1307 Record.push_back(Entry.IsFramework); in WriteControlBlock()
1308 Record.push_back(Entry.IgnoreSysRoot); in WriteControlBlock()
1312 Record.push_back(HSOpts.SystemHeaderPrefixes.size()); in WriteControlBlock()
1314 AddString(HSOpts.SystemHeaderPrefixes[I].Prefix, Record); in WriteControlBlock()
1315 Record.push_back(HSOpts.SystemHeaderPrefixes[I].IsSystemHeader); in WriteControlBlock()
1318 AddString(HSOpts.ResourceDir, Record); in WriteControlBlock()
1319 AddString(HSOpts.ModuleCachePath, Record); in WriteControlBlock()
1320 AddString(HSOpts.ModuleUserBuildPath, Record); in WriteControlBlock()
1321 Record.push_back(HSOpts.DisableModuleHash); in WriteControlBlock()
1322 Record.push_back(HSOpts.ImplicitModuleMaps); in WriteControlBlock()
1323 Record.push_back(HSOpts.ModuleMapFileHomeIsCwd); in WriteControlBlock()
1324 Record.push_back(HSOpts.EnablePrebuiltImplicitModules); in WriteControlBlock()
1325 Record.push_back(HSOpts.UseBuiltinIncludes); in WriteControlBlock()
1326 Record.push_back(HSOpts.UseStandardSystemIncludes); in WriteControlBlock()
1327 Record.push_back(HSOpts.UseStandardCXXIncludes); in WriteControlBlock()
1328 Record.push_back(HSOpts.UseLibcxx); in WriteControlBlock()
1330 AddString(PP.getHeaderSearchInfo().getModuleCachePath(), Record); in WriteControlBlock()
1331 Stream.EmitRecord(HEADER_SEARCH_OPTIONS, Record); in WriteControlBlock()
1334 Record.clear(); in WriteControlBlock()
1338 Record.push_back(PPOpts.Macros.size()); in WriteControlBlock()
1340 AddString(PPOpts.Macros[I].first, Record); in WriteControlBlock()
1341 Record.push_back(PPOpts.Macros[I].second); in WriteControlBlock()
1345 Record.push_back(PPOpts.Includes.size()); in WriteControlBlock()
1347 AddString(PPOpts.Includes[I], Record); in WriteControlBlock()
1350 Record.push_back(PPOpts.MacroIncludes.size()); in WriteControlBlock()
1352 AddString(PPOpts.MacroIncludes[I], Record); in WriteControlBlock()
1354 Record.push_back(PPOpts.UsePredefines); in WriteControlBlock()
1356 Record.push_back(PPOpts.DetailedRecord); in WriteControlBlock()
1357 AddString(PPOpts.ImplicitPCHInclude, Record); in WriteControlBlock()
1358 Record.push_back(static_cast<unsigned>(PPOpts.ObjCXXARCStandardLibrary)); in WriteControlBlock()
1359 Stream.EmitRecord(PREPROCESSOR_OPTIONS, Record); in WriteControlBlock()
1373 Record.clear(); in WriteControlBlock()
1374 Record.push_back(ORIGINAL_FILE); in WriteControlBlock()
1375 Record.push_back(SM.getMainFileID().getOpaqueValue()); in WriteControlBlock()
1376 EmitRecordWithPath(FileAbbrevCode, Record, MainFile->getName()); in WriteControlBlock()
1379 Record.clear(); in WriteControlBlock()
1380 Record.push_back(SM.getMainFileID().getOpaqueValue()); in WriteControlBlock()
1381 Stream.EmitRecord(ORIGINAL_FILE_ID, Record); in WriteControlBlock()
1395 RecordData::value_type Record[] = {ORIGINAL_PCH_DIR}; in WriteControlBlock() local
1396 Stream.EmitRecordWithBlob(AbbrevCode, Record, origDir); in WriteControlBlock()
1512 RecordData::value_type Record[] = { in WriteInputFiles() local
1522 EmitRecordWithPath(IFAbbrevCode, Record, Entry.File->getName()); in WriteInputFiles()
1527 RecordData::value_type Record[] = {INPUT_FILE_HASH, Entry.ContentHash[0], in WriteInputFiles() local
1529 Stream.EmitRecordWithAbbrev(IFHAbbrevCode, Record); in WriteInputFiles()
1545 RecordData::value_type Record[] = {INPUT_FILE_OFFSETS, in WriteInputFiles() local
1547 Stream.EmitRecordWithBlob(OffsetsAbbrevCode, Record, bytes(InputFileOffsets)); in WriteInputFiles()
1881 RecordData::value_type Record[] = {HEADER_SEARCH_TABLE, BucketOffset, in WriteHeaderSearch() local
1884 Stream.EmitRecordWithBlob(TableAbbrev, Record, TableData); in WriteHeaderSearch()
1902 RecordDataType Record[] = {SM_SLOC_BUFFER_BLOB_COMPRESSED, in emitBlob() local
1904 Stream.EmitRecordWithBlob(SLocBufferBlobCompressedAbbrv, Record, in emitBlob()
1911 RecordDataType Record[] = {SM_SLOC_BUFFER_BLOB}; in emitBlob() local
1912 Stream.EmitRecordWithBlob(SLocBufferBlobAbbrv, Record, Blob); in emitBlob()
1925 RecordData Record; in WriteSourceManagerBlock() local
1967 Record.clear(); in WriteSourceManagerBlock()
1968 Record.push_back(Code); in WriteSourceManagerBlock()
1971 Record.push_back(SLoc->getOffset() - 2); in WriteSourceManagerBlock()
1974 AddSourceLocation(File.getIncludeLoc(), Record); in WriteSourceManagerBlock()
1975 Record.push_back(File.getFileCharacteristic()); // FIXME: stable encoding in WriteSourceManagerBlock()
1976 Record.push_back(File.hasLineDirectives()); in WriteSourceManagerBlock()
1986 Record.push_back(InputFileIDs[Content->OrigEntry]); in WriteSourceManagerBlock()
1988 Record.push_back(File.NumCreatedFIDs); in WriteSourceManagerBlock()
1992 Record.push_back(FDI->second->FirstDeclIndex); in WriteSourceManagerBlock()
1993 Record.push_back(FDI->second->DeclIDs.size()); in WriteSourceManagerBlock()
1995 Record.push_back(0); in WriteSourceManagerBlock()
1996 Record.push_back(0); in WriteSourceManagerBlock()
1999 Stream.EmitRecordWithAbbrev(SLocFileAbbrv, Record); in WriteSourceManagerBlock()
2013 Stream.EmitRecordWithBlob(SLocBufferAbbrv, Record, in WriteSourceManagerBlock()
2035 AddSourceLocation(Expansion.getSpellingLoc(), Record); in WriteSourceManagerBlock()
2036 AddSourceLocation(Expansion.getExpansionLocStart(), Record); in WriteSourceManagerBlock()
2040 Record); in WriteSourceManagerBlock()
2041 Record.push_back(Expansion.isExpansionTokenRange()); in WriteSourceManagerBlock()
2047 Record.push_back(NextOffset - SLoc->getOffset() - 1); in WriteSourceManagerBlock()
2048 Stream.EmitRecordWithAbbrev(SLocExpansionAbbrv, Record); in WriteSourceManagerBlock()
2069 RecordData::value_type Record[] = { in WriteSourceManagerBlock() local
2073 Stream.EmitRecordWithBlob(SLocOffsetsAbbrev, Record, in WriteSourceManagerBlock()
2085 Record.clear(); in WriteSourceManagerBlock()
2096 AddPath(LineTable.getFilename(LE.FilenameID), Record); in WriteSourceManagerBlock()
2099 Record.push_back(0); in WriteSourceManagerBlock()
2108 Record.push_back(L.first.ID); in WriteSourceManagerBlock()
2111 Record.push_back(L.second.size()); in WriteSourceManagerBlock()
2113 Record.push_back(LE.FileOffset); in WriteSourceManagerBlock()
2114 Record.push_back(LE.LineNo); in WriteSourceManagerBlock()
2115 Record.push_back(FilenameMap[LE.FilenameID]); in WriteSourceManagerBlock()
2116 Record.push_back((unsigned)LE.FileKind); in WriteSourceManagerBlock()
2117 Record.push_back(LE.IncludeOffset); in WriteSourceManagerBlock()
2121 Stream.EmitRecord(SOURCE_MANAGER_LINE_TABLE, Record); in WriteSourceManagerBlock()
2155 RecordData Record; in WritePreprocessor() local
2160 RecordData::value_type Record[] = {PP.getCounterValue()}; in WritePreprocessor() local
2161 Stream.EmitRecord(PP_COUNTER_VALUE, Record); in WritePreprocessor()
2168 Record.push_back(true); in WritePreprocessor()
2169 AddSourceLocation(SkipInfo->HashTokenLoc, Record); in WritePreprocessor()
2170 AddSourceLocation(SkipInfo->IfTokenLoc, Record); in WritePreprocessor()
2171 Record.push_back(SkipInfo->FoundNonSkipPortion); in WritePreprocessor()
2172 Record.push_back(SkipInfo->FoundElse); in WritePreprocessor()
2173 AddSourceLocation(SkipInfo->ElseLoc, Record); in WritePreprocessor()
2175 Record.push_back(false); in WritePreprocessor()
2178 AddSourceLocation(Cond.IfLoc, Record); in WritePreprocessor()
2179 Record.push_back(Cond.WasSkipping); in WritePreprocessor()
2180 Record.push_back(Cond.FoundNonSkip); in WritePreprocessor()
2181 Record.push_back(Cond.FoundElse); in WritePreprocessor()
2183 Stream.EmitRecord(PP_CONDITIONAL_STACK, Record); in WritePreprocessor()
2184 Record.clear(); in WritePreprocessor()
2224 AddSourceLocation(MD->getLocation(), Record); in WritePreprocessor()
2225 Record.push_back(MD->getKind()); in WritePreprocessor()
2227 Record.push_back(getMacroRef(DefMD->getInfo(), Name)); in WritePreprocessor()
2229 Record.push_back(VisMD->isPublic()); in WritePreprocessor()
2260 if (Record.empty() && !EmittedModuleMacros) in WritePreprocessor()
2264 Stream.EmitRecord(PP_MACRO_DIRECTIVE_HISTORY, Record); in WritePreprocessor()
2265 Record.clear(); in WritePreprocessor()
2295 AddIdentifierRef(Name, Record); in WritePreprocessor()
2296 AddSourceLocation(MI->getDefinitionLoc(), Record); in WritePreprocessor()
2297 AddSourceLocation(MI->getDefinitionEndLoc(), Record); in WritePreprocessor()
2298 Record.push_back(MI->isUsed()); in WritePreprocessor()
2299 Record.push_back(MI->isUsedForHeaderGuard()); in WritePreprocessor()
2306 Record.push_back(MI->isC99Varargs()); in WritePreprocessor()
2307 Record.push_back(MI->isGNUVarargs()); in WritePreprocessor()
2308 Record.push_back(MI->hasCommaPasting()); in WritePreprocessor()
2309 Record.push_back(MI->getNumParams()); in WritePreprocessor()
2311 AddIdentifierRef(Param, Record); in WritePreprocessor()
2317 Record.push_back(MacroDefinitions[PPRec->findMacroDefinition(MI)]); in WritePreprocessor()
2319 Stream.EmitRecord(Code, Record); in WritePreprocessor()
2320 Record.clear(); in WritePreprocessor()
2328 AddToken(Tok, Record); in WritePreprocessor()
2329 Stream.EmitRecord(PP_TOKEN, Record); in WritePreprocessor()
2330 Record.clear(); in WritePreprocessor()
2349 RecordData::value_type Record[] = {MACRO_OFFSET, MacroOffsets.size(), in WritePreprocessor() local
2352 Stream.EmitRecordWithBlob(MacroOffsetAbbrev, Record, bytes(MacroOffsets)); in WritePreprocessor()
2387 RecordData Record; in WritePreprocessorDetail() local
2392 Record.clear(); in WritePreprocessorDetail()
2403 AddIdentifierRef(MD->getName(), Record); in WritePreprocessorDetail()
2404 Stream.EmitRecord(PPD_MACRO_DEFINITION, Record); in WritePreprocessorDetail()
2409 Record.push_back(ME->isBuiltinMacro()); in WritePreprocessorDetail()
2411 AddIdentifierRef(ME->getName(), Record); in WritePreprocessorDetail()
2413 Record.push_back(MacroDefinitions[ME->getDefinition()]); in WritePreprocessorDetail()
2414 Stream.EmitRecord(PPD_MACRO_EXPANSION, Record); in WritePreprocessorDetail()
2419 Record.push_back(PPD_INCLUSION_DIRECTIVE); in WritePreprocessorDetail()
2420 Record.push_back(ID->getFileName().size()); in WritePreprocessorDetail()
2421 Record.push_back(ID->wasInQuotes()); in WritePreprocessorDetail()
2422 Record.push_back(static_cast<unsigned>(ID->getKind())); in WritePreprocessorDetail()
2423 Record.push_back(ID->importedModule()); in WritePreprocessorDetail()
2430 Stream.EmitRecordWithBlob(InclusionAbbrev, Record, Buffer); in WritePreprocessorDetail()
2451 RecordData::value_type Record[] = {PPD_ENTITIES_OFFSETS, in WritePreprocessorDetail() local
2454 Stream.EmitRecordWithBlob(PPEOffsetAbbrev, Record, in WritePreprocessorDetail()
2472 Record.clear(); in WritePreprocessorDetail()
2473 Record.push_back(PPD_SKIPPED_RANGES); in WritePreprocessorDetail()
2474 Stream.EmitRecordWithBlob(PPESkippedRangeAbbrev, Record, in WritePreprocessorDetail()
2610 RecordData::value_type Record[] = { in WriteSubmodules() local
2613 Stream.EmitRecord(SUBMODULE_METADATA, Record); in WriteSubmodules()
2631 RecordData::value_type Record[] = {SUBMODULE_DEFINITION, in WriteSubmodules() local
2644 Stream.EmitRecordWithBlob(DefinitionAbbrev, Record, Mod->Name); in WriteSubmodules()
2649 RecordData::value_type Record[] = {SUBMODULE_REQUIRES, R.second}; in WriteSubmodules() local
2650 Stream.EmitRecordWithBlob(RequiresAbbrev, Record, R.first); in WriteSubmodules()
2655 RecordData::value_type Record[] = {SUBMODULE_UMBRELLA_HEADER}; in WriteSubmodules() local
2656 Stream.EmitRecordWithBlob(UmbrellaAbbrev, Record, in WriteSubmodules()
2659 RecordData::value_type Record[] = {SUBMODULE_UMBRELLA_DIR}; in WriteSubmodules() local
2660 Stream.EmitRecordWithBlob(UmbrellaDirAbbrev, Record, in WriteSubmodules()
2678 RecordData::value_type Record[] = {HL.RecordKind}; in WriteSubmodules() local
2680 Stream.EmitRecordWithBlob(HL.Abbrev, Record, H.NameAsWritten); in WriteSubmodules()
2686 RecordData::value_type Record[] = {SUBMODULE_TOPHEADER}; in WriteSubmodules() local
2688 Stream.EmitRecordWithBlob(TopHeaderAbbrev, Record, H->getName()); in WriteSubmodules()
2693 RecordData Record; in WriteSubmodules() local
2695 Record.push_back(getSubmoduleID(I)); in WriteSubmodules()
2696 Stream.EmitRecord(SUBMODULE_IMPORTS, Record); in WriteSubmodules()
2701 RecordData Record; in WriteSubmodules() local
2705 Record.push_back(getSubmoduleID(E.getPointer())); in WriteSubmodules()
2706 Record.push_back(E.getInt()); in WriteSubmodules()
2708 Stream.EmitRecord(SUBMODULE_EXPORTS, Record); in WriteSubmodules()
2717 RecordData::value_type Record[] = {SUBMODULE_LINK_LIBRARY, in WriteSubmodules() local
2719 Stream.EmitRecordWithBlob(LinkLibraryAbbrev, Record, LL.Library); in WriteSubmodules()
2726 RecordData::value_type Record[] = {SUBMODULE_CONFLICT, in WriteSubmodules() local
2728 Stream.EmitRecordWithBlob(ConflictAbbrev, Record, C.Message); in WriteSubmodules()
2733 RecordData::value_type Record[] = {SUBMODULE_CONFIG_MACRO}; in WriteSubmodules() local
2734 Stream.EmitRecordWithBlob(ConfigMacroAbbrev, Record, CM); in WriteSubmodules()
2746 RecordData::value_type Record[] = {SUBMODULE_EXPORT_AS}; in WriteSubmodules() local
2747 Stream.EmitRecordWithBlob(ExportAsAbbrev, Record, Mod->ExportAsModule); in WriteSubmodules()
2768 RecordData Record; in WritePragmaDiagnosticMappings() local
2782 Record.push_back(Flags); in WritePragmaDiagnosticMappings()
2792 Record.push_back(DiagStateID); in WritePragmaDiagnosticMappings()
2798 auto SizeIdx = Record.size(); in WritePragmaDiagnosticMappings()
2799 Record.emplace_back(); in WritePragmaDiagnosticMappings()
2802 Record.push_back(I.first); in WritePragmaDiagnosticMappings()
2803 Record.push_back(I.second.serialize()); in WritePragmaDiagnosticMappings()
2807 Record[SizeIdx] = (Record.size() - SizeIdx) / 2; in WritePragmaDiagnosticMappings()
2814 auto NumLocationsIdx = Record.size(); in WritePragmaDiagnosticMappings()
2815 Record.emplace_back(); in WritePragmaDiagnosticMappings()
2827 AddSourceLocation(Loc, Record); in WritePragmaDiagnosticMappings()
2829 Record.push_back(FileIDAndFile.second.StateTransitions.size()); in WritePragmaDiagnosticMappings()
2831 Record.push_back(StatePoint.Offset); in WritePragmaDiagnosticMappings()
2837 Record[NumLocationsIdx] = NumLocations; in WritePragmaDiagnosticMappings()
2845 AddSourceLocation(Diag.DiagStatesByLoc.CurDiagStateLoc, Record); in WritePragmaDiagnosticMappings()
2848 Stream.EmitRecord(DIAG_PRAGMA_MAPPINGS, Record); in WritePragmaDiagnosticMappings()
2901 RecordData::value_type Record[] = {DECL_CONTEXT_LEXICAL}; in WriteDeclContextLexicalBlock() local
2902 Stream.EmitRecordWithBlob(DeclContextLexicalAbbrev, Record, in WriteDeclContextLexicalBlock()
2918 RecordData::value_type Record[] = {TYPE_OFFSET, TypeOffsets.size(), in WriteTypeDeclOffsets() local
2920 Stream.EmitRecordWithBlob(TypeOffsetAbbrev, Record, bytes(TypeOffsets)); in WriteTypeDeclOffsets()
2931 RecordData::value_type Record[] = {DECL_OFFSET, DeclOffsets.size(), in WriteTypeDeclOffsets() local
2933 Stream.EmitRecordWithBlob(DeclOffsetAbbrev, Record, bytes(DeclOffsets)); in WriteTypeDeclOffsets()
2960 RecordData::value_type Record[] = {FILE_SORTED_DECLS, in WriteFileDeclIDsMap() local
2962 Stream.EmitRecordWithBlob(AbbrevCode, Record, bytes(FileGroupedDeclIDs)); in WriteFileDeclIDsMap()
2970 RecordData Record; in WriteComments() local
2974 Record.clear(); in WriteComments()
2975 AddSourceRange(I->getSourceRange(), Record); in WriteComments()
2976 Record.push_back(I->getKind()); in WriteComments()
2977 Record.push_back(I->isTrailingComment()); in WriteComments()
2978 Record.push_back(I->isAlmostTrailingComment()); in WriteComments()
2979 Stream.EmitRecord(COMMENTS_RAW_COMMENT, Record); in WriteComments()
3175 RecordData::value_type Record[] = {METHOD_POOL, BucketOffset, in WriteSelectors() local
3177 Stream.EmitRecordWithBlob(MethodPoolAbbrev, Record, MethodPool); in WriteSelectors()
3190 RecordData::value_type Record[] = { in WriteSelectors() local
3193 Stream.EmitRecordWithBlob(SelectorOffsetAbbrev, Record, in WriteSelectors()
3206 RecordData Record; in WriteReferencedSelectorsPool() local
3207 ASTRecordWriter Writer(*this, Record); in WriteReferencedSelectorsPool()
3475 RecordData::value_type Record[] = {IDENTIFIER_TABLE, BucketOffset}; in WriteIdentifierTable() local
3476 Stream.EmitRecordWithBlob(IDTableAbbrev, Record, IdentifierTable); in WriteIdentifierTable()
3492 RecordData::value_type Record[] = {IDENTIFIER_OFFSET, in WriteIdentifierTable() local
3495 Stream.EmitRecordWithBlob(IdentifierOffsetAbbrev, Record, in WriteIdentifierTable()
3911 RecordData::value_type Record[] = {DECL_CONTEXT_VISIBLE}; in WriteDeclContextVisibleBlock() local
3912 Stream.EmitRecordWithBlob(DeclContextVisibleLookupAbbrev, Record, in WriteDeclContextVisibleBlock()
3939 RecordData::value_type Record[] = {UPDATE_VISIBLE, getDeclID(cast<Decl>(DC))}; in WriteDeclContextVisibleUpdate() local
3940 Stream.EmitRecordWithBlob(UpdateVisibleAbbrev, Record, LookupTable); in WriteDeclContextVisibleUpdate()
3945 RecordData::value_type Record[] = {Opts.getAsOpaqueInt()}; in WriteFPPragmaOptions() local
3946 Stream.EmitRecord(FP_PRAGMA_OPTIONS, Record); in WriteFPPragmaOptions()
3955 RecordData Record; in WriteOpenCLExtensions() local
3957 AddString(I.getKey(), Record); in WriteOpenCLExtensions()
3959 Record.push_back(V.Supported ? 1 : 0); in WriteOpenCLExtensions()
3960 Record.push_back(V.Enabled ? 1 : 0); in WriteOpenCLExtensions()
3961 Record.push_back(V.WithPragma ? 1 : 0); in WriteOpenCLExtensions()
3962 Record.push_back(V.Avail); in WriteOpenCLExtensions()
3963 Record.push_back(V.Core); in WriteOpenCLExtensions()
3964 Record.push_back(V.Opt); in WriteOpenCLExtensions()
3966 Stream.EmitRecord(OPENCL_EXTENSIONS, Record); in WriteOpenCLExtensions()
3970 RecordData::value_type Record[] = {SemaRef.ForceCUDAHostDeviceDepth}; in WriteCUDAPragmas() local
3971 Stream.EmitRecord(CUDA_PRAGMA_FORCE_HOST_DEVICE_DEPTH, Record); in WriteCUDAPragmas()
4018 RecordData::value_type Record[] = {OBJC_CATEGORIES_MAP, CategoriesMap.size()}; in WriteObjCCategories() local
4019 Stream.EmitRecordWithBlob(AbbrevID, Record, in WriteObjCCategories()
4033 RecordData Record; in WriteLateParsedTemplates() local
4037 AddDeclRef(FD, Record); in WriteLateParsedTemplates()
4038 AddDeclRef(LPT.D, Record); in WriteLateParsedTemplates()
4039 Record.push_back(LPT.Toks.size()); in WriteLateParsedTemplates()
4042 AddToken(Tok, Record); in WriteLateParsedTemplates()
4045 Stream.EmitRecord(LATE_PARSED_TEMPLATE, Record); in WriteLateParsedTemplates()
4050 RecordData Record; in WriteOptimizePragmaOptions() local
4052 AddSourceLocation(PragmaLoc, Record); in WriteOptimizePragmaOptions()
4053 Stream.EmitRecord(OPTIMIZE_PRAGMA_OPTIONS, Record); in WriteOptimizePragmaOptions()
4058 RecordData Record; in WriteMSStructPragmaOptions() local
4059 Record.push_back(SemaRef.MSStructPragmaOn ? PMSST_ON : PMSST_OFF); in WriteMSStructPragmaOptions()
4060 Stream.EmitRecord(MSSTRUCT_PRAGMA_OPTIONS, Record); in WriteMSStructPragmaOptions()
4066 RecordData Record; in WriteMSPointersToMembersPragmaOptions() local
4067 Record.push_back(SemaRef.MSPointerToMemberRepresentationMethod); in WriteMSPointersToMembersPragmaOptions()
4068 AddSourceLocation(SemaRef.ImplicitMSInheritanceAttrLoc, Record); in WriteMSPointersToMembersPragmaOptions()
4069 Stream.EmitRecord(POINTERS_TO_MEMBERS_PRAGMA_OPTIONS, Record); in WriteMSPointersToMembersPragmaOptions()
4079 RecordData Record; in WritePackPragmaOptions() local
4080 AddAlignPackInfo(SemaRef.AlignPackStack.CurrentValue, Record); in WritePackPragmaOptions()
4081 AddSourceLocation(SemaRef.AlignPackStack.CurrentPragmaLocation, Record); in WritePackPragmaOptions()
4082 Record.push_back(SemaRef.AlignPackStack.Stack.size()); in WritePackPragmaOptions()
4084 AddAlignPackInfo(StackEntry.Value, Record); in WritePackPragmaOptions()
4085 AddSourceLocation(StackEntry.PragmaLocation, Record); in WritePackPragmaOptions()
4086 AddSourceLocation(StackEntry.PragmaPushLocation, Record); in WritePackPragmaOptions()
4087 AddString(StackEntry.StackSlotLabel, Record); in WritePackPragmaOptions()
4089 Stream.EmitRecord(ALIGN_PACK_PRAGMA_OPTIONS, Record); in WritePackPragmaOptions()
4099 RecordData Record; in WriteFloatControlPragmaOptions() local
4100 Record.push_back(SemaRef.FpPragmaStack.CurrentValue.getAsOpaqueInt()); in WriteFloatControlPragmaOptions()
4101 AddSourceLocation(SemaRef.FpPragmaStack.CurrentPragmaLocation, Record); in WriteFloatControlPragmaOptions()
4102 Record.push_back(SemaRef.FpPragmaStack.Stack.size()); in WriteFloatControlPragmaOptions()
4104 Record.push_back(StackEntry.Value.getAsOpaqueInt()); in WriteFloatControlPragmaOptions()
4105 AddSourceLocation(StackEntry.PragmaLocation, Record); in WriteFloatControlPragmaOptions()
4106 AddSourceLocation(StackEntry.PragmaPushLocation, Record); in WriteFloatControlPragmaOptions()
4107 AddString(StackEntry.StackSlotLabel, Record); in WriteFloatControlPragmaOptions()
4109 Stream.EmitRecord(FLOAT_CONTROL_PRAGMA_OPTIONS, Record); in WriteFloatControlPragmaOptions()
4128 RecordData Record; in WriteModuleFileExtension() local
4130 Record.push_back(EXTENSION_METADATA); in WriteModuleFileExtension()
4131 Record.push_back(Metadata.MajorVersion); in WriteModuleFileExtension()
4132 Record.push_back(Metadata.MinorVersion); in WriteModuleFileExtension()
4133 Record.push_back(Metadata.BlockName.size()); in WriteModuleFileExtension()
4134 Record.push_back(Metadata.UserInfo.size()); in WriteModuleFileExtension()
4138 Stream.EmitRecordWithBlob(Abbrev, Record, Buffer); in WriteModuleFileExtension()
4152 auto &Record = *this; in AddAttr() local
4154 return Record.push_back(0); in AddAttr()
4155 Record.push_back(A->getKind() + 1); // FIXME: stable encoding, target attrs in AddAttr()
4157 Record.AddIdentifierRef(A->getAttrName()); in AddAttr()
4158 Record.AddIdentifierRef(A->getScopeName()); in AddAttr()
4159 Record.AddSourceRange(A->getRange()); in AddAttr()
4160 Record.AddSourceLocation(A->getScopeLoc()); in AddAttr()
4161 Record.push_back(A->getParsedKind()); in AddAttr()
4162 Record.push_back(A->getSyntax()); in AddAttr()
4163 Record.push_back(A->getAttributeSpellingListIndexRaw()); in AddAttr()
4175 void ASTWriter::AddToken(const Token &Tok, RecordDataImpl &Record) { in AddToken() argument
4176 AddSourceLocation(Tok.getLocation(), Record); in AddToken()
4177 Record.push_back(Tok.getLength()); in AddToken()
4181 AddIdentifierRef(Tok.getIdentifierInfo(), Record); in AddToken()
4183 Record.push_back(Tok.getKind()); in AddToken()
4185 Record.push_back(Tok.getFlags()); in AddToken()
4188 void ASTWriter::AddString(StringRef Str, RecordDataImpl &Record) { in AddString() argument
4189 Record.push_back(Str.size()); in AddString()
4190 Record.insert(Record.end(), Str.begin(), Str.end()); in AddString()
4211 void ASTWriter::AddPath(StringRef Path, RecordDataImpl &Record) { in AddPath() argument
4214 AddString(FilePath, Record); in AddPath()
4217 void ASTWriter::EmitRecordWithPath(unsigned Abbrev, RecordDataRef Record, in EmitRecordWithPath() argument
4221 Stream.EmitRecordWithBlob(Abbrev, Record, FilePath); in EmitRecordWithPath()
4225 RecordDataImpl &Record) { in AddVersionTuple() argument
4226 Record.push_back(Version.getMajor()); in AddVersionTuple()
4228 Record.push_back(*Minor + 1); in AddVersionTuple()
4230 Record.push_back(0); in AddVersionTuple()
4232 Record.push_back(*Subminor + 1); in AddVersionTuple()
4234 Record.push_back(0); in AddVersionTuple()
4322 ASTWriter::RecordData &Record) { in AddLazyVectorDecls() argument
4325 Writer.AddDeclRef(*I, Record); in AddLazyVectorDecls()
4494 RecordData Record = {VERSION_MAJOR}; in WriteASTCore() local
4495 Stream.EmitRecord(METADATA_OLD_FORMAT, Record); in WriteASTCore()
4514 RecordData::value_type Record[] = {TU_UPDATE_LEXICAL}; in WriteASTCore() local
4515 Stream.EmitRecordWithBlob(TuUpdateLexicalAbbrev, Record, in WriteASTCore()
4535 ASTWriter::UpdateRecord &Record = DeclUpdates[TU]; in WriteASTCore() local
4536 if (Record.empty()) in WriteASTCore()
4537 Record.push_back(DeclUpdate(UPD_CXX_ADDED_ANONYMOUS_NAMESPACE, NS)); in WriteASTCore()
4664 RecordData::value_type Record[] = {MODULE_OFFSET_MAP}; in WriteASTCore() local
4665 Stream.EmitRecordWithBlob(ModuleOffsetMapAbbrev, Record, in WriteASTCore()
4839 RecordData::value_type Record[] = { in WriteASTCore() local
4841 Stream.EmitRecord(STATISTICS, Record); in WriteASTCore()
4865 ASTRecordWriter Record(*this, RecordData); in WriteDeclUpdatesBlocks() local
4874 Record.push_back(Kind); in WriteDeclUpdatesBlocks()
4881 Record.push_back(GetDeclRef(Update.getDecl())); in WriteDeclUpdatesBlocks()
4889 Record.AddSourceLocation(Update.getLoc()); in WriteDeclUpdatesBlocks()
4894 Record.push_back(VD->isInline()); in WriteDeclUpdatesBlocks()
4895 Record.push_back(VD->isInlineSpecified()); in WriteDeclUpdatesBlocks()
4896 Record.AddVarDeclInit(VD); in WriteDeclUpdatesBlocks()
4901 Record.AddStmt(const_cast<Expr *>( in WriteDeclUpdatesBlocks()
4906 Record.AddStmt( in WriteDeclUpdatesBlocks()
4913 Record.push_back(RD->isParamDestroyedInCallee()); in WriteDeclUpdatesBlocks()
4914 Record.push_back(RD->getArgPassingRestrictions()); in WriteDeclUpdatesBlocks()
4915 Record.AddCXXDefinitionData(RD); in WriteDeclUpdatesBlocks()
4916 Record.AddOffset(WriteDeclContextLexicalBlock( in WriteDeclUpdatesBlocks()
4923 Record.push_back(MSInfo->getTemplateSpecializationKind()); in WriteDeclUpdatesBlocks()
4924 Record.AddSourceLocation(MSInfo->getPointOfInstantiation()); in WriteDeclUpdatesBlocks()
4927 Record.push_back(Spec->getTemplateSpecializationKind()); in WriteDeclUpdatesBlocks()
4928 Record.AddSourceLocation(Spec->getPointOfInstantiation()); in WriteDeclUpdatesBlocks()
4935 Record.push_back(true); in WriteDeclUpdatesBlocks()
4936 Record.AddDeclRef(PartialSpec); in WriteDeclUpdatesBlocks()
4937 Record.AddTemplateArgumentList( in WriteDeclUpdatesBlocks()
4940 Record.push_back(false); in WriteDeclUpdatesBlocks()
4943 Record.push_back(RD->getTagKind()); in WriteDeclUpdatesBlocks()
4944 Record.AddSourceLocation(RD->getLocation()); in WriteDeclUpdatesBlocks()
4945 Record.AddSourceLocation(RD->getBeginLoc()); in WriteDeclUpdatesBlocks()
4946 Record.AddSourceRange(RD->getBraceRange()); in WriteDeclUpdatesBlocks()
4949 Record.push_back(D->hasAttrs()); in WriteDeclUpdatesBlocks()
4951 Record.AddAttributes(D->getAttrs()); in WriteDeclUpdatesBlocks()
4958 Record.AddDeclRef(Update.getDecl()); in WriteDeclUpdatesBlocks()
4959 Record.AddStmt(cast<CXXDestructorDecl>(D)->getOperatorDeleteThisArg()); in WriteDeclUpdatesBlocks()
4965 Record.writeExceptionSpecInfo(prototype->getExceptionSpecInfo()); in WriteDeclUpdatesBlocks()
4970 Record.push_back(GetOrCreateTypeID(Update.getType())); in WriteDeclUpdatesBlocks()
4978 Record.push_back(Update.getNumber()); in WriteDeclUpdatesBlocks()
4982 Record.AddSourceRange( in WriteDeclUpdatesBlocks()
4988 Record.push_back(A->getAllocatorType()); in WriteDeclUpdatesBlocks()
4989 Record.AddStmt(A->getAllocator()); in WriteDeclUpdatesBlocks()
4990 Record.AddSourceRange(A->getRange()); in WriteDeclUpdatesBlocks()
4995 Record.push_back(D->getAttr<OMPDeclareTargetDeclAttr>()->getMapType()); in WriteDeclUpdatesBlocks()
4996 Record.AddSourceRange( in WriteDeclUpdatesBlocks()
5001 Record.push_back(getSubmoduleID(Update.getModule())); in WriteDeclUpdatesBlocks()
5005 Record.AddAttributes(llvm::makeArrayRef(Update.getAttr())); in WriteDeclUpdatesBlocks()
5012 Record.push_back(UPD_CXX_ADDED_FUNCTION_DEFINITION); in WriteDeclUpdatesBlocks()
5013 Record.push_back(Def->isInlined()); in WriteDeclUpdatesBlocks()
5014 Record.AddSourceLocation(Def->getInnerLocStart()); in WriteDeclUpdatesBlocks()
5015 Record.AddFunctionDefinition(Def); in WriteDeclUpdatesBlocks()
5019 OffsetsRecord.push_back(Record.Emit(DECL_UPDATES)); in WriteDeclUpdatesBlocks()
5024 RecordDataImpl &Record) { in AddAlignPackInfo() argument
5026 Record.push_back(Raw); in AddAlignPackInfo()
5029 void ASTWriter::AddSourceLocation(SourceLocation Loc, RecordDataImpl &Record) { in AddSourceLocation() argument
5031 Record.push_back((Raw << 1) | (Raw >> (8 * sizeof(Raw) - 1))); in AddSourceLocation()
5034 void ASTWriter::AddSourceRange(SourceRange Range, RecordDataImpl &Record) { in AddSourceRange() argument
5035 AddSourceLocation(Range.getBegin(), Record); in AddSourceRange()
5036 AddSourceLocation(Range.getEnd(), Record); in AddSourceRange()
5043 void ASTWriter::AddIdentifierRef(const IdentifierInfo *II, RecordDataImpl &Record) { in AddIdentifierRef() argument
5044 Record.push_back(getIdentifierRef(II)); in AddIdentifierRef()
5086 Record->push_back(Writer->getSelectorRef(SelRef)); in AddSelectorRef()
5146 Record->push_back(InfoHasSameExpr); in AddTemplateArgumentLoc()
5169 void ASTWriter::AddTypeRef(QualType T, RecordDataImpl &Record) { in AddTypeRef() argument
5170 Record.push_back(GetOrCreateTypeID(T)); in AddTypeRef()
5209 void ASTWriter::AddDeclRef(const Decl *D, RecordDataImpl &Record) { in AddDeclRef() argument
5210 Record.push_back(GetDeclRef(D)); in AddDeclRef()
5358 Record->push_back(Info.NumTemplParamLists); in AddQualifierInfo()
5375 Record->push_back(NestedNames.size()); in AddNestedNameSpecifierLoc()
5380 Record->push_back(Kind); in AddNestedNameSpecifierLoc()
5399 Record->push_back(Kind == NestedNameSpecifier::TypeSpecWithTemplate); in AddNestedNameSpecifierLoc()
5424 Record->push_back(TemplateParams->size()); in AddTemplateParameterList()
5428 Record->push_back(true); in AddTemplateParameterList()
5431 Record->push_back(false); in AddTemplateParameterList()
5439 Record->push_back(TemplateArgs->size()); in AddTemplateArgumentList()
5449 Record->push_back(ASTTemplArgList->NumTemplateArgs); in AddASTTemplateArgumentListInfo()
5456 Record->push_back(Set.size()); in AddUnresolvedSet()
5460 Record->push_back(I.getAccess()); in AddUnresolvedSet()
5466 Record->push_back(Base.isVirtual()); in AddCXXBaseSpecifier()
5467 Record->push_back(Base.isBaseOfClass()); in AddCXXBaseSpecifier()
5468 Record->push_back(Base.getAccessSpecifierAsWritten()); in AddCXXBaseSpecifier()
5469 Record->push_back(Base.getInheritConstructors()); in AddCXXBaseSpecifier()
5478 ASTWriter::RecordData Record; in EmitCXXBaseSpecifiers() local
5479 ASTRecordWriter Writer(W, Record); in EmitCXXBaseSpecifiers()
5496 ASTWriter::RecordData Record; in EmitCXXCtorInitializers() local
5497 ASTRecordWriter Writer(W, Record); in EmitCXXCtorInitializers()
5536 Record->push_back(Data.IsLambda); in AddCXXDefinitionData()
5539 Record->push_back(Data.Name); in AddCXXDefinitionData()
5543 Record->push_back(D->getODRHash()); in AddCXXDefinitionData()
5546 Record->push_back(ModulesDebugInfo); in AddCXXDefinitionData()
5552 Record->push_back(Data.NumBases); in AddCXXDefinitionData()
5557 Record->push_back(Data.NumVBases); in AddCXXDefinitionData()
5562 Record->push_back(Data.ComputedVisibleConversions); in AddCXXDefinitionData()
5571 Record->push_back(Lambda.Dependent); in AddCXXDefinitionData()
5572 Record->push_back(Lambda.IsGenericLambda); in AddCXXDefinitionData()
5573 Record->push_back(Lambda.CaptureDefault); in AddCXXDefinitionData()
5574 Record->push_back(Lambda.NumCaptures); in AddCXXDefinitionData()
5575 Record->push_back(Lambda.NumExplicitCaptures); in AddCXXDefinitionData()
5576 Record->push_back(Lambda.HasKnownInternalLinkage); in AddCXXDefinitionData()
5577 Record->push_back(Lambda.ManglingNumber); in AddCXXDefinitionData()
5578 Record->push_back(D->getDeviceLambdaManglingNumber()); in AddCXXDefinitionData()
5584 Record->push_back(Capture.isImplicit()); in AddCXXDefinitionData()
5585 Record->push_back(Capture.getCaptureKind()); in AddCXXDefinitionData()
5936 const RecordDecl *Record) { in AddedAttributeToRecord() argument
5939 if (!Record->isFromASTFile()) in AddedAttributeToRecord()
5941 DeclUpdates[Record].push_back(DeclUpdate(UPD_ADDED_ATTR_TO_RECORD, Attr)); in AddedAttributeToRecord()
5987 ASTRecordWriter &Record; member in __anon91274ea01611::OMPClauseWriter
5990 OMPClauseWriter(ASTRecordWriter &Record) : Record(Record) {} in OMPClauseWriter() argument
6006 Record.push_back(unsigned(C->getClauseKind())); in writeClause()
6008 Record.AddSourceLocation(C->getBeginLoc()); in writeClause()
6009 Record.AddSourceLocation(C->getEndLoc()); in writeClause()
6013 Record.push_back(uint64_t(C->getCaptureRegion())); in VisitOMPClauseWithPreInit()
6014 Record.AddStmt(C->getPreInitStmt()); in VisitOMPClauseWithPreInit()
6019 Record.AddStmt(C->getPostUpdateExpr()); in VisitOMPClauseWithPostUpdate()
6024 Record.push_back(uint64_t(C->getNameModifier())); in VisitOMPIfClause()
6025 Record.AddSourceLocation(C->getNameModifierLoc()); in VisitOMPIfClause()
6026 Record.AddSourceLocation(C->getColonLoc()); in VisitOMPIfClause()
6027 Record.AddStmt(C->getCondition()); in VisitOMPIfClause()
6028 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPIfClause()
6033 Record.AddStmt(C->getCondition()); in VisitOMPFinalClause()
6034 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPFinalClause()
6039 Record.AddStmt(C->getNumThreads()); in VisitOMPNumThreadsClause()
6040 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPNumThreadsClause()
6044 Record.AddStmt(C->getSafelen()); in VisitOMPSafelenClause()
6045 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPSafelenClause()
6049 Record.AddStmt(C->getSimdlen()); in VisitOMPSimdlenClause()
6050 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPSimdlenClause()
6054 Record.push_back(C->getNumSizes()); in VisitOMPSizesClause()
6056 Record.AddStmt(Size); in VisitOMPSizesClause()
6057 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPSizesClause()
6063 Record.AddStmt(C->getFactor()); in VisitOMPPartialClause()
6064 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPPartialClause()
6068 Record.AddStmt(C->getAllocator()); in VisitOMPAllocatorClause()
6069 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPAllocatorClause()
6073 Record.AddStmt(C->getNumForLoops()); in VisitOMPCollapseClause()
6074 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPCollapseClause()
6078 Record.AddStmt(C->getEventHandler()); in VisitOMPDetachClause()
6079 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPDetachClause()
6083 Record.push_back(unsigned(C->getDefaultKind())); in VisitOMPDefaultClause()
6084 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPDefaultClause()
6085 Record.AddSourceLocation(C->getDefaultKindKwLoc()); in VisitOMPDefaultClause()
6089 Record.push_back(unsigned(C->getProcBindKind())); in VisitOMPProcBindClause()
6090 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPProcBindClause()
6091 Record.AddSourceLocation(C->getProcBindKindKwLoc()); in VisitOMPProcBindClause()
6096 Record.push_back(C->getScheduleKind()); in VisitOMPScheduleClause()
6097 Record.push_back(C->getFirstScheduleModifier()); in VisitOMPScheduleClause()
6098 Record.push_back(C->getSecondScheduleModifier()); in VisitOMPScheduleClause()
6099 Record.AddStmt(C->getChunkSize()); in VisitOMPScheduleClause()
6100 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPScheduleClause()
6101 Record.AddSourceLocation(C->getFirstScheduleModifierLoc()); in VisitOMPScheduleClause()
6102 Record.AddSourceLocation(C->getSecondScheduleModifierLoc()); in VisitOMPScheduleClause()
6103 Record.AddSourceLocation(C->getScheduleKindLoc()); in VisitOMPScheduleClause()
6104 Record.AddSourceLocation(C->getCommaLoc()); in VisitOMPScheduleClause()
6108 Record.push_back(C->getLoopNumIterations().size()); in VisitOMPOrderedClause()
6109 Record.AddStmt(C->getNumForLoops()); in VisitOMPOrderedClause()
6111 Record.AddStmt(NumIter); in VisitOMPOrderedClause()
6113 Record.AddStmt(C->getLoopCounter(I)); in VisitOMPOrderedClause()
6114 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPOrderedClause()
6128 Record.push_back(C->isExtended() ? 1 : 0); in VisitOMPUpdateClause()
6130 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPUpdateClause()
6131 Record.AddSourceLocation(C->getArgumentLoc()); in VisitOMPUpdateClause()
6132 Record.writeEnum(C->getDependencyKind()); in VisitOMPUpdateClause()
6155 Record.push_back(C->varlist_size()); in VisitOMPInitClause()
6157 Record.AddStmt(VE); in VisitOMPInitClause()
6158 Record.writeBool(C->getIsTarget()); in VisitOMPInitClause()
6159 Record.writeBool(C->getIsTargetSync()); in VisitOMPInitClause()
6160 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPInitClause()
6161 Record.AddSourceLocation(C->getVarLoc()); in VisitOMPInitClause()
6165 Record.AddStmt(C->getInteropVar()); in VisitOMPUseClause()
6166 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPUseClause()
6167 Record.AddSourceLocation(C->getVarLoc()); in VisitOMPUseClause()
6171 Record.AddStmt(C->getInteropVar()); in VisitOMPDestroyClause()
6172 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPDestroyClause()
6173 Record.AddSourceLocation(C->getVarLoc()); in VisitOMPDestroyClause()
6178 Record.AddStmt(C->getCondition()); in VisitOMPNovariantsClause()
6179 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPNovariantsClause()
6184 Record.AddStmt(C->getCondition()); in VisitOMPNocontextClause()
6185 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPNocontextClause()
6190 Record.AddStmt(C->getThreadID()); in VisitOMPFilterClause()
6191 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPFilterClause()
6195 Record.push_back(C->varlist_size()); in VisitOMPPrivateClause()
6196 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPPrivateClause()
6198 Record.AddStmt(VE); in VisitOMPPrivateClause()
6201 Record.AddStmt(VE); in VisitOMPPrivateClause()
6206 Record.push_back(C->varlist_size()); in VisitOMPFirstprivateClause()
6208 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPFirstprivateClause()
6210 Record.AddStmt(VE); in VisitOMPFirstprivateClause()
6213 Record.AddStmt(VE); in VisitOMPFirstprivateClause()
6216 Record.AddStmt(VE); in VisitOMPFirstprivateClause()
6221 Record.push_back(C->varlist_size()); in VisitOMPLastprivateClause()
6223 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPLastprivateClause()
6224 Record.writeEnum(C->getKind()); in VisitOMPLastprivateClause()
6225 Record.AddSourceLocation(C->getKindLoc()); in VisitOMPLastprivateClause()
6226 Record.AddSourceLocation(C->getColonLoc()); in VisitOMPLastprivateClause()
6228 Record.AddStmt(VE); in VisitOMPLastprivateClause()
6230 Record.AddStmt(E); in VisitOMPLastprivateClause()
6232 Record.AddStmt(E); in VisitOMPLastprivateClause()
6234 Record.AddStmt(E); in VisitOMPLastprivateClause()
6236 Record.AddStmt(E); in VisitOMPLastprivateClause()
6240 Record.push_back(C->varlist_size()); in VisitOMPSharedClause()
6241 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPSharedClause()
6243 Record.AddStmt(VE); in VisitOMPSharedClause()
6247 Record.push_back(C->varlist_size()); in VisitOMPReductionClause()
6248 Record.writeEnum(C->getModifier()); in VisitOMPReductionClause()
6250 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPReductionClause()
6251 Record.AddSourceLocation(C->getModifierLoc()); in VisitOMPReductionClause()
6252 Record.AddSourceLocation(C->getColonLoc()); in VisitOMPReductionClause()
6253 Record.AddNestedNameSpecifierLoc(C->getQualifierLoc()); in VisitOMPReductionClause()
6254 Record.AddDeclarationNameInfo(C->getNameInfo()); in VisitOMPReductionClause()
6256 Record.AddStmt(VE); in VisitOMPReductionClause()
6258 Record.AddStmt(VE); in VisitOMPReductionClause()
6260 Record.AddStmt(E); in VisitOMPReductionClause()
6262 Record.AddStmt(E); in VisitOMPReductionClause()
6264 Record.AddStmt(E); in VisitOMPReductionClause()
6267 Record.AddStmt(E); in VisitOMPReductionClause()
6269 Record.AddStmt(E); in VisitOMPReductionClause()
6271 Record.AddStmt(E); in VisitOMPReductionClause()
6276 Record.push_back(C->varlist_size()); in VisitOMPTaskReductionClause()
6278 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPTaskReductionClause()
6279 Record.AddSourceLocation(C->getColonLoc()); in VisitOMPTaskReductionClause()
6280 Record.AddNestedNameSpecifierLoc(C->getQualifierLoc()); in VisitOMPTaskReductionClause()
6281 Record.AddDeclarationNameInfo(C->getNameInfo()); in VisitOMPTaskReductionClause()
6283 Record.AddStmt(VE); in VisitOMPTaskReductionClause()
6285 Record.AddStmt(VE); in VisitOMPTaskReductionClause()
6287 Record.AddStmt(E); in VisitOMPTaskReductionClause()
6289 Record.AddStmt(E); in VisitOMPTaskReductionClause()
6291 Record.AddStmt(E); in VisitOMPTaskReductionClause()
6295 Record.push_back(C->varlist_size()); in VisitOMPInReductionClause()
6297 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPInReductionClause()
6298 Record.AddSourceLocation(C->getColonLoc()); in VisitOMPInReductionClause()
6299 Record.AddNestedNameSpecifierLoc(C->getQualifierLoc()); in VisitOMPInReductionClause()
6300 Record.AddDeclarationNameInfo(C->getNameInfo()); in VisitOMPInReductionClause()
6302 Record.AddStmt(VE); in VisitOMPInReductionClause()
6304 Record.AddStmt(VE); in VisitOMPInReductionClause()
6306 Record.AddStmt(E); in VisitOMPInReductionClause()
6308 Record.AddStmt(E); in VisitOMPInReductionClause()
6310 Record.AddStmt(E); in VisitOMPInReductionClause()
6312 Record.AddStmt(E); in VisitOMPInReductionClause()
6316 Record.push_back(C->varlist_size()); in VisitOMPLinearClause()
6318 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPLinearClause()
6319 Record.AddSourceLocation(C->getColonLoc()); in VisitOMPLinearClause()
6320 Record.push_back(C->getModifier()); in VisitOMPLinearClause()
6321 Record.AddSourceLocation(C->getModifierLoc()); in VisitOMPLinearClause()
6323 Record.AddStmt(VE); in VisitOMPLinearClause()
6326 Record.AddStmt(VE); in VisitOMPLinearClause()
6329 Record.AddStmt(VE); in VisitOMPLinearClause()
6332 Record.AddStmt(VE); in VisitOMPLinearClause()
6335 Record.AddStmt(VE); in VisitOMPLinearClause()
6337 Record.AddStmt(C->getStep()); in VisitOMPLinearClause()
6338 Record.AddStmt(C->getCalcStep()); in VisitOMPLinearClause()
6340 Record.AddStmt(VE); in VisitOMPLinearClause()
6344 Record.push_back(C->varlist_size()); in VisitOMPAlignedClause()
6345 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPAlignedClause()
6346 Record.AddSourceLocation(C->getColonLoc()); in VisitOMPAlignedClause()
6348 Record.AddStmt(VE); in VisitOMPAlignedClause()
6349 Record.AddStmt(C->getAlignment()); in VisitOMPAlignedClause()
6353 Record.push_back(C->varlist_size()); in VisitOMPCopyinClause()
6354 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPCopyinClause()
6356 Record.AddStmt(VE); in VisitOMPCopyinClause()
6358 Record.AddStmt(E); in VisitOMPCopyinClause()
6360 Record.AddStmt(E); in VisitOMPCopyinClause()
6362 Record.AddStmt(E); in VisitOMPCopyinClause()
6366 Record.push_back(C->varlist_size()); in VisitOMPCopyprivateClause()
6367 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPCopyprivateClause()
6369 Record.AddStmt(VE); in VisitOMPCopyprivateClause()
6371 Record.AddStmt(E); in VisitOMPCopyprivateClause()
6373 Record.AddStmt(E); in VisitOMPCopyprivateClause()
6375 Record.AddStmt(E); in VisitOMPCopyprivateClause()
6379 Record.push_back(C->varlist_size()); in VisitOMPFlushClause()
6380 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPFlushClause()
6382 Record.AddStmt(VE); in VisitOMPFlushClause()
6386 Record.AddStmt(C->getDepobj()); in VisitOMPDepobjClause()
6387 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPDepobjClause()
6391 Record.push_back(C->varlist_size()); in VisitOMPDependClause()
6392 Record.push_back(C->getNumLoops()); in VisitOMPDependClause()
6393 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPDependClause()
6394 Record.AddStmt(C->getModifier()); in VisitOMPDependClause()
6395 Record.push_back(C->getDependencyKind()); in VisitOMPDependClause()
6396 Record.AddSourceLocation(C->getDependencyLoc()); in VisitOMPDependClause()
6397 Record.AddSourceLocation(C->getColonLoc()); in VisitOMPDependClause()
6399 Record.AddStmt(VE); in VisitOMPDependClause()
6401 Record.AddStmt(C->getLoopData(I)); in VisitOMPDependClause()
6406 Record.writeEnum(C->getModifier()); in VisitOMPDeviceClause()
6407 Record.AddStmt(C->getDevice()); in VisitOMPDeviceClause()
6408 Record.AddSourceLocation(C->getModifierLoc()); in VisitOMPDeviceClause()
6409 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPDeviceClause()
6413 Record.push_back(C->varlist_size()); in VisitOMPMapClause()
6414 Record.push_back(C->getUniqueDeclarationsNum()); in VisitOMPMapClause()
6415 Record.push_back(C->getTotalComponentListNum()); in VisitOMPMapClause()
6416 Record.push_back(C->getTotalComponentsNum()); in VisitOMPMapClause()
6417 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPMapClause()
6419 Record.push_back(C->getMapTypeModifier(I)); in VisitOMPMapClause()
6420 Record.AddSourceLocation(C->getMapTypeModifierLoc(I)); in VisitOMPMapClause()
6422 Record.AddNestedNameSpecifierLoc(C->getMapperQualifierLoc()); in VisitOMPMapClause()
6423 Record.AddDeclarationNameInfo(C->getMapperIdInfo()); in VisitOMPMapClause()
6424 Record.push_back(C->getMapType()); in VisitOMPMapClause()
6425 Record.AddSourceLocation(C->getMapLoc()); in VisitOMPMapClause()
6426 Record.AddSourceLocation(C->getColonLoc()); in VisitOMPMapClause()
6428 Record.AddStmt(E); in VisitOMPMapClause()
6430 Record.AddStmt(E); in VisitOMPMapClause()
6432 Record.AddDeclRef(D); in VisitOMPMapClause()
6434 Record.push_back(N); in VisitOMPMapClause()
6436 Record.push_back(N); in VisitOMPMapClause()
6438 Record.AddStmt(M.getAssociatedExpression()); in VisitOMPMapClause()
6439 Record.AddDeclRef(M.getAssociatedDeclaration()); in VisitOMPMapClause()
6444 Record.push_back(C->varlist_size()); in VisitOMPAllocateClause()
6445 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPAllocateClause()
6446 Record.AddSourceLocation(C->getColonLoc()); in VisitOMPAllocateClause()
6447 Record.AddStmt(C->getAllocator()); in VisitOMPAllocateClause()
6449 Record.AddStmt(VE); in VisitOMPAllocateClause()
6454 Record.AddStmt(C->getNumTeams()); in VisitOMPNumTeamsClause()
6455 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPNumTeamsClause()
6460 Record.AddStmt(C->getThreadLimit()); in VisitOMPThreadLimitClause()
6461 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPThreadLimitClause()
6466 Record.AddStmt(C->getPriority()); in VisitOMPPriorityClause()
6467 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPPriorityClause()
6472 Record.AddStmt(C->getGrainsize()); in VisitOMPGrainsizeClause()
6473 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPGrainsizeClause()
6478 Record.AddStmt(C->getNumTasks()); in VisitOMPNumTasksClause()
6479 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPNumTasksClause()
6483 Record.AddStmt(C->getHint()); in VisitOMPHintClause()
6484 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPHintClause()
6489 Record.push_back(C->getDistScheduleKind()); in VisitOMPDistScheduleClause()
6490 Record.AddStmt(C->getChunkSize()); in VisitOMPDistScheduleClause()
6491 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPDistScheduleClause()
6492 Record.AddSourceLocation(C->getDistScheduleKindLoc()); in VisitOMPDistScheduleClause()
6493 Record.AddSourceLocation(C->getCommaLoc()); in VisitOMPDistScheduleClause()
6497 Record.push_back(C->getDefaultmapKind()); in VisitOMPDefaultmapClause()
6498 Record.push_back(C->getDefaultmapModifier()); in VisitOMPDefaultmapClause()
6499 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPDefaultmapClause()
6500 Record.AddSourceLocation(C->getDefaultmapModifierLoc()); in VisitOMPDefaultmapClause()
6501 Record.AddSourceLocation(C->getDefaultmapKindLoc()); in VisitOMPDefaultmapClause()
6505 Record.push_back(C->varlist_size()); in VisitOMPToClause()
6506 Record.push_back(C->getUniqueDeclarationsNum()); in VisitOMPToClause()
6507 Record.push_back(C->getTotalComponentListNum()); in VisitOMPToClause()
6508 Record.push_back(C->getTotalComponentsNum()); in VisitOMPToClause()
6509 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPToClause()
6511 Record.push_back(C->getMotionModifier(I)); in VisitOMPToClause()
6512 Record.AddSourceLocation(C->getMotionModifierLoc(I)); in VisitOMPToClause()
6514 Record.AddNestedNameSpecifierLoc(C->getMapperQualifierLoc()); in VisitOMPToClause()
6515 Record.AddDeclarationNameInfo(C->getMapperIdInfo()); in VisitOMPToClause()
6516 Record.AddSourceLocation(C->getColonLoc()); in VisitOMPToClause()
6518 Record.AddStmt(E); in VisitOMPToClause()
6520 Record.AddStmt(E); in VisitOMPToClause()
6522 Record.AddDeclRef(D); in VisitOMPToClause()
6524 Record.push_back(N); in VisitOMPToClause()
6526 Record.push_back(N); in VisitOMPToClause()
6528 Record.AddStmt(M.getAssociatedExpression()); in VisitOMPToClause()
6529 Record.writeBool(M.isNonContiguous()); in VisitOMPToClause()
6530 Record.AddDeclRef(M.getAssociatedDeclaration()); in VisitOMPToClause()
6535 Record.push_back(C->varlist_size()); in VisitOMPFromClause()
6536 Record.push_back(C->getUniqueDeclarationsNum()); in VisitOMPFromClause()
6537 Record.push_back(C->getTotalComponentListNum()); in VisitOMPFromClause()
6538 Record.push_back(C->getTotalComponentsNum()); in VisitOMPFromClause()
6539 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPFromClause()
6541 Record.push_back(C->getMotionModifier(I)); in VisitOMPFromClause()
6542 Record.AddSourceLocation(C->getMotionModifierLoc(I)); in VisitOMPFromClause()
6544 Record.AddNestedNameSpecifierLoc(C->getMapperQualifierLoc()); in VisitOMPFromClause()
6545 Record.AddDeclarationNameInfo(C->getMapperIdInfo()); in VisitOMPFromClause()
6546 Record.AddSourceLocation(C->getColonLoc()); in VisitOMPFromClause()
6548 Record.AddStmt(E); in VisitOMPFromClause()
6550 Record.AddStmt(E); in VisitOMPFromClause()
6552 Record.AddDeclRef(D); in VisitOMPFromClause()
6554 Record.push_back(N); in VisitOMPFromClause()
6556 Record.push_back(N); in VisitOMPFromClause()
6558 Record.AddStmt(M.getAssociatedExpression()); in VisitOMPFromClause()
6559 Record.writeBool(M.isNonContiguous()); in VisitOMPFromClause()
6560 Record.AddDeclRef(M.getAssociatedDeclaration()); in VisitOMPFromClause()
6565 Record.push_back(C->varlist_size()); in VisitOMPUseDevicePtrClause()
6566 Record.push_back(C->getUniqueDeclarationsNum()); in VisitOMPUseDevicePtrClause()
6567 Record.push_back(C->getTotalComponentListNum()); in VisitOMPUseDevicePtrClause()
6568 Record.push_back(C->getTotalComponentsNum()); in VisitOMPUseDevicePtrClause()
6569 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPUseDevicePtrClause()
6571 Record.AddStmt(E); in VisitOMPUseDevicePtrClause()
6573 Record.AddStmt(VE); in VisitOMPUseDevicePtrClause()
6575 Record.AddStmt(VE); in VisitOMPUseDevicePtrClause()
6577 Record.AddDeclRef(D); in VisitOMPUseDevicePtrClause()
6579 Record.push_back(N); in VisitOMPUseDevicePtrClause()
6581 Record.push_back(N); in VisitOMPUseDevicePtrClause()
6583 Record.AddStmt(M.getAssociatedExpression()); in VisitOMPUseDevicePtrClause()
6584 Record.AddDeclRef(M.getAssociatedDeclaration()); in VisitOMPUseDevicePtrClause()
6589 Record.push_back(C->varlist_size()); in VisitOMPUseDeviceAddrClause()
6590 Record.push_back(C->getUniqueDeclarationsNum()); in VisitOMPUseDeviceAddrClause()
6591 Record.push_back(C->getTotalComponentListNum()); in VisitOMPUseDeviceAddrClause()
6592 Record.push_back(C->getTotalComponentsNum()); in VisitOMPUseDeviceAddrClause()
6593 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPUseDeviceAddrClause()
6595 Record.AddStmt(E); in VisitOMPUseDeviceAddrClause()
6597 Record.AddDeclRef(D); in VisitOMPUseDeviceAddrClause()
6599 Record.push_back(N); in VisitOMPUseDeviceAddrClause()
6601 Record.push_back(N); in VisitOMPUseDeviceAddrClause()
6603 Record.AddStmt(M.getAssociatedExpression()); in VisitOMPUseDeviceAddrClause()
6604 Record.AddDeclRef(M.getAssociatedDeclaration()); in VisitOMPUseDeviceAddrClause()
6609 Record.push_back(C->varlist_size()); in VisitOMPIsDevicePtrClause()
6610 Record.push_back(C->getUniqueDeclarationsNum()); in VisitOMPIsDevicePtrClause()
6611 Record.push_back(C->getTotalComponentListNum()); in VisitOMPIsDevicePtrClause()
6612 Record.push_back(C->getTotalComponentsNum()); in VisitOMPIsDevicePtrClause()
6613 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPIsDevicePtrClause()
6615 Record.AddStmt(E); in VisitOMPIsDevicePtrClause()
6617 Record.AddDeclRef(D); in VisitOMPIsDevicePtrClause()
6619 Record.push_back(N); in VisitOMPIsDevicePtrClause()
6621 Record.push_back(N); in VisitOMPIsDevicePtrClause()
6623 Record.AddStmt(M.getAssociatedExpression()); in VisitOMPIsDevicePtrClause()
6624 Record.AddDeclRef(M.getAssociatedDeclaration()); in VisitOMPIsDevicePtrClause()
6641 Record.push_back(C->getAtomicDefaultMemOrderKind()); in VisitOMPAtomicDefaultMemOrderClause()
6642 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPAtomicDefaultMemOrderClause()
6643 Record.AddSourceLocation(C->getAtomicDefaultMemOrderKindKwLoc()); in VisitOMPAtomicDefaultMemOrderClause()
6647 Record.push_back(C->varlist_size()); in VisitOMPNontemporalClause()
6648 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPNontemporalClause()
6650 Record.AddStmt(VE); in VisitOMPNontemporalClause()
6652 Record.AddStmt(E); in VisitOMPNontemporalClause()
6656 Record.push_back(C->varlist_size()); in VisitOMPInclusiveClause()
6657 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPInclusiveClause()
6659 Record.AddStmt(VE); in VisitOMPInclusiveClause()
6663 Record.push_back(C->varlist_size()); in VisitOMPExclusiveClause()
6664 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPExclusiveClause()
6666 Record.AddStmt(VE); in VisitOMPExclusiveClause()
6670 Record.writeEnum(C->getKind()); in VisitOMPOrderClause()
6671 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPOrderClause()
6672 Record.AddSourceLocation(C->getKindKwLoc()); in VisitOMPOrderClause()
6676 Record.push_back(C->getNumberOfAllocators()); in VisitOMPUsesAllocatorsClause()
6677 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPUsesAllocatorsClause()
6680 Record.AddStmt(Data.Allocator); in VisitOMPUsesAllocatorsClause()
6681 Record.AddStmt(Data.AllocatorTraits); in VisitOMPUsesAllocatorsClause()
6682 Record.AddSourceLocation(Data.LParenLoc); in VisitOMPUsesAllocatorsClause()
6683 Record.AddSourceLocation(Data.RParenLoc); in VisitOMPUsesAllocatorsClause()
6688 Record.push_back(C->varlist_size()); in VisitOMPAffinityClause()
6689 Record.AddSourceLocation(C->getLParenLoc()); in VisitOMPAffinityClause()
6690 Record.AddStmt(C->getModifier()); in VisitOMPAffinityClause()
6691 Record.AddSourceLocation(C->getColonLoc()); in VisitOMPAffinityClause()
6693 Record.AddStmt(E); in VisitOMPAffinityClause()