Home
last modified time | relevance | path

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

/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/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/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/lib/IR/
DModuleSummaryIndex.cpp32 std::unique_ptr<GlobalValueSummary> Summary = std::move(List.front()); in mergeFrom()
98 GlobalValueSummary *
/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/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/llvm/lib/Bitcode/Writer/
DBitcodeWriter.cpp253 GlobalValueSummary *Summary,
300 typedef std::pair<GlobalValue::GUID, GlobalValueSummary *> GVInfo;
943 static uint64_t getEncodedGVSummaryFlags(GlobalValueSummary::GVFlags Flags) { in getEncodedGVSummaryFlags()
3202 SmallVector<uint64_t, 64> &NameVals, GlobalValueSummary *Summary, in writePerModuleFunctionSummaryRecord()
3418 DenseMap<const GlobalValueSummary *, unsigned> SummaryToValueIdMap; in writeCombinedGlobalValueSummary()
3424 auto MaybeEmitOriginalName = [&](GlobalValueSummary &S) { in writeCombinedGlobalValueSummary()
3433 GlobalValueSummary *S = I.second; in writeCombinedGlobalValueSummary()
/external/llvm/lib/Bitcode/Reader/
DBitcodeReader.cpp724 static GlobalValueSummary::GVFlags getDecodedGVSummaryFlags(uint64_t RawFlags, in getDecodedGVSummaryFlags()
732 return GlobalValueSummary::GVFlags(Linkage, HasSection); in getDecodedGVSummaryFlags()
6130 GlobalValueSummary *LastSeenSummary = nullptr; in parseEntireSummary()