/external/llvm-project/llvm/lib/IR/ |
D | ModuleSummaryIndex.cpp | 187 if (auto *GVS = dyn_cast<GlobalVarSummary>(Ref->getBaseObject())) { in propagateAttributesToRefs() 254 if (auto *GVS = dyn_cast<GlobalVarSummary>(S->getBaseObject())) in propagateAttributes() 269 if (auto *GVS = dyn_cast<GlobalVarSummary>( in propagateAttributes() 281 auto HasRefsPreventingImport = [this](const GlobalVarSummary *GVS) { in canImportGlobalVar() 299 auto *GVS = cast<GlobalVarSummary>(S->getBaseObject()); in canImportGlobalVar() 470 if (auto *GVS = dyn_cast<GlobalVarSummary>(S)) in hasReadOnlyFlag() 476 if (auto *GVS = dyn_cast<GlobalVarSummary>(S)) in hasWriteOnlyFlag() 482 if (auto *GVS = dyn_cast<GlobalVarSummary>(S)) in hasConstantFlag()
|
D | AsmWriter.cpp | 2612 void printGlobalVarSummary(const GlobalVarSummary *GS); 3105 void AssemblyWriter::printGlobalVarSummary(const GlobalVarSummary *GS) { in printGlobalVarSummary() 3344 printGlobalVarSummary(cast<GlobalVarSummary>(&Summary)); in printSummary()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/IR/ |
D | ModuleSummaryIndex.cpp | 128 if (auto *GVS = dyn_cast<GlobalVarSummary>(Ref->getBaseObject())) { in propagateAttributesToRefs() 182 if (auto *GVS = dyn_cast<GlobalVarSummary>(S->getBaseObject())) in propagateAttributes() 197 if (auto *GVS = dyn_cast<GlobalVarSummary>( in propagateAttributes() 209 auto HasRefsPreventingImport = [this](const GlobalVarSummary *GVS) { in canImportGlobalVar() 226 auto *GVS = cast<GlobalVarSummary>(S->getBaseObject()); in canImportGlobalVar() 397 if (auto *GVS = dyn_cast<GlobalVarSummary>(S)) in hasReadOnlyFlag() 403 if (auto *GVS = dyn_cast<GlobalVarSummary>(S)) in hasWriteOnlyFlag()
|
D | AsmWriter.cpp | 2423 void printGlobalVarSummary(const GlobalVarSummary *GS); 2904 void AssemblyWriter::printGlobalVarSummary(const GlobalVarSummary *GS) { in printGlobalVarSummary() 3107 printGlobalVarSummary(cast<GlobalVarSummary>(&Summary)); in printSummary()
|
/external/llvm/lib/Analysis/ |
D | ModuleSummaryAnalysis.cpp | 112 std::unique_ptr<GlobalVarSummary> GVarSummary = in computeVariableSummary() 113 llvm::make_unique<GlobalVarSummary>(Flags); in computeVariableSummary()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/ |
D | ModuleSummaryAnalysis.cpp | 602 GlobalVarSummary::GVarFlags VarFlags(CanBeInternalized, CanBeInternalized); in computeVariableSummary() 603 auto GVarSummary = std::make_unique<GlobalVarSummary>(Flags, VarFlags, in computeVariableSummary() 719 std::unique_ptr<GlobalVarSummary> Summary = in buildModuleSummaryIndex() 720 std::make_unique<GlobalVarSummary>( in buildModuleSummaryIndex() 721 GVFlags, GlobalVarSummary::GVarFlags(false, false), in buildModuleSummaryIndex()
|
/external/llvm-project/llvm/lib/Analysis/ |
D | ModuleSummaryAnalysis.cpp | 607 GlobalVarSummary::GVarFlags VarFlags(CanBeInternalized, in computeVariableSummary() 610 auto GVarSummary = std::make_unique<GlobalVarSummary>(Flags, VarFlags, in computeVariableSummary() 728 std::unique_ptr<GlobalVarSummary> Summary = in buildModuleSummaryIndex() 729 std::make_unique<GlobalVarSummary>( in buildModuleSummaryIndex() 731 GlobalVarSummary::GVarFlags( in buildModuleSummaryIndex()
|
/external/llvm/include/llvm/IR/ |
D | ModuleSummaryIndex.h | 289 class GlobalVarSummary : public GlobalValueSummary { 293 GlobalVarSummary(GVFlags Flags) : GlobalValueSummary(GlobalVarKind, Flags) {} in GlobalVarSummary() function
|
/external/llvm-project/llvm/include/llvm/IR/ |
D | ModuleSummaryIndex.h | 812 class GlobalVarSummary : public GlobalValueSummary { 849 GlobalVarSummary(GVFlags Flags, GVarFlags VarFlags, 1195 bool isReadOnly(const GlobalVarSummary *GVS) const { 1198 bool isWriteOnly(const GlobalVarSummary *GVS) const {
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/ |
D | ModuleSummaryIndex.h | 752 class GlobalVarSummary : public GlobalValueSummary { 770 GlobalVarSummary(GVFlags Flags, GVarFlags VarFlags, 1088 bool isReadOnly(const GlobalVarSummary *GVS) const { 1091 bool isWriteOnly(const GlobalVarSummary *GVS) const {
|
/external/llvm-project/llvm/lib/Transforms/IPO/ |
D | FunctionImport.cpp | 311 if (isa<GlobalVarSummary>(RefSummary.get()) && in computeImportForReferencedGlobals() 328 if (!Index.isWriteOnly(cast<GlobalVarSummary>(RefSummary.get()))) in computeImportForReferencedGlobals() 640 auto *GVS = dyn_cast_or_null<GlobalVarSummary>( in checkVariableImport() 693 if (auto *GVS = dyn_cast<GlobalVarSummary>(S)) { in ComputeCrossModuleImport()
|
D | WholeProgramDevirt.cpp | 803 auto *GVar = dyn_cast<GlobalVarSummary>(S.get()); in updateVCallVisibilityInIndex() 1002 const GlobalVarSummary *VS = nullptr; in tryFindVirtualCallTargets() 1011 VS = cast<GlobalVarSummary>(S->getBaseObject()); in tryFindVirtualCallTargets()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/ |
D | FunctionImportUtils.cpp | 249 auto *GVS = dyn_cast_or_null<GlobalVarSummary>( in processGlobalForThinLTO()
|
/external/llvm-project/llvm/lib/Transforms/Utils/ |
D | FunctionImportUtils.cpp | 242 auto *GVS = dyn_cast_or_null<GlobalVarSummary>( in processGlobalForThinLTO()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/IPO/ |
D | FunctionImport.cpp | 315 if (isa<GlobalVarSummary>(RefSummary.get()) && in computeImportForReferencedGlobals() 327 if (!Index.isWriteOnly(cast<GlobalVarSummary>(RefSummary.get()))) in computeImportForReferencedGlobals() 650 auto *GVS = dyn_cast_or_null<GlobalVarSummary>( in checkVariableImport()
|
D | WholeProgramDevirt.cpp | 858 const GlobalVarSummary *VS = nullptr; in tryFindVirtualCallTargets() 867 VS = cast<GlobalVarSummary>(S->getBaseObject()); in tryFindVirtualCallTargets()
|
/external/llvm/lib/Transforms/IPO/ |
D | FunctionImport.cpp | 243 auto GVS = dyn_cast<GlobalVarSummary>(Summary); in exportGlobalInModule()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/LTO/ |
D | LTO.cpp | 199 if (auto *GVS = dyn_cast<GlobalVarSummary>(GS)) { in computeLTOCacheKey() 381 if (auto *VarSummary = dyn_cast<GlobalVarSummary>(GVS->getBaseObject())) in isWeakObjectWithRWAccess()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Bitcode/Reader/ |
D | BitcodeReader.cpp | 987 static GlobalVarSummary::GVarFlags getDecodedGVarFlags(uint64_t RawFlags) { in getDecodedGVarFlags() 988 return GlobalVarSummary::GVarFlags((RawFlags & 0x1) ? true : false, in getDecodedGVarFlags() 5967 GlobalVarSummary::GVarFlags GVF(/* ReadOnly */ false, in parseEntireSummary() 5977 std::make_unique<GlobalVarSummary>(Flags, GVF, std::move(Refs)); in parseEntireSummary() 5990 GlobalVarSummary::GVarFlags GVF = getDecodedGVarFlags(Record[2]); in parseEntireSummary() 6004 std::make_unique<GlobalVarSummary>(Flags, GVF, std::move(Refs)); in parseEntireSummary() 6103 GlobalVarSummary::GVarFlags GVF(/* ReadOnly */ false, in parseEntireSummary() 6113 std::make_unique<GlobalVarSummary>(Flags, GVF, std::move(Refs)); in parseEntireSummary()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/AsmParser/ |
D | LLParser.h | 355 bool ParseGVarFlags(GlobalVarSummary::GVarFlags &GVarFlags);
|
/external/llvm-project/llvm/lib/AsmParser/ |
D | LLParser.h | 348 bool parseGVarFlags(GlobalVarSummary::GVarFlags &GVarFlags);
|
/external/llvm-project/llvm/lib/LTO/ |
D | LTO.cpp | 212 if (auto *GVS = dyn_cast<GlobalVarSummary>(GS)) { in computeLTOCacheKey() 394 if (auto *VarSummary = dyn_cast<GlobalVarSummary>(GVS->getBaseObject())) in isWeakObjectWithRWAccess()
|
/external/llvm-project/llvm/lib/Bitcode/Reader/ |
D | BitcodeReader.cpp | 991 static GlobalVarSummary::GVarFlags getDecodedGVarFlags(uint64_t RawFlags) { in getDecodedGVarFlags() 992 return GlobalVarSummary::GVarFlags( in getDecodedGVarFlags() 6180 GlobalVarSummary::GVarFlags GVF(/* ReadOnly */ false, in parseEntireSummary() 6192 std::make_unique<GlobalVarSummary>(Flags, GVF, std::move(Refs)); in parseEntireSummary() 6205 GlobalVarSummary::GVarFlags GVF = getDecodedGVarFlags(Record[2]); in parseEntireSummary() 6219 std::make_unique<GlobalVarSummary>(Flags, GVF, std::move(Refs)); in parseEntireSummary() 6319 GlobalVarSummary::GVarFlags GVF(/* ReadOnly */ false, in parseEntireSummary() 6331 std::make_unique<GlobalVarSummary>(Flags, GVF, std::move(Refs)); in parseEntireSummary()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Bitcode/Writer/ |
D | BitcodeWriter.cpp | 1030 static uint64_t getEncodedGVarFlags(GlobalVarSummary::GVarFlags Flags) { in getEncodedGVarFlags() 3698 GlobalVarSummary *VS = cast<GlobalVarSummary>(Summary); in writeModuleLevelReferences() 4017 if (auto *VS = dyn_cast<GlobalVarSummary>(S)) { in writeCombinedGlobalValueSummary()
|
/external/llvm/lib/Bitcode/Writer/ |
D | BitcodeWriter.cpp | 3255 GlobalVarSummary *VS = cast<GlobalVarSummary>(Summary); in writeModuleLevelReferences() 3447 if (auto *VS = dyn_cast<GlobalVarSummary>(S)) { in writeCombinedGlobalValueSummary()
|