/external/llvm-project/llvm/lib/MC/ |
D | MCObjectFileInfo.cpp | 57 SectionKind::getReadOnly()); in initMachOMCObjectFileInfo() 75 SectionKind::getText()); in initMachOMCObjectFileInfo() 77 = Ctx->getMachOSection("__DATA", "__data", 0, SectionKind::getData()); in initMachOMCObjectFileInfo() 85 SectionKind::getData()); in initMachOMCObjectFileInfo() 89 SectionKind::getThreadBSS()); in initMachOMCObjectFileInfo() 95 SectionKind::getData()); in initMachOMCObjectFileInfo() 99 SectionKind::getData()); in initMachOMCObjectFileInfo() 104 SectionKind::getMergeable1ByteCString()); in initMachOMCObjectFileInfo() 107 SectionKind::getMergeable2ByteCString()); in initMachOMCObjectFileInfo() 111 SectionKind::getMergeableConst4()); in initMachOMCObjectFileInfo() [all …]
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/MC/ |
D | MCObjectFileInfo.cpp | 57 SectionKind::getReadOnly()); in initMachOMCObjectFileInfo() 75 SectionKind::getText()); in initMachOMCObjectFileInfo() 77 = Ctx->getMachOSection("__DATA", "__data", 0, SectionKind::getData()); in initMachOMCObjectFileInfo() 85 SectionKind::getData()); in initMachOMCObjectFileInfo() 89 SectionKind::getThreadBSS()); in initMachOMCObjectFileInfo() 95 SectionKind::getData()); in initMachOMCObjectFileInfo() 99 SectionKind::getData()); in initMachOMCObjectFileInfo() 104 SectionKind::getMergeable1ByteCString()); in initMachOMCObjectFileInfo() 107 SectionKind::getMergeable2ByteCString()); in initMachOMCObjectFileInfo() 111 SectionKind::getMergeableConst4()); in initMachOMCObjectFileInfo() [all …]
|
/external/llvm-project/llvm/include/llvm/MC/ |
D | SectionKind.h | 22 class SectionKind { 171 static SectionKind get(Kind K) { in get() 172 SectionKind Res; in get() 178 static SectionKind getMetadata() { return get(Metadata); } in getMetadata() 179 static SectionKind getText() { return get(Text); } in getText() 180 static SectionKind getExecuteOnly() { return get(ExecuteOnly); } in getExecuteOnly() 181 static SectionKind getReadOnly() { return get(ReadOnly); } in getReadOnly() 182 static SectionKind getMergeable1ByteCString() { in getMergeable1ByteCString() 185 static SectionKind getMergeable2ByteCString() { in getMergeable2ByteCString() 188 static SectionKind getMergeable4ByteCString() { in getMergeable4ByteCString() [all …]
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/MC/ |
D | SectionKind.h | 22 class SectionKind { 171 static SectionKind get(Kind K) { in get() 172 SectionKind Res; in get() 178 static SectionKind getMetadata() { return get(Metadata); } in getMetadata() 179 static SectionKind getText() { return get(Text); } in getText() 180 static SectionKind getExecuteOnly() { return get(ExecuteOnly); } in getExecuteOnly() 181 static SectionKind getReadOnly() { return get(ReadOnly); } in getReadOnly() 182 static SectionKind getMergeable1ByteCString() { in getMergeable1ByteCString() 185 static SectionKind getMergeable2ByteCString() { in getMergeable2ByteCString() 188 static SectionKind getMergeable4ByteCString() { in getMergeable4ByteCString() [all …]
|
/external/llvm/lib/MC/ |
D | MCObjectFileInfo.cpp | 56 SectionKind::getReadOnly()); in initMachOMCObjectFileInfo() 77 SectionKind::getText()); in initMachOMCObjectFileInfo() 79 = Ctx->getMachOSection("__DATA", "__data", 0, SectionKind::getData()); in initMachOMCObjectFileInfo() 87 SectionKind::getData()); in initMachOMCObjectFileInfo() 91 SectionKind::getThreadBSS()); in initMachOMCObjectFileInfo() 97 SectionKind::getData()); in initMachOMCObjectFileInfo() 101 SectionKind::getData()); in initMachOMCObjectFileInfo() 106 SectionKind::getMergeable1ByteCString()); in initMachOMCObjectFileInfo() 109 SectionKind::getMergeable2ByteCString()); in initMachOMCObjectFileInfo() 113 SectionKind::getMergeableConst4()); in initMachOMCObjectFileInfo() [all …]
|
/external/llvm/lib/Target/NVPTX/ |
D | NVPTXTargetObjectFile.h | 50 TextSection = new NVPTXSection(MCSection::SV_ELF, SectionKind::getText()); in Initialize() 51 DataSection = new NVPTXSection(MCSection::SV_ELF, SectionKind::getData()); in Initialize() 52 BSSSection = new NVPTXSection(MCSection::SV_ELF, SectionKind::getBSS()); in Initialize() 54 new NVPTXSection(MCSection::SV_ELF, SectionKind::getReadOnly()); in Initialize() 57 new NVPTXSection(MCSection::SV_ELF, SectionKind::getMetadata()); in Initialize() 59 new NVPTXSection(MCSection::SV_ELF, SectionKind::getMetadata()); in Initialize() 61 new NVPTXSection(MCSection::SV_ELF, SectionKind::getMetadata()); in Initialize() 63 new NVPTXSection(MCSection::SV_ELF, SectionKind::getMetadata()); in Initialize() 65 new NVPTXSection(MCSection::SV_ELF, SectionKind::getMetadata()); in Initialize() 67 new NVPTXSection(MCSection::SV_ELF, SectionKind::getMetadata()); in Initialize() [all …]
|
/external/llvm/include/llvm/MC/ |
D | SectionKind.h | 23 class SectionKind { 166 static SectionKind get(Kind K) { in get() 167 SectionKind Res; in get() 173 static SectionKind getMetadata() { return get(Metadata); } in getMetadata() 174 static SectionKind getText() { return get(Text); } in getText() 175 static SectionKind getReadOnly() { return get(ReadOnly); } in getReadOnly() 176 static SectionKind getMergeable1ByteCString() { in getMergeable1ByteCString() 179 static SectionKind getMergeable2ByteCString() { in getMergeable2ByteCString() 182 static SectionKind getMergeable4ByteCString() { in getMergeable4ByteCString() 185 static SectionKind getMergeableConst4() { return get(MergeableConst4); } in getMergeableConst4() [all …]
|
/external/llvm/lib/Target/ |
D | TargetLoweringObjectFile.cpp | 132 SectionKind TargetLoweringObjectFile::getKindForGlobal(const GlobalValue *GV, in getKindForGlobal() 142 return SectionKind::getText(); in getKindForGlobal() 147 return SectionKind::getThreadBSS(); in getKindForGlobal() 148 return SectionKind::getThreadData(); in getKindForGlobal() 153 return SectionKind::getCommon(); in getKindForGlobal() 158 return SectionKind::getBSSLocal(); in getKindForGlobal() 160 return SectionKind::getBSSExtern(); in getKindForGlobal() 161 return SectionKind::getBSS(); in getKindForGlobal() 177 return SectionKind::getReadOnly(); in getKindForGlobal() 188 return SectionKind::getMergeable1ByteCString(); in getKindForGlobal() [all …]
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ |
D | TargetLoweringObjectFile.cpp | 143 SectionKind TargetLoweringObjectFile::getKindForGlobal(const GlobalObject *GO, in getKindForGlobal() 150 return SectionKind::getText(); in getKindForGlobal() 158 return SectionKind::getThreadBSS(); in getKindForGlobal() 159 return SectionKind::getThreadData(); in getKindForGlobal() 164 return SectionKind::getCommon(); in getKindForGlobal() 170 return SectionKind::getBSSLocal(); in getKindForGlobal() 172 return SectionKind::getBSSExtern(); in getKindForGlobal() 173 return SectionKind::getBSS(); in getKindForGlobal() 188 return SectionKind::getReadOnly(); in getKindForGlobal() 199 return SectionKind::getMergeable1ByteCString(); in getKindForGlobal() [all …]
|
/external/llvm-project/llvm/lib/Target/ |
D | TargetLoweringObjectFile.cpp | 154 SectionKind TargetLoweringObjectFile::getKindForGlobal(const GlobalObject *GO, in getKindForGlobal() 161 return SectionKind::getText(); in getKindForGlobal() 165 return SectionKind::getText(); in getKindForGlobal() 173 return SectionKind::getThreadBSS(); in getKindForGlobal() 174 return SectionKind::getThreadData(); in getKindForGlobal() 179 return SectionKind::getCommon(); in getKindForGlobal() 185 return SectionKind::getBSSLocal(); in getKindForGlobal() 187 return SectionKind::getBSSExtern(); in getKindForGlobal() 188 return SectionKind::getBSS(); in getKindForGlobal() 203 return SectionKind::getReadOnly(); in getKindForGlobal() [all …]
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/ |
D | TargetLoweringObjectFileImpl.h | 55 MCSection *getSectionForConstant(const DataLayout &DL, SectionKind Kind, 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, 113 MCSection *getSectionForConstant(const DataLayout &DL, SectionKind Kind, 147 MCSection *getExplicitSectionGlobal(const GlobalObject *GO, SectionKind Kind, 150 MCSection *SelectSectionForGlobal(const GlobalObject *GO, SectionKind Kind, 179 MCSection *getSectionForConstant(const DataLayout &DL, SectionKind Kind, 191 MCSection *getExplicitSectionGlobal(const GlobalObject *GO, SectionKind Kind, [all …]
|
/external/llvm-project/llvm/include/llvm/CodeGen/ |
D | TargetLoweringObjectFileImpl.h | 54 MCSection *getSectionForConstant(const DataLayout &DL, SectionKind Kind, 58 MCSection *getExplicitSectionGlobal(const GlobalObject *GO, SectionKind Kind, 61 MCSection *SelectSectionForGlobal(const GlobalObject *GO, SectionKind Kind, 116 MCSection *SelectSectionForGlobal(const GlobalObject *GO, SectionKind Kind, 119 MCSection *getExplicitSectionGlobal(const GlobalObject *GO, SectionKind Kind, 122 MCSection *getSectionForConstant(const DataLayout &DL, SectionKind Kind, 157 MCSection *getExplicitSectionGlobal(const GlobalObject *GO, SectionKind Kind, 160 MCSection *SelectSectionForGlobal(const GlobalObject *GO, SectionKind Kind, 183 MCSection *getSectionForConstant(const DataLayout &DL, SectionKind Kind, 198 MCSection *getExplicitSectionGlobal(const GlobalObject *GO, SectionKind Kind, [all …]
|
/external/llvm-project/llvm/lib/MC/MCParser/ |
D | WasmAsmParser.cpp | 117 auto Kind = StringSwitch<Optional<SectionKind>>(Name) in parseSectionDirective() 118 .StartsWith(".data", SectionKind::getData()) in parseSectionDirective() 119 .StartsWith(".tdata", SectionKind::getThreadData()) in parseSectionDirective() 120 .StartsWith(".tbss", SectionKind::getThreadBSS()) in parseSectionDirective() 121 .StartsWith(".rodata", SectionKind::getReadOnly()) in parseSectionDirective() 122 .StartsWith(".text", SectionKind::getText()) in parseSectionDirective() 123 .StartsWith(".custom_section", SectionKind::getMetadata()) in parseSectionDirective() 124 .StartsWith(".bss", SectionKind::getBSS()) in parseSectionDirective() 127 .StartsWith(".init_array", SectionKind::getData()) in parseSectionDirective() 128 .StartsWith(".debug_", SectionKind::getMetadata()) in parseSectionDirective() [all …]
|
D | COFFMasmParser.cpp | 45 SectionKind Kind); 48 SectionKind Kind, StringRef COMDATSymName, 196 SectionKind::getText()); in ParseSectionDirectiveCode() 204 SectionKind::getData()); in ParseSectionDirectiveInitializedData() 212 SectionKind::getBSS()); in ParseSectionDirectiveUninitializedData() 224 static SectionKind computeSectionKind(unsigned Flags) { in computeSectionKind() 226 return SectionKind::getText(); in computeSectionKind() 229 return SectionKind::getReadOnly(); in computeSectionKind() 230 return SectionKind::getData(); in computeSectionKind() 235 SectionKind Kind) { in ParseSectionSwitch() [all …]
|
/external/llvm/include/llvm/ObjectYAML/ |
D | ELFYAML.h | 88 enum class SectionKind { enum 95 SectionKind Kind; 103 Section(SectionKind Kind) : Kind(Kind) {} in Section() 109 RawContentSection() : Section(SectionKind::RawContent) {} in RawContentSection() 111 return S->Kind == SectionKind::RawContent; in classof() 117 NoBitsSection() : Section(SectionKind::NoBits) {} in NoBitsSection() 119 return S->Kind == SectionKind::NoBits; in classof() 127 Group() : Section(SectionKind::Group) {} in Group() 129 return S->Kind == SectionKind::Group; in classof() 141 RelocationSection() : Section(SectionKind::Relocation) {} in RelocationSection() [all …]
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/MC/MCParser/ |
D | WasmAsmParser.cpp | 117 auto Kind = StringSwitch<Optional<SectionKind>>(Name) in parseSectionDirective() 118 .StartsWith(".data", SectionKind::getData()) in parseSectionDirective() 119 .StartsWith(".rodata", SectionKind::getReadOnly()) in parseSectionDirective() 120 .StartsWith(".text", SectionKind::getText()) in parseSectionDirective() 121 .StartsWith(".custom_section", SectionKind::getMetadata()) in parseSectionDirective() 122 .StartsWith(".bss", SectionKind::getBSS()) in parseSectionDirective() 125 .StartsWith(".init_array", SectionKind::getData()) in parseSectionDirective() 126 .StartsWith(".debug_", SectionKind::getMetadata()) in parseSectionDirective() 127 .Default(Optional<SectionKind>()); in parseSectionDirective()
|
/external/llvm/include/llvm/CodeGen/ |
D | TargetLoweringObjectFileImpl.h | 52 MCSection *getSectionForConstant(const DataLayout &DL, SectionKind Kind, 56 MCSection *getExplicitSectionGlobal(const GlobalValue *GV, SectionKind Kind, 60 MCSection *SelectSectionForGlobal(const GlobalValue *GV, SectionKind Kind, 106 MCSection *SelectSectionForGlobal(const GlobalValue *GV, SectionKind Kind, 110 MCSection *getExplicitSectionGlobal(const GlobalValue *GV, SectionKind Kind, 114 MCSection *getSectionForConstant(const DataLayout &DL, SectionKind Kind, 148 MCSection *getExplicitSectionGlobal(const GlobalValue *GV, SectionKind Kind, 152 MCSection *SelectSectionForGlobal(const GlobalValue *GV, SectionKind Kind,
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/ |
D | TargetLoweringObjectFileImpl.cpp | 414 static SectionKind getELFKindForNamedSection(StringRef Name, SectionKind K) { in getELFKindForNamedSection() 424 return SectionKind::getMetadata(); in getELFKindForNamedSection() 437 return SectionKind::getBSS(); in getELFKindForNamedSection() 443 return SectionKind::getThreadData(); in getELFKindForNamedSection() 449 return SectionKind::getThreadBSS(); in getELFKindForNamedSection() 454 static unsigned getELFSectionType(StringRef Name, SectionKind K) { in getELFSectionType() 476 static unsigned getELFSectionFlags(SectionKind K) { in getELFSectionFlags() 533 static unsigned getEntrySizeForKind(SectionKind Kind) { in getEntrySizeForKind() 558 const GlobalObject *GO, SectionKind Kind, const TargetMachine &TM) const { in getExplicitSectionGlobal() 613 static StringRef getSectionPrefixForGlobal(SectionKind Kind) { in getSectionPrefixForGlobal() [all …]
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARM/ |
D | ARMTargetObjectFile.cpp | 75 static bool isExecuteOnlyFunction(const GlobalObject *GO, SectionKind SK, in isExecuteOnlyFunction() 84 const GlobalObject *GO, SectionKind SK, const TargetMachine &TM) const { in getExplicitSectionGlobal() 87 SK = SectionKind::getExecuteOnly(); in getExplicitSectionGlobal() 93 const GlobalObject *GO, SectionKind SK, const TargetMachine &TM) const { in SelectSectionForGlobal() 96 SK = SectionKind::getExecuteOnly(); in SelectSectionForGlobal()
|
/external/llvm-project/llvm/lib/Target/ARM/ |
D | ARMTargetObjectFile.cpp | 75 static bool isExecuteOnlyFunction(const GlobalObject *GO, SectionKind SK, in isExecuteOnlyFunction() 84 const GlobalObject *GO, SectionKind SK, const TargetMachine &TM) const { in getExplicitSectionGlobal() 87 SK = SectionKind::getExecuteOnly(); in getExplicitSectionGlobal() 93 const GlobalObject *GO, SectionKind SK, const TargetMachine &TM) const { in SelectSectionForGlobal() 96 SK = SectionKind::getExecuteOnly(); in SelectSectionForGlobal()
|
/external/llvm-project/llvm/lib/CodeGen/ |
D | TargetLoweringObjectFileImpl.cpp | 434 static SectionKind getELFKindForNamedSection(StringRef Name, SectionKind K) { in getELFKindForNamedSection() 447 return SectionKind::getMetadata(); in getELFKindForNamedSection() 460 return SectionKind::getBSS(); in getELFKindForNamedSection() 466 return SectionKind::getThreadData(); in getELFKindForNamedSection() 472 return SectionKind::getThreadBSS(); in getELFKindForNamedSection() 477 static unsigned getELFSectionType(StringRef Name, SectionKind K) { in getELFSectionType() 499 static unsigned getELFSectionFlags(SectionKind K) { in getELFSectionFlags() 556 static unsigned getEntrySizeForKind(SectionKind Kind) { in getEntrySizeForKind() 582 static StringRef getSectionPrefixForGlobal(SectionKind Kind) { in getSectionPrefixForGlobal() 601 getELFSectionNameForGlobal(const GlobalObject *GO, SectionKind Kind, in getELFSectionNameForGlobal() [all …]
|
/external/llvm/lib/CodeGen/ |
D | TargetLoweringObjectFileImpl.cpp | 113 static SectionKind 114 getELFKindForNamedSection(StringRef Name, SectionKind K) { in getELFKindForNamedSection() 123 return SectionKind::getMetadata(); in getELFKindForNamedSection() 136 return SectionKind::getBSS(); in getELFKindForNamedSection() 142 return SectionKind::getThreadData(); in getELFKindForNamedSection() 148 return SectionKind::getThreadBSS(); in getELFKindForNamedSection() 154 static unsigned getELFSectionType(StringRef Name, SectionKind K) { in getELFSectionType() 171 static unsigned getELFSectionFlags(SectionKind K) { in getELFSectionFlags() 208 const GlobalValue *GV, SectionKind Kind, Mangler &Mang, in getExplicitSectionGlobal() 228 static StringRef getSectionPrefixForGlobal(SectionKind Kind) { in getSectionPrefixForGlobal() [all …]
|
/external/llvm/include/llvm/Target/ |
D | TargetLoweringObjectFile.h | 73 SectionKind Kind, 79 static SectionKind getKindForGlobal(const GlobalValue *GV, 85 MCSection *SectionForGlobal(const GlobalValue *GV, SectionKind Kind, 110 getExplicitSectionGlobal(const GlobalValue *GV, SectionKind Kind, 115 SectionKind Kind, in getSpecialCasedSectionGlobals() 189 SectionKind Kind, Mangler &Mang,
|
/external/llvm-project/llvm/include/llvm/Target/ |
D | TargetLoweringObjectFile.h | 38 class SectionKind; variable 92 SectionKind Kind, const Constant *C, 102 static SectionKind getKindForGlobal(const GlobalObject *GO, 108 MCSection *SectionForGlobal(const GlobalObject *GO, SectionKind Kind, 135 getExplicitSectionGlobal(const GlobalObject *GO, SectionKind Kind, 270 SectionKind Kind,
|
/external/llvm-project/llvm/lib/Target/AMDGPU/ |
D | AMDGPUTargetObjectFile.cpp | 24 const GlobalObject *GO, SectionKind Kind, const TargetMachine &TM) const { in SelectSectionForGlobal() 33 const GlobalObject *GO, SectionKind SK, const TargetMachine &TM) const { in getExplicitSectionGlobal() 37 SK = SectionKind::getMetadata(); in getExplicitSectionGlobal()
|