/external/llvm-project/llvm/lib/IR/ |
D | ModuleSummaryIndex.cpp | 187 if (auto *GVS = dyn_cast<GlobalVarSummary>(Ref->getBaseObject())) { in propagateAttributesToRefs() local 189 GVS->setReadOnly(false); in propagateAttributesToRefs() 191 GVS->setWriteOnly(false); in propagateAttributesToRefs() 254 if (auto *GVS = dyn_cast<GlobalVarSummary>(S->getBaseObject())) in propagateAttributes() local 260 GVS->setReadOnly(false); in propagateAttributes() 261 GVS->setWriteOnly(false); in propagateAttributes() 269 if (auto *GVS = dyn_cast<GlobalVarSummary>( in propagateAttributes() local 271 if (isGlobalValueLive(GVS)) { in propagateAttributes() 272 if (GVS->maybeReadOnly()) in propagateAttributes() 274 if (GVS->maybeWriteOnly()) in propagateAttributes() [all …]
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/IR/ |
D | ModuleSummaryIndex.cpp | 128 if (auto *GVS = dyn_cast<GlobalVarSummary>(Ref->getBaseObject())) { in propagateAttributesToRefs() local 130 GVS->setReadOnly(false); in propagateAttributesToRefs() 132 GVS->setWriteOnly(false); in propagateAttributesToRefs() 182 if (auto *GVS = dyn_cast<GlobalVarSummary>(S->getBaseObject())) in propagateAttributes() local 188 GVS->setReadOnly(false); in propagateAttributes() 189 GVS->setWriteOnly(false); in propagateAttributes() 197 if (auto *GVS = dyn_cast<GlobalVarSummary>( in propagateAttributes() local 199 if (isGlobalValueLive(GVS)) { in propagateAttributes() 200 if (GVS->maybeReadOnly()) in propagateAttributes() 202 if (GVS->maybeWriteOnly()) in propagateAttributes() [all …]
|
/external/llvm-project/llvm/lib/LTO/ |
D | SummaryBasedOptimizations.cpp | 37 for (auto &GVS : V.getSummaryList()) { in initializeCounts() local 38 auto S = GVS.get()->getBaseObject(); in initializeCounts() 66 for (auto &GVS : V.getSummaryList()) { in computeSyntheticCounts() local 67 auto S = GVS.get()->getBaseObject(); in computeSyntheticCounts()
|
D | LTO.cpp | 212 if (auto *GVS = dyn_cast<GlobalVarSummary>(GS)) { in computeLTOCacheKey() local 213 AddUnsigned(GVS->maybeReadOnly()); in computeLTOCacheKey() 214 AddUnsigned(GVS->maybeWriteOnly()); in computeLTOCacheKey() 393 static bool isWeakObjectWithRWAccess(GlobalValueSummary *GVS) { in isWeakObjectWithRWAccess() argument 394 if (auto *VarSummary = dyn_cast<GlobalVarSummary>(GVS->getBaseObject())) in isWeakObjectWithRWAccess()
|
D | LTOBackend.cpp | 548 if (GlobalValueSummary *GVS = DefinedGlobals.lookup(GV.getGUID())) in dropDeadSymbols() local 549 if (!Index.isGlobalValueLive(GVS)) { in dropDeadSymbols()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/LTO/ |
D | SummaryBasedOptimizations.cpp | 37 for (auto &GVS : V.getSummaryList()) { in initializeCounts() local 38 auto S = GVS.get()->getBaseObject(); in initializeCounts() 66 for (auto &GVS : V.getSummaryList()) { in computeSyntheticCounts() local 67 auto S = GVS.get()->getBaseObject(); in computeSyntheticCounts()
|
D | LTO.cpp | 199 if (auto *GVS = dyn_cast<GlobalVarSummary>(GS)) { in computeLTOCacheKey() local 200 AddUnsigned(GVS->maybeReadOnly()); in computeLTOCacheKey() 201 AddUnsigned(GVS->maybeWriteOnly()); in computeLTOCacheKey() 380 static bool isWeakObjectWithRWAccess(GlobalValueSummary *GVS) { in isWeakObjectWithRWAccess() argument 381 if (auto *VarSummary = dyn_cast<GlobalVarSummary>(GVS->getBaseObject())) in isWeakObjectWithRWAccess()
|
D | LTOBackend.cpp | 485 if (GlobalValueSummary *GVS = DefinedGlobals.lookup(GV.getGUID())) in dropDeadSymbols() local 486 if (!Index.isGlobalValueLive(GVS)) { in dropDeadSymbols()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/ |
D | FunctionImportUtils.cpp | 249 auto *GVS = dyn_cast_or_null<GlobalVarSummary>( in processGlobalForThinLTO() local 251 if (GVS && in processGlobalForThinLTO() 252 (ImportIndex.isReadOnly(GVS) || ImportIndex.isWriteOnly(GVS))) { in processGlobalForThinLTO() 261 if (ImportIndex.isWriteOnly(GVS)) in processGlobalForThinLTO()
|
/external/llvm-project/llvm/lib/Transforms/Utils/ |
D | FunctionImportUtils.cpp | 242 auto *GVS = dyn_cast_or_null<GlobalVarSummary>( in processGlobalForThinLTO() local 244 if (GVS && in processGlobalForThinLTO() 245 (ImportIndex.isReadOnly(GVS) || ImportIndex.isWriteOnly(GVS))) { in processGlobalForThinLTO() 254 if (ImportIndex.isWriteOnly(GVS)) in processGlobalForThinLTO()
|
/external/llvm-project/llvm/lib/Analysis/ |
D | StackSafetyAnalysis.cpp | 617 for (const auto& GVS : SummaryList) { in findCalleeFunctionSummary() local 618 if (!GVS->isLive()) in findCalleeFunctionSummary() 620 if (const AliasSummary *AS = dyn_cast<AliasSummary>(GVS.get())) in findCalleeFunctionSummary() 623 if (!isa<FunctionSummary>(GVS->getBaseObject())) in findCalleeFunctionSummary() 625 if (GlobalValue::isLocalLinkage(GVS->linkage())) { in findCalleeFunctionSummary() 626 if (GVS->modulePath() == ModuleId) { in findCalleeFunctionSummary() 627 S = GVS.get(); in findCalleeFunctionSummary() 630 } else if (GlobalValue::isExternalLinkage(GVS->linkage())) { in findCalleeFunctionSummary() 635 S = GVS.get(); in findCalleeFunctionSummary() 636 } else if (GlobalValue::isWeakLinkage(GVS->linkage())) { in findCalleeFunctionSummary() [all …]
|
/external/llvm/include/llvm/IR/ |
D | ModuleSummaryIndex.h | 213 static bool classof(const GlobalValueSummary *GVS) { in classof() argument 214 return GVS->getSummaryKind() == AliasKind; in classof() 250 static bool classof(const GlobalValueSummary *GVS) { in classof() argument 251 return GVS->getSummaryKind() == FunctionKind; in classof() 296 static bool classof(const GlobalValueSummary *GVS) { in classof() argument 297 return GVS->getSummaryKind() == GlobalVarKind; in classof()
|
/external/tensorflow/tensorflow/compiler/xla/service/cpu/ |
D | mlir_emitter.cc | 125 [](llvm::Module &M, const llvm::StringSet<> &GVS) { in EmitMlirFuncAndCall() argument 126 llvm::internalizeModule(M, [&GVS](const llvm::GlobalValue &GV) { in EmitMlirFuncAndCall() 127 return !GV.hasName() || (GVS.count(GV.getName()) == 0); in EmitMlirFuncAndCall()
|
/external/llvm-project/llvm/include/llvm/IR/ |
D | ModuleSummaryIndex.h | 443 static bool classof(const GlobalValueSummary *GVS) { 444 return GVS->getSummaryKind() == AliasKind; 662 static bool classof(const GlobalValueSummary *GVS) { 663 return GVS->getSummaryKind() == FunctionKind; 855 static bool classof(const GlobalValueSummary *GVS) { 856 return GVS->getSummaryKind() == GlobalVarKind; 1195 bool isReadOnly(const GlobalVarSummary *GVS) const { 1196 return WithAttributePropagation && GVS->maybeReadOnly(); 1198 bool isWriteOnly(const GlobalVarSummary *GVS) const { 1199 return WithAttributePropagation && GVS->maybeWriteOnly(); [all …]
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/ |
D | ModuleSummaryIndex.h | 442 static bool classof(const GlobalValueSummary *GVS) { 443 return GVS->getSummaryKind() == AliasKind; 619 static bool classof(const GlobalValueSummary *GVS) { 620 return GVS->getSummaryKind() == FunctionKind; 776 static bool classof(const GlobalValueSummary *GVS) { 777 return GVS->getSummaryKind() == GlobalVarKind; 1088 bool isReadOnly(const GlobalVarSummary *GVS) const { 1089 return WithAttributePropagation && GVS->maybeReadOnly(); 1091 bool isWriteOnly(const GlobalVarSummary *GVS) const { 1092 return WithAttributePropagation && GVS->maybeWriteOnly(); [all …]
|
/external/llvm-project/llvm/tools/llvm-link/ |
D | llvm-link.cpp | 405 std::move(M), ApplicableFlags, [](Module &M, const StringSet<> &GVS) { in linkFiles() argument 406 internalizeModule(M, [&GVS](const GlobalValue &GV) { in linkFiles() 407 return !GV.hasName() || (GVS.count(GV.getName()) == 0); in linkFiles()
|
/external/llvm-project/llvm/lib/Transforms/IPO/ |
D | FunctionImport.cpp | 640 auto *GVS = dyn_cast_or_null<GlobalVarSummary>( in checkVariableImport() local 642 return GVS && (Index.isReadOnly(GVS) || Index.isWriteOnly(GVS)); in checkVariableImport() 693 if (auto *GVS = dyn_cast<GlobalVarSummary>(S)) { in ComputeCrossModuleImport() local 698 if (!Index.isWriteOnly(GVS)) in ComputeCrossModuleImport() 699 for (const auto &VI : GVS->refs()) in ComputeCrossModuleImport()
|
D | LowerTypeTests.cpp | 1905 for (auto &GVS : I.second.SummaryList) in lower() local 1906 if (GVS->isLive()) in lower() 1907 for (auto &Ref : GVS->refs()) in lower() 1933 for (auto &GVS : VI.getSummaryList()) in lower() local 1934 if (GVS->isLive() && !GlobalValue::isLocalLinkage(GVS->linkage())) in lower()
|
/external/llvm/lib/Transforms/IPO/ |
D | FunctionImport.cpp | 243 auto GVS = dyn_cast<GlobalVarSummary>(Summary); in exportGlobalInModule() local 244 if (!GVS) in exportGlobalInModule() 251 for (auto &Ref : GVS->refs()) { in exportGlobalInModule()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/IPO/ |
D | FunctionImport.cpp | 650 auto *GVS = dyn_cast_or_null<GlobalVarSummary>( in checkVariableImport() local 652 return GVS && (Index.isReadOnly(GVS) || Index.isWriteOnly(GVS)); in checkVariableImport()
|
D | LowerTypeTests.cpp | 1846 for (auto &GVS : I.second.SummaryList) in lower() local 1847 if (GVS->isLive()) in lower() 1848 for (auto &Ref : GVS->refs()) in lower() 1874 for (auto &GVS : VI.getSummaryList()) in lower() local 1875 if (GVS->isLive() && !GlobalValue::isLocalLinkage(GVS->linkage())) in lower()
|
/external/tensorflow/tensorflow/compiler/xla/service/gpu/llvm_gpu_backend/ |
D | gpu_backend_lib.cc | 303 [](llvm::Module& M, const llvm::StringSet<>& GVS) { in LinkWithBitcodeVector() argument 304 internalizeModule(M, [&GVS](const llvm::GlobalValue& GV) { in LinkWithBitcodeVector() 305 return !GV.hasName() || (GVS.count(GV.getName()) == 0); in LinkWithBitcodeVector()
|
/external/llvm-project/clang/lib/CodeGen/ |
D | CodeGenAction.cpp | 266 [](llvm::Module &M, const llvm::StringSet<> &GVS) { in LinkInModules() argument 267 internalizeModule(M, [&GVS](const llvm::GlobalValue &GV) { in LinkInModules() 268 return !GV.hasName() || (GVS.count(GV.getName()) == 0); in LinkInModules()
|
/external/cldr/tools/java/org/unicode/cldr/util/data/external/ |
D | 2013-1_UNLOCODE_CodeListPart2.csv | 2138 ,"GB","GVS","Gravesend","Gravesend","KEN","1-------","AF","9511",,, 7139 ,"HT","GVS","Gona�ves","Gonaives",,"1-------","AI","9401",,, 12649 "+","IT","GVS","Gudo Visconti","Gudo Visconti","MI","--3-----","RL","1301",,"4523N 00900E",
|
D | 2013-1_UNLOCODE_CodeListPart3.csv | 4731 ,"RU","GVS","Gusevskiy","Gusevskiy","VLA","--3-----","RL","0701",,"5540N 04033E","" 15514 ,"US","GVS","Galva","Galva","IL","--3-----","RL","0901",,"4110N 09002W",
|