|
reference, declaration → definition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced
|
References
include/llvm/IR/Function.h 291 const DenseSet<GlobalValue::GUID> *Imports = nullptr);
295 const DenseSet<GlobalValue::GUID> *Imports = nullptr);
314 DenseSet<GlobalValue::GUID> getImportGUIDs() const;
include/llvm/IR/GlobalValue.h 506 static GUID getGUID(StringRef GlobalName) { return MD5Hash(GlobalName); }
510 GUID getGUID() const { return getGUID(getGlobalIdentifier()); }
include/llvm/IR/MDBuilder.h 74 const DenseSet<GlobalValue::GUID> *Imports);
include/llvm/IR/ModuleSummaryIndex.h 160 std::map<GlobalValue::GUID, GlobalValueSummaryInfo>;
177 GlobalValue::GUID getGUID() const { return getRef()->first; }
338 GlobalValue::GUID OriginalName = 0;
367 GlobalValue::GUID getOriginalName() const { return OriginalName; }
370 void setOriginalName(GlobalValue::GUID Name) { OriginalName = Name; }
470 GlobalValue::GUID getAliaseeGUID() const {
507 GlobalValue::GUID GUID;
525 std::vector<GlobalValue::GUID> TypeTests;
595 std::vector<GlobalValue::GUID> TypeTests,
640 ArrayRef<GlobalValue::GUID> type_tests() const {
683 void addTypeTest(GlobalValue::GUID Guid) {
884 using GVSummaryMapTy = DenseMap<GlobalValue::GUID, GlobalValueSummary *>;
889 std::multimap<GlobalValue::GUID, std::pair<std::string, TypeIdSummary>>;
937 std::map<GlobalValue::GUID, GlobalValue::GUID> OidGuidMap;
937 std::map<GlobalValue::GUID, GlobalValue::GUID> OidGuidMap;
979 getOrInsertValuePtr(GlobalValue::GUID GUID) {
1087 bool isGUIDLive(GlobalValue::GUID GUID) const;
1096 ValueInfo getValueInfo(GlobalValue::GUID GUID) const {
1102 ValueInfo getOrInsertValueInfo(GlobalValue::GUID GUID) {
1112 ValueInfo getOrInsertValueInfo(GlobalValue::GUID GUID, StringRef Name) {
1128 GlobalValue::GUID getGUIDFromOriginalID(GlobalValue::GUID OriginalID) const {
1128 GlobalValue::GUID getGUIDFromOriginalID(GlobalValue::GUID OriginalID) const {
1163 void addOriginalName(GlobalValue::GUID ValueGUID,
1164 GlobalValue::GUID OrigGUID) {
1189 GlobalValueSummary *findSummaryInModule(GlobalValue::GUID ValueGUID,
1208 GlobalValueSummary *getGlobalValueSummary(GlobalValue::GUID ValueGUID,
1358 void propagateAttributes(const DenseSet<GlobalValue::GUID> &PreservedSymbols);
include/llvm/LTO/LTO.h 51 function_ref<bool(GlobalValue::GUID, const GlobalValueSummary *)>
53 function_ref<void(StringRef, GlobalValue::GUID, GlobalValue::LinkageTypes)>
55 const DenseSet<GlobalValue::GUID> &GUIDPreservedSymbols);
62 function_ref<bool(StringRef, GlobalValue::GUID)> isExported,
63 function_ref<bool(GlobalValue::GUID, const GlobalValueSummary *)>
74 const std::map<GlobalValue::GUID, GlobalValue::LinkageTypes> &ResolvedODR,
76 const std::set<GlobalValue::GUID> &CfiFunctionDefs = {},
77 const std::set<GlobalValue::GUID> &CfiFunctionDecls = {});
340 DenseMap<GlobalValue::GUID, StringRef> PrevailingModuleForGUID;
421 const DenseSet<GlobalValue::GUID> &GUIDPreservedSymbols);
include/llvm/ProfileData/SampleProf.h 466 void findInlinedFunctions(DenseSet<GlobalValue::GUID> &S, const Module *M,
include/llvm/Transforms/IPO/FunctionImport.h 37 using FunctionsToImportTy = std::unordered_set<GlobalValue::GUID>;
91 DenseMap<GlobalValue::GUID,
101 using ExportSetTy = std::unordered_set<GlobalValue::GUID>;
175 const DenseSet<GlobalValue::GUID> &GUIDPreservedSymbols,
176 function_ref<PrevailingType(GlobalValue::GUID)> isPrevailing);
182 const DenseSet<GlobalValue::GUID> &GUIDPreservedSymbols,
183 function_ref<PrevailingType(GlobalValue::GUID)> isPrevailing,
include/llvm/Transforms/IPO/WholeProgramDevirt.h 247 ModuleSummaryIndex &Summary, std::set<GlobalValue::GUID> &ExportedGUIDs,
254 function_ref<bool(StringRef, GlobalValue::GUID)> isExported,
lib/Analysis/ModuleSummaryAnalysis.cpp 142 static void addVCallToSet(DevirtCallSite Call, GlobalValue::GUID Guid,
161 const CallInst *CI, SetVector<GlobalValue::GUID> &TypeTests,
173 GlobalValue::GUID Guid = GlobalValue::getGUID(TypeId->getString());
204 GlobalValue::GUID Guid = GlobalValue::getGUID(TypeId->getString());
245 DenseSet<GlobalValue::GUID> &CantBePromoted,
256 SetVector<GlobalValue::GUID> TypeTests;
570 DenseSet<GlobalValue::GUID> &CantBePromoted,
614 DenseSet<GlobalValue::GUID> &CantBePromoted) {
660 DenseSet<GlobalValue::GUID> CantBePromoted;
lib/AsmParser/LLParser.cpp 7915 std::string Name, GlobalValue::GUID GUID, GlobalValue::LinkageTypes Linkage,
7989 GlobalValue::GUID GUID = 0;
8060 bool LLParser::ParseFunctionSummary(std::string Name, GlobalValue::GUID GUID,
8130 bool LLParser::ParseVariableSummary(std::string Name, GlobalValue::GUID GUID,
8185 bool LLParser::ParseAliasSummary(std::string Name, GlobalValue::GUID GUID,
8569 bool LLParser::ParseTypeTests(std::vector<GlobalValue::GUID> &TypeTests) {
8579 GlobalValue::GUID GUID = 0;
lib/AsmParser/LLParser.h 153 std::map<unsigned, std::vector<std::pair<GlobalValue::GUID *, LocTy>>>
351 bool ParseFunctionSummary(std::string Name, GlobalValue::GUID, unsigned ID);
352 bool ParseVariableSummary(std::string Name, GlobalValue::GUID, unsigned ID);
353 bool ParseAliasSummary(std::string Name, GlobalValue::GUID, unsigned ID);
360 bool ParseTypeTests(std::vector<GlobalValue::GUID> &TypeTests);
385 void AddGlobalValueToIndex(std::string Name, GlobalValue::GUID,
lib/Bitcode/Reader/BitcodeReader.cpp 790 DenseMap<unsigned, std::pair<ValueInfo, GlobalValue::GUID>>
835 std::pair<ValueInfo, GlobalValue::GUID>
5363 std::pair<ValueInfo, GlobalValue::GUID>
5475 GlobalValue::GUID RefGUID = Record[1];
5775 GlobalValue::GUID LastSeenGUID = 0;
5780 std::vector<GlobalValue::GUID> PendingTypeTests;
5847 GlobalValue::GUID RefGUID = Record[1];
lib/Bitcode/Writer/BitcodeWriter.cpp 166 std::map<GlobalValue::GUID, unsigned> GUIDToValueIdMap;
220 void assignValueId(GlobalValue::GUID ValGUID) {
224 unsigned getValueId(GlobalValue::GUID ValGUID) {
240 std::map<GlobalValue::GUID, unsigned> &valueIds() { return GUIDToValueIdMap; }
410 std::map<GlobalValue::GUID, unsigned> GUIDToValueIdMap;
435 using GVInfo = std::pair<GlobalValue::GUID, GlobalValueSummary *>;
489 Optional<unsigned> getValueId(GlobalValue::GUID ValGUID) {
496 std::map<GlobalValue::GUID, unsigned> &valueIds() { return GUIDToValueIdMap; }
3554 std::set<GlobalValue::GUID> &ReferencedTypeIds) {
3973 std::set<GlobalValue::GUID> ReferencedTypeIds;
3985 std::set<GlobalValue::GUID> DefOrUseGUIDs;
4073 GlobalValue::GUID GUID = EI.first.getGUID();
lib/IR/AsmWriter.cpp 708 DenseMap<GlobalValue::GUID, unsigned> GUIDMap;
745 int getGUIDSlot(GlobalValue::GUID GUID);
779 using guid_iterator = DenseMap<GlobalValue::GUID, unsigned>::iterator;
800 void CreateGUIDSlot(GlobalValue::GUID GUID);
1143 int SlotTracker::getGUIDSlot(GlobalValue::GUID GUID) {
1227 void SlotTracker::CreateGUIDSlot(GlobalValue::GUID GUID) {
2368 DenseMap<const GlobalValueSummary *, GlobalValue::GUID> SummaryToGUIDMap;
lib/IR/Function.cpp 1530 const DenseSet<GlobalValue::GUID> *S) {
1543 const DenseSet<GlobalValue::GUID> *Imports) {
1569 DenseSet<GlobalValue::GUID> Function::getImportGUIDs() const {
1570 DenseSet<GlobalValue::GUID> R;
lib/IR/MDBuilder.cpp 61 const DenseSet<GlobalValue::GUID> *Imports) {
70 SmallVector<GlobalValue::GUID, 2> OrderID(Imports->begin(), Imports->end());
lib/IR/ModuleSummaryIndex.cpp 94 bool ModuleSummaryIndex::isGUIDLive(GlobalValue::GUID GUID) const {
157 const DenseSet<GlobalValue::GUID> &GUIDPreservedSymbols) {
230 GlobalValue::GUID Src;
231 GlobalValue::GUID Dst;
316 static std::string getNodeVisualName(GlobalValue::GUID Id) {
342 const ValueInfo &VI, GlobalValue::GUID Id) {
368 DenseMap<GlobalValue::GUID, std::vector<uint64_t>> NodeMap;
369 using GVSOrderedMapTy = std::map<GlobalValue::GUID, GlobalValueSummary *>;
lib/LTO/LTO.cpp 75 const std::map<GlobalValue::GUID, GlobalValue::LinkageTypes> &ResolvedODR,
77 const std::set<GlobalValue::GUID> &CfiFunctionDefs,
78 const std::set<GlobalValue::GUID> &CfiFunctionDecls) {
168 sizeof(GlobalValue::GUID)));
175 std::set<GlobalValue::GUID> UsedCfiDefs;
176 std::set<GlobalValue::GUID> UsedCfiDecls;
179 std::set<GlobalValue::GUID> UsedTypeIds;
271 for (GlobalValue::GUID TId : UsedTypeIds) {
303 function_ref<bool(GlobalValue::GUID, const GlobalValueSummary *)>
305 function_ref<void(StringRef, GlobalValue::GUID, GlobalValue::LinkageTypes)>
307 const DenseSet<GlobalValue::GUID> &GUIDPreservedSymbols) {
357 function_ref<bool(GlobalValue::GUID, const GlobalValueSummary *)>
359 function_ref<void(StringRef, GlobalValue::GUID, GlobalValue::LinkageTypes)>
361 const DenseSet<GlobalValue::GUID> &GUIDPreservedSymbols) {
386 GlobalValueSummaryList &GVSummaryList, GlobalValue::GUID GUID,
387 function_ref<bool(StringRef, GlobalValue::GUID)> isExported,
388 function_ref<bool(GlobalValue::GUID, const GlobalValueSummary *)>
418 function_ref<bool(StringRef, GlobalValue::GUID)> isExported,
419 function_ref<bool(GlobalValue::GUID, const GlobalValueSummary *)>
899 DenseSet<GlobalValue::GUID> GUIDPreservedSymbols;
900 DenseMap<GlobalValue::GUID, PrevailingType> GUIDPrevailingResolutions;
907 GlobalValue::GUID GUID = GlobalValue::getGUID(
1045 const std::map<GlobalValue::GUID, GlobalValue::LinkageTypes> &ResolvedODR,
1055 std::set<GlobalValue::GUID> CfiFunctionDefs;
1056 std::set<GlobalValue::GUID> CfiFunctionDecls;
1083 const std::map<GlobalValue::GUID, GlobalValue::LinkageTypes> &ResolvedODR,
1120 const std::map<GlobalValue::GUID, GlobalValue::LinkageTypes> &ResolvedODR,
1212 const std::map<GlobalValue::GUID, GlobalValue::LinkageTypes> &ResolvedODR,
1261 const DenseSet<GlobalValue::GUID> &GUIDPreservedSymbols) {
1292 StringMap<std::map<GlobalValue::GUID, GlobalValue::LinkageTypes>> ResolvedODR;
1297 std::set<GlobalValue::GUID> ExportedGUIDs;
lib/LTO/ThinLTOCodeGenerator.cpp 130 DenseMap<GlobalValue::GUID, const GlobalValueSummary *> &PrevailingCopy) {
260 DenseSet<GlobalValue::GUID> &PreservedGUID) {
268 static DenseSet<GlobalValue::GUID>
271 DenseSet<GlobalValue::GUID> GUIDPreservedSymbols(PreservedSymbols.size());
317 const std::map<GlobalValue::GUID, GlobalValue::LinkageTypes> &ResolvedODR,
403 const DenseSet<GlobalValue::GUID> &GUIDPreservedSymbols,
465 StringMap<std::map<GlobalValue::GUID, GlobalValue::LinkageTypes>>
467 const DenseSet<GlobalValue::GUID> &GUIDPreservedSymbols,
468 const DenseMap<GlobalValue::GUID, const GlobalValueSummary *>
586 const DenseSet<GlobalValue::GUID> &GUIDPreservedSymbols;
589 const DenseSet<GlobalValue::GUID> &GUIDPreservedSymbols)
592 bool operator()(StringRef ModuleIdentifier, GlobalValue::GUID GUID) const {
601 const DenseMap<GlobalValue::GUID, const GlobalValueSummary *> &PrevailingCopy;
602 IsPrevailing(const DenseMap<GlobalValue::GUID, const GlobalValueSummary *>
606 bool operator()(GlobalValue::GUID GUID, const GlobalValueSummary *S) const {
618 const DenseSet<GlobalValue::GUID> &GUIDPreservedSymbols) {
658 DenseMap<GlobalValue::GUID, const GlobalValueSummary *> PrevailingCopy;
662 StringMap<std::map<GlobalValue::GUID, GlobalValue::LinkageTypes>> ResolvedODR;
820 DenseMap<GlobalValue::GUID, const GlobalValueSummary *> PrevailingCopy;
824 StringMap<std::map<GlobalValue::GUID, GlobalValue::LinkageTypes>> ResolvedODR;
977 std::set<GlobalValue::GUID> ExportedGUIDs;
993 StringMap<std::map<GlobalValue::GUID, GlobalValue::LinkageTypes>> ResolvedODR;
995 DenseMap<GlobalValue::GUID, const GlobalValueSummary *> PrevailingCopy;
lib/Transforms/IPO/FunctionImport.cpp 180 GlobalValue::GUID GUID) {
263 GlobalValue::GUID>;
595 GlobalValue::GUID G) {
604 static GlobalValue::GUID getGUID(GlobalValue::GUID G) { return G; }
604 static GlobalValue::GUID getGUID(GlobalValue::GUID G) { return G; }
735 const DenseSet<GlobalValue::GUID> &GUIDPreservedSymbols,
736 function_ref<PrevailingType(GlobalValue::GUID)> isPrevailing) {
851 const DenseSet<GlobalValue::GUID> &GUIDPreservedSymbols,
852 function_ref<PrevailingType(GlobalValue::GUID)> isPrevailing,
lib/Transforms/IPO/LowerTypeTests.cpp 1843 DenseSet<GlobalValue::GUID> AddressTaken;
1861 const GlobalValue::GUID GUID = GlobalValue::getGUID(
2049 DenseMap<GlobalValue::GUID, TinyPtrVector<Metadata *>> MetadataByGUID;
2061 for (GlobalValue::GUID G : FS->type_tests())
lib/Transforms/IPO/SampleProfile.cpp 307 DenseSet<GlobalValue::GUID> &InlinedGUIDs);
901 Function &F, DenseSet<GlobalValue::GUID> &InlinedGUIDs) {
1611 DenseSet<GlobalValue::GUID> InlinedGUIDs;
lib/Transforms/IPO/WholeProgramDevirt.cpp 585 std::set<GlobalValue::GUID> &ExportedGUIDs;
595 std::set<GlobalValue::GUID> &ExportedGUIDs,
705 ModuleSummaryIndex &Summary, std::set<GlobalValue::GUID> &ExportedGUIDs,
712 function_ref<bool(StringRef, GlobalValue::GUID)> isExported,
1812 DenseMap<GlobalValue::GUID, TinyPtrVector<Metadata *>> MetadataByGUID;
1934 DenseMap<GlobalValue::GUID, std::vector<StringRef>> NameByGUID;
tools/clang/lib/CodeGen/BackendUtil.cpp 1371 StringMap<DenseMap<GlobalValue::GUID, GlobalValueSummary *>>