/external/llvm-project/llvm/tools/llvm-readobj/ |
D | XCOFFDumper.cpp | 112 static const EnumEntry<XCOFF::RelocationType> RelocationTypeNameclass[] = { 114 { #X, XCOFF::X } 133 if (Sec.Flags != XCOFF::STYP_TEXT && Sec.Flags != XCOFF::STYP_DATA && in printRelocations() 134 Sec.Flags != XCOFF::STYP_TDATA && Sec.Flags != XCOFF::STYP_DWARF) in printRelocations() 160 static const EnumEntry<XCOFF::CFileStringType> FileStringType[] = { 162 { #X, XCOFF::X } 181 static const EnumEntry<XCOFF::StorageMappingClass> CsectStorageMappingClass[] = 184 { #X, XCOFF::X } 195 static const EnumEntry<XCOFF::SymbolType> CsectSymbolTypeClass[] = { 197 { #X, XCOFF::X } [all …]
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/BinaryFormat/ |
D | XCOFF.cpp | 13 StringRef XCOFF::getMappingClassString(XCOFF::StorageMappingClass SMC) { in getMappingClassString() 15 case XCOFF::XMC_DS: in getMappingClassString() 17 case XCOFF::XMC_RW: in getMappingClassString() 19 case XCOFF::XMC_PR: in getMappingClassString() 21 case XCOFF::XMC_TC0: in getMappingClassString() 23 case XCOFF::XMC_BS: in getMappingClassString() 25 case XCOFF::XMC_RO: in getMappingClassString() 27 case XCOFF::XMC_UA: in getMappingClassString() 29 case XCOFF::XMC_TC: in getMappingClassString()
|
/external/llvm-project/llvm/lib/MC/ |
D | MCSectionXCOFF.cpp | 27 if (getMappingClass() != XCOFF::XMC_PR) in PrintSwitchToSection() 35 if (getMappingClass() != XCOFF::XMC_RO) in PrintSwitchToSection() 43 case XCOFF::XMC_RW: in PrintSwitchToSection() 44 case XCOFF::XMC_DS: in PrintSwitchToSection() 47 case XCOFF::XMC_TC: in PrintSwitchToSection() 48 case XCOFF::XMC_TE: in PrintSwitchToSection() 50 case XCOFF::XMC_TC0: in PrintSwitchToSection() 61 assert((getMappingClass() == XCOFF::XMC_RW || in PrintSwitchToSection() 62 getMappingClass() == XCOFF::XMC_BS) && in PrintSwitchToSection() 65 assert(getCSectType() == XCOFF::XTY_CM && in PrintSwitchToSection() [all …]
|
D | XCOFFObjectWriter.cpp | 68 XCOFF::StorageClass getStorageClass() const { in getStorageClass() 102 char Name[XCOFF::NameSize]; 125 XCOFF::ReservedSectionNum::N_DEBUG - 1; 141 Section(const char *N, XCOFF::SectionTypeFlags Flags, bool IsVirtual, in Section() 146 strncpy(Name, N, XCOFF::NameSize); in Section() 207 XCOFF::StorageClass); 246 Strings(StringTableBuilder::XCOFF), in XCOFFObjectWriter() 247 Text(".text", XCOFF::STYP_TEXT, /* IsVirtual */ false, in XCOFFObjectWriter() 249 Data(".data", XCOFF::STYP_DATA, /* IsVirtual */ false, 251 BSS(".bss", XCOFF::STYP_BSS, /* IsVirtual */ true, [all …]
|
D | MCXCOFFStreamer.cpp | 40 Symbol->setStorageClass(XCOFF::C_EXT); in emitSymbolAttribute() 44 Symbol->setStorageClass(XCOFF::C_HIDEXT); in emitSymbolAttribute() 48 Symbol->setStorageClass(XCOFF::C_WEAKEXT); in emitSymbolAttribute() 52 Symbol->setVisibilityType(XCOFF::SYM_V_HIDDEN); in emitSymbolAttribute() 55 Symbol->setVisibilityType(XCOFF::SYM_V_PROTECTED); in emitSymbolAttribute() 79 XCOFF::C_HIDEXT); in emitCommonSymbol()
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/MC/ |
D | MCSectionXCOFF.h | 37 XCOFF::StorageMappingClass MappingClass; 38 XCOFF::SymbolType Type; 39 XCOFF::StorageClass StorageClass; 42 MCSectionXCOFF(StringRef Section, XCOFF::StorageMappingClass SMC, in MCSectionXCOFF() 43 XCOFF::SymbolType ST, XCOFF::StorageClass SC, SectionKind K, in MCSectionXCOFF() 47 assert((ST == XCOFF::XTY_SD || ST == XCOFF::XTY_CM || ST == XCOFF::XTY_ER) && in MCSectionXCOFF() 62 XCOFF::StorageMappingClass getMappingClass() const { return MappingClass; } in getMappingClass() 63 XCOFF::StorageClass getStorageClass() const { return StorageClass; } in getStorageClass() 64 XCOFF::SymbolType getCSectType() const { return Type; } in getCSectType()
|
D | MCSymbolXCOFF.h | 27 void setStorageClass(XCOFF::StorageClass SC) { in setStorageClass() 33 XCOFF::StorageClass getStorageClass() const { in getStorageClass() 66 Optional<XCOFF::StorageClass> StorageClass;
|
D | MCXCOFFObjectWriter.h | 25 Triple::ObjectFormatType getFormat() const override { return Triple::XCOFF; } in getFormat() 27 return W->getFormat() == Triple::XCOFF; in classof()
|
/external/llvm-project/llvm/include/llvm/MC/ |
D | MCSectionXCOFF.h | 35 XCOFF::StorageMappingClass MappingClass; 36 XCOFF::SymbolType Type; 42 MCSectionXCOFF(StringRef Name, XCOFF::StorageMappingClass SMC, in MCSectionXCOFF() 43 XCOFF::SymbolType ST, SectionKind K, MCSymbolXCOFF *QualName, in MCSectionXCOFF() 49 assert((ST == XCOFF::XTY_SD || ST == XCOFF::XTY_CM || ST == XCOFF::XTY_ER) && in MCSectionXCOFF() 53 QualName->setStorageClass(XCOFF::C_HIDEXT); in MCSectionXCOFF() 55 if (Type != XCOFF::XTY_ER) in MCSectionXCOFF() 68 XCOFF::StorageMappingClass getMappingClass() const { return MappingClass; } in getMappingClass() 69 XCOFF::StorageClass getStorageClass() const { in getStorageClass() 72 XCOFF::SymbolType getCSectType() const { return Type; } in getCSectType()
|
D | MCSymbolXCOFF.h | 37 void setStorageClass(XCOFF::StorageClass SC) { in setStorageClass() 41 XCOFF::StorageClass getStorageClass() const { in getStorageClass() 53 void setVisibilityType(XCOFF::VisibilityType SVT) { VisibilityType = SVT; }; in setVisibilityType() 55 XCOFF::VisibilityType getVisibilityType() const { return VisibilityType; } in getVisibilityType() 68 Optional<XCOFF::StorageClass> StorageClass; 70 XCOFF::VisibilityType VisibilityType = XCOFF::SYM_V_UNSPECIFIED;
|
D | MCXCOFFObjectWriter.h | 25 Triple::ObjectFormatType getFormat() const override { return Triple::XCOFF; } in getFormat() 27 return W->getFormat() == Triple::XCOFF; in classof()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/MC/ |
D | MCSectionXCOFF.cpp | 23 if (getMappingClass() != XCOFF::XMC_PR) in PrintSwitchToSection() 31 if (getMappingClass() != XCOFF::XMC_RO) in PrintSwitchToSection() 39 case XCOFF::XMC_RW: in PrintSwitchToSection() 40 case XCOFF::XMC_DS: in PrintSwitchToSection() 43 case XCOFF::XMC_TC: in PrintSwitchToSection() 45 case XCOFF::XMC_TC0: in PrintSwitchToSection() 56 assert((getMappingClass() == XCOFF::XMC_RW || in PrintSwitchToSection() 57 getMappingClass() == XCOFF::XMC_BS) && in PrintSwitchToSection() 60 assert(getCSectType() == XCOFF::XTY_CM && in PrintSwitchToSection() 73 bool MCSectionXCOFF::isVirtualSection() const { return XCOFF::XTY_CM == Type; } in isVirtualSection()
|
D | XCOFFObjectWriter.cpp | 57 XCOFF::StorageClass getStorageClass() const { in getStorageClass() 91 char Name[XCOFF::NameSize]; 114 XCOFF::ReservedSectionNum::N_DEBUG - 1; 130 Section(const char *N, XCOFF::SectionTypeFlags Flags, bool IsVirtual, in Section() 135 strncpy(Name, N, XCOFF::NameSize); in Section() 186 XCOFF::StorageClass); 222 Strings(StringTableBuilder::XCOFF), in XCOFFObjectWriter() 223 Text(".text", XCOFF::STYP_TEXT, /* IsVirtual */ false, in XCOFFObjectWriter() 225 Data(".data", XCOFF::STYP_DATA, /* IsVirtual */ false, 227 BSS(".bss", XCOFF::STYP_BSS, /* IsVirtual */ true, [all …]
|
/external/llvm-project/llvm/lib/BinaryFormat/ |
D | XCOFF.cpp | 15 case XCOFF::XMC_##A: \ 17 StringRef XCOFF::getMappingClassString(XCOFF::StorageMappingClass SMC) { in getMappingClassString() 48 case XCOFF::A: \ 50 StringRef XCOFF::getRelocationTypeString(XCOFF::RelocationType Type) { in getRelocationTypeString()
|
/external/llvm-project/llvm/lib/Target/PowerPC/MCTargetDesc/ |
D | PPCXCOFFObjectWriter.cpp | 67 return {XCOFF::RelocationType::R_TOC, SignAndSizeForHalf16}; in getRelocTypeAndSignSize() 69 return {XCOFF::RelocationType::R_TOCU, SignAndSizeForHalf16}; in getRelocTypeAndSignSize() 71 return {XCOFF::RelocationType::R_TOCL, SignAndSizeForHalf16}; in getRelocTypeAndSignSize() 77 return {XCOFF::RelocationType::R_RBR, EncodedSignednessIndicator | 25}; in getRelocTypeAndSignSize() 79 return {XCOFF::RelocationType::R_POS, EncodedSignednessIndicator | 31}; in getRelocTypeAndSignSize()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Object/ |
D | XCOFFObjectFile.cpp | 44 static_cast<const char *>(memchr(Name, '\0', XCOFF::NameSize)); in generateXCOFFFixedNameStringRef() 46 : StringRef(Name, XCOFF::NameSize); in generateXCOFFFixedNameStringRef() 298 return getSectionFlags(Sec) & XCOFF::STYP_TEXT; in isSectionText() 303 return Flags & (XCOFF::STYP_DATA | XCOFF::STYP_TDATA); in isSectionData() 308 return Flags & (XCOFF::STYP_BSS | XCOFF::STYP_TBSS); in isSectionBSS() 447 case XCOFF::N_DEBUG: in getSymbolSectionName() 449 case XCOFF::N_ABS: in getSymbolSectionName() 451 case XCOFF::N_UNDEF: in getSymbolSectionName() 510 XCOFF::SymbolTableEntrySize * NumberOfSymTableEntries); in getEndOfSymbolTableAddress() 523 if (Offset % XCOFF::SymbolTableEntrySize != 0) in checkSymbolEntryPointer() [all …]
|
/external/llvm-project/llvm/unittests/MC/ |
D | MCDisassemblerTest.cpp | 18 SymbolInfoTy SIT3(0x120000, ".func", XCOFF::XMC_PR, 3, true); in TEST() 19 SymbolInfoTy SIT4(0x120000, ".text", XCOFF::XMC_PR, 4, false); in TEST() 20 SymbolInfoTy SIT5(0x130000, "TOC", XCOFF::XMC_TC0, 5, false); in TEST() 21 SymbolInfoTy SIT6(0x130000, "func", XCOFF::XMC_TC, 6, false); in TEST()
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Object/ |
D | XCOFFObjectFile.h | 70 char Name[XCOFF::NameSize]; 83 char Name[XCOFF::NameSize]; 109 char SymbolName[XCOFF::NameSize]; 121 XCOFF::StorageClass StorageClass; 140 XCOFF::StorageMappingClass StorageMappingClass; 149 char NamePad[XCOFF::FileNamePadSize]; 152 char Name[XCOFF::NameSize + XCOFF::FileNamePadSize]; 155 XCOFF::CFileStringType Type; 189 XCOFF::RelocationType Type; 360 XCOFF::StorageClass getStorageClass() const;
|
/external/llvm-project/llvm/lib/Object/ |
D | XCOFFObjectFile.cpp | 21 using namespace XCOFF; 51 static_cast<const char *>(memchr(Name, '\0', XCOFF::NameSize)); in generateXCOFFFixedNameStringRef() 53 : StringRef(Name, XCOFF::NameSize); in generateXCOFFFixedNameStringRef() 305 return getSectionFlags(Sec) & XCOFF::STYP_TEXT; in isSectionText() 310 return Flags & (XCOFF::STYP_DATA | XCOFF::STYP_TDATA); in isSectionData() 315 return Flags & (XCOFF::STYP_BSS | XCOFF::STYP_TBSS); in isSectionBSS() 395 StringRef Res = XCOFF::getRelocationTypeString(Reloc->Type); in getRelocationTypeName() 494 case XCOFF::N_DEBUG: in getSymbolSectionName() 496 case XCOFF::N_ABS: in getSymbolSectionName() 498 case XCOFF::N_UNDEF: in getSymbolSectionName() [all …]
|
/external/llvm-project/llvm/include/llvm/Object/ |
D | XCOFFObjectFile.h | 74 char Name[XCOFF::NameSize]; 87 char Name[XCOFF::NameSize]; 113 char SymbolName[XCOFF::NameSize]; 125 XCOFF::StorageClass StorageClass; 148 XCOFF::StorageMappingClass StorageMappingClass; 161 bool isLabel() const { return getSymbolType() == XCOFF::XTY_LD; } 168 char NamePad[XCOFF::FileNamePadSize]; 171 char Name[XCOFF::NameSize + XCOFF::FileNamePadSize]; 174 XCOFF::CFileStringType Type; 208 XCOFF::RelocationType Type; [all …]
|
/external/llvm-project/llvm/include/llvm/ObjectYAML/ |
D | XCOFFYAML.h | 37 XCOFF::StorageClass StorageClass; 52 template <> struct ScalarEnumerationTraits<XCOFF::StorageClass> { in LLVM_YAML_IS_SEQUENCE_VECTOR() 53 static void enumeration(IO &IO, XCOFF::StorageClass &Value); in LLVM_YAML_IS_SEQUENCE_VECTOR()
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ObjectYAML/ |
D | XCOFFYAML.h | 37 XCOFF::StorageClass StorageClass; 52 template <> struct ScalarEnumerationTraits<XCOFF::StorageClass> { in LLVM_YAML_IS_SEQUENCE_VECTOR() 53 static void enumeration(IO &IO, XCOFF::StorageClass &Value); in LLVM_YAML_IS_SEQUENCE_VECTOR()
|
/external/llvm-project/llvm/tools/llvm-objdump/ |
D | XCOFFDump.cpp | 46 Optional<XCOFF::StorageMappingClass> 82 const XCOFF::StorageMappingClass Smc = in getXCOFFSymbolDescription() 84 Result.append(("[" + XCOFF::getMappingClassString(Smc) + "]").str()); in getXCOFFSymbolDescription()
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/BinaryFormat/ |
D | XCOFF.h | 20 namespace XCOFF { 225 char Name[XCOFF::NameSize]; 255 StringRef getMappingClassString(XCOFF::StorageMappingClass SMC);
|
/external/llvm-project/llvm/lib/CodeGen/ |
D | TargetLoweringObjectFileImpl.cpp | 2152 XCOFF::StorageMappingClass MappingClass; in getExplicitSectionGlobal() 2154 MappingClass = XCOFF::XMC_PR; in getExplicitSectionGlobal() 2156 MappingClass = XCOFF::XMC_RW; in getExplicitSectionGlobal() 2158 MappingClass = XCOFF::XMC_RO; in getExplicitSectionGlobal() 2162 return getContext().getXCOFFSection(SectionName, MappingClass, XCOFF::XTY_SD, in getExplicitSectionGlobal() 2176 Name, isa<Function>(GO) ? XCOFF::XMC_DS : XCOFF::XMC_UA, XCOFF::XTY_ER, in getSectionForExternalReference() 2188 Name, Kind.isBSSLocal() ? XCOFF::XMC_BS : XCOFF::XMC_RW, XCOFF::XTY_CM, in SelectSectionForGlobal() 2205 Name, XCOFF::XMC_RO, XCOFF::XTY_SD, Kind, in SelectSectionForGlobal() 2228 return getContext().getXCOFFSection(Name, XCOFF::XMC_RW, XCOFF::XTY_SD, in SelectSectionForGlobal() 2238 return getContext().getXCOFFSection(Name, XCOFF::XMC_RO, XCOFF::XTY_SD, in SelectSectionForGlobal() [all …]
|