|
reference, declaration → definition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced
|
References
examples/LLJITExamples/LLJITWithObjectCache/LLJITWithObjectCache.cpp 30 CachedObjects[M->getModuleIdentifier()] = MemoryBuffer::getMemBufferCopy(
include/llvm/ExecutionEngine/Orc/CompileOnDemandLayer.h 429 StubInits[MangledName] =
include/llvm/ExecutionEngine/Orc/IndirectionUtils.h 383 StubIndexes[StubName] = std::make_pair(Key, StubFlags);
include/llvm/ExecutionEngine/Orc/LazyEmittingLayer.h 160 Names[MangledName] = &GV;
include/llvm/ExecutionEngine/Orc/OrcRemoteTargetClient.h 427 StubIndexes[StubName] = std::make_pair(Key, StubFlags);
include/llvm/ExecutionEngine/Orc/RTDyldObjectLinkingLayer.h 249 SymbolTable[KV.first] = KV.second;
include/llvm/IR/ModuleSummaryIndex.h 1340 ModuleToDefinedGVSummaries[Summary->modulePath()][GUID] = Summary.get();
include/llvm/IR/PassTimingInfo.h 100 unsigned nextPassID(StringRef PassID) { return ++PassIDCountMap[PassID]; }
include/llvm/ProfileData/GCOV.h 426 if (Line > LineInfo[Filename].LastLine)
427 LineInfo[Filename].LastLine = Line;
428 LineInfo[Filename].Blocks[Line - 1].push_back(Block);
433 if (Line > LineInfo[Filename].LastLine)
434 LineInfo[Filename].LastLine = Line;
435 LineInfo[Filename].Functions[Line - 1].push_back(Function);
include/llvm/ProfileData/SampleProf.h 241 uint64_t &TargetSamples = CallTargets[F];
lib/Analysis/TargetLibraryInfo.cpp 1601 Impls[T.normalize()];
lib/AsmParser/LLParser.cpp 466 NamedTypes[Name], Result)) return true;
469 std::pair<Type*, LocTy> &Entry = NamedTypes[Name];
2349 std::pair<Type*, LocTy> &Entry = NamedTypes[Lex.getStrVal()];
lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp 1128 GlobalNames[FullName] = &Die;
1149 GlobalTypes[FullName] = &Die;
lib/CodeGen/GCMetadata.cpp 156 GCStrategyMap[Name] = S.get();
lib/CodeGen/MachineOutliner.cpp 1363 FunctionToInstrCount[F.getName().str()] = MF->getInstructionCount();
lib/CodeGen/PseudoSourceValue.cpp 148 ExternalCallEntries[ES];
lib/CodeGen/SelectionDAG/SelectionDAG.cpp 1523 SDNode *&N = ExternalSymbols[Sym];
lib/DebugInfo/DWARF/DWARFContext.cpp 1231 std::weak_ptr<DWOFile> *Entry = &DWOFiles[AbsolutePath];
1518 ++SectionAmountMap[Name];
1699 if (SectionAmountMap[S.Name] > 1)
lib/DebugInfo/DWARF/DWARFVerifier.cpp 734 FullPathMap[FullPath] = FileIndex;
lib/ExecutionEngine/ExecutionEngine.cpp 217 uint64_t &CurVal = EEState.getGlobalAddressMap()[Name];
260 uint64_t &CurVal = Map[Name];
lib/ExecutionEngine/JITLink/MachOLinkGraphBuilder.cpp 57 CustomSectionParserFunctions[SectionName] = std::move(Parser);
lib/ExecutionEngine/Orc/LazyReexports.cpp 169 StubInits[*Alias.first] =
lib/ExecutionEngine/RuntimeDyld/RuntimeDyld.cpp 304 GlobalSymbolTable[Name] = SymbolTableEntry(SectionID, Addr, *JITSymFlags);
336 GlobalSymbolTable[Name] =
762 GlobalSymbolTable[Name] =
921 ExternalSymbolRelocations[SymbolName].push_back(RE);
1209 Resolved[KV.first] = KV.second;
lib/ExecutionEngine/RuntimeDyld/RuntimeDyldELF.cpp 1368 GOTSymbolOffsets[TargetName] = RE.SymOffset;
lib/IR/AsmWriter.cpp 1223 ModulePathMap[Path] = ModulePathNext++;
1233 TypeIdMap[Id] = TypeIdNext++;
lib/IR/LegacyPassManager.cpp 158 FunctionToInstrCount[F.getName().str()] =
189 FunctionToInstrCount[MaybeChangedFn.getName()] =
244 std::pair<unsigned, unsigned> &Change = FunctionToInstrCount[Fname];
lib/IR/Module.cpp 261 (*static_cast<StringMap<NamedMDNode *> *>(NamedMDSymTab))[Name];
lib/IR/PassRegistry.cpp 63 PassInfoStringMap[PI.getPassArgument()] = &PI;
lib/IR/PassTimingInfo.cpp 120 unsigned &num = PassIDCountMap[PassID];
lib/LTO/LTO.cpp 508 auto &GlobalRes = GlobalResolutions[Name];
1355 ResolvedODR[ModuleIdentifier][GUID] = NewLinkage;
1368 if (Error E = BackendProc->start(Task, Mod.second, ImportLists[Mod.first],
1369 ExportLists[Mod.first],
1370 ResolvedODR[Mod.first], ThinLTO.ModuleMap))
lib/LTO/LTOModule.cpp 483 NameAndAttributes &info = _undefines[IterBool.first->first()];
lib/LTO/ThinLTOCodeGenerator.cpp 148 ModuleMap[M->getName()] = M.get();
209 auto &Input = ModuleMap[Identifier];
482 ResolvedODR[ModuleIdentifier][GUID] = NewLinkage;
667 TheModule, ModuleToDefinedGVSummaries[ModuleIdentifier]);
705 auto &ImportList = ImportLists[TheModule.getModuleIdentifier()];
741 ImportLists[ModuleIdentifier], ModuleToSummariesForIndex);
775 ImportLists[ModuleIdentifier], ModuleToSummariesForIndex);
813 auto &ExportList = ExportLists[ModuleIdentifier];
838 TheModule, ModuleToDefinedGVSummaries[ModuleIdentifier]);
841 ModuleToDefinedGVSummaries[ModuleIdentifier]);
1018 ExportLists[ModuleIdentifier];
1019 ImportLists[ModuleIdentifier];
1020 ResolvedODR[ModuleIdentifier];
1021 ModuleToDefinedGVSummaries[ModuleIdentifier];
1045 auto &ExportList = ExportLists[ModuleIdentifier];
1047 auto &DefinedGVSummaries = ModuleToDefinedGVSummaries[ModuleIdentifier];
1051 ImportLists[ModuleIdentifier], ExportList,
1052 ResolvedODR[ModuleIdentifier],
1093 auto &ImportList = ImportLists[ModuleIdentifier];
1098 ModuleToDefinedGVSummaries[ModuleIdentifier], CacheOptions,
lib/MC/MCContext.cpp 135 MCSymbol *&Sym = Symbols[NameRef];
191 unsigned &NextUniqueID = NextID[Name];
278 InlineAsmUsedLabelNames[Sym->getName()] = Sym;
300 MCSectionMachO *&Entry = MachOUniquingMap[Name];
336 MCSymbol *&Sym = Symbols[Section];
lib/MC/MCParser/AsmParser.cpp 201 ExtensionDirectiveMap[Directive] = Handler;
205 DirectiveKindMap[Directive] = DirectiveKindMap[Alias];
205 DirectiveKindMap[Directive] = DirectiveKindMap[Alias];
3864 CVDefRangeTypeMap["reg"] = CVDR_DEFRANGE_REGISTER;
3865 CVDefRangeTypeMap["frame_ptr_rel"] = CVDR_DEFRANGE_FRAMEPOINTER_REL;
3866 CVDefRangeTypeMap["subfield_reg"] = CVDR_DEFRANGE_SUBFIELD_REGISTER;
3867 CVDefRangeTypeMap["reg_rel"] = CVDR_DEFRANGE_REGISTER_REL;
5330 DirectiveKindMap[".set"] = DK_SET;
5331 DirectiveKindMap[".equ"] = DK_EQU;
5332 DirectiveKindMap[".equiv"] = DK_EQUIV;
5333 DirectiveKindMap[".ascii"] = DK_ASCII;
5334 DirectiveKindMap[".asciz"] = DK_ASCIZ;
5335 DirectiveKindMap[".string"] = DK_STRING;
5336 DirectiveKindMap[".byte"] = DK_BYTE;
5337 DirectiveKindMap[".short"] = DK_SHORT;
5338 DirectiveKindMap[".value"] = DK_VALUE;
5339 DirectiveKindMap[".2byte"] = DK_2BYTE;
5340 DirectiveKindMap[".long"] = DK_LONG;
5341 DirectiveKindMap[".int"] = DK_INT;
5342 DirectiveKindMap[".4byte"] = DK_4BYTE;
5343 DirectiveKindMap[".quad"] = DK_QUAD;
5344 DirectiveKindMap[".8byte"] = DK_8BYTE;
5345 DirectiveKindMap[".octa"] = DK_OCTA;
5346 DirectiveKindMap[".single"] = DK_SINGLE;
5347 DirectiveKindMap[".float"] = DK_FLOAT;
5348 DirectiveKindMap[".double"] = DK_DOUBLE;
5349 DirectiveKindMap[".align"] = DK_ALIGN;
5350 DirectiveKindMap[".align32"] = DK_ALIGN32;
5351 DirectiveKindMap[".balign"] = DK_BALIGN;
5352 DirectiveKindMap[".balignw"] = DK_BALIGNW;
5353 DirectiveKindMap[".balignl"] = DK_BALIGNL;
5354 DirectiveKindMap[".p2align"] = DK_P2ALIGN;
5355 DirectiveKindMap[".p2alignw"] = DK_P2ALIGNW;
5356 DirectiveKindMap[".p2alignl"] = DK_P2ALIGNL;
5357 DirectiveKindMap[".org"] = DK_ORG;
5358 DirectiveKindMap[".fill"] = DK_FILL;
5359 DirectiveKindMap[".zero"] = DK_ZERO;
5360 DirectiveKindMap[".extern"] = DK_EXTERN;
5361 DirectiveKindMap[".globl"] = DK_GLOBL;
5362 DirectiveKindMap[".global"] = DK_GLOBAL;
5363 DirectiveKindMap[".lazy_reference"] = DK_LAZY_REFERENCE;
5364 DirectiveKindMap[".no_dead_strip"] = DK_NO_DEAD_STRIP;
5365 DirectiveKindMap[".symbol_resolver"] = DK_SYMBOL_RESOLVER;
5366 DirectiveKindMap[".private_extern"] = DK_PRIVATE_EXTERN;
5367 DirectiveKindMap[".reference"] = DK_REFERENCE;
5368 DirectiveKindMap[".weak_definition"] = DK_WEAK_DEFINITION;
5369 DirectiveKindMap[".weak_reference"] = DK_WEAK_REFERENCE;
5370 DirectiveKindMap[".weak_def_can_be_hidden"] = DK_WEAK_DEF_CAN_BE_HIDDEN;
5371 DirectiveKindMap[".cold"] = DK_COLD;
5372 DirectiveKindMap[".comm"] = DK_COMM;
5373 DirectiveKindMap[".common"] = DK_COMMON;
5374 DirectiveKindMap[".lcomm"] = DK_LCOMM;
5375 DirectiveKindMap[".abort"] = DK_ABORT;
5376 DirectiveKindMap[".include"] = DK_INCLUDE;
5377 DirectiveKindMap[".incbin"] = DK_INCBIN;
5378 DirectiveKindMap[".code16"] = DK_CODE16;
5379 DirectiveKindMap[".code16gcc"] = DK_CODE16GCC;
5380 DirectiveKindMap[".rept"] = DK_REPT;
5381 DirectiveKindMap[".rep"] = DK_REPT;
5382 DirectiveKindMap[".irp"] = DK_IRP;
5383 DirectiveKindMap[".irpc"] = DK_IRPC;
5384 DirectiveKindMap[".endr"] = DK_ENDR;
5385 DirectiveKindMap[".bundle_align_mode"] = DK_BUNDLE_ALIGN_MODE;
5386 DirectiveKindMap[".bundle_lock"] = DK_BUNDLE_LOCK;
5387 DirectiveKindMap[".bundle_unlock"] = DK_BUNDLE_UNLOCK;
5388 DirectiveKindMap[".if"] = DK_IF;
5389 DirectiveKindMap[".ifeq"] = DK_IFEQ;
5390 DirectiveKindMap[".ifge"] = DK_IFGE;
5391 DirectiveKindMap[".ifgt"] = DK_IFGT;
5392 DirectiveKindMap[".ifle"] = DK_IFLE;
5393 DirectiveKindMap[".iflt"] = DK_IFLT;
5394 DirectiveKindMap[".ifne"] = DK_IFNE;
5395 DirectiveKindMap[".ifb"] = DK_IFB;
5396 DirectiveKindMap[".ifnb"] = DK_IFNB;
5397 DirectiveKindMap[".ifc"] = DK_IFC;
5398 DirectiveKindMap[".ifeqs"] = DK_IFEQS;
5399 DirectiveKindMap[".ifnc"] = DK_IFNC;
5400 DirectiveKindMap[".ifnes"] = DK_IFNES;
5401 DirectiveKindMap[".ifdef"] = DK_IFDEF;
5402 DirectiveKindMap[".ifndef"] = DK_IFNDEF;
5403 DirectiveKindMap[".ifnotdef"] = DK_IFNOTDEF;
5404 DirectiveKindMap[".elseif"] = DK_ELSEIF;
5405 DirectiveKindMap[".else"] = DK_ELSE;
5406 DirectiveKindMap[".end"] = DK_END;
5407 DirectiveKindMap[".endif"] = DK_ENDIF;
5408 DirectiveKindMap[".skip"] = DK_SKIP;
5409 DirectiveKindMap[".space"] = DK_SPACE;
5410 DirectiveKindMap[".file"] = DK_FILE;
5411 DirectiveKindMap[".line"] = DK_LINE;
5412 DirectiveKindMap[".loc"] = DK_LOC;
5413 DirectiveKindMap[".stabs"] = DK_STABS;
5414 DirectiveKindMap[".cv_file"] = DK_CV_FILE;
5415 DirectiveKindMap[".cv_func_id"] = DK_CV_FUNC_ID;
5416 DirectiveKindMap[".cv_loc"] = DK_CV_LOC;
5417 DirectiveKindMap[".cv_linetable"] = DK_CV_LINETABLE;
5418 DirectiveKindMap[".cv_inline_linetable"] = DK_CV_INLINE_LINETABLE;
5419 DirectiveKindMap[".cv_inline_site_id"] = DK_CV_INLINE_SITE_ID;
5420 DirectiveKindMap[".cv_def_range"] = DK_CV_DEF_RANGE;
5421 DirectiveKindMap[".cv_string"] = DK_CV_STRING;
5422 DirectiveKindMap[".cv_stringtable"] = DK_CV_STRINGTABLE;
5423 DirectiveKindMap[".cv_filechecksums"] = DK_CV_FILECHECKSUMS;
5424 DirectiveKindMap[".cv_filechecksumoffset"] = DK_CV_FILECHECKSUM_OFFSET;
5425 DirectiveKindMap[".cv_fpo_data"] = DK_CV_FPO_DATA;
5426 DirectiveKindMap[".sleb128"] = DK_SLEB128;
5427 DirectiveKindMap[".uleb128"] = DK_ULEB128;
5428 DirectiveKindMap[".cfi_sections"] = DK_CFI_SECTIONS;
5429 DirectiveKindMap[".cfi_startproc"] = DK_CFI_STARTPROC;
5430 DirectiveKindMap[".cfi_endproc"] = DK_CFI_ENDPROC;
5431 DirectiveKindMap[".cfi_def_cfa"] = DK_CFI_DEF_CFA;
5432 DirectiveKindMap[".cfi_def_cfa_offset"] = DK_CFI_DEF_CFA_OFFSET;
5433 DirectiveKindMap[".cfi_adjust_cfa_offset"] = DK_CFI_ADJUST_CFA_OFFSET;
5434 DirectiveKindMap[".cfi_def_cfa_register"] = DK_CFI_DEF_CFA_REGISTER;
5435 DirectiveKindMap[".cfi_offset"] = DK_CFI_OFFSET;
5436 DirectiveKindMap[".cfi_rel_offset"] = DK_CFI_REL_OFFSET;
5437 DirectiveKindMap[".cfi_personality"] = DK_CFI_PERSONALITY;
5438 DirectiveKindMap[".cfi_lsda"] = DK_CFI_LSDA;
5439 DirectiveKindMap[".cfi_remember_state"] = DK_CFI_REMEMBER_STATE;
5440 DirectiveKindMap[".cfi_restore_state"] = DK_CFI_RESTORE_STATE;
5441 DirectiveKindMap[".cfi_same_value"] = DK_CFI_SAME_VALUE;
5442 DirectiveKindMap[".cfi_restore"] = DK_CFI_RESTORE;
5443 DirectiveKindMap[".cfi_escape"] = DK_CFI_ESCAPE;
5444 DirectiveKindMap[".cfi_return_column"] = DK_CFI_RETURN_COLUMN;
5445 DirectiveKindMap[".cfi_signal_frame"] = DK_CFI_SIGNAL_FRAME;
5446 DirectiveKindMap[".cfi_undefined"] = DK_CFI_UNDEFINED;
5447 DirectiveKindMap[".cfi_register"] = DK_CFI_REGISTER;
5448 DirectiveKindMap[".cfi_window_save"] = DK_CFI_WINDOW_SAVE;
5449 DirectiveKindMap[".cfi_b_key_frame"] = DK_CFI_B_KEY_FRAME;
5450 DirectiveKindMap[".macros_on"] = DK_MACROS_ON;
5451 DirectiveKindMap[".macros_off"] = DK_MACROS_OFF;
5452 DirectiveKindMap[".macro"] = DK_MACRO;
5453 DirectiveKindMap[".exitm"] = DK_EXITM;
5454 DirectiveKindMap[".endm"] = DK_ENDM;
5455 DirectiveKindMap[".endmacro"] = DK_ENDMACRO;
5456 DirectiveKindMap[".purgem"] = DK_PURGEM;
5457 DirectiveKindMap[".err"] = DK_ERR;
5458 DirectiveKindMap[".error"] = DK_ERROR;
5459 DirectiveKindMap[".warning"] = DK_WARNING;
5460 DirectiveKindMap[".altmacro"] = DK_ALTMACRO;
5461 DirectiveKindMap[".noaltmacro"] = DK_NOALTMACRO;
5462 DirectiveKindMap[".reloc"] = DK_RELOC;
5463 DirectiveKindMap[".dc"] = DK_DC;
5464 DirectiveKindMap[".dc.a"] = DK_DC_A;
5465 DirectiveKindMap[".dc.b"] = DK_DC_B;
5466 DirectiveKindMap[".dc.d"] = DK_DC_D;
5467 DirectiveKindMap[".dc.l"] = DK_DC_L;
5468 DirectiveKindMap[".dc.s"] = DK_DC_S;
5469 DirectiveKindMap[".dc.w"] = DK_DC_W;
5470 DirectiveKindMap[".dc.x"] = DK_DC_X;
5471 DirectiveKindMap[".dcb"] = DK_DCB;
5472 DirectiveKindMap[".dcb.b"] = DK_DCB_B;
5473 DirectiveKindMap[".dcb.d"] = DK_DCB_D;
5474 DirectiveKindMap[".dcb.l"] = DK_DCB_L;
5475 DirectiveKindMap[".dcb.s"] = DK_DCB_S;
5476 DirectiveKindMap[".dcb.w"] = DK_DCB_W;
5477 DirectiveKindMap[".dcb.x"] = DK_DCB_X;
5478 DirectiveKindMap[".ds"] = DK_DS;
5479 DirectiveKindMap[".ds.b"] = DK_DS_B;
5480 DirectiveKindMap[".ds.d"] = DK_DS_D;
5481 DirectiveKindMap[".ds.l"] = DK_DS_L;
5482 DirectiveKindMap[".ds.p"] = DK_DS_P;
5483 DirectiveKindMap[".ds.s"] = DK_DS_S;
5484 DirectiveKindMap[".ds.w"] = DK_DS_W;
5485 DirectiveKindMap[".ds.x"] = DK_DS_X;
5486 DirectiveKindMap[".print"] = DK_PRINT;
5487 DirectiveKindMap[".addrsig"] = DK_ADDRSIG;
5488 DirectiveKindMap[".addrsig_sym"] = DK_ADDRSIG_SYM;
lib/Object/RecordStreamer.cpp 18 State &S = Symbols[Symbol.getName()];
38 State &S = Symbols[Symbol.getName()];
57 State &S = Symbols[Symbol.getName()];
149 MangledNameMap[MangledName] = &GV;
lib/ObjectYAML/COFFEmitter.cpp 144 StringTableMap[Str] = Index;
496 SymbolTableIndexMap[I->Name] = CurSymbol;
517 SymbolTableIndex = SymbolTableIndexMap[R.SymbolName];
lib/ObjectYAML/DWARFEmitter.cpp 306 OutputBuffers[Sec] = MemoryBuffer::getMemBufferCopy(Data);
lib/ProfileData/GCOV.cpp 738 const LineData &Line = LineInfo[Filename];
lib/ProfileData/InstrProfWriter.cpp 205 auto &ProfileDataMap = FunctionData[Name];
227 auto &ProfileDataMap = FunctionData[Name];
lib/ProfileData/SampleProfReader.cpp 53 OS << "Function: " << FName << ": " << Profiles[FName];
223 Profiles[FName] = FunctionSamples();
224 FunctionSamples &FProfile = Profiles[FName];
453 Profiles[*FName] = FunctionSamples();
454 FunctionSamples &FProfile = Profiles[*FName];
1098 FProfile = &Profiles[Name];
lib/Support/DynamicLibrary.cpp 145 (*ExplicitSymbols)[SymbolName] = SymbolValue;
lib/Support/FileCheck.cpp 174 Context->GlobalNumericVariableTable[Name] = NumericVariable;
521 NumericVariableDefs[DefName] = NumericVariableDefinition;
526 Context->GlobalNumericVariableTable[DefName] =
536 Context->DefinedVariableTable[DefName] = true;
675 Context->GlobalVariableTable[VariableDef.first] =
1122 GlobalNumericVariableTable[LineName] = LineVariable;
1857 GlobalNumericVariableTable[(*DefinedNumericVariable)->getName()] =
1900 DefinedVariableTable[Name] = true;
lib/Support/FileCollector.cpp 54 SymlinkMap[Directory] = RealPath.str();
lib/Support/Host.cpp 1319 Features["cx8"] = (EDX >> 8) & 1;
1320 Features["cmov"] = (EDX >> 15) & 1;
1321 Features["mmx"] = (EDX >> 23) & 1;
1322 Features["fxsr"] = (EDX >> 24) & 1;
1323 Features["sse"] = (EDX >> 25) & 1;
1324 Features["sse2"] = (EDX >> 26) & 1;
1326 Features["sse3"] = (ECX >> 0) & 1;
1327 Features["pclmul"] = (ECX >> 1) & 1;
1328 Features["ssse3"] = (ECX >> 9) & 1;
1329 Features["cx16"] = (ECX >> 13) & 1;
1330 Features["sse4.1"] = (ECX >> 19) & 1;
1331 Features["sse4.2"] = (ECX >> 20) & 1;
1332 Features["movbe"] = (ECX >> 22) & 1;
1333 Features["popcnt"] = (ECX >> 23) & 1;
1334 Features["aes"] = (ECX >> 25) & 1;
1335 Features["rdrnd"] = (ECX >> 30) & 1;
1345 Features["avx"] = HasAVXSave;
1346 Features["fma"] = ((ECX >> 12) & 1) && HasAVXSave;
1348 Features["xsave"] = ((ECX >> 26) & 1) && HasAVXSave;
1349 Features["f16c"] = ((ECX >> 29) & 1) && HasAVXSave;
1356 Features["sahf"] = HasExtLeaf1 && ((ECX >> 0) & 1);
1357 Features["lzcnt"] = HasExtLeaf1 && ((ECX >> 5) & 1);
1358 Features["sse4a"] = HasExtLeaf1 && ((ECX >> 6) & 1);
1359 Features["prfchw"] = HasExtLeaf1 && ((ECX >> 8) & 1);
1360 Features["xop"] = HasExtLeaf1 && ((ECX >> 11) & 1) && HasAVXSave;
1361 Features["lwp"] = HasExtLeaf1 && ((ECX >> 15) & 1);
1362 Features["fma4"] = HasExtLeaf1 && ((ECX >> 16) & 1) && HasAVXSave;
1363 Features["tbm"] = HasExtLeaf1 && ((ECX >> 21) & 1);
1364 Features["mwaitx"] = HasExtLeaf1 && ((ECX >> 29) & 1);
1366 Features["64bit"] = HasExtLeaf1 && ((EDX >> 29) & 1);
1372 Features["clzero"] = HasExtLeaf8 && ((EBX >> 0) & 1);
1373 Features["wbnoinvd"] = HasExtLeaf8 && ((EBX >> 9) & 1);
1378 Features["fsgsbase"] = HasLeaf7 && ((EBX >> 0) & 1);
1379 Features["sgx"] = HasLeaf7 && ((EBX >> 2) & 1);
1380 Features["bmi"] = HasLeaf7 && ((EBX >> 3) & 1);
1382 Features["avx2"] = HasLeaf7 && ((EBX >> 5) & 1) && HasAVXSave;
1383 Features["bmi2"] = HasLeaf7 && ((EBX >> 8) & 1);
1384 Features["invpcid"] = HasLeaf7 && ((EBX >> 10) & 1);
1385 Features["rtm"] = HasLeaf7 && ((EBX >> 11) & 1);
1387 Features["avx512f"] = HasLeaf7 && ((EBX >> 16) & 1) && HasAVX512Save;
1388 Features["avx512dq"] = HasLeaf7 && ((EBX >> 17) & 1) && HasAVX512Save;
1389 Features["rdseed"] = HasLeaf7 && ((EBX >> 18) & 1);
1390 Features["adx"] = HasLeaf7 && ((EBX >> 19) & 1);
1391 Features["avx512ifma"] = HasLeaf7 && ((EBX >> 21) & 1) && HasAVX512Save;
1392 Features["clflushopt"] = HasLeaf7 && ((EBX >> 23) & 1);
1393 Features["clwb"] = HasLeaf7 && ((EBX >> 24) & 1);
1394 Features["avx512pf"] = HasLeaf7 && ((EBX >> 26) & 1) && HasAVX512Save;
1395 Features["avx512er"] = HasLeaf7 && ((EBX >> 27) & 1) && HasAVX512Save;
1396 Features["avx512cd"] = HasLeaf7 && ((EBX >> 28) & 1) && HasAVX512Save;
1397 Features["sha"] = HasLeaf7 && ((EBX >> 29) & 1);
1398 Features["avx512bw"] = HasLeaf7 && ((EBX >> 30) & 1) && HasAVX512Save;
1399 Features["avx512vl"] = HasLeaf7 && ((EBX >> 31) & 1) && HasAVX512Save;
1401 Features["prefetchwt1"] = HasLeaf7 && ((ECX >> 0) & 1);
1402 Features["avx512vbmi"] = HasLeaf7 && ((ECX >> 1) & 1) && HasAVX512Save;
1403 Features["pku"] = HasLeaf7 && ((ECX >> 4) & 1);
1404 Features["waitpkg"] = HasLeaf7 && ((ECX >> 5) & 1);
1405 Features["avx512vbmi2"] = HasLeaf7 && ((ECX >> 6) & 1) && HasAVX512Save;
1406 Features["shstk"] = HasLeaf7 && ((ECX >> 7) & 1);
1407 Features["gfni"] = HasLeaf7 && ((ECX >> 8) & 1);
1408 Features["vaes"] = HasLeaf7 && ((ECX >> 9) & 1) && HasAVXSave;
1409 Features["vpclmulqdq"] = HasLeaf7 && ((ECX >> 10) & 1) && HasAVXSave;
1410 Features["avx512vnni"] = HasLeaf7 && ((ECX >> 11) & 1) && HasAVX512Save;
1411 Features["avx512bitalg"] = HasLeaf7 && ((ECX >> 12) & 1) && HasAVX512Save;
1412 Features["avx512vpopcntdq"] = HasLeaf7 && ((ECX >> 14) & 1) && HasAVX512Save;
1413 Features["rdpid"] = HasLeaf7 && ((ECX >> 22) & 1);
1414 Features["cldemote"] = HasLeaf7 && ((ECX >> 25) & 1);
1415 Features["movdiri"] = HasLeaf7 && ((ECX >> 27) & 1);
1416 Features["movdir64b"] = HasLeaf7 && ((ECX >> 28) & 1);
1417 Features["enqcmd"] = HasLeaf7 && ((ECX >> 29) & 1);
1429 Features["pconfig"] = HasLeaf7 && ((EDX >> 18) & 1);
1432 Features["avx512bf16"] = HasLeaf7Subleaf1 && ((EAX >> 5) & 1) && HasAVX512Save;
1438 Features["xsaveopt"] = HasLeafD && ((EAX >> 0) & 1) && HasAVXSave;
1439 Features["xsavec"] = HasLeafD && ((EAX >> 1) & 1) && HasAVXSave;
1440 Features["xsaves"] = HasLeafD && ((EAX >> 3) & 1) && HasAVXSave;
1445 Features["ptwrite"] = HasLeaf14 && ((EBX >> 4) & 1);
lib/Support/SpecialCaseList.cpp 37 Strings[Regexp] = LineNumber;
185 SectionsMap[Section] = Sections.size();
189 auto &Entry = Sections[SectionsMap[Section]].Entries[Prefix][Category];
189 auto &Entry = Sections[SectionsMap[Section]].Entries[Prefix][Category];
189 auto &Entry = Sections[SectionsMap[Section]].Entries[Prefix][Category];
lib/Support/TimeProfiler.cpp 98 auto &CountAndTotal = CountAndTotalPerName[E.Name];
145 auto Count = CountAndTotalPerName[E.first].first;
lib/Support/Timer.cpp 201 std::pair<TimerGroup*, Name2TimerMap> &GroupEntry = Map[GroupName];
206 Timer &T = GroupEntry.second[Name];
lib/Support/YAMLTraits.cpp 173 HNode *Value = MN->Mapping[Key].get();
415 mapHNode->Mapping[KeyStr] = std::move(ValueHNode);
lib/TableGen/SetTheory.cpp 271 Operators[Name] = std::move(Op);
275 Expanders[ClassName] = std::move(E);
lib/Target/AArch64/AArch64TargetMachine.cpp 317 auto &I = SubtargetMap[CPU + FS];
lib/Target/AMDGPU/AMDGPULibFunc.cpp 1003 Map[Table[I].Name] = I;
lib/Target/AMDGPU/AMDGPUTargetMachine.cpp 481 auto &I = SubtargetMap[SubtargetKey];
517 auto &I = SubtargetMap[SubtargetKey];
lib/Target/ARM/ARMTargetMachine.cpp 281 auto &I = SubtargetMap[Key];
lib/Target/BPF/BTFDebug.cpp 690 FileContent[FileName] = Content;
702 if (Line < FileContent[FileName].size())
703 LineInfo.LineOff = addString(FileContent[FileName][Line]);
lib/Target/Hexagon/HexagonTargetMachine.cpp 241 auto &I = SubtargetMap[CPU + FS];
lib/Target/Mips/AsmParser/MipsAsmParser.cpp 7093 RegisterSets[Name] = Parser.getTok();
lib/Target/Mips/MipsTargetMachine.cpp 196 auto &I = SubtargetMap[CPU + FS];
lib/Target/PowerPC/PPCTargetMachine.cpp 335 auto &I = SubtargetMap[CPU + FS];
lib/Target/Sparc/SparcTargetMachine.cpp 130 auto &I = SubtargetMap[CPU + FS];
lib/Target/WebAssembly/WebAssemblyLowerEmscriptenEHSjLj.cpp 460 return InvokeWrappers[Sig];
471 InvokeWrappers[Sig] = F;
lib/Target/WebAssembly/WebAssemblyRuntimeLibcallSignatures.cpp 504 Map[NameLibcall.first] = NameLibcall.second;
509 Map["__extendhfsf2"] = RTLIB::FPEXT_F16_F32;
510 Map["__truncsfhf2"] = RTLIB::FPROUND_F32_F16;
512 Map["emscripten_return_address"] = RTLIB::RETURN_ADDRESS;
lib/Target/WebAssembly/WebAssemblyTargetMachine.cpp 141 auto &I = SubtargetMap[CPU + FS];
lib/Target/X86/X86TargetMachine.cpp 305 auto &I = SubtargetMap[Key];
lib/Testing/Support/Annotations.cpp 36 Points[Name.getValueOr("")].push_back(Code.size());
51 Ranges[OpenRanges.back().first].push_back(R);
lib/Transforms/IPO/FunctionImport.cpp 310 auto ILI = ImportList[RefSummary->modulePath()].insert(VI.getGUID());
315 (*ExportLists)[RefSummary->modulePath()].insert(VI.getGUID());
469 auto ILI = ImportList[ExportModulePath].insert(VI.getGUID());
483 auto &ExportList = (*ExportLists)[ExportModulePath];
625 auto &ImportList = ImportLists[DefinedGVSummaries.first()];
654 auto &Exports = ExportLists[ModName];
726 ImportList[Summary->modulePath()].insert(GUID);
lib/Transforms/IPO/SampleProfile.cpp 1733 SymbolMap[OrigName] = F;
lib/Transforms/Instrumentation/GCOVProfiling.cpp 515 InstrumentedFiles[Filename] = ShouldInstrument;
lib/Transforms/Utils/ImportedFunctionsInliningStatistics.cpp 26 auto &ValueLookup = NodesMap[F.getName()];
169 auto &Node = *NodesMap[Name];
tools/clang/include/clang/Basic/Module.h 439 Parent->SubModuleIndex[Name] = Parent->SubModules.size();
tools/clang/include/clang/Basic/OpenCLExtensions.def 36 OPENCLEXT_INTERNAL(cl_khr_3d_image_writes, 100, 200)
38 OPENCLEXT_INTERNAL(cl_khr_select_fprounding_mode, 100, 110)
39 OPENCLEXT_INTERNAL(cl_khr_byte_addressable_store, 100, 110)
40 OPENCLEXT_INTERNAL(cl_khr_fp16, 100, ~0U)
41 OPENCLEXT_INTERNAL(cl_khr_fp64, 100, 120)
42 OPENCLEXT_INTERNAL(cl_khr_global_int32_base_atomics, 100, 110)
43 OPENCLEXT_INTERNAL(cl_khr_global_int32_extended_atomics, 100, 110)
44 OPENCLEXT_INTERNAL(cl_khr_local_int32_base_atomics, 100, 110)
45 OPENCLEXT_INTERNAL(cl_khr_local_int32_extended_atomics, 100, 110)
46 OPENCLEXT_INTERNAL(cl_khr_int64_base_atomics, 100, ~0U)
47 OPENCLEXT_INTERNAL(cl_khr_int64_extended_atomics, 100, ~0U)
48 OPENCLEXT_INTERNAL(cl_khr_gl_sharing, 100, ~0U)
49 OPENCLEXT_INTERNAL(cl_khr_icd, 100, ~0U)
52 OPENCLEXT_INTERNAL(cl_khr_gl_event, 110, ~0U)
53 OPENCLEXT_INTERNAL(cl_khr_d3d10_sharing, 110, ~0U)
56 OPENCLEXT_INTERNAL(cles_khr_int64, 110, ~0U)
59 OPENCLEXT_INTERNAL(cl_khr_context_abort, 120, ~0U)
60 OPENCLEXT_INTERNAL(cl_khr_d3d11_sharing, 120, ~0U)
61 OPENCLEXT_INTERNAL(cl_khr_depth_images, 120, ~0U)
62 OPENCLEXT_INTERNAL(cl_khr_dx9_media_sharing, 120, ~0U)
63 OPENCLEXT_INTERNAL(cl_khr_image2d_from_buffer, 120, ~0U)
64 OPENCLEXT_INTERNAL(cl_khr_initialize_memory, 120, ~0U)
65 OPENCLEXT_INTERNAL(cl_khr_gl_depth_images, 120, ~0U)
66 OPENCLEXT_INTERNAL(cl_khr_gl_msaa_sharing, 120, ~0U)
67 OPENCLEXT_INTERNAL(cl_khr_spir, 120, ~0U)
70 OPENCLEXT_INTERNAL(cl_khr_egl_event, 200, ~0U)
71 OPENCLEXT_INTERNAL(cl_khr_egl_image, 200, ~0U)
72 OPENCLEXT_INTERNAL(cl_khr_mipmap_image, 200, ~0U)
73 OPENCLEXT_INTERNAL(cl_khr_srgb_image_writes, 200, ~0U)
74 OPENCLEXT_INTERNAL(cl_khr_subgroups, 200, ~0U)
75 OPENCLEXT_INTERNAL(cl_khr_terminate_context, 200, ~0U)
78 OPENCLEXT_INTERNAL(cl_clang_storage_class_specifiers, 100, ~0U)
81 OPENCLEXT_INTERNAL(cl_amd_media_ops, 100, ~0U)
82 OPENCLEXT_INTERNAL(cl_amd_media_ops2, 100, ~0U)
85 OPENCLEXT_INTERNAL(cl_arm_integer_dot_product_int8, 120, ~0U)
86 OPENCLEXT_INTERNAL(cl_arm_integer_dot_product_accumulate_int8, 120, ~0U)
87 OPENCLEXT_INTERNAL(cl_arm_integer_dot_product_accumulate_int16, 120, ~0U)
88 OPENCLEXT_INTERNAL(cl_arm_integer_dot_product_accumulate_saturate_int8, 120, ~0U)
91 OPENCLEXT_INTERNAL(cl_intel_subgroups, 120, ~0U)
92 OPENCLEXT_INTERNAL(cl_intel_subgroups_short, 120, ~0U)
93 OPENCLEXT_INTERNAL(cl_intel_device_side_avc_motion_estimation, 120, ~0U)
tools/clang/include/clang/Basic/OpenCLOptions.h 71 OptMap[Ext].Enabled = V;
96 OptMap[Ext].Supported = V;
109 OptMap[I.getKey()].Supported = true;
tools/clang/include/clang/Basic/TargetInfo.h 1098 Features[Name] = Enabled;
tools/clang/include/clang/Lex/HeaderSearch.h 305 (*IncludeAliases)[Source] = Dest;
415 return FrameworkMap[FWName];
tools/clang/include/clang/Sema/SemaInternal.h 126 return CorrectionResults.begin()->second[Name];
tools/clang/include/clang/Serialization/PCHContainerOperations.h 98 Writers[Writer->getFormat()] = std::move(Writer);
101 Readers[Reader->getFormat()] = std::move(Reader);
104 return Writers[Format].get();
107 return Readers[Format].get();
tools/clang/include/clang/Tooling/AllTUsExecution.h 59 OverlayFiles[FilePath] = Content;
tools/clang/include/clang/Tooling/DiagnosticsYaml.h 41 llvm::Error Err = M.Fix[Fix.getFilePath()].add(Fix);
tools/clang/lib/AST/ASTContext.cpp10358 StringLiteral *&Result = StringLiteralCache[Key];
tools/clang/lib/AST/CommentSema.cpp 321 TParamCommandComment *&PrevCommand = TemplateParameterDocs[Arg];
tools/clang/lib/AST/ItaniumCXXABI.cpp 152 return ++LambdaManglingNumbers[LambdaSig];
tools/clang/lib/ASTMatchers/ASTMatchFinder.cpp 320 Timer.setBucket(&TimeByBucket[MC->getID()]);
330 Timer.setBucket(&TimeByBucket[MC->getID()]);
553 Timer.setBucket(&TimeByBucket[MP.second->getID()]);
577 Timer.setBucket(&TimeByBucket[MP.second->getID()]);
tools/clang/lib/ASTMatchers/Dynamic/Registry.cpp 65 Constructors[MatcherName] = std::move(Callback);
tools/clang/lib/Basic/FileSystemStatCache.cpp 117 StatCalls[Path] = Status;
tools/clang/lib/Basic/Module.cpp 61 Parent->SubModuleIndex[Name] = Parent->SubModules.size();
tools/clang/lib/Basic/Targets/AMDGPU.cpp 138 Features["dot1-insts"] = true;
139 Features["dot2-insts"] = true;
140 Features["dot5-insts"] = true;
141 Features["dot6-insts"] = true;
144 Features["dl-insts"] = true;
145 Features["ci-insts"] = true;
146 Features["flat-address-space"] = true;
147 Features["16-bit-insts"] = true;
148 Features["dpp"] = true;
149 Features["gfx8-insts"] = true;
150 Features["gfx9-insts"] = true;
151 Features["gfx10-insts"] = true;
152 Features["s-memrealtime"] = true;
155 Features["dot3-insts"] = true;
156 Features["dot4-insts"] = true;
157 Features["dot5-insts"] = true;
158 Features["dot6-insts"] = true;
161 Features["dl-insts"] = true;
162 Features["dot1-insts"] = true;
163 Features["dot2-insts"] = true;
169 Features["gfx9-insts"] = true;
175 Features["gfx8-insts"] = true;
176 Features["16-bit-insts"] = true;
177 Features["dpp"] = true;
178 Features["s-memrealtime"] = true;
185 Features["ci-insts"] = true;
186 Features["flat-address-space"] = true;
tools/clang/lib/Basic/Targets/ARM.cpp 380 Features[Feature.drop_front(1)] = true;
385 Features["thumb-mode"] = true;
387 Features["thumb-mode"] = false;
tools/clang/lib/Basic/Targets/BPF.h 56 Features[Name] = Enabled;
tools/clang/lib/Basic/Targets/Hexagon.cpp 73 Features["long-calls"] = false;
tools/clang/lib/Basic/Targets/Mips.h 182 Features["mips64r2"] = Features["cnmips"] = true;
182 Features["mips64r2"] = Features["cnmips"] = true;
184 Features[CPU] = true;
tools/clang/lib/Basic/Targets/NVPTX.h 68 Features[CudaArchToString(GPU)] = true;
69 Features["ptx" + std::to_string(PTXVersion)] = true;
tools/clang/lib/Basic/Targets/PPC.cpp 259 Features["altivec"] = llvm::StringSwitch<bool>(CPU)
274 Features["qpx"] = (CPU == "a2q");
275 Features["power9-vector"] = (CPU == "pwr9");
276 Features["crypto"] = llvm::StringSwitch<bool>(CPU)
281 Features["power8-vector"] = llvm::StringSwitch<bool>(CPU)
286 Features["bpermd"] = llvm::StringSwitch<bool>(CPU)
292 Features["extdiv"] = llvm::StringSwitch<bool>(CPU)
298 Features["direct-move"] = llvm::StringSwitch<bool>(CPU)
303 Features["vsx"] = llvm::StringSwitch<bool>(CPU)
309 Features["htm"] = llvm::StringSwitch<bool>(CPU)
359 Features["vsx"] = Features["altivec"] = true;
359 Features["vsx"] = Features["altivec"] = true;
361 Features["power8-vector"] = true;
362 Features[Name] = true;
367 Features["vsx"] = Features["direct-move"] = Features["power8-vector"] =
367 Features["vsx"] = Features["direct-move"] = Features["power8-vector"] =
367 Features["vsx"] = Features["direct-move"] = Features["power8-vector"] =
368 Features["float128"] = Features["power9-vector"] = false;
368 Features["float128"] = Features["power9-vector"] = false;
370 Features["power9-vector"] = false;
371 Features[Name] = false;
tools/clang/lib/Basic/Targets/SystemZ.h 98 Features["transactional-execution"] = true;
100 Features["vector"] = true;
102 Features["vector-enhancements-1"] = true;
104 Features["vector-enhancements-2"] = true;
tools/clang/lib/Basic/Targets/WebAssembly.cpp 89 Features["unimplemented-simd128"] = true;
92 Features["simd128"] = true;
103 Features["nontrapping-fptoint"] = true;
104 Features["sign-ext"] = true;
105 Features["atomics"] = true;
106 Features["mutable-globals"] = true;
114 Features["nontrapping-fptoint"] = true;
116 Features["sign-ext"] = true;
118 Features["exception-handling"] = true;
120 Features["bulk-memory"] = true;
122 Features["atomics"] = true;
124 Features["mutable-globals"] = true;
126 Features["multivalue"] = true;
128 Features["tail-call"] = true;
tools/clang/lib/Basic/Targets/X86.cpp 448 Features["popcnt"] = true;
454 Features["prfchw"] = true;
461 Features["mmx"] = true;
471 Features["avx512f"] = true;
472 Features["fma"] = true;
473 Features["f16c"] = true;
476 Features["avx2"] = true;
479 Features["avx"] = true;
480 Features["xsave"] = true;
483 Features["sse4.2"] = true;
486 Features["sse4.1"] = true;
489 Features["ssse3"] = true;
492 Features["sse3"] = true;
495 Features["sse2"] = true;
498 Features["sse"] = true;
509 Features["sse"] = false;
512 Features["sse2"] = Features["pclmul"] = Features["aes"] = false;
512 Features["sse2"] = Features["pclmul"] = Features["aes"] = false;
512 Features["sse2"] = Features["pclmul"] = Features["aes"] = false;
513 Features["sha"] = Features["gfni"] = false;
513 Features["sha"] = Features["gfni"] = false;
516 Features["sse3"] = false;
520 Features["ssse3"] = false;
523 Features["sse4.1"] = false;
526 Features["sse4.2"] = false;
529 Features["fma"] = Features["avx"] = Features["f16c"] = false;
529 Features["fma"] = Features["avx"] = Features["f16c"] = false;
529 Features["fma"] = Features["avx"] = Features["f16c"] = false;
530 Features["xsave"] = Features["xsaveopt"] = Features["vaes"] = false;
530 Features["xsave"] = Features["xsaveopt"] = Features["vaes"] = false;
530 Features["xsave"] = Features["xsaveopt"] = Features["vaes"] = false;
531 Features["vpclmulqdq"] = false;
535 Features["avx2"] = false;
538 Features["avx512f"] = Features["avx512cd"] = Features["avx512er"] = false;
538 Features["avx512f"] = Features["avx512cd"] = Features["avx512er"] = false;
538 Features["avx512f"] = Features["avx512cd"] = Features["avx512er"] = false;
539 Features["avx512pf"] = Features["avx512dq"] = Features["avx512bw"] = false;
539 Features["avx512pf"] = Features["avx512dq"] = Features["avx512bw"] = false;
539 Features["avx512pf"] = Features["avx512dq"] = Features["avx512bw"] = false;
540 Features["avx512vl"] = Features["avx512vbmi"] = false;
540 Features["avx512vl"] = Features["avx512vbmi"] = false;
541 Features["avx512ifma"] = Features["avx512vpopcntdq"] = false;
541 Features["avx512ifma"] = Features["avx512vpopcntdq"] = false;
542 Features["avx512bitalg"] = Features["avx512vnni"] = false;
542 Features["avx512bitalg"] = Features["avx512vnni"] = false;
543 Features["avx512vbmi2"] = Features["avx512bf16"] = false;
543 Features["avx512vbmi2"] = Features["avx512bf16"] = false;
544 Features["avx512vp2intersect"] = false;
554 Features["3dnowa"] = true;
557 Features["3dnow"] = true;
560 Features["mmx"] = true;
571 Features["mmx"] = false;
574 Features["3dnow"] = false;
577 Features["3dnowa"] = false;
587 Features["xop"] = true;
590 Features["fma4"] = true;
594 Features["sse4a"] = true;
606 Features["sse4a"] = false;
609 Features["fma4"] = false;
612 Features["xop"] = false;
623 Features[Name] = Enabled;
647 Features["vaes"] = false;
651 Features["aes"] = true;
657 Features["vpclmulqdq"] = false;
661 Features["pclmul"] = true;
678 Features["avx512bw"] = true;
681 Features["avx512vbmi"] = false;
682 Features["avx512vbmi2"] = false;
683 Features["avx512bitalg"] = false;
684 Features["avx512bf16"] = false;
716 Features["xsaveopt"] = false;
719 Features["xsave"] = true;
tools/clang/lib/CodeGen/BackendUtil.cpp 1393 ImportList[Summary->modulePath()].insert(GUID);
1485 ModuleToDefinedGVSummaries[M->getModuleIdentifier()], ModuleMap)) {
tools/clang/lib/CodeGen/CGObjCGNU.cpp 996 ObjCStrings[Str] = ObjCStr;
1109 ObjCStrings[Str] = ObjCStr;
1308 auto *&Ref = ExistingProtocolRefs[Name];
1310 auto *&Protocol = ExistingProtocols[Name];
1347 auto *&Protocol = ExistingProtocols[ProtocolName];
2484 ObjCStrings[Str] = ObjCStr;
3033 llvm::Constant *&protocol = ExistingProtocols[PD->getNameAsString()];
3132 ExistingProtocols[ProtocolName] =
tools/clang/lib/CodeGen/CGObjCMac.cpp 5142 llvm::GlobalVariable *&Entry = ClassNames[RuntimeName];
5508 llvm::GlobalVariable *&Entry = MethodVarTypes[TypeStr];
5519 llvm::GlobalVariable *&Entry = MethodVarTypes[TypeStr];
tools/clang/lib/CodeGen/CGOpenMPRuntime.cpp 3892 OffloadEntriesTargetRegion[DeviceID][FileID][ParentName][LineNum] =
3914 OffloadEntriesTargetRegion[DeviceID][FileID][ParentName][LineNum];
3921 OffloadEntriesTargetRegion[DeviceID][FileID][ParentName][LineNum] = Entry;
3974 auto &Entry = OffloadEntriesDeviceGlobalVar[VarName];
3991 auto &Entry = OffloadEntriesDeviceGlobalVar[VarName];
tools/clang/lib/CodeGen/CodeGenModule.cpp 226 Replacements[Name] = C;
2174 llvm::Constant *&AStr = AnnotationStrings[Str];
4038 const ASTContext::SectionInfo &SI = Context.SectionInfos[SA->getName()];
tools/clang/lib/CrossTU/CrossTranslationUnit.cpp 152 Result[LookupName] = FilePath.str().str();
390 FileASTUnitMap[FileName] = std::move(LoadedUnit);
428 getASTUnitForFile(NameFileMap[FunctionName], DisplayCTUProgress)) {
431 NameASTUnitMap[FunctionName] = *FoundForFile;
448 return NameFileMap[FunctionName];
tools/clang/lib/Driver/Driver.cpp 630 auto &CudaTC = ToolChains[CudaTriple.str() + "/" + HostTriple.str()];
645 auto &HIPTC = ToolChains[HIPTriple.str() + "/" + HostTriple.str()];
689 FoundNormalizedTriples[NormalizedName] = Val;
703 ToolChains[TT.str() + "/" + HostTC->getTriple().normalize()];
4700 auto &TC = ToolChains[Target.str()];
tools/clang/lib/Driver/Multilib.cpp 107 FlagSet[Flag.substr(1)] = I;
250 FlagSet[Flag.substr(1)] = isFlagEnabled(Flag);
tools/clang/lib/Driver/ToolChains/Clang.cpp 255 if (OptionStrings[ValBase.str() + 'd']) {
272 OptionStrings[ValBase.str() + 'd'] = true;
tools/clang/lib/Driver/ToolChains/CommonArgs.cpp 1469 LastOpt[Name.drop_front(1)] = I;
tools/clang/lib/Driver/ToolChains/Cuda.cpp 175 LibDeviceMap[GpuArchName] = FilePath;
191 LibDeviceMap[GpuArch] = FilePath.str();
196 LibDeviceMap["sm_20"] = FilePath;
197 LibDeviceMap["sm_21"] = FilePath;
198 LibDeviceMap["sm_32"] = FilePath;
200 LibDeviceMap["sm_30"] = FilePath;
202 LibDeviceMap["sm_50"] = FilePath;
203 LibDeviceMap["sm_52"] = FilePath;
204 LibDeviceMap["sm_53"] = FilePath;
206 LibDeviceMap["sm_60"] = FilePath;
207 LibDeviceMap["sm_61"] = FilePath;
208 LibDeviceMap["sm_62"] = FilePath;
210 LibDeviceMap["sm_35"] = FilePath;
211 LibDeviceMap["sm_37"] = FilePath;
214 LibDeviceMap["sm_50"] = FilePath;
215 LibDeviceMap["sm_52"] = FilePath;
216 LibDeviceMap["sm_53"] = FilePath;
tools/clang/lib/Frontend/ASTUnit.cpp 416 CachedCompletionTypes[QualType(CanUsageType).getAsString()]
2376 PreambleSrcLocCache[SD.Filename] = FileLoc;
tools/clang/lib/Frontend/CompilerInvocation.cpp 375 Opts.Config[key] = val;
tools/clang/lib/Frontend/LayoutOverrideSource.cpp 49 Layouts[CurrentType] = CurrentLayout;
151 Layouts[CurrentType] = CurrentLayout;
tools/clang/lib/Frontend/ModuleDependencyCollector.cpp 173 SymLinkMap[Dir] = RealPath.str();
tools/clang/lib/Frontend/PrecompiledPreamble.cpp 378 FilesInPreamble[File->getName()] =
383 FilesInPreamble[File->getName()] =
468 OverridenFileBuffers[RB.first] = PreambleHash;
tools/clang/lib/Frontend/VerifyDiagnosticConsumer.cpp 373 DeferredDirectives[MarkerName].push_back(UD);
tools/clang/lib/Lex/HeaderSearch.cpp 873 LookupFileCacheInfo &CacheLookup = LookupFileCache[Filename];
999 LookupFileCacheInfo &CacheLookup = LookupFileCache[Filename];
1000 CacheLookup.HitIdx = LookupFileCache[ScratchFilename].HitIdx;
tools/clang/lib/Lex/ModuleMap.cpp 73 PendingLinkAsModule[Mod->ExportAsModule].insert(Mod->Name);
809 Modules[Name] = Result;
837 assert(!Modules[Name] && "redefining existing module");
843 Modules[Name] = SourceModule = Result;
864 assert(!Modules[Name] && "redefining existing module");
870 Modules[Name] = SourceModule = Result;
1011 Modules[ModuleName] = Result;
tools/clang/lib/Lex/Pragma.cpp 91 Handlers[Handler->getName()] = Handler;
tools/clang/lib/Sema/SemaAttr.cpp 469 Context.SectionInfos[SectionName] =
506 Context.SectionInfos[SectionName] =
tools/clang/lib/Sema/SemaCodeComplete.cpp 1950 Overrides[Method->getName()].push_back(Method);
tools/clang/lib/Sema/SemaDeclAttr.cpp 3360 NameIdxMapping["__"] = -1;
3362 NameIdxMapping["this"] = 0;
3366 NameIdxMapping[PVD->getName()] = Idx++;
tools/clang/lib/Sema/SemaLookup.cpp 4261 CorrectionResults[Correction.getEditDistance(false)][Name];
tools/clang/lib/Serialization/ASTReader.cpp 597 Macros[MacroName] = std::make_pair("", true);
612 Macros[MacroName] = std::make_pair(MacroBody, false);
640 std::pair<StringRef, bool> Existing = ExistingMacros[MacroName];
3593 auto &Opt = OpenCLExtensions.OptMap[Name];
tools/clang/lib/Serialization/ASTWriter.cpp 2072 FrameworkNameOffset[Data.HFI.Framework] = Offset;
tools/clang/lib/Serialization/GlobalModuleIndex.cpp 230 UnresolvedModules[ModuleName] = ID;
698 InterestingIdentifiers[Ident.first].push_back(ID);
700 (void)InterestingIdentifiers[Ident.first];
tools/clang/lib/Serialization/InMemoryModuleCache.cpp 35 auto &PCM = PCMs[Filename];
tools/clang/lib/StaticAnalyzer/Checkers/BasicObjCFoundationChecks.cpp 73 Classes["NSArray"] = FC_NSArray;
74 Classes["NSDictionary"] = FC_NSDictionary;
75 Classes["NSEnumerator"] = FC_NSEnumerator;
76 Classes["NSNull"] = FC_NSNull;
77 Classes["NSOrderedSet"] = FC_NSOrderedSet;
78 Classes["NSSet"] = FC_NSSet;
79 Classes["NSString"] = FC_NSString;
tools/clang/lib/StaticAnalyzer/Checkers/ObjCMissingSuperCallChecker.cpp 103 llvm::SmallSet<Selector, 16> &ClassSelectors = SelectorsForClass[ClassName];
184 if (!SelectorsForClass[SuperclassName].count(S))
tools/clang/lib/StaticAnalyzer/Core/BugReporter.cpp 3265 BugType *&BT = StrBugTypes[fullDesc];
tools/clang/lib/StaticAnalyzer/Core/SarifDiagnostics.cpp 305 RuleMapping[RuleID] = Rules.size(); // Maps RuleID to an Array Index.
tools/clang/lib/StaticAnalyzer/Frontend/CheckerRegistry.cpp 417 PackageSizes[PackageName] += 1;
tools/clang/lib/StaticAnalyzer/Frontend/ModelInjector.cpp 32 return Bodies[D->getName()];
37 return Bodies[D->getName()];
62 Bodies[D->getName()] = nullptr;
tools/clang/lib/Tooling/FileMatchTrie.cpp 76 Children[Element].Path = Path;
80 Children[Element].insert(NewPath, ConsumedLength + Element.size() + 1);
tools/clang/lib/Tooling/JSONCompilationDatabase.cpp 428 IndexByFile[NativeFilePath].push_back(Cmd);
tools/clang/lib/Tooling/Tooling.cpp 312 MappedFileContents[PathStorage] = Content;
tools/clang/tools/clang-extdef-mapping/ClangExtDefMapGen.cpp 97 Index[*LookupName] = CurrentFileName;
tools/clang/tools/clang-offload-bundler/ClangOffloadBundler.cpp 291 BundlesInfo[Triple] = BundleInfo(Size, Offset);
740 Worklist[Triple] = *Output;
tools/clang/tools/diagtool/DiagTool.cpp 37 (*getTools(tools))[tool->getName()] = tool;
tools/clang/tools/diagtool/ListWarnings.cpp 68 flagHistogram[entry.Flag].push_back(diagID);
94 << flagHistogram["pedantic"].size() << '\n';
tools/clang/tools/extra/clang-include-fixer/find-all-symbols/HeaderMapCollector.h 32 HeaderMappingTable[OrignalHeaderPath] = MappingHeaderPath;
tools/clang/tools/extra/clang-move/Move.cpp 495 FilePathToFileID[FilePath] = SM.getFileID(Loc);
tools/clang/tools/extra/clang-query/Query.cpp 147 QS.NamedValues[Name] = Value;
tools/clang/tools/extra/clang-reorder-fields/ReorderFieldsAction.cpp 63 NameToIndex[Field->getName()] = Field->getFieldIndex();
75 NewFieldsOrder.push_back(NameToIndex[Name]);
tools/clang/tools/extra/clang-tidy/ClangTidy.cpp 145 Replacements &Replacements = FileReplacements[R.getFilePath()];
333 AnalyzerOptions->Config[OptName.substr(AnalyzerPrefix.size())] = Opt.second;
tools/clang/tools/extra/clang-tidy/ClangTidyDiagnosticConsumer.cpp 87 DiagWithFix->Fix[Replacement.getFilePath()].add(Replacement);
128 switch (auto &Result = Cache[S]) {
tools/clang/tools/extra/clang-tidy/ClangTidyOptions.cpp 259 CachedOptions[Path] = *Result;
262 CachedOptions[Path] = *Result;
tools/clang/tools/extra/clang-tidy/bugprone/ForwardDeclarationNamespaceCheck.cpp 54 DeclNameToDefinitions[DeclName].push_back(RecordDecl);
60 DeclNameToDeclarations[DeclName].push_back(RecordDecl);
157 const auto &Definitions = DeclNameToDefinitions[DeclName];
tools/clang/tools/extra/clang-tidy/modernize/DeprecatedHeadersCheck.cpp 108 (llvm::Twine("<") + CStyledHeaderToCxx[FileName] + ">").str();
111 << FileName << CStyledHeaderToCxx[FileName]
tools/clang/tools/extra/clang-tidy/utils/HeaderGuard.cpp 42 Files[FileName] = FE;
tools/clang/tools/extra/clang-tidy/utils/IncludeSorter.cpp 98 IncludeLocations[FileName].push_back(
100 SourceLocations.push_back(IncludeLocations[FileName].back());
103 if (IncludeLocations[FileName].size() > 1)
132 const auto &Location = IncludeLocations[IncludeEntry][0];
141 SourceRange LastIncludeLocation = IncludeLocations[LastInclude].back();
165 SourceRange LastIncludeLocation = IncludeLocations[LastInclude].back();
172 SourceRange FirstIncludeLocation = IncludeLocations[FirstInclude].back();
194 auto &Location = IncludeLocations[IncludeEntry];
tools/clang/tools/extra/clang-tidy/utils/NamespaceAliaser.cpp 53 AddedAliases[Function][Namespace.str()] = ExistingAlias->getName().str();
74 AddedAliases[Function][Namespace.str()] = Abbreviation;
tools/clang/tools/extra/clangd/ClangdLSPServer.cpp 243 Calls[Method] = [Method, Handler, this](llvm::json::Value RawParams,
289 Notifications[Method] = [Method, Handler,
413 RequestCancelers[StrID] = {std::move(Task.second), Cookie};
1307 Old = std::move(FileToHighlightings[File]);
1308 FileToHighlightings[File] = std::move(HighlightingsCopy);
1335 FixItsMap[File] = LocalFixIts;
tools/clang/tools/extra/clangd/ClangdServer.cpp 213 CachedCompletionFuzzyFindRequestByFile[File];
228 CachedCompletionFuzzyFindRequestByFile[File] =
tools/clang/tools/extra/clangd/CodeComplete.cpp 1284 auto &Source = ProxSources[Entry.getKey()];
1346 ProxSources[FileName].Cost = 0;
tools/clang/tools/extra/clangd/DraftStore.cpp 39 Drafts[File] = Contents;
tools/clang/tools/extra/clangd/FileDistance.cpp 163 auto &Delegate = ByScheme[Scheme];
209 Sources[Path.first] = std::move(Param);
tools/clang/tools/extra/clangd/GlobalCompilationDatabase.cpp 312 Commands[CanonPath] = std::move(*Cmd);
tools/clang/tools/extra/clangd/HeaderSourceSwitch.cpp 88 ++Candidates[*TargetPath];
tools/clang/tools/extra/clangd/Headers.cpp 139 Result[Root] = 0;
160 Result[Name] = Level;
tools/clang/tools/extra/clangd/SourceCode.cpp 745 ++Identifiers[Tok.getIdentifierInfo()->getName()];
748 ++Identifiers[Tok.getRawIdentifier()];
909 UsingDirectives[Current].insert(NS);
913 UsingDirectives[Current].insert(NS);
915 UsingDirectives[Current].insert((Enclosing + "::" + NS).str());
tools/clang/tools/extra/clangd/TUScheduler.cpp 886 std::unique_ptr<FileData> &FD = Files[File];
tools/clang/tools/extra/clangd/index/Background.cpp 472 ShardVersion &SV = ShardVersions[LS.AbsolutePath];
tools/clang/tools/extra/clangd/index/BackgroundIndexStorage.cpp 120 auto &IndexStorage = IndexStorageMap[CDBDirectory];
tools/clang/tools/extra/clangd/index/BackgroundQueue.cpp 90 unsigned &Boost = Boosts[Tag];
tools/clang/tools/extra/clangd/index/CanonicalIncludes.cpp 24 FullPathMapping[Path] = CanonicalPath;
tools/clang/tools/extra/clangd/index/FileIndex.cpp 103 FileToSymbols[Path] = std::move(Symbols);
110 FileToRefs[Path] = std::move(Item);
115 FileToRelations[Path] = std::move(Relations);
tools/clang/tools/extra/clangd/index/dex/Dex.cpp 117 Sources[Path] = SourceParams();
tools/clang/tools/extra/clangd/unittests/BackgroundIndexTests.cpp 60 Storage[ShardIdentifier] = llvm::to_string(Shard);
70 auto IndexFile = readIndexFile(Storage[ShardIdentifier]);
90 FS.Files[testPath("root/A.cc")] = "error file";
110 FS.Files[testPath("root/A.h")] = R"cpp(
119 FS.Files[testPath("root/A.cc")] =
121 FS.Files[testPath("root/B.cc")] =
179 FS.Files[testPath("root/A.h")] = R"cpp(
185 FS.Files[testPath("root/A.cc")] = R"cpp(
250 FS.Files[testPath("root/B.h")] = "";
251 FS.Files[testPath("root/A.h")] = R"cpp(
258 FS.Files[testPath("root/A.cc")] = A_CC;
301 FS.Files[testPath("root/A.h")] = R"cpp(
306 FS.Files[testPath("root/A.cc")] =
327 FS.Files[testPath("root/A.h")] = R"cpp(
348 FS.Files[testPath("root/A.cc")] =
372 FS.Files[testPath("root/A.h")] = R"cpp(
377 FS.Files[testPath("root/B.h")] = R"cpp(
380 FS.Files[testPath("root/A.cc")] =
418 FS.Files[testPath("root/B.h")] = R"cpp(
448 FS.Files[testPath("root/A.cc")] = "";
454 FS.Files[testPath("root/B.cc")] = "";
477 FS.Files[testPath("A.h")] = "void foo();";
478 FS.Files[testPath("B.h")] = "#include \"C.h\"\nasdf;";
479 FS.Files[testPath("C.h")] = "";
480 FS.Files[testPath("A.cc")] = R"cpp(
541 FS.Files[testPath("A.cc")] = "#include \"A.h\"";
542 FS.Files[testPath("A.h")] = "";
560 FS.Files[testPath("A.cc")] = " ";
tools/clang/tools/extra/clangd/unittests/ClangdTests.cpp 90 LastDiagsHadError[File] = HadError;
149 FS.Files[testPath(FileWithContents.first)] = FileWithContents.second;
208 FS.Files[testPath("foo.h")] = "int a;";
209 FS.Files[FooCpp] = SourceContents;
244 FS.Files[FooH] = "int a;";
245 FS.Files[FooCpp] = SourceContents;
252 FS.Files[FooH] = "";
258 FS.Files[FooH] = "int a;";
321 FS.Files[DummyLibFile] = "";
328 FS.Files[StringPath] = "class mock_string {};";
335 FS.Files[FooCpp] = SourceContents;
365 FS.Files[FooCpp] = "";
399 FS.Files[FooCpp] = "";
447 FS.Files[FooCpp] = "";
448 FS.Files[BarCpp] = "";
449 FS.Files[BazCpp] = "";
495 FS.Files[FooCpp] = "";
496 FS.Files[BarCpp] = "";
582 FS.Files[Name] = "";
814 FS.Files[FooCpp] = "";
848 FS.Files[Path] = Code;
866 FS.Files[HeaderPath] = "struct X { int bar; };";
883 FS.Files[HeaderPath] = "struct X { int bar; int baz; };";
912 ++CountStats[llvm::sys::path::filename(Path.str())];
916 ++CountStats[llvm::sys::path::filename(Path.str())];
941 FS.Files[HeaderPath] = "struct TestSym {};";
951 unsigned Before = CountStats["foo.h"];
956 EXPECT_EQ(CountStats["foo.h"], Before);
977 FS.Files[FooCpp] = FooCpp;
997 FS.Files[FooCpp] = FooCpp;
1067 FS.Files[FooCpp] = FooCpp;
tools/clang/tools/extra/clangd/unittests/CodeCompleteTests.cpp 669 FS.Files[BarHeader] = "";
741 FS.Files[testPath("bar.h")] =
793 FS.Files[testPath("foo_header.h")] = R"cpp(
822 FS.Files[testPath("foo.h")] = R"cpp(
1457 FS.Files[FooH] = R"cpp(
1461 FS.Files[FooCpp] = "";
1479 FS.Files[FooH] = R"cpp(
1496 FS.Files[FooCpp] = "";
1566 FS.Files[FooCpp] = "// empty file";
1968 FS.Files[testPath("foo.h")] = R"cpp(
2192 FS.Files[FooHeader] = "";
2224 FS.Files[FooHeader] = "#define CLANGD_PREAMBLE_HEADER x\n";
2345 FS.Files[BarHeader] = "";
tools/clang/tools/extra/clangd/unittests/FSTests.cpp 20 Files["x"] = "";
21 Files["y"] = "";
22 Files["main"] = "";
tools/clang/tools/extra/clangd/unittests/FileIndexTests.cpp 268 Files[FooCpp] = "";
269 Files[FooH] = R"cpp(
tools/clang/tools/extra/clangd/unittests/FindSymbolsTests.cpp 62 FSProvider.Files[testPath("unused")] = "";
82 FSProvider.Files[Path] = Contents;
339 FSProvider.Files[FilePath] = Contents;
tools/clang/tools/extra/clangd/unittests/HeaderSourceSwitchTests.cpp 28 FS.Files[FooCpp];
29 FS.Files[FooH];
30 FS.Files[Invalid];
45 FS.Files[FooC];
46 FS.Files[FooHH];
54 FS.Files[Foo2C];
55 FS.Files[Foo2HH];
64 FS.Files[Foo3C];
65 FS.Files[Foo3HXX];
198 TUForIndex.AdditionalFiles["a.h"] = R"cpp(
201 TUForIndex.AdditionalFiles["b.h"] = R"cpp(
263 FS.Files[HeaderPath] = "void foo();";
268 FS.Files[CppPath] = FileContent;
tools/clang/tools/extra/clangd/unittests/HeadersTests.cpp 34 FS.Files[MainFile] = "";
36 FS.Files[testPath("sub/EMPTY")] = "";
55 llvm::MemoryBuffer::getMemBuffer(FS.Files[MainFile], MainFile), VFS,
140 FS.Files[MainFile] = R"cpp(
144 FS.Files[BarHeader] = "";
156 FS.Files[BazHeader] = "";
158 FS.Files[BarHeader] = R"cpp(
161 FS.Files[MainFile] = R"cpp(
194 FS.Files[MainFile] = R"cpp(
206 FS.Files[Path] = "";
tools/clang/tools/extra/clangd/unittests/ParsedASTTests.cpp 169 TU.AdditionalFiles["foo.h"] = R"(
270 TU.AdditionalFiles["foo.inc"] = R"cpp(
tools/clang/tools/extra/clangd/unittests/SelectionTests.cpp 394 TU.AdditionalFiles["Expand.inc"] = "MACRO\n";
tools/clang/tools/extra/clangd/unittests/SemanticHighlightingTests.cpp 631 FS.Files[FooCpp] = "";
tools/clang/tools/extra/clangd/unittests/SemanticSelectionTests.cpp 157 FS.Files[FooH] = R"cpp(
171 FS.Files[FooCpp] = SourceAnnotations.code();
tools/clang/tools/extra/clangd/unittests/SerializationTests.cpp 216 Sources[IGN.URI] = IGN;
tools/clang/tools/extra/clangd/unittests/SourceCodeTests.cpp 378 EXPECT_EQ(IDs["include"], 1u);
379 EXPECT_EQ(IDs["void"], 1u);
380 EXPECT_EQ(IDs["int"], 2u);
381 EXPECT_EQ(IDs["xyz"], 2u);
382 EXPECT_EQ(IDs["abc"], 1u);
383 EXPECT_EQ(IDs["return"], 1u);
384 EXPECT_EQ(IDs["foo"], 2u);
585 TU.AdditionalFiles["Expand.inc"] = "MACRO\n";
609 TU.AdditionalFiles["foo.inc"] = "int foo;\n";
610 TU.AdditionalFiles["bar.inc"] = "int bar;\n";
tools/clang/tools/extra/clangd/unittests/TUSchedulerTests.cpp 134 Files[Added] = "x";
137 Files[Missing] = "";
384 this->Files[Files.back()] = "";
526 Files[Header] = "void foo()";
527 Timestamps[Header] = time_t(0);
603 Files[Header] = "int a;";
604 Timestamps[Header] = time_t(0);
628 Timestamps[Header] = time_t(1);
tools/clang/tools/extra/clangd/unittests/TestTU.cpp 32 Files[FullFilename] = Code;
33 Files[FullHeaderName] = HeaderCode;
34 Files[ImportThunk] = ThunkContents;
tools/clang/tools/extra/clangd/unittests/TweakTests.cpp 978 ExtraFiles["a.h"] = "void bar();";
1236 ExtraFiles["a.h"] = R"cpp(
tools/clang/tools/extra/clangd/unittests/XRefsTests.cpp 571 FS.Files[FooCpp] = "";
573 FS.Files[HeaderInPreambleH] = HeaderInPreambleAnnotations.code();
575 FS.Files[HeaderNotInPreambleH] = HeaderNotInPreambleAnnotations.code();
1870 FS.Files[FooCpp] = SourceAnnotations.code();
1877 FS.Files[FooH] = HeaderAnnotations.code();
1919 FS.Files[FooM] = ObjC.code();
1940 FS.Files[FooCpp] = FooWithHeader.code();
1944 FS.Files[FooH] = FooHeader.code();
tools/clang/tools/extra/modularize/Modularize.cpp 359 DependentsVector &FileDependents = Dependencies[InputFile];
495 SmallVector<Entry, 2> &Entries = (*this)[Name];
tools/clang/tools/extra/modularize/ModularizeUtilities.cpp 200 Dependencies[HeaderFileName.str()] = Dependents;
tools/clang/tools/extra/modularize/ModuleAssistant.cpp 171 DependentsVector &FileDependents = Dependencies[HeaderFilePath];
tools/clang/unittests/AST/ASTImporterTest.cpp 202 AllASTs[Filename] = createASTUnit(Filename, Found->getValue());
211 ASTUnit *From = AllASTs[FromFile].get();
212 ASTUnit *To = AllASTs[ToFile].get();
234 AllASTs[FileForFinalCheck]->getASTContext());
tools/clang/unittests/ASTMatchers/Dynamic/ParserTest.cpp 202 Values["nameX"] = llvm::StringRef("x");
203 Values["hasParamA"] = VariantMatcher::SingleMatcher(
tools/clang/unittests/Basic/FileManagerTest.cpp 45 StatCalls[Path] = Status;
71 Status = StatCalls[Path];
tools/clang/unittests/CrossTU/CrossTranslationUnitTest.cpp 151 Index["a"] = "/b/f1";
152 Index["c"] = "/d/f2";
153 Index["e"] = "/f/f3";
170 EXPECT_EQ(ParsedIndex[E.getKey()], E.getValue());
178 Index["a"] = "/b/c/d";
193 EXPECT_EQ(ParsedIndex["a"], "/ctudir/b/c/d");
tools/clang/unittests/Frontend/PCHPreambleTest.cpp 76 RemappedFiles[Filename] = Contents;
tools/clang/unittests/StaticAnalyzer/AnalyzerOptionsTest.cpp 35 Opts.Config["Outer.Inner.CheckerOne:Option"] = "true";
36 Opts.Config["Outer.Inner:Option"] = "false";
37 Opts.Config["Outer.Inner:Option2"] = "true";
38 Opts.Config["Outer:Option2"] = "false";
76 Opts.Config["Outer.Inner.CheckerOne:Option"] = "StringValue";
91 Opts.Config["Outer.Inner.CheckerOne:Option"] = "StringValue";
tools/clang/unittests/Tooling/CompilationDatabaseTest.cpp 673 Entries[path(File)].push_back(
tools/clang/unittests/Tooling/QualTypeNamesTest.cpp 53 Visitor.ExpectedQualTypeNames["CheckInt"] = "int";
60 Visitor.ExpectedQualTypeNames["CheckA"] = "A::B::Class0";
65 Visitor.ExpectedQualTypeNames["CheckB"] = "A::B::C::Class1";
67 Visitor.ExpectedQualTypeNames["CheckC"] =
70 Visitor.ExpectedQualTypeNames["CheckD"] =
74 Visitor.ExpectedQualTypeNames["CheckE"] =
78 Visitor.ExpectedQualTypeNames["CheckF"] = "A::B::Class0";
81 Visitor.ExpectedQualTypeNames["CheckG"] = "A::B::C::MyInt";
83 Visitor.ExpectedQualTypeNames["CheckH"] = "struct X";
85 Visitor.ExpectedQualTypeNames["CheckI"] = "aClass";
87 Visitor.ExpectedQualTypeNames["CheckJ"] = "struct A::aStruct";
89 Visitor.ExpectedQualTypeNames["CheckK"] = "D::aStruct";
91 Visitor.ExpectedQualTypeNames["CheckL"] = "A::B::C::MyInt";
92 Visitor.ExpectedQualTypeNames["non_dependent_type_var"] =
94 Visitor.ExpectedQualTypeNames["AnEnumVar"] = "EnumScopeClass::AnEnum";
95 Visitor.ExpectedQualTypeNames["AliasTypeVal"] = "A::B::C::InnerAlias<int>";
96 Visitor.ExpectedQualTypeNames["CheckM"] = "const A::B::Class0 *";
97 Visitor.ExpectedQualTypeNames["CheckN"] = "const X *";
172 Complex.ExpectedQualTypeNames["CheckTX"] = "B::TX";
190 GlobalNsPrefix.ExpectedQualTypeNames["IntVal"] = "int";
191 GlobalNsPrefix.ExpectedQualTypeNames["BoolVal"] = "bool";
192 GlobalNsPrefix.ExpectedQualTypeNames["XVal"] = "::A::B::X";
193 GlobalNsPrefix.ExpectedQualTypeNames["IntAliasVal"] = "::A::B::Alias<int>";
194 GlobalNsPrefix.ExpectedQualTypeNames["ZVal"] = "::A::B::Y::Z";
195 GlobalNsPrefix.ExpectedQualTypeNames["GlobalZVal"] = "::Z";
196 GlobalNsPrefix.ExpectedQualTypeNames["CheckK"] = "D::aStruct";
197 GlobalNsPrefix.ExpectedQualTypeNames["YZMPtr"] = "::A::B::X ::A::B::Y::Z::*";
227 AnonStrucs.ExpectedQualTypeNames["a"] = "short";
228 AnonStrucs.ExpectedQualTypeNames["un_in_st_1"] =
231 AnonStrucs.ExpectedQualTypeNames["b"] = "short";
232 AnonStrucs.ExpectedQualTypeNames["un_in_st_2"] =
235 AnonStrucs.ExpectedQualTypeNames["anon_st"] =
tools/clang/utils/TableGen/ClangDiagnosticsEmitter.cpp 105 CategoryIDs[""] = 0;
113 unsigned &ID = CategoryIDs[Category];
122 return CategoryIDs[CategoryString];
tools/clang/utils/TableGen/ClangSACheckersEmitter.cpp 196 sortedPackages[getPackageFullName(packages[i])] = packages[i];
tools/dsymutil/BinaryHolder.cpp 222 return ArchiveCache[ArchiveFilename].getObjectEntry(Filename, Timestamp,
225 ArchiveEntry &AE = ArchiveCache[ArchiveFilename];
232 return ArchiveCache[ArchiveFilename].getObjectEntry(Filename, Timestamp,
242 ObjectEntry &OE = ObjectCache[Filename];
250 return ObjectCache[Filename];
tools/dsymutil/DebugMap.cpp 265 SymbolAddresses[*Name] = Address;
tools/dsymutil/DeclContext.h 47 SmallString<256> ResolvedPath(ResolvedPaths[ParentPath]);
tools/dsymutil/DwarfLinker.cpp 2326 ClangModules[Filename] = PCMDwoId;
tools/dsymutil/MachODebugMapParser.cpp 497 CurrentObjectAddresses[*Name] = None;
499 CurrentObjectAddresses[*Name] = None;
502 CurrentObjectAddresses[*Name] = Addr;
576 MainBinarySymbolAddresses[Name] = Addr;
tools/gold/gold-plugin.cpp 575 ResolutionInfo &Res = ResInfo[Name];
634 ResolutionInfo &Res = ResInfo[Name];
635 ResolutionInfo &WrapRes = ResInfo["__wrap_" + Name.str()];
636 ResolutionInfo &RealRes = ResInfo["__real_" + Name.str()];
724 ResolutionInfo &Res = ResInfo[Sym.name];
1000 ObjectToIndexFileState[Identifier] = true;
tools/lld/COFF/Driver.cpp 904 config->order[s] = INT_MIN + config->order.size();
tools/lld/ELF/Driver.cpp 632 ret[name] = parseSectionAddress(addr, args, *arg);
636 ret[".text"] = parseSectionAddress(arg->getValue(), args, *arg);
638 ret[".data"] = parseSectionAddress(arg->getValue(), args, *arg);
640 ret[".bss"] = parseSectionAddress(arg->getValue(), args, *arg);
tools/lld/ELF/LinkerScript.cpp 644 TinyPtrVector<OutputSection *> &v = map[outsecName];
tools/lld/ELF/SymbolTable.cpp 125 (*demangledSyms)[demangleItanium(sym->getName())].push_back(sym);
tools/lld/lib/ReaderWriter/MachO/File.h 123 _undefAtoms[name] = atom;
135 _undefAtoms[name] = atom;
tools/lld/lib/ReaderWriter/MachO/MachOLinkingContext.cpp 772 _pathToDylibMap[dylib->installName()] = dylib;
775 _pathToDylibMap[dylib->path()] = dylib;
932 _orderFiles[symbol].push_back(info);
tools/lld/lib/ReaderWriter/MachO/MachONormalizedFileFromAtoms.cpp 1239 _dylibInfo[dylib->installName()] = info;
1257 DylibInfo &info = _dylibInfo[dep.path];
1266 return _dylibInfo[sa->loadName()].ordinal;
tools/lld/lib/ReaderWriter/YAML/ReaderWriterYAML.cpp 145 _nameMap[atom.name()] = &atom;
200 _nameMap[name] = atom;
tools/lld/wasm/Writer.cpp 120 customSectionMapping[name].push_back(section);
424 error(Twine("'atomics' feature is used by ") + used["atomics"] +
434 error("'atomics' feature is disallowed by " + disallowed["atomics"] +
454 used[feature] + " is not allowed.");
468 fileName + " is disallowed by " + disallowed[feature.Name] +
474 ", required by " + required[feature] +
tools/lldb/source/Core/Debugger.cpp 1188 m_log_streams[log_file] = log_stream_sp;
tools/lldb/source/Plugins/StructuredData/DarwinLog/StructuredDataDarwinLog.cpp 1468 launch_info.GetEnvironment()["IDE_DISABLED_OS_ACTIVITY_DT_MODE"] = "1";
1481 launch_info.GetEnvironment()["OS_ACTIVITY_MODE"] = env_var_value;
tools/lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp 2991 m_function_scope_qualified_name_map[scope_qualified_name].insert(
tools/lldb/source/Plugins/SymbolFile/NativePDB/PdbAstBuilder.cpp 291 RecordIndices &indices = record_indices[tag.asTag().getUniqueName()];
tools/lldb/tools/lldb-test/lldb-test.cpp 977 State.Label2AddrMap[Label] = Addr;
tools/lldb/tools/lldb-vscode/lldb-vscode.cpp 1640 g_vsc.source_breakpoints[path] = std::move(request_bps);
1815 request_bps[func_bp.functionName] = std::move(func_bp);
1849 g_vsc.function_breakpoints[pair.first()] = std::move(pair.second);
tools/lldb/unittests/Expression/DWARFExpressionTest.cpp 143 llvm::StringRef raw_debug_info = m_sections_map["debug_info"]->getBuffer();
tools/lldb/unittests/TestingSupport/MockTildeExpressionResolver.cpp 46 auto Dir = UserDirectories[CurrentUser];
tools/lldb/unittests/tools/lldb-server/tests/MessageObjects.cpp 27 if (elements["pid"].getAsInteger(16, process_info.m_pid))
29 if (elements["parent-pid"].getAsInteger(16, process_info.m_parent_pid))
31 if (elements["real-uid"].getAsInteger(16, process_info.m_real_uid))
33 if (elements["real-gid"].getAsInteger(16, process_info.m_real_gid))
35 if (elements["effective-uid"].getAsInteger(16, process_info.m_effective_uid))
37 if (elements["effective-gid"].getAsInteger(16, process_info.m_effective_gid))
39 if (elements["ptrsize"].getAsInteger(10, process_info.m_ptrsize))
42 process_info.m_triple = fromHex(elements["triple"]);
43 StringRef endian_str = elements["endian"];
162 Info.name = ConstString(Elements["name"]).GetCString();
166 Info.alt_name = ConstString(Elements["alt-name"]).GetCString();
168 if (!to_integer(Elements["bitsize"], Info.byte_size, 10))
172 if (!to_integer(Elements["offset"], Info.byte_offset, 10))
175 Info.encoding = Args::StringToEncoding(Elements["encoding"]);
179 Info.format = StringSwitch<Format>(Elements["format"])
198 Args::StringToGenericRegister(Elements["generic"]);
285 StringRef Name = Elements["name"][0];
286 StringRef Reason = Elements["reason"][0];
289 if (!to_integer(Elements["thread"][0], Thread, 16))
294 Elements["threads"][0].split(Threads, ',');
295 Elements["thread-pcs"][0].split(Pcs, ',');
360 pairs[pair.first].push_back(pair.second);
tools/lldb/utils/lit-cpuid/lit-cpuid.cpp 28 if (features["sse"])
30 if (features["avx"])
32 if (features["avx512f"])
tools/llvm-ar/llvm-ar.cpp 602 if (CountParam && ++MemberCount[Name] != CountParam)
736 if (CountParam && ++MemberCount[Name] != CountParam)
tools/llvm-config/llvm-config.cpp 152 ComponentMap[AC->Name] = AC;
tools/llvm-cov/CodeCoverage.cpp 407 RemappedFilenames[Filename] =
415 InvRemappedFilenames[RemappedFilename.getValue()] = RemappedFilename.getKey();
512 DC.DemangledNames[Function.Name] = Symbols[I++].rtrim();
tools/llvm-dwarfdump/Statistics.cpp 192 auto &FnStats = FnStatMap[FnPrefix];
401 auto &FnStats = FnStatMap[Name];
tools/llvm-exegesis/lib/BenchmarkResult.cpp 45 Map[InstrInfo.getName(I)] = I;
54 Map[kNoRegister] = 0;
56 Map[RegInfo.getName(I)] = I;
tools/llvm-jitlink/llvm-jitlink-macho.cpp 86 auto &FileInfo = S.FileInfos[FileName];
126 FileInfo.GOTEntryInfos[TS->getName()] = {Sym->getSymbolContent(),
137 FileInfo.StubInfos[TS->getName()] = {Sym->getSymbolContent(),
144 S.SymbolInfos[Sym->getName()] = {Sym->getSize(), Sym->getAddress()};
147 S.SymbolInfos[Sym->getName()] = {Sym->getSymbolContent(),
164 FileInfo.SectionInfos[Sec.getName()] = {SecSize, SecAddr};
166 FileInfo.SectionInfos[Sec.getName()] = {
tools/llvm-jitlink/llvm-jitlink.cpp 660 S.SymbolInfos[Name] = { StringRef(), Addr };
tools/llvm-link/llvm-link.cpp 177 auto &Module = ModuleMap[Identifier];
263 auto &Entry = ImportList[FileName];
tools/llvm-mca/CodeRegion.cpp 38 ActiveRegions[Description] = 0;
64 ActiveRegions[Description] = Regions.size();
tools/llvm-objcopy/CopyConfig.cpp 553 Config.SetSectionAlignment[NameAndAlign->first] = NameAndAlign->second;
870 if (InputFiles[Filename]++ == 1) {
tools/llvm-pdbutil/DumpOutputStyle.cpp 818 NamespacedStats[Scope].update(RecordSize);
tools/llvm-pdbutil/InputFile.cpp 199 ChecksumsByFile[*S] = Entry;
tools/llvm-profdata/llvm-profdata.cpp 506 MergeResult(Result, ProfileMap[FName].merge(Samples, Input.Weight));
tools/llvm-readobj/COFFDumper.cpp 1047 FunctionLineTables[LinkageName] = Contents;
1118 BinaryStreamReader Reader(FunctionLineTables[Name], support::little);
tools/llvm-rtdyld/llvm-rtdyld.cpp 294 (*SecIDMap)[SectionName] = SectionID;
322 (*SecIDMap)[SectionName] = SectionID;
795 StubMap[ContainerName][SymbolName] = {SectionID, StubOffset};
795 StubMap[ContainerName][SymbolName] = {SectionID, StubOffset};
879 if (!StubMap[StubContainer].count(SymbolName))
883 auto &SI = StubMap[StubContainer][SymbolName];
883 auto &SI = StubMap[StubContainer][SymbolName];
927 MemMgr.setSectionIDsMap(&FileToSecIDMap[FileName]);
tools/llvm-xray/xray-graph-diff.cpp 381 VertexNo[V.first] = i++;
397 VertexNo[HeadId], VertexNo[TailId],
397 VertexNo[HeadId], VertexNo[TailId],
408 VertexNo[VertexId]);
413 VertexNo[VertexId], getLabel(V, VertexLabel, TruncLen),
tools/polly/lib/Analysis/ScopInfo.cpp 1825 : ScopArrayNameMap[BaseName];
unittests/ADT/StringMapTest.cpp 116 testMap[testKey] = testValue;
122 testMap[testKey] = testValue;
129 testMap[testKey] = testValue;
136 testMap[testKey] = testValue;
143 testMap[testKey] = testValue;
144 testMap["otherKey"] = 2;
155 Map["eins"] = 1;
156 Map["zwei"] = 2;
157 Map["drei"] = 3;
160 Map["veir"] = 4;
161 Map["funf"] = 5;
174 Map["eins"] = 1;
175 Map["zwei"] = 2;
176 Map["drei"] = 3;
179 Map["veir"] = 4;
180 Map["funf"] = 5;
206 testMap[ss.str()] = i;
252 EXPECT_EQ(testValue, testMap[testKeyFirst]);
261 EXPECT_EQ(testValue, testMap[testKeyFirst]);
305 Map["A"] = 1;
306 Map["B"] = 2;
307 Map["C"] = 3;
308 Map["D"] = 3;
368 A["x"] = 42;
372 ASSERT_EQ(B["x"], 42);
378 A["x"] = 42;
380 B["y"] = 117;
384 ASSERT_EQ(A["y"], 117);
485 Map["abcd"];
489 Map["abcd"];
508 EXPECT_EQ(42, Map["abcd"].Data);
unittests/DebugInfo/PDB/HashTableTest.cpp 173 ExpectedIndices[Streams[I]] = I + 1;
180 NSM.set(S, ExpectedIndices[S]);
unittests/ExecutionEngine/MCJIT/MCJITObjectCacheTest.cpp 32 ObjMap[ModuleID] = copyBuffer(Obj);
unittests/IR/CFGBuilder.cpp 93 NameToBlock[BlockName] = BB;
unittests/ProfileData/SampleProfTest.cpp 122 Profiles[FooName] = std::move(FooSamples);
123 Profiles[BarName] = std::move(BarSamples);
124 Profiles[BazName] = std::move(BazSamples);
125 Profiles[BooName] = std::move(BooSamples);
210 ASSERT_EQ(1000u, CTMap.get()[MconstructRep]);
211 ASSERT_EQ(437u, CTMap.get()[StringviewRep]);
268 (*Smap)[Name] = FcnSamples;
396 Expected["foo"] = uint64_t(20301);
397 Expected["foo.bar"] = uint64_t(-1);
398 Expected["foo.llvm.2465"] = uint64_t(-1);
408 Expected["foo"] = uint64_t(20301);
409 Expected["foo.bar"] = uint64_t(-1);
410 Expected["foo.llvm.2465"] = uint64_t(-1);
421 Expected["foo"] = uint64_t(20301);
422 Expected["foo.bar"] = uint64_t(20303);
423 Expected["foo.llvm.2465"] = uint64_t(-1);
433 Expected["foo"] = uint64_t(20301);
434 Expected["foo.bar"] = uint64_t(20303);
435 Expected["foo.llvm.2465"] = uint64_t(-1);
445 Expected["foo"] = uint64_t(20301);
446 Expected["foo.bar"] = uint64_t(20303);
447 Expected["foo.llvm.2465"] = uint64_t(20305);
456 Expected["foo"] = uint64_t(20301);
457 Expected["foo.bar"] = uint64_t(20303);
458 Expected["foo.llvm.2465"] = uint64_t(20305);
unittests/Support/CommandLineTest.cpp 95 cl::Option *Retrieved = Map["test-option"];
394 ASSERT_EQ(cl::NotHidden, Map["help"]->getOptionHiddenFlag())
419 ASSERT_EQ(cl::NotHidden, Map["help"]->getOptionHiddenFlag())
unittests/Support/YAMLIOTest.cpp 2911 IO.mapRequired(Key.str().c_str(), M[Key]);
2982 (*map)["foo"] = std::make_unique<Scalar>(false);
2983 (*map)["bar"] = std::make_unique<Scalar>(2.0);
2998 auto foo = llvm::dyn_cast<Scalar>((*map)["foo"].get());
3002 auto bar = llvm::dyn_cast<Scalar>((*map)["bar"].get());
utils/TableGen/CodeGenDAGPatterns.cpp 2692 NamedNodes[N->getName()].push_back(N);
2863 ComplexPatternOperands[Child->getName()] = OperandId;
4319 DepMap[N->getName()]++;
utils/TableGen/CodeGenInstruction.cpp 689 Record *&Entry = NameClass[Result->getArgNameStr(i)];
utils/TableGen/CodeGenSchedule.cpp 451 TIIPredicates[Name] = TIIPred;
utils/TableGen/DAGISelMatcherEmitter.cpp 106 NodePredicatesByCodeToRun[Pred.getCodeToRunOnSDNode()];
132 unsigned &Entry = PatternPredicateMap[PredName];
849 NodePredicatesByCodeToRun[PredFn.getCodeToRunOnSDNode()])
utils/TableGen/DAGISelMatcherGen.cpp 126 unsigned VarMapEntry = VariableMap[Name];
275 unsigned InputOperand = VariableMap[N->getName()] - 1;
467 unsigned &VarMapEntry = VariableMap[Name];
494 VariableMap[Name] = Entry;
591 NamedComplexPatternOperands[N->getName()] = NextRecordedOperandNo + 1;
595 NamedComplexPatternOperands[N->getChild(i)->getName()] = CurOp + 1;
640 if (unsigned SlotNo = NamedComplexPatternOperands[N->getName()]) {
utils/TableGen/GlobalISelEmitter.cpp 927 ComplexSubOperands[SymbolicName] =
3003 DefinedOperands[SymbolicName] = &OM;
4941 OpcodeOrder[Opcode] = CurrentOrdering++;
4948 return std::make_tuple(OpcodeOrder[L->getOpcode()],
4950 std::make_tuple(OpcodeOrder[R->getOpcode()],
utils/TableGen/PseudoLoweringEmitter.cpp 170 SourceOperands[SourceInsn.Operands[i].Name] = i;
utils/TableGen/RISCVCompressInstEmitter.cpp 301 DestOperands[DestDag->getArgNameStr(i)] = i;
332 SourceOperands[SourceDag->getArgNameStr(i)] = i;