/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-project/llvm/include/llvm/IR/ |
D | ModuleSummaryIndex.h | 120 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/ |
D | ModuleSummaryIndex.h | 119 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/ |
D | ModuleSummaryIndex.cpp | 47 [](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/ |
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/swiftshader/third_party/llvm-10.0/llvm/lib/IR/ |
D | ModuleSummaryIndex.cpp | 41 [](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/ |
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-project/llvm/lib/LTO/ |
D | ThinLTOCodeGenerator.cpp | 106 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 …]
|
D | LTO.cpp | 204 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/ |
D | ThinLTOCodeGenerator.cpp | 102 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 …]
|
D | LTO.cpp | 191 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/ |
D | ModuleSummaryIndex.cpp | 32 std::unique_ptr<GlobalValueSummary> Summary = std::move(List.front()); in mergeFrom() 98 GlobalValueSummary *
|
/external/llvm-project/llvm/lib/Transforms/IPO/ |
D | FunctionImport.cpp | 176 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/ |
D | FunctionImport.cpp | 176 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/ |
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-project/llvm/include/llvm/ExecutionEngine/ |
D | JITSymbol.h | 33 class GlobalValueSummary; variable 183 static JITSymbolFlags fromSummary(GlobalValueSummary *S);
|
/external/llvm-project/llvm/include/llvm/LTO/ |
D | LTO.h | 47 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/ |
D | LTO.h | 51 function_ref<bool(GlobalValue::GUID, const GlobalValueSummary *)> 63 function_ref<bool(GlobalValue::GUID, const GlobalValueSummary *)>
|
/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/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Transforms/IPO/ |
D | FunctionImport.h | 92 std::tuple<unsigned, const GlobalValueSummary *,
|
/external/llvm-project/llvm/include/llvm/Transforms/IPO/ |
D | FunctionImport.h | 92 std::tuple<unsigned, const GlobalValueSummary *,
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/ |
D | ModuleSummaryAnalysis.cpp | 461 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()
|