Home
last modified time | relevance | path

Searched refs:GUID (Results 1 – 25 of 101) sorted by relevance

12345

/openbsd-src/gnu/llvm/llvm/include/llvm/DebugInfo/CodeView/
H A DGUID.h21 struct GUID { struct
25 inline bool operator==(const GUID &LHS, const GUID &RHS) { argument
29 inline bool operator<(const GUID &LHS, const GUID &RHS) {
33 inline bool operator<=(const GUID &LHS, const GUID &RHS) {
37 inline bool operator>(const GUID &LHS, const GUID &RHS) {
41 inline bool operator>=(const GUID &LHS, const GUID &RHS) {
45 inline bool operator!=(const GUID &LHS, const GUID &RHS) {
49 raw_ostream &operator<<(raw_ostream &OS, const GUID &Guid);
H A DFormatters.h25 struct GUID;
65 template <> struct format_provider<codeview::GUID> {
66 static void format(const codeview::GUID &V, llvm::raw_ostream &Stream,
/openbsd-src/gnu/llvm/llvm/lib/LTO/
H A DLTO.cpp85 const std::map<GlobalValue::GUID, GlobalValue::LinkageTypes> &ResolvedODR, in computeLTOCacheKey() argument
87 const std::set<GlobalValue::GUID> &CfiFunctionDefs, in computeLTOCacheKey()
88 const std::set<GlobalValue::GUID> &CfiFunctionDecls) { in computeLTOCacheKey()
154 auto GUID = VI.getGUID(); in computeLTOCacheKey() local
155 ExportsGUID.push_back(GUID); in computeLTOCacheKey()
160 for (uint64_t GUID : ExportsGUID) { in computeLTOCacheKey() local
162 Hasher.update(ArrayRef<uint8_t>((uint8_t *)&GUID, sizeof(GUID))); in computeLTOCacheKey()
191 sizeof(GlobalValue::GUID))); in computeLTOCacheKey()
198 std::set<GlobalValue::GUID> UsedCfiDefs; in computeLTOCacheKey()
199 std::set<GlobalValue::GUID> UsedCfiDecls; in computeLTOCacheKey()
[all …]
H A DThinLTOCodeGenerator.cpp137 DenseMap<GlobalValue::GUID, const GlobalValueSummary *> &PrevailingCopy) { in computePrevailingCopies() argument
295 DenseSet<GlobalValue::GUID> &PreservedGUID) { in addUsedSymbolToPreservedGUID()
306 DenseSet<GlobalValue::GUID> &GUIDs) { in computeGUIDPreservedSymbols()
316 static DenseSet<GlobalValue::GUID>
320 DenseSet<GlobalValue::GUID> GUIDPreservedSymbols(PreservedSymbols.size()); in computeGUIDPreservedSymbols()
363 const std::map<GlobalValue::GUID, GlobalValue::LinkageTypes> &ResolvedODR, in ModuleCacheEntry() argument
449 const DenseSet<GlobalValue::GUID> &GUIDPreservedSymbols, in ProcessThinLTOModule()
526 StringMap<std::map<GlobalValue::GUID, GlobalValue::LinkageTypes>> in resolvePrevailingInIndex() argument
528 const DenseSet<GlobalValue::GUID> &GUIDPreservedSymbols, in resolvePrevailingInIndex()
529 const DenseMap<GlobalValue::GUID, const GlobalValueSummary *> in resolvePrevailingInIndex() argument
[all …]
/openbsd-src/gnu/llvm/llvm/include/llvm/IR/
H A DModuleSummaryIndex.h165 std::map<GlobalValue::GUID, GlobalValueSummaryInfo>;
182 GlobalValue::GUID getGUID() const { return getRef()->first; } in getGUID()
428 GlobalValue::GUID OriginalName = 0;
457 GlobalValue::GUID getOriginalName() const { return OriginalName; }
460 void setOriginalName(GlobalValue::GUID Name) { OriginalName = Name; }
567 GlobalValue::GUID getAliaseeGUID() const {
604 GlobalValue::GUID GUID;
622 std::vector<GlobalValue::GUID> TypeTests;
751 std::vector<GlobalValue::GUID>(),
808 std::vector<GlobalValue::GUID> TypeTests,
[all …]
H A DMDBuilder.h75 const DenseSet<GlobalValue::GUID> *Imports);
81 MDNode *createPseudoProbeDesc(uint64_t GUID, uint64_t Hash, Function *F);
H A DGlobalValue.h583 using GUID = uint64_t; variable
587 static GUID getGUID(StringRef GlobalName) { return MD5Hash(GlobalName); } in getGUID()
591 GUID getGUID() const { return getGUID(getGlobalIdentifier()); } in getGUID()
/openbsd-src/gnu/llvm/llvm/lib/IR/
H A DModuleSummaryIndex.cpp155 auto GUID = GlobalList.first; in collectDefinedFunctionsForModule() local
164 GVSummaryMap[GUID] = Summary; in collectDefinedFunctionsForModule()
180 bool ModuleSummaryIndex::isGUIDLive(GlobalValue::GUID GUID) const { in isGUIDLive()
181 auto VI = getValueInfo(GUID); in isGUIDLive()
251 const DenseSet<GlobalValue::GUID> &GUIDPreservedSymbols) { in propagateAttributes()
386 GlobalValue::GUID Src;
387 GlobalValue::GUID Dst;
480 static std::string getNodeVisualName(GlobalValue::GUID Id) { in getNodeVisualName()
506 const ValueInfo &VI, GlobalValue::GUID Id) { in defineExternalNode()
538 const DenseSet<GlobalValue::GUID> &GUIDPreservedSymbols) const { in exportToDot()
[all …]
/openbsd-src/gnu/llvm/llvm/include/llvm/Transforms/IPO/
H A DFunctionImport.h37 using FunctionsToImportTy = std::unordered_set<GlobalValue::GUID>;
91 DenseMap<GlobalValue::GUID,
189 const DenseSet<GlobalValue::GUID> &GUIDPreservedSymbols,
190 function_ref<PrevailingType(GlobalValue::GUID)> isPrevailing);
196 const DenseSet<GlobalValue::GUID> &GUIDPreservedSymbols,
197 function_ref<PrevailingType(GlobalValue::GUID)> isPrevailing,
H A DWholeProgramDevirt.h247 const DenseSet<GlobalValue::GUID> &DynamicExportSymbols);
250 const DenseSet<GlobalValue::GUID> &DynamicExportSymbols);
260 ModuleSummaryIndex &Summary, std::set<GlobalValue::GUID> &ExportedGUIDs,
H A DSampleProfileProbe.h49 PseudoProbeDescriptor(uint64_t GUID, uint64_t Hash) in PseudoProbeDescriptor() argument
50 : FunctionGUID(GUID), FunctionHash(Hash) {} in PseudoProbeDescriptor()
/openbsd-src/gnu/llvm/llvm/include/llvm/LTO/
H A DLTO.h48 function_ref<bool(GlobalValue::GUID, const GlobalValueSummary *)>
50 function_ref<void(StringRef, GlobalValue::GUID, GlobalValue::LinkageTypes)>
52 const DenseSet<GlobalValue::GUID> &GUIDPreservedSymbols);
60 function_ref<bool(GlobalValue::GUID, const GlobalValueSummary *)>
71 const std::map<GlobalValue::GUID, GlobalValue::LinkageTypes> &ResolvedODR,
73 const std::set<GlobalValue::GUID> &CfiFunctionDefs = {},
74 const std::set<GlobalValue::GUID> &CfiFunctionDecls = {});
326 DenseMap<GlobalValue::GUID, StringRef> PrevailingModuleForGUID;
411 const DenseSet<GlobalValue::GUID> &GUIDPreservedSymbols);
422 DenseSet<GlobalValue::GUID> DynamicExportSymbols;
/openbsd-src/gnu/llvm/llvm/lib/Transforms/IPO/
H A DFunctionImport.cpp177 GlobalValue::GUID GUID) { in selectCallee() argument
602 GlobalValue::GUID G) { in isGlobalVarSummary()
625 DenseSet<GlobalValue::GUID> FlattenedImports; in checkVariableImport()
788 auto GUID = GlobalList.first; in ComputeCrossModuleImportForModuleFromIndex() local
797 ImportList[Summary->modulePath()].insert(GUID); in ComputeCrossModuleImportForModuleFromIndex()
813 auto GUID = Index.getGUIDFromOriginalID(EI.first.getGUID()); in updateValueInfoForIndirectCalls() local
814 if (GUID == 0) in updateValueInfoForIndirectCalls()
817 auto VI = Index.getValueInfo(GUID); in updateValueInfoForIndirectCalls()
849 const DenseSet<GlobalValue::GUID> &GUIDPreservedSymbols, in computeDeadSymbolsAndUpdateIndirectCalls()
850 function_ref<PrevailingType(GlobalValue::GUID)> isPrevailing) { in computeDeadSymbolsAndUpdateIndirectCalls()
[all …]
H A DWholeProgramDevirt.cpp718 std::set<GlobalValue::GUID> &ExportedGUIDs;
730 std::set<GlobalValue::GUID> &ExportedGUIDs, in DevirtIndex()
788 const DenseSet<GlobalValue::GUID> &DynamicExportSymbols) { in updateVCallVisibilityInModule()
836 const DenseSet<GlobalValue::GUID> &DynamicExportSymbols) { in updateVCallVisibilityInIndex()
855 ModuleSummaryIndex &Summary, std::set<GlobalValue::GUID> &ExportedGUIDs, in runWholeProgramDevirtOnIndex()
2177 DenseMap<GlobalValue::GUID, TinyPtrVector<Metadata *>> MetadataByGUID; in run()
2191 for (Metadata *MD : MetadataByGUID[VF.GUID]) { in run()
2196 for (Metadata *MD : MetadataByGUID[VF.GUID]) { in run()
2202 for (Metadata *MD : MetadataByGUID[VC.VFunc.GUID]) { in run()
2210 for (Metadata *MD : MetadataByGUID[VC.VFunc.GUID]) { in run()
[all …]
/openbsd-src/gnu/llvm/llvm/include/llvm/DebugInfo/PDB/Native/
H A DInfoStreamBuilder.h43 void setGuid(codeview::GUID G);
47 codeview::GUID getGuid() const { return Guid; } in getGuid()
64 codeview::GUID Guid;
H A DPDBFileBuilder.h25 struct GUID;
58 Error commit(StringRef Filename, codeview::GUID *Guid);
/openbsd-src/gnu/llvm/llvm/include/llvm/ProfileData/
H A DRawMemProfReader.h60 using GuidMemProfRecordPair = std::pair<GlobalValue::GUID, MemProfRecord>;
97 const llvm::MapVector<GlobalValue::GUID, IndexedMemProfRecord> &
142 llvm::MapVector<GlobalValue::GUID, IndexedMemProfRecord> FunctionProfileData;
143 llvm::MapVector<GlobalValue::GUID, IndexedMemProfRecord>::iterator Iter;
H A DInstrProfWriter.h47 llvm::MapVector<GlobalValue::GUID, memprof::IndexedMemProfRecord>
78 void addMemProfRecord(const GlobalValue::GUID Id,
/openbsd-src/gnu/llvm/llvm/lib/MC/
H A DMCPseudoProbe.cpp257 uint64_t GUID) { in getProbeFNameForGUID() argument
258 auto It = GUID2FuncMAP.find(GUID); in getProbeFNameForGUID()
393 uint64_t GUID = std::move(*ErrorOrGUID); in buildGUID2FuncDescMap() local
398 GUID2FuncDescMap.emplace(GUID, MCPseudoProbeFuncDesc(GUID, Hash, Name)); in buildGUID2FuncDescMap()
579 MCPseudoProbeDecoder::getFuncDescForGUID(uint64_t GUID) const { in getFuncDescForGUID()
580 auto It = GUID2FuncDescMap.find(GUID); in getFuncDescForGUID()
/openbsd-src/gnu/llvm/llvm/lib/DebugInfo/PDB/Native/
H A DNativeExeSymbol.cpp79 codeview::GUID NativeExeSymbol::getGuid() const { in getGuid()
84 return codeview::GUID{{0}}; in getGuid()
/openbsd-src/gnu/llvm/llvm/lib/Analysis/
H A DModuleSummaryAnalysis.cpp145 static void addVCallToSet(DevirtCallSite Call, GlobalValue::GUID Guid, in addVCallToSet()
164 const CallInst *CI, SetVector<GlobalValue::GUID> &TypeTests, in addIntrinsicToSummary()
177 GlobalValue::GUID Guid = GlobalValue::getGUID(TypeId->getString()); in addIntrinsicToSummary()
204 GlobalValue::GUID Guid = GlobalValue::getGUID(TypeId->getString()); in addIntrinsicToSummary()
256 bool HasLocalsInUsedOrAsm, DenseSet<GlobalValue::GUID> &CantBePromoted, in computeFunctionSummary()
268 SetVector<GlobalValue::GUID> TypeTests; in computeFunctionSummary()
663 DenseSet<GlobalValue::GUID> &CantBePromoted, in computeVariableSummary()
709 DenseSet<GlobalValue::GUID> &CantBePromoted) { in computeAliasSummary()
760 DenseSet<GlobalValue::GUID> CantBePromoted; in buildModuleSummaryIndex()
814 ArrayRef<GlobalValue::GUID>{}, in buildModuleSummaryIndex()
/openbsd-src/gnu/llvm/llvm/include/llvm/MC/
H A DMCPseudoProbe.h87 MCPseudoProbeFuncDesc(uint64_t GUID, uint64_t Hash, StringRef Name) in MCPseudoProbeFuncDesc()
88 : FuncGUID(GUID), FuncHash(Hash), FuncName(Name){}; in MCPseudoProbeFuncDesc()
386 const MCPseudoProbeFuncDesc *getFuncDescForGUID(uint64_t GUID) const;
/openbsd-src/gnu/llvm/llvm/include/llvm/Transforms/Utils/
H A DSampleProfileLoaderBaseImpl.h158 const DenseSet<GlobalValue::GUID> &InlinedGUIDs);
160 const DenseSet<GlobalValue::GUID> &InlinedGUIDs);
163 const DenseSet<GlobalValue::GUID> &InlinedGUIDs);
864 FunctionT &F, const DenseSet<GlobalValue::GUID> &InlinedGUIDs) {
886 FunctionT &F, const DenseSet<GlobalValue::GUID> &InlinedGUIDs) {
914 FunctionT &F, const DenseSet<GlobalValue::GUID> &InlinedGUIDs) {
/openbsd-src/gnu/usr.bin/perl/cpan/Win32/t/
H A DGuidGen.t14 # Every GUID is unique
/openbsd-src/gnu/llvm/llvm/lib/DebugInfo/PDB/DIA/
H A DDIARawSymbol.cpp121 codeview::GUID
123 HRESULT (__stdcall IDiaSymbol::*Method)(GUID *)) { in PrivateGetDIAValue() argument
124 GUID Result; in PrivateGetDIAValue()
126 return codeview::GUID(); in PrivateGetDIAValue()
128 static_assert(sizeof(codeview::GUID) == sizeof(GUID), in PrivateGetDIAValue()
130 codeview::GUID IdResult; in PrivateGetDIAValue()
131 ::memcpy(&IdResult, &Result, sizeof(GUID)); in PrivateGetDIAValue()
192 llvm::raw_ostream &operator<<(llvm::raw_ostream &OS, const GUID &G) { in operator <<()
890 codeview::GUID DIARawSymbol::getGuid() const { in getGuid()

12345