/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Hexagon/ |
H A D | HexagonTargetObjectFile.cpp | 128 const GlobalObject *GO, SectionKind Kind, const TargetMachine &TM) const { in SelectSectionForGlobal() 129 TRACE("[SelectSectionForGlobal] GO(" << GO->getName() << ") "); in SelectSectionForGlobal() 130 TRACE("input section(" << GO->getSection() << ") "); in SelectSectionForGlobal() 132 TRACE((GO->hasPrivateLinkage() ? "private_linkage " : "") in SelectSectionForGlobal() 133 << (GO->hasLocalLinkage() ? "local_linkage " : "") in SelectSectionForGlobal() 134 << (GO->hasInternalLinkage() ? "internal " : "") in SelectSectionForGlobal() 135 << (GO->hasExternalLinkage() ? "external " : "") in SelectSectionForGlobal() 136 << (GO->hasCommonLinkage() ? "common_linkage " : "") in SelectSectionForGlobal() 137 << (GO in SelectSectionForGlobal() 127 SelectSectionForGlobal( const GlobalObject *GO, SectionKind Kind, const TargetMachine &TM) const SelectSectionForGlobal() argument 165 getExplicitSectionGlobal( const GlobalObject *GO, SectionKind Kind, const TargetMachine &TM) const getExplicitSectionGlobal() argument 199 isGlobalInSmallSection(const GlobalObject *GO, const TargetMachine &TM) const isGlobalInSmallSection() argument 339 selectSmallSectionForGlobal( const GlobalObject *GO, SectionKind Kind, const TargetMachine &TM) const selectSmallSectionForGlobal() argument 447 selectSectionForLookupTable( const GlobalObject *GO, const TargetMachine &TM, const Function *Fn) const selectSectionForLookupTable() argument [all...] |
H A D | HexagonTargetObjectFile.h | 21 MCSection *SelectSectionForGlobal(const GlobalObject *GO, SectionKind Kind, 24 MCSection *getExplicitSectionGlobal(const GlobalObject *GO, 28 bool isGlobalInSmallSection(const GlobalObject *GO, 38 const Function *getLutUsedFunction(const GlobalObject *GO) const; 47 MCSection *selectSmallSectionForGlobal(const GlobalObject *GO, 51 MCSection *selectSectionForLookupTable(const GlobalObject *GO,
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Lanai/ |
H A D | LanaiTargetObjectFile.cpp | 51 const GlobalObject *GO, const TargetMachine &TM) const { in isGlobalInSmallSection() 52 if (GO == nullptr) return TM.getCodeModel() == CodeModel::Small; in isGlobalInSmallSection() 57 if (GO->isDeclaration() || GO->hasAvailableExternallyLinkage()) in isGlobalInSmallSection() 58 return isGlobalInSmallSectionImpl(GO, TM); in isGlobalInSmallSection() 60 return isGlobalInSmallSection(GO, TM, getKindForGlobal(GO, TM)); in isGlobalInSmallSection() 65 bool LanaiTargetObjectFile::isGlobalInSmallSection(const GlobalObject *GO, in isGlobalInSmallSection() argument 68 return isGlobalInSmallSectionImpl(GO, TM); in isGlobalInSmallSection() 75 const GlobalObject *GO, cons in isGlobalInSmallSectionImpl() 50 isGlobalInSmallSection( const GlobalObject *GO, const TargetMachine &TM) const isGlobalInSmallSection() argument 74 isGlobalInSmallSectionImpl( const GlobalObject *GO, const TargetMachine &TM) const isGlobalInSmallSectionImpl() argument 102 SelectSectionForGlobal( const GlobalObject *GO, SectionKind Kind, const TargetMachine &TM) const SelectSectionForGlobal() argument [all...] |
H A D | LanaiTargetObjectFile.h | 20 bool isGlobalInSmallSection(const GlobalObject *GO, const TargetMachine &TM, 22 bool isGlobalInSmallSectionImpl(const GlobalObject *GO, 30 bool isGlobalInSmallSection(const GlobalObject *GO, 33 MCSection *SelectSectionForGlobal(const GlobalObject *GO, SectionKind Kind,
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Mips/ |
H A D | MipsTargetObjectFile.cpp | 71 const GlobalObject *GO, const TargetMachine &TM) const { in IsGlobalInSmallSection() 75 if (GO->isDeclaration() || GO->hasAvailableExternallyLinkage()) in IsGlobalInSmallSection() 76 return IsGlobalInSmallSectionImpl(GO, TM); in IsGlobalInSmallSection() 78 return IsGlobalInSmallSection(GO, TM, getKindForGlobal(GO, TM)); in IsGlobalInSmallSection() 84 IsGlobalInSmallSection(const GlobalObject *GO, const TargetMachine &TM, in IsGlobalInSmallSection() argument 86 return IsGlobalInSmallSectionImpl(GO, TM) && in IsGlobalInSmallSection() 95 IsGlobalInSmallSectionImpl(const GlobalObject *GO, in IsGlobalInSmallSectionImpl() argument 105 const GlobalVariable *GVA = dyn_cast<GlobalVariable>(GO); in IsGlobalInSmallSectionImpl() 70 IsGlobalInSmallSection( const GlobalObject *GO, const TargetMachine &TM) const IsGlobalInSmallSection() argument 150 SelectSectionForGlobal( const GlobalObject *GO, SectionKind Kind, const TargetMachine &TM) const SelectSectionForGlobal() argument [all...] |
H A D | MipsTargetObjectFile.h | 21 bool IsGlobalInSmallSection(const GlobalObject *GO, const TargetMachine &TM, 23 bool IsGlobalInSmallSectionImpl(const GlobalObject *GO, 31 bool IsGlobalInSmallSection(const GlobalObject *GO, 34 MCSection *SelectSectionForGlobal(const GlobalObject *GO, SectionKind Kind,
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARM/ |
H A D | ARMTargetObjectFile.cpp | 75 static bool isExecuteOnlyFunction(const GlobalObject *GO, SectionKind SK, in isExecuteOnlyFunction() argument 77 if (const Function *F = dyn_cast<Function>(GO)) in isExecuteOnlyFunction() 84 const GlobalObject *GO, SectionKind SK, const TargetMachine &TM) const { in getExplicitSectionGlobal() 86 if (isExecuteOnlyFunction(GO, SK, TM)) in getExplicitSectionGlobal() 89 return TargetLoweringObjectFileELF::getExplicitSectionGlobal(GO, SK, TM); in getExplicitSectionGlobal() 93 const GlobalObject *GO, SectionKind SK, const TargetMachine &TM) const { in SelectSectionForGlobal() 95 if (isExecuteOnlyFunction(GO, SK, TM)) in SelectSectionForGlobal() 98 return TargetLoweringObjectFileELF::SelectSectionForGlobal(GO, SK, TM); in SelectSectionForGlobal() 83 getExplicitSectionGlobal( const GlobalObject *GO, SectionKind SK, const TargetMachine &TM) const getExplicitSectionGlobal() argument 92 SelectSectionForGlobal( const GlobalObject *GO, SectionKind SK, const TargetMachine &TM) const SelectSectionForGlobal() argument
|
H A D | ARMTargetObjectFile.h | 35 MCSection *getExplicitSectionGlobal(const GlobalObject *GO, SectionKind Kind, 38 MCSection *SelectSectionForGlobal(const GlobalObject *GO, SectionKind Kind,
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/ |
H A D | TargetLoweringObjectFileImpl.cpp | 515 static const MCSymbolELF *getAssociatedSymbol(const GlobalObject *GO, in getAssociatedSymbol() argument 517 MDNode *MD = GO->getMetadata(LLVMContext::MD_associated); in getAssociatedSymbol() 558 const GlobalObject *GO, SectionKind Kind, const TargetMachine &TM) const { in getExplicitSectionGlobal() 559 StringRef SectionName = GO->getSection(); in getExplicitSectionGlobal() 564 const GlobalVariable *GV = dyn_cast<GlobalVariable>(GO); in getExplicitSectionGlobal() 577 const Function *F = dyn_cast<Function>(GO); in getExplicitSectionGlobal() 587 if (const Comdat *C = getELFComdat(GO)) { in getExplicitSectionGlobal() 595 const MCSymbolELF *AssociatedSymbol = getAssociatedSymbol(GO, TM); in getExplicitSectionGlobal() 631 MCContext &Ctx, const GlobalObject *GO, SectionKind Kind, Mangler &Mang, in selectELFSectionForGlobal() 636 if (const Comdat *C = getELFComdat(GO)) { in selectELFSectionForGlobal() 557 getExplicitSectionGlobal( const GlobalObject *GO, SectionKind Kind, const TargetMachine &TM) const getExplicitSectionGlobal() argument 630 selectELFSectionForGlobal( MCContext &Ctx, const GlobalObject *GO, SectionKind Kind, Mangler &Mang, const TargetMachine &TM, bool EmitUniqueSection, unsigned Flags, unsigned *NextUniqueID, const MCSymbolELF *AssociatedSymbol) selectELFSectionForGlobal() argument 684 SelectSectionForGlobal( const GlobalObject *GO, SectionKind Kind, const TargetMachine &TM) const SelectSectionForGlobal() argument 937 getExplicitSectionGlobal( const GlobalObject *GO, SectionKind Kind, const TargetMachine &TM) const getExplicitSectionGlobal() argument 978 SelectSectionForGlobal( const GlobalObject *GO, SectionKind Kind, const TargetMachine &TM) const SelectSectionForGlobal() argument 1299 getExplicitSectionGlobal( const GlobalObject *GO, SectionKind Kind, const TargetMachine &TM) const getExplicitSectionGlobal() argument 1338 SelectSectionForGlobal( const GlobalObject *GO, SectionKind Kind, const TargetMachine &TM) const SelectSectionForGlobal() argument 1704 getExplicitSectionGlobal( const GlobalObject *GO, SectionKind Kind, const TargetMachine &TM) const getExplicitSectionGlobal() argument 1728 selectWasmSectionForGlobal( MCContext &Ctx, const GlobalObject *GO, SectionKind Kind, Mangler &Mang, const TargetMachine &TM, bool EmitUniqueSection, unsigned *NextUniqueID) selectWasmSectionForGlobal() argument 1758 SelectSectionForGlobal( const GlobalObject *GO, SectionKind Kind, const TargetMachine &TM) const SelectSectionForGlobal() argument 1830 getExplicitSectionGlobal( const GlobalObject *GO, SectionKind Kind, const TargetMachine &TM) const getExplicitSectionGlobal() argument 1835 SelectSectionForGlobal( const GlobalObject *GO, SectionKind Kind, const TargetMachine &TM) const SelectSectionForGlobal() argument 1938 getStorageClassForGlobal( const GlobalObject *GO) getStorageClassForGlobal() argument [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/ |
H A D | AMDGPUTargetObjectFile.cpp | 24 const GlobalObject *GO, SectionKind Kind, const TargetMachine &TM) const { in SelectSectionForGlobal() 25 if (Kind.isReadOnly() && AMDGPU::isReadOnlySegment(GO) && in SelectSectionForGlobal() 29 return TargetLoweringObjectFileELF::SelectSectionForGlobal(GO, Kind, TM); in SelectSectionForGlobal() 33 const GlobalObject *GO, SectionKind SK, const TargetMachine &TM) const { in getExplicitSectionGlobal() 35 StringRef SectionName = GO->getSection(); in getExplicitSectionGlobal() 39 return TargetLoweringObjectFileELF::getExplicitSectionGlobal(GO, SK, TM); in getExplicitSectionGlobal() 23 SelectSectionForGlobal( const GlobalObject *GO, SectionKind Kind, const TargetMachine &TM) const SelectSectionForGlobal() argument 32 getExplicitSectionGlobal( const GlobalObject *GO, SectionKind SK, const TargetMachine &TM) const getExplicitSectionGlobal() argument
|
H A D | AMDGPUTargetObjectFile.h | 26 MCSection *SelectSectionForGlobal(const GlobalObject *GO, SectionKind Kind, 28 MCSection *getExplicitSectionGlobal(const GlobalObject *GO, SectionKind Kind,
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ |
H A D | TargetLoweringObjectFile.cpp | 143 SectionKind TargetLoweringObjectFile::getKindForGlobal(const GlobalObject *GO, in getKindForGlobal() argument 145 assert(!GO->isDeclaration() && !GO->hasAvailableExternallyLinkage() && in getKindForGlobal() 149 if (isa<Function>(GO)) in getKindForGlobal() 153 const auto *GVar = cast<GlobalVariable>(GO); in getKindForGlobal() 247 const GlobalObject *GO, SectionKind Kind, const TargetMachine &TM) const { in SectionForGlobal() 249 if (GO->hasSection()) in SectionForGlobal() 250 return getExplicitSectionGlobal(GO, Kind, TM); in SectionForGlobal() 252 if (auto *GVar = dyn_cast<GlobalVariable>(GO)) { in SectionForGlobal() 258 return getExplicitSectionGlobal(GO, Kin in SectionForGlobal() 246 SectionForGlobal( const GlobalObject *GO, SectionKind Kind, const TargetMachine &TM) const SectionForGlobal() argument [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/RISCV/ |
H A D | RISCVTargetObjectFile.cpp | 40 const GlobalObject *GO, const TargetMachine &TM) const { in isGlobalInSmallSection() 42 const GlobalVariable *GVA = dyn_cast<GlobalVariable>(GO); in isGlobalInSmallSection() 76 const GlobalObject *GO, SectionKind Kind, const TargetMachine &TM) const { in SelectSectionForGlobal() 78 if (Kind.isBSS() && isGlobalInSmallSection(GO, TM)) in SelectSectionForGlobal() 80 if (Kind.isData() && isGlobalInSmallSection(GO, TM)) in SelectSectionForGlobal() 84 return TargetLoweringObjectFileELF::SelectSectionForGlobal(GO, Kind, TM); in SelectSectionForGlobal() 39 isGlobalInSmallSection( const GlobalObject *GO, const TargetMachine &TM) const isGlobalInSmallSection() argument 75 SelectSectionForGlobal( const GlobalObject *GO, SectionKind Kind, const TargetMachine &TM) const SelectSectionForGlobal() argument
|
H A D | RISCVTargetObjectFile.h | 28 bool isGlobalInSmallSection(const GlobalObject *GO, 31 MCSection *SelectSectionForGlobal(const GlobalObject *GO, SectionKind Kind,
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/IR/ |
H A D | Globals.cpp | 100 if (const GlobalObject *GO = GA->getBaseObject()) in getAlignment() 101 return GO->getAlignment(); in getAlignment() 168 if (const GlobalObject *GO = GA->getBaseObject()) in getSection() 169 return GO->getSection(); in getSection() 178 if (const GlobalObject *GO = GA->getBaseObject()) in getComdat() 179 return const_cast<GlobalObject *>(GO)->getComdat(); in getComdat() 287 if (auto *GO = dyn_cast<GlobalObject>(this)) in getBaseObject() 288 return GO; in getBaseObject() 295 auto *GO = dyn_cast<GlobalObject>(this); in isAbsoluteSymbolRef() local 296 if (!GO) in isAbsoluteSymbolRef() 303 auto *GO = dyn_cast<GlobalObject>(this); getAbsoluteSymbolRange() local [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/ |
H A D | FunctionImportUtils.cpp | 286 auto *GO = dyn_cast<GlobalObject>(&GV); in processGlobalForThinLTO() local 287 if (GO && GO->isDeclarationForLinker() && GO->hasComdat()) { in processGlobalForThinLTO() 291 assert(GO->hasAvailableExternallyLinkage() && in processGlobalForThinLTO() 293 GO->setComdat(nullptr); in processGlobalForThinLTO() 308 for (auto &GO : M.global_objects()) in processGlobalsForThinLTO() 309 if (auto *C = GO.getComdat()) { in processGlobalsForThinLTO() 312 GO.setComdat(Replacement->second); in processGlobalsForThinLTO()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/ |
H A D | TargetLoweringObjectFileImpl.h | 59 MCSection *getExplicitSectionGlobal(const GlobalObject *GO, SectionKind Kind, 62 MCSection *SelectSectionForGlobal(const GlobalObject *GO, SectionKind Kind, 107 MCSection *SelectSectionForGlobal(const GlobalObject *GO, SectionKind Kind, 110 MCSection *getExplicitSectionGlobal(const GlobalObject *GO, SectionKind Kind, 147 MCSection *getExplicitSectionGlobal(const GlobalObject *GO, SectionKind Kind, 150 MCSection *SelectSectionForGlobal(const GlobalObject *GO, SectionKind Kind, 191 MCSection *getExplicitSectionGlobal(const GlobalObject *GO, SectionKind Kind, 194 MCSection *SelectSectionForGlobal(const GlobalObject *GO, SectionKind Kind, 221 MCSection *getExplicitSectionGlobal(const GlobalObject *GO, SectionKind Kind, 233 MCSection *SelectSectionForGlobal(const GlobalObject *GO, SectionKin [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AVR/ |
H A D | AVRTargetObjectFile.cpp | 28 AVRTargetObjectFile::SelectSectionForGlobal(const GlobalObject *GO, in SelectSectionForGlobal() argument 33 if (AVR::isProgramMemoryAddress(GO) && !GO->hasSection()) in SelectSectionForGlobal() 37 return Base::SelectSectionForGlobal(GO, Kind, TM); in SelectSectionForGlobal()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Target/ |
H A D | TargetLoweringObjectFile.h | 95 static SectionKind getKindForGlobal(const GlobalObject *GO, 101 MCSection *SectionForGlobal(const GlobalObject *GO, SectionKind Kind, 107 MCSection *SectionForGlobal(const GlobalObject *GO, in SectionForGlobal() argument 109 return SectionForGlobal(GO, getKindForGlobal(GO, TM), TM); in SectionForGlobal() 124 /// assume that GO->hasSection() is true. 126 getExplicitSectionGlobal(const GlobalObject *GO, SectionKind Kind, 216 virtual MCSection *SelectSectionForGlobal(const GlobalObject *GO,
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/XCore/ |
H A D | XCoreTargetObjectFile.cpp | 98 const GlobalObject *GO, SectionKind Kind, const TargetMachine &TM) const { in getExplicitSectionGlobal() 99 StringRef SectionName = GO->getSection(); in getExplicitSectionGlobal() 109 const GlobalObject *GO, SectionKind Kind, const TargetMachine &TM) const { in SelectSectionForGlobal() 111 bool UseCPRel = GO->hasLocalLinkage(); in SelectSectionForGlobal() 120 Type *ObjType = GO->getValueType(); in SelectSectionForGlobal() 121 auto &DL = GO->getParent()->getDataLayout(); in SelectSectionForGlobal() 97 getExplicitSectionGlobal( const GlobalObject *GO, SectionKind Kind, const TargetMachine &TM) const getExplicitSectionGlobal() argument 108 SelectSectionForGlobal( const GlobalObject *GO, SectionKind Kind, const TargetMachine &TM) const SelectSectionForGlobal() argument
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/IPO/ |
H A D | ThinLTOBitcodeWriter.cpp | 74 for (auto &GO : ExportM.global_objects()) in promoteInternals() 75 if (auto *C = GO.getComdat()) { in promoteInternals() 78 GO.setComdat(Replacement->second); in promoteInternals() 121 for (GlobalObject &GO : M.global_objects()) { in promoteTypeIds() 123 GO.getMetadata(LLVMContext::MD_type, MDs); in promoteTypeIds() 125 GO.eraseMetadata(LLVMContext::MD_type); in promoteTypeIds() 129 GO.addMetadata(LLVMContext::MD_type, *MD); in promoteTypeIds() 132 GO.addMetadata( in promoteTypeIds() 229 auto HasTypeMetadata = [](const GlobalObject *GO) { in splitAndWriteThinLTOBitcode() 230 if (MDNode *MD = GO in splitAndWriteThinLTOBitcode() [all...] |
H A D | GlobalDCE.cpp | 193 if (auto GO = dyn_cast<GlobalObject>(&GV)) { in ScanVTables() 194 GlobalObject::VCallVisibility TypeVis = GO->getVCallVisibility(); in ScanVTables() 310 for (GlobalObject &GO : M.global_objects()) { in run() 311 Changed |= RemoveUnusedGlobalValue(GO); in run() 315 if (!GO.isDeclaration()) in run() 316 if (!GO.isDiscardableIfUnused()) in run() 317 MarkLive(GO); in run() 319 UpdateGVDependencies(GO); in run()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/PowerPC/ |
H A D | PPCTargetObjectFile.cpp | 25 const GlobalObject *GO, SectionKind Kind, const TargetMachine &TM) const { in SelectSectionForGlobal() 41 const auto *GVar = dyn_cast<GlobalVariable>(GO); in SelectSectionForGlobal() 47 return TargetLoweringObjectFileELF::SelectSectionForGlobal(GO, Kind, TM); in SelectSectionForGlobal() 24 SelectSectionForGlobal( const GlobalObject *GO, SectionKind Kind, const TargetMachine &TM) const SelectSectionForGlobal() argument
|
/third_party/typescript/tests/baselines/reference/ |
H A D | tsxStatelessFunctionComponentOverload6.js | 43 const b0 = <MainButton to='/some/path'>GO</MainButton>; 52 const b9 = <MainButton to='/some/path' extra-prop>GO</MainButton>; 82 var b0 = <MainButton to='/some/path'>GO</MainButton>;
91 var b9 = <MainButton to='/some/path' extra-prop>GO</MainButton>;
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/NVPTX/ |
H A D | NVPTXTargetObjectFile.h | 34 MCSection *getExplicitSectionGlobal(const GlobalObject *GO, SectionKind Kind, 39 MCSection *SelectSectionForGlobal(const GlobalObject *GO, SectionKind Kind,
|