Searched refs:GlobalValueSummary (Results 1 – 11 of 11) sorted by relevance
/external/llvm/include/llvm/IR/ |
D | ModuleSummaryIndex.h | 87 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/ |
D | LTO.cpp | 45 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()
|
D | ThinLTOCodeGenerator.cpp | 90 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/ |
D | FunctionImport.cpp | 94 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/ |
D | ModuleSummaryIndex.cpp | 32 std::unique_ptr<GlobalValueSummary> Summary = std::move(List.front()); in mergeFrom() 98 GlobalValueSummary *
|
/external/llvm/lib/Analysis/ |
D | ModuleSummaryAnalysis.cpp | 98 GlobalValueSummary::GVFlags Flags(F); in computeFunctionSummary() 111 GlobalValueSummary::GVFlags Flags(V); in computeVariableSummary()
|
/external/llvm/include/llvm/LTO/ |
D | LTO.h | 61 function_ref<bool(GlobalValue::GUID, const GlobalValueSummary *)>
|
/external/llvm/include/llvm/Transforms/IPO/ |
D | FunctionImport.h | 24 class GlobalValueSummary; variable
|
/external/llvm/tools/gold/ |
D | gold-plugin.cpp | 885 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/ |
D | BitcodeWriter.cpp | 253 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/ |
D | BitcodeReader.cpp | 724 static GlobalValueSummary::GVFlags getDecodedGVSummaryFlags(uint64_t RawFlags, in getDecodedGVSummaryFlags() 732 return GlobalValueSummary::GVFlags(Linkage, HasSection); in getDecodedGVSummaryFlags() 6130 GlobalValueSummary *LastSeenSummary = nullptr; in parseEntireSummary()
|