Home
last modified time | relevance | path

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

12345

/llvm-project-15.0.7/llvm/test/Transforms/FunctionImport/
H A Dfuncimport.ll134 ; GUID-DAG: GUID {{.*}} is weakalias
136 ; GUID-DAG: GUID {{.*}} is weakfunc
137 ; GUID-DAG: GUID {{.*}} is main
139 ; GUID-DAG: GUID {{.*}} is analias
151 ; GUID-DAG: GUID {{.*}} is P
152 ; GUID-DAG: GUID {{.*}} is staticvar
153 ; GUID-DAG: GUID {{.*}} is commonvar
154 ; GUID-DAG: GUID {{.*}} is weakalias
156 ; GUID-DAG: GUID {{.*}} is weakfunc
158 ; GUID-DAG: GUID {{.*}} is weakvar
[all …]
/llvm-project-15.0.7/clang/test/CodeGenCXX/
H A Dmicrosoft-uuidof.cpp19 typedef struct _GUID GUID; typedef
48 GUID const_init = __uuidof(Curly);
55 const GUID& gr = __uuidof(S1);
58 const GUID* gp = &__uuidof(S1);
61 const GUID* cp = &__uuidof(Curly);
65 const GUID& zeroiid = __uuidof(0);
118 GUID s2_1 = __uuidof(S2); in gun()
119 GUID s2_2 = __uuidof(S2); in gun()
126 const GUID& r = __uuidof(S2); in gun()
128 const GUID* p = &__uuidof(S2); in gun()
[all …]
H A Dmicrosoft-uuidof-mangling.cpp11 } GUID; typedef
14 template < typename T, const GUID & T_iid = __uuidof(T)>
39 template<const GUID&> struct UUIDTestTwo { UUIDTestTwo(); };
48 test_uuidofType<TestStruct>(GUID{}); in main()
49 test_uuidofExpr<HasMember>(GUID{}); in main()
50 test_uuidofExpr2<TestStruct>(GUID{}); in main()
/llvm-project-15.0.7/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,
/llvm-project-15.0.7/llvm/test/Transforms/WholeProgramDevirt/Inputs/
H A Dimport-indir.yaml6 - GUID: 123
8 - GUID: 456
11 - GUID: 789
13 - GUID: 1234
17 GUID: 123
22 GUID: 456
H A Dexport.yaml6 - GUID: 14276520915468743435 # typeid1
9 - GUID: 15427464259790519041 # typeid2
13 GUID: 3515965990081467659 # typeid3
18 GUID: 17525413373118030901 # typeid4
/llvm-project-15.0.7/llvm/test/Transforms/SampleProfile/
H A Dpseudo-probe-emit.ll20 ; CHECK-MIR: PSEUDO_PROBE [[#GUID:]], 1, 0, 0
21 ; CHECK-ASM: .pseudoprobe [[#GUID:]] 1 0 0
26 ; CHECK-MIR: PSEUDO_PROBE [[#GUID]], 3, 0, 0
27 ; CHECK-MIR: PSEUDO_PROBE [[#GUID]], 4, 0, 0
28 ; CHECK-ASM: .pseudoprobe [[#GUID]] 3 0 0
29 ; CHECK-ASM: .pseudoprobe [[#GUID]] 4 0 0
35 ; CHECK-MIR: PSEUDO_PROBE [[#GUID]], 2, 0, 0
36 ; CHECK-MIR: PSEUDO_PROBE [[#GUID]], 4, 0, 0
37 ; CHECK-ASM: .pseudoprobe [[#GUID]] 2 0 0
38 ; CHECK-ASM: .pseudoprobe [[#GUID]] 4 0 0
[all …]
H A Dpseudo-probe-update.ll10 ; CHECK: call void @llvm.pseudoprobe(i64 [[#GUID:]], i64 1, i32 0, i64 -1)
15 ; CHECK: call void @llvm.pseudoprobe(i64 [[#GUID:]], i64 2, i32 0, i64 -1)
17 ; CHECK: call void @llvm.pseudoprobe(i64 [[#GUID:]], i64 4, i32 0, i64 -8513881372706734080)
23 ; CHECK: call void @llvm.pseudoprobe(i64 [[#GUID:]], i64 3, i32 0, i64 -1)
25 ; CHECK: call void @llvm.pseudoprobe(i64 [[#GUID:]], i64 4, i32 0, i64 8513881922462547968)
33 ; CHECK: call void @llvm.pseudoprobe(i64 [[#GUID:]], i64 5, i32 0, i64 -1)
37 ; CHECK: call void @llvm.pseudoprobe(i64 [[#GUID:]], i64 6, i32 0, i64 -1)
H A Dpseudo-probe-verify.ll14 ; CHECK: call void @llvm.pseudoprobe(i64 [[#GUID:]], i64 1, i32 0, i64 -1)
24 ; CHECK: call void @llvm.pseudoprobe(i64 [[#GUID:]], i64 3, i32 0, i64 -1)
29 ; CHECK: call void @llvm.pseudoprobe(i64 [[#GUID:]], i64 4, i32 0, i64 -1)
31 ; CHECK: call void @llvm.pseudoprobe(i64 [[#GUID:]], i64 4, i32 0, i64 -1)
33 ; CHECK: call void @llvm.pseudoprobe(i64 [[#GUID:]], i64 4, i32 0, i64 -1)
35 ; CHECK: call void @llvm.pseudoprobe(i64 [[#GUID:]], i64 4, i32 0, i64 -1)
37 ; CHECK: call void @llvm.pseudoprobe(i64 [[#GUID:]], i64 4, i32 0, i64 -1)
39 ; CHECK: call void @llvm.pseudoprobe(i64 [[#GUID:]], i64 2, i32 0, i64 -1)
53 ; CHECK: call void @llvm.pseudoprobe(i64 [[#GUID:]], i64 5, i32 0, i64 -1)
H A Dpseudo-probe-dangle.ll13 ; JT: call void @llvm.pseudoprobe(i64 [[#GUID:]], i64 1, i32 0, i64 -1)
26 ; JT-NOT: call void @llvm.pseudoprobe(i64 [[#GUID:]], i64 3
27 ; JT-NOT: call void @llvm.pseudoprobe(i64 [[#GUID:]], i64 2
28 ; JT: call void @llvm.pseudoprobe(i64 [[#GUID:]], i64 4, i32 0, i64 -1)
37 ; MIR-tail: PSEUDO_PROBE [[#GUID:]], 1, 0, 0
38 ; MIR-tail-NOT: PSEUDO_PROBE [[#GUID:]], 2
39 ; MIR-tail-NOT: PSEUDO_PROBE [[#GUID:]], 3
40 ; MIR-tail: PSEUDO_PROBE [[#GUID:]], 4, 0, 0
H A Dpseudo-probe-update-2.ll18 ; CHECK: call void @llvm.pseudoprobe(i64 [[#GUID:]], i64 4, i32 0, i64 -8513881372706734080)
22 ; CHECK: call void @llvm.pseudoprobe(i64 [[#GUID]], i64 7, i32 0, i64 -1)
25 ; CHECK: call void @llvm.pseudoprobe(i64 [[#GUID]], i64 8, i32 0, i64 -1)
33 ; CHECK: call void @llvm.pseudoprobe(i64 [[#GUID]], i64 4, i32 0, i64 8513881922462547968)
35 ; CHECK: call void @llvm.pseudoprobe(i64 [[#GUID]], i64 7, i32 0, i64 -1)
37 ; CHECK: call void @llvm.pseudoprobe(i64 [[#GUID]], i64 8, i32 0, i64 -1)
/llvm-project-15.0.7/llvm/include/llvm/IR/
H A DModuleSummaryIndex.h353 GlobalValue::GUID OriginalName = 0;
529 GlobalValue::GUID GUID;
846 return L.GUID == R.GUID && L.Offset == R.Offset;
868 return I.VFunc.GUID;
1109 std::map<GlobalValue::GUID, GlobalValue::GUID> OidGuidMap;
1170 getOrInsertValuePtr(GlobalValue::GUID GUID) {
1317 bool isGUIDLive(GlobalValue::GUID GUID) const;
1326 ValueInfo getValueInfo(GlobalValue::GUID GUID) const {
1332 ValueInfo getOrInsertValueInfo(GlobalValue::GUID GUID) {
1342 ValueInfo getOrInsertValueInfo(GlobalValue::GUID GUID, StringRef Name) {
[all …]
/llvm-project-15.0.7/llvm/lib/LTO/
H A DLTO.cpp151 auto GUID = VI.getGUID(); in computeLTOCacheKey() local
152 ExportsGUID.push_back(GUID); in computeLTOCacheKey()
157 for (uint64_t GUID : ExportsGUID) { in computeLTOCacheKey() local
159 Hasher.update(ArrayRef<uint8_t>((uint8_t *)&GUID, sizeof(GUID))); in computeLTOCacheKey()
225 UsedTypeIds.insert(TT.GUID); in computeLTOCacheKey()
227 UsedTypeIds.insert(TT.GUID); in computeLTOCacheKey()
1010 GlobalValue::GUID GUID = GlobalValue::getGUID( in run() local
1019 GUIDPrevailingResolutions[GUID] = in run()
1520 ExportedGUIDs.insert(GUID); in runThinLTO()
1543 auto isPrevailing = [&](GlobalValue::GUID GUID, in runThinLTO()
[all …]
H A DThinLTOCodeGenerator.cpp316 static DenseSet<GlobalValue::GUID>
532 auto isPrevailing = [&](GlobalValue::GUID GUID, const GlobalValueSummary *S) { in resolvePrevailingInIndex() argument
533 const auto &Prevailing = PrevailingCopy.find(GUID); in resolvePrevailingInIndex()
541 GlobalValue::GUID GUID, in resolvePrevailingInIndex()
543 ResolvedODR[ModuleIdentifier][GUID] = NewLinkage; in resolvePrevailingInIndex()
671 bool operator()(GlobalValue::GUID GUID, const GlobalValueSummary *S) const { in operator ()()
687 auto isPrevailing = [&](GlobalValue::GUID G) { in computeDeadSymbolsInIndex()
1036 DenseSet<GlobalValue::GUID> GUIDPreservedSymbols; in run()
1066 std::set<GlobalValue::GUID> ExportedGUIDs; in run()
1068 for (auto GUID : ExportedGUIDs) in run() local
[all …]
/llvm-project-15.0.7/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()
540 DenseMap<GlobalValue::GUID, std::vector<uint64_t>> NodeMap; in exportToDot()
547 auto NodeId = [](uint64_t ModId, GlobalValue::GUID Id) { in exportToDot()
[all …]
/llvm-project-15.0.7/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,
/llvm-project-15.0.7/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;
/llvm-project-15.0.7/clang/test/Parser/
H A Dms-square-bracket-attributes.mm8 } GUID; typedef
20 // expected-error@+1 {{uuid attribute contains a malformed GUID}}
22 // expected-error@+1 {{uuid attribute contains a malformed GUID}}
57 // expected-error@+1 {{uuid attribute contains a malformed GUID}}
59 // expected-error@+1 {{uuid attribute contains a malformed GUID}}
61 // expected-error@+2 {{uuid attribute contains a malformed GUID}}
64 // expected-error@+1 {{uuid attribute contains a malformed GUID}}
66 // expected-error@+1 {{uuid attribute contains a malformed GUID}}
68 // expected-error@+2 {{uuid attribute contains a malformed GUID}}
72 // expected-error@+1 {{uuid attribute contains a malformed GUID}}
[all …]
/llvm-project-15.0.7/clang/test/SemaCXX/
H A Dms-uuid.cpp9 } GUID; typedef
97 template <const GUID* p>
100 const GUID* q = p; in F1()
118 constexpr GUID a = __uuidof(Request);
H A Dborland-extensions.cpp48 } GUID; typedef
52 GUID const* Guid;
58 const GUID guid_inl = __uuidof(Foo); in t4()
/llvm-project-15.0.7/llvm/lib/Transforms/IPO/
H A DFunctionImport.cpp177 GlobalValue::GUID GUID) { in selectCallee() argument
788 auto GUID = GlobalList.first; in ComputeCrossModuleImportForModuleFromIndex() local
814 if (GUID == 0) in updateValueInfoForIndirectCalls()
817 auto VI = Index.getValueInfo(GUID); in updateValueInfoForIndirectCalls()
862 for (auto GUID : GUIDPreservedSymbols) { in computeDeadSymbolsAndUpdateIndirectCalls() local
863 ValueInfo VI = Index.getValueInfo(GUID); in computeDeadSymbolsAndUpdateIndirectCalls()
1254 auto GUID = F.getGUID(); in importFunctions() local
1255 auto Import = ImportGUIDs.count(GUID); in importFunctions()
1276 auto GUID = GV.getGUID(); in importFunctions() local
1277 auto Import = ImportGUIDs.count(GUID); in importFunctions()
[all …]
/llvm-project-15.0.7/llvm/include/llvm/DebugInfo/PDB/Native/
H A DInfoStreamBuilder.h44 void setGuid(codeview::GUID G);
48 codeview::GUID getGuid() const { return Guid; } in getGuid()
65 codeview::GUID Guid;
/llvm-project-15.0.7/llvm/test/Transforms/WholeProgramDevirt/
H A Dimport-indir.ll14 ; SUMMARY-NEXT: - GUID: 123
16 ; SUMMARY-NEXT: - GUID: 456
19 ; SUMMARY-NEXT: - GUID: 789
21 ; SUMMARY-NEXT: - GUID: 1234
25 ; SUMMARY-NEXT: GUID: 123
30 ; SUMMARY-NEXT: GUID: 456
/llvm-project-15.0.7/llvm/test/Transforms/PGOProfile/
H A Dindirect_call_promotion_unique.ll92 ; GUID of "func1" is -2545542355363006406.
93 ; GUID of "func2" is -4377547752858689819.
94 ; GUID of "func3.__uniq.258901567653530696343884446915951489119" is 8271224222042874235.
95 ; GUID of "func4.__uniq.140291095734751150107370763113257199296" is 1491826207425861106.
96 ; GUID of "func5.__uniq.127882361580787111523790444488985774976" is -4238550483433487304.

12345