Home
last modified time | relevance | path

Searched refs:GlobalValueSummary (Results 1 – 25 of 46) sorted by relevance

12

/external/llvm/include/llvm/IR/
DModuleSummaryIndex.h87 class GlobalValueSummary {
141 GlobalValueSummary(SummaryKind K, GVFlags Flags) : Kind(K), Flags(Flags) {} in GlobalValueSummary() function
144 virtual ~GlobalValueSummary() = default;
205 class AliasSummary : public GlobalValueSummary {
206 GlobalValueSummary *AliaseeSummary;
210 AliasSummary(GVFlags Flags) : GlobalValueSummary(AliasKind, Flags) {} in AliasSummary()
213 static bool classof(const GlobalValueSummary *GVS) { in classof()
217 void setAliasee(GlobalValueSummary *Aliasee) { AliaseeSummary = Aliasee; } in setAliasee()
219 const GlobalValueSummary &getAliasee() const { in getAliasee()
223 GlobalValueSummary &getAliasee() { in getAliasee()
[all …]
/external/llvm-project/llvm/include/llvm/IR/
DModuleSummaryIndex.h120 class GlobalValueSummary; variable
122 using GlobalValueSummaryList = std::vector<std::unique_ptr<GlobalValueSummary>>;
185 ArrayRef<std::unique_ptr<GlobalValueSummary>> getSummaryList() const { in getSummaryList()
281 class GlobalValueSummary {
358 GlobalValueSummary(SummaryKind K, GVFlags Flags, std::vector<ValueInfo> Refs)
365 virtual ~GlobalValueSummary() = default;
421 GlobalValueSummary *getBaseObject();
422 const GlobalValueSummary *getBaseObject() const;
428 class AliasSummary : public GlobalValueSummary {
435 GlobalValueSummary *AliaseeSummary;
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/
DModuleSummaryIndex.h119 class GlobalValueSummary; variable
121 using GlobalValueSummaryList = std::vector<std::unique_ptr<GlobalValueSummary>>;
184 ArrayRef<std::unique_ptr<GlobalValueSummary>> getSummaryList() const { in getSummaryList()
280 class GlobalValueSummary {
357 GlobalValueSummary(SummaryKind K, GVFlags Flags, std::vector<ValueInfo> Refs)
364 virtual ~GlobalValueSummary() = default;
420 GlobalValueSummary *getBaseObject();
421 const GlobalValueSummary *getBaseObject() const;
427 class AliasSummary : public GlobalValueSummary {
434 GlobalValueSummary *AliaseeSummary;
[all …]
/external/llvm-project/llvm/lib/IR/
DModuleSummaryIndex.cpp47 [](const std::unique_ptr<GlobalValueSummary> &Summary) { in isDSOLocal()
56 [](const std::unique_ptr<GlobalValueSummary> &Summary) { in canAutoHide()
142 GlobalValueSummary *
167 propagateAttributesToRefs(GlobalValueSummary *S, in propagateAttributesToRefs()
238 [&](const std::unique_ptr<GlobalValueSummary> &Summary) { in propagateAttributes()
279 bool ModuleSummaryIndex::canImportGlobalVar(GlobalValueSummary *S, in canImportGlobalVar()
422 static std::string getSummaryAttributes(GlobalValueSummary* GVS) { in getSummaryAttributes()
439 static std::string getNodeLabel(const ValueInfo &VI, GlobalValueSummary *GVS) { in getNodeLabel()
469 static bool hasReadOnlyFlag(const GlobalValueSummary *S) { in hasReadOnlyFlag()
475 static bool hasWriteOnlyFlag(const GlobalValueSummary *S) { in hasWriteOnlyFlag()
[all …]
/external/llvm/lib/LTO/
DLTO.cpp45 DenseSet<GlobalValueSummary *> &GlobalInvolvedWithAlias, in thinLTOResolveWeakForLinkerGUID()
46 function_ref<bool(GlobalValue::GUID, const GlobalValueSummary *)> in thinLTOResolveWeakForLinkerGUID()
81 function_ref<bool(GlobalValue::GUID, const GlobalValueSummary *)> in thinLTOResolveWeakForLinkerInIndex()
88 DenseSet<GlobalValueSummary *> GlobalInvolvedWithAlias; in thinLTOResolveWeakForLinkerInIndex()
DThinLTOCodeGenerator.cpp90 static const GlobalValueSummary *
94 GVSummaryList, [](const std::unique_ptr<GlobalValueSummary> &Summary) { in getFirstDefinitionForLinker()
104 GVSummaryList, [](const std::unique_ptr<GlobalValueSummary> &Summary) { in getFirstDefinitionForLinker()
119 DenseMap<GlobalValue::GUID, const GlobalValueSummary *> &PrevailingCopy) { in computePrevailingCopies()
399 DenseMap<GlobalValue::GUID, const GlobalValueSummary *> PrevailingCopy; in resolveWeakForLinkerInIndex()
402 auto isPrevailing = [&](GlobalValue::GUID GUID, const GlobalValueSummary *S) { in resolveWeakForLinkerInIndex()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DModuleSummaryIndex.cpp41 [](const std::unique_ptr<GlobalValueSummary> &Summary) { in isDSOLocal()
50 [](const std::unique_ptr<GlobalValueSummary> &Summary) { in canAutoHide()
90 GlobalValueSummary *
114 static void propagateAttributesToRefs(GlobalValueSummary *S) { in propagateAttributesToRefs()
207 bool ModuleSummaryIndex::canImportGlobalVar(GlobalValueSummary *S, in canImportGlobalVar()
349 static std::string getSummaryAttributes(GlobalValueSummary* GVS) { in getSummaryAttributes()
366 static std::string getNodeLabel(const ValueInfo &VI, GlobalValueSummary *GVS) { in getNodeLabel()
396 static bool hasReadOnlyFlag(const GlobalValueSummary *S) { in hasReadOnlyFlag()
402 static bool hasWriteOnlyFlag(const GlobalValueSummary *S) { in hasWriteOnlyFlag()
413 using GVSOrderedMapTy = std::map<GlobalValue::GUID, GlobalValueSummary *>; in exportToDot()
/external/llvm/lib/Transforms/IPO/
DFunctionImport.cpp94 static bool canBeExternallyReferenced(const GlobalValueSummary &Summary) { in canBeExternallyReferenced()
127 const GlobalValueSummary &Summary) { in eligibleForImport()
164 static const GlobalValueSummary *
170 [&](const std::unique_ptr<GlobalValueSummary> &SummaryPtr) { in selectCallee()
199 return cast<GlobalValueSummary>(It->get()); in selectCallee()
204 static const GlobalValueSummary *selectCallee(GlobalValue::GUID GUID, in selectCallee()
221 [&](GlobalValue::GUID GUID) -> GlobalValueSummary *{ in exportGlobalInModule()
229 [&](const std::unique_ptr<GlobalValueSummary> &Summary) { in exportGlobalInModule()
/external/llvm-project/llvm/lib/LTO/
DThinLTOCodeGenerator.cpp106 static const GlobalValueSummary *
110 GVSummaryList, [](const std::unique_ptr<GlobalValueSummary> &Summary) { in getFirstDefinitionForLinker()
120 GVSummaryList, [](const std::unique_ptr<GlobalValueSummary> &Summary) { in getFirstDefinitionForLinker()
135 DenseMap<GlobalValue::GUID, const GlobalValueSummary *> &PrevailingCopy) { in computePrevailingCopies()
493 const DenseMap<GlobalValue::GUID, const GlobalValueSummary *> in resolvePrevailingInIndex()
496 auto isPrevailing = [&](GlobalValue::GUID GUID, const GlobalValueSummary *S) { in resolvePrevailingInIndex()
628 const DenseMap<GlobalValue::GUID, const GlobalValueSummary *> &PrevailingCopy;
629 IsPrevailing(const DenseMap<GlobalValue::GUID, const GlobalValueSummary *> in IsPrevailing()
633 bool operator()(GlobalValue::GUID GUID, const GlobalValueSummary *S) const { in operator ()()
685 DenseMap<GlobalValue::GUID, const GlobalValueSummary *> PrevailingCopy; in promote()
[all …]
DLTO.cpp204 auto AddUsedThings = [&](GlobalValueSummary *GS) { in computeLTOCacheKey()
248 GlobalValueSummary *S = Index.findSummaryInModule(ImpF, ImpM.first()); in computeLTOCacheKey()
318 ValueInfo VI, DenseSet<GlobalValueSummary *> &GlobalInvolvedWithAlias, in thinLTOResolvePrevailingGUID()
319 function_ref<bool(GlobalValue::GUID, const GlobalValueSummary *)> in thinLTOResolvePrevailingGUID()
373 function_ref<bool(GlobalValue::GUID, const GlobalValueSummary *)> in thinLTOResolvePrevailingInIndex()
381 DenseSet<GlobalValueSummary *> GlobalInvolvedWithAlias; in thinLTOResolvePrevailingInIndex()
393 static bool isWeakObjectWithRWAccess(GlobalValueSummary *GVS) { in isWeakObjectWithRWAccess()
403 function_ref<bool(GlobalValue::GUID, const GlobalValueSummary *)> in thinLTOInternalizeAndPromoteGUID()
434 function_ref<bool(GlobalValue::GUID, const GlobalValueSummary *)> in thinLTOInternalizeAndPromoteInIndex()
1433 const GlobalValueSummary *S) { in runThinLTO()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/LTO/
DThinLTOCodeGenerator.cpp102 static const GlobalValueSummary *
106 GVSummaryList, [](const std::unique_ptr<GlobalValueSummary> &Summary) { in getFirstDefinitionForLinker()
116 GVSummaryList, [](const std::unique_ptr<GlobalValueSummary> &Summary) { in getFirstDefinitionForLinker()
131 DenseMap<GlobalValue::GUID, const GlobalValueSummary *> &PrevailingCopy) { in computePrevailingCopies()
469 const DenseMap<GlobalValue::GUID, const GlobalValueSummary *> in resolvePrevailingInIndex()
472 auto isPrevailing = [&](GlobalValue::GUID GUID, const GlobalValueSummary *S) { in resolvePrevailingInIndex()
601 const DenseMap<GlobalValue::GUID, const GlobalValueSummary *> &PrevailingCopy;
602 IsPrevailing(const DenseMap<GlobalValue::GUID, const GlobalValueSummary *> in IsPrevailing()
606 bool operator()(GlobalValue::GUID GUID, const GlobalValueSummary *S) const { in operator ()()
658 DenseMap<GlobalValue::GUID, const GlobalValueSummary *> PrevailingCopy; in promote()
[all …]
DLTO.cpp191 auto AddUsedThings = [&](GlobalValueSummary *GS) { in computeLTOCacheKey()
235 GlobalValueSummary *S = Index.findSummaryInModule(ImpF, ImpM.first()); in computeLTOCacheKey()
305 ValueInfo VI, DenseSet<GlobalValueSummary *> &GlobalInvolvedWithAlias, in thinLTOResolvePrevailingGUID()
306 function_ref<bool(GlobalValue::GUID, const GlobalValueSummary *)> in thinLTOResolvePrevailingGUID()
360 function_ref<bool(GlobalValue::GUID, const GlobalValueSummary *)> in thinLTOResolvePrevailingInIndex()
368 DenseSet<GlobalValueSummary *> GlobalInvolvedWithAlias; in thinLTOResolvePrevailingInIndex()
380 static bool isWeakObjectWithRWAccess(GlobalValueSummary *GVS) { in isWeakObjectWithRWAccess()
390 function_ref<bool(GlobalValue::GUID, const GlobalValueSummary *)> in thinLTOInternalizeAndPromoteGUID()
421 function_ref<bool(GlobalValue::GUID, const GlobalValueSummary *)> in thinLTOInternalizeAndPromoteInIndex()
1348 const GlobalValueSummary *S) { in runThinLTO()
/external/llvm/lib/IR/
DModuleSummaryIndex.cpp32 std::unique_ptr<GlobalValueSummary> Summary = std::move(List.front()); in mergeFrom()
98 GlobalValueSummary *
/external/llvm-project/llvm/lib/Transforms/IPO/
DFunctionImport.cpp176 static const GlobalValueSummary *
178 ArrayRef<std::unique_ptr<GlobalValueSummary>> CalleeSummaryList, in selectCallee()
185 [&](const std::unique_ptr<GlobalValueSummary> &SummaryPtr) { in selectCallee()
205 if (GVSummary->getSummaryKind() == GlobalValueSummary::GlobalVarKind) { in selectCallee()
259 return cast<GlobalValueSummary>(It->get()); in selectCallee()
265 std::tuple<const GlobalValueSummary *, unsigned /* Threshold */>;
285 const GlobalValueSummary &Summary, const ModuleSummaryIndex &Index, in computeImportForReferencedGlobals()
305 auto LocalNotInModule = [&](const GlobalValueSummary *RefSummary) -> bool { in computeImportForReferencedGlobals()
601 : SL[0]->getSummaryKind() == GlobalValueSummary::GlobalVarKind; in isGlobalVarSummary()
855 [](const std::unique_ptr<llvm::GlobalValueSummary> &S) { in computeDeadSymbols()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/IPO/
DFunctionImport.cpp176 static const GlobalValueSummary *
178 ArrayRef<std::unique_ptr<GlobalValueSummary>> CalleeSummaryList, in selectCallee()
185 [&](const std::unique_ptr<GlobalValueSummary> &SummaryPtr) { in selectCallee()
205 if (GVSummary->getSummaryKind() == GlobalValueSummary::GlobalVarKind) { in selectCallee()
259 return cast<GlobalValueSummary>(It->get()); in selectCallee()
304 auto LocalNotInModule = [&](const GlobalValueSummary *RefSummary) -> bool { in computeImportForReferencedGlobals()
309 auto MarkExported = [&](const ValueInfo &VI, const GlobalValueSummary *S) { in computeImportForReferencedGlobals()
611 : SL[0]->getSummaryKind() == GlobalValueSummary::GlobalVarKind; in isGlobalVarSummary()
830 [](const std::unique_ptr<llvm::GlobalValueSummary> &S) { in computeDeadSymbols()
/external/llvm/lib/Analysis/
DModuleSummaryAnalysis.cpp98 GlobalValueSummary::GVFlags Flags(F); in computeFunctionSummary()
111 GlobalValueSummary::GVFlags Flags(V); in computeVariableSummary()
/external/llvm/include/llvm/LTO/
DLTO.h61 function_ref<bool(GlobalValue::GUID, const GlobalValueSummary *)>
/external/llvm/include/llvm/Transforms/IPO/
DFunctionImport.h24 class GlobalValueSummary; variable
/external/llvm-project/llvm/include/llvm/ExecutionEngine/
DJITSymbol.h33 class GlobalValueSummary; variable
183 static JITSymbolFlags fromSummary(GlobalValueSummary *S);
/external/llvm-project/llvm/include/llvm/LTO/
DLTO.h47 function_ref<bool(GlobalValue::GUID, const GlobalValueSummary *)>
59 function_ref<bool(GlobalValue::GUID, const GlobalValueSummary *)>
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/LTO/
DLTO.h51 function_ref<bool(GlobalValue::GUID, const GlobalValueSummary *)>
63 function_ref<bool(GlobalValue::GUID, const GlobalValueSummary *)>
/external/llvm/tools/gold/
Dgold-plugin.cpp885 std::map<GlobalValue::GUID, GlobalValueSummary *> *DefinedGlobals;
899 std::map<GlobalValue::GUID, GlobalValueSummary *> *DefinedGlobals) in CodeGen()
1186 std::map<GlobalValue::GUID, GlobalValueSummary *> &DefinedGlobals) { in thinLTOBackendTask()
1213 StringMap<std::map<GlobalValue::GUID, GlobalValueSummary *>> in thinLTOBackends()
1320 DenseMap<GlobalValue::GUID, const GlobalValueSummary *> PrevailingCopy; in thinLTOLink()
1367 StringMap<std::map<GlobalValue::GUID, GlobalValueSummary *>> in thinLTOLink()
1376 auto isPrevailing = [&](GlobalValue::GUID GUID, const GlobalValueSummary *S) { in thinLTOLink()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Transforms/IPO/
DFunctionImport.h92 std::tuple<unsigned, const GlobalValueSummary *,
/external/llvm-project/llvm/include/llvm/Transforms/IPO/
DFunctionImport.h92 std::tuple<unsigned, const GlobalValueSummary *,
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DModuleSummaryAnalysis.cpp461 GlobalValueSummary::GVFlags Flags(F.getLinkage(), NotEligibleForImport, in computeFunctionSummary()
579 GlobalValueSummary::GVFlags Flags(V.getLinkage(), NonRenamableLocal, in computeVariableSummary()
618 GlobalValueSummary::GVFlags Flags(A.getLinkage(), NonRenamableLocal, in computeAliasSummary()
692 GlobalValueSummary::GVFlags GVFlags(GlobalValue::InternalLinkage, in buildModuleSummaryIndex()

12