| /freebsd/contrib/llvm-project/llvm/include/llvm/MC/ |
| H A D | MCGOFFAttributes.h | 21 namespace GOFF { 47 GOFF::ESDTaskingBehavior TaskingBehavior = GOFF::ESD_TA_Unspecified; 48 GOFF::ESDBindingScope BindingScope = GOFF::ESD_BSC_Unspecified; 54 GOFF::ESDRmode Rmode; 55 GOFF::ESDNameSpaceId NameSpace = GOFF::ESD_NS_NormalName; 56 GOFF::ESDTextStyle TextStyle = GOFF::ESD_TS_ByteOriented; 57 GOFF::ESDBindingAlgorithm BindAlgorithm = GOFF::ESD_BA_Concatenate; 58 GOFF::ESDLoadingBehavior LoadBehavior = GOFF::ESD_LB_Initial; 59 GOFF::ESDReserveQwords ReservedQwords = GOFF::ESD_RQ_0; 60 GOFF::ESDAlignment Alignment = GOFF::ESD_ALIGN_Doubleword; [all …]
|
| H A D | MCSectionGOFF.h | 35 GOFF::SDAttr SDAttributes; 36 GOFF::EDAttr EDAttributes; 37 GOFF::PRAttr PRAttributes; 41 GOFF::ESDSymbolType SymbolType; 58 GOFF::SDAttr SDAttributes, MCSectionGOFF *Parent) in MCSectionGOFF() 61 SymbolType(GOFF::ESD_ST_SectionDefinition), IsBSS(K.isBSS()), in MCSectionGOFF() 65 GOFF::EDAttr EDAttributes, MCSectionGOFF *Parent) in MCSectionGOFF() 68 SymbolType(GOFF::ESD_ST_ElementDefinition), IsBSS(K.isBSS()), in MCSectionGOFF() 72 GOFF::PRAttr PRAttributes, MCSectionGOFF *Parent) in MCSectionGOFF() 75 SymbolType(GOFF::ESD_ST_PartReference), IsBSS(K.isBSS()), in MCSectionGOFF() [all …]
|
| H A D | MCSymbolGOFF.h | 28 GOFF::LDAttr LDAttributes; 38 void setLDAttributes(GOFF::LDAttr Attr) { in setLDAttributes() 42 GOFF::LDAttr getLDAttributes() const { return LDAttributes; } in getLDAttributes()
|
| H A D | MCGOFFObjectWriter.h | 26 Triple::ObjectFormatType getFormat() const override { return Triple::GOFF; } in getFormat() 29 return W->getFormat() == Triple::GOFF; in classof()
|
| H A D | MCContext.h | 620 GOFF::SDAttr SDAttributes); 622 GOFF::EDAttr EDAttributes, 625 GOFF::PRAttr PRAttributes,
|
| /freebsd/contrib/llvm-project/llvm/lib/MC/ |
| H A D | MCSectionGOFF.cpp | 15 static void emitCATTR(raw_ostream &OS, StringRef Name, GOFF::ESDRmode Rmode, in emitCATTR() 16 GOFF::ESDAlignment Alignment, in emitCATTR() 17 GOFF::ESDLoadingBehavior LoadBehavior, in emitCATTR() 18 GOFF::ESDExecutable Executable, bool IsReadOnly, in emitCATTR() 25 case GOFF::ESD_LB_Deferred: in emitCATTR() 28 case GOFF::ESD_LB_NoLoad: in emitCATTR() 35 case GOFF::ESD_EXE_CODE: in emitCATTR() 38 case GOFF::ESD_EXE_DATA: in emitCATTR() 46 if (Rmode != GOFF::ESD_RMODE_None) { in emitCATTR() 50 case GOFF::ESD_RMODE_24: in emitCATTR() [all …]
|
| H A D | GOFFObjectWriter.cpp | 34 constexpr uint8_t RecContinued = GOFF::Flags(7, 1, 1); 37 constexpr uint8_t RecContinuation = GOFF::Flags(6, 1, 1); 61 static constexpr uint8_t BufferSize = GOFF::PayloadLength; 78 size_t getWrittenSize() const { return PhysicalRecords * GOFF::RecordLength; } in getWrittenSize() 95 void newRecord(GOFF::RecordType Type); 123 OS << static_cast<unsigned char>(GOFF::PTVPrefix) // Record Type in updateFlagsAndWritePrefix() 184 void GOFFOstream::newRecord(GOFF::RecordType Type) { in newRecord() 209 GOFF::ESDSymbolType SymbolType; 210 GOFF::ESDNameSpaceId NameSpace = GOFF::ESD_NS_ProgramManagementBinder; 212 GOFF::BehavioralAttributes BehavAttrs; [all …]
|
| H A D | MCObjectFileInfo.cpp | 552 GOFF::SDAttr{GOFF::ESD_TA_Rent, GOFF::ESD_BSC_Section}); in initGOFFMCObjectFileInfo() 555 SectionKind::getMetadata(), GOFF::CLASS_WSA, in initGOFFMCObjectFileInfo() 556 GOFF::EDAttr{false, GOFF::ESD_RMODE_64, GOFF::ESD_NS_Parts, in initGOFFMCObjectFileInfo() 557 GOFF::ESD_TS_ByteOriented, GOFF::ESD_BA_Merge, in initGOFFMCObjectFileInfo() 558 GOFF::ESD_LB_Deferred, GOFF::ESD_RQ_1, in initGOFFMCObjectFileInfo() 559 GOFF::ESD_ALIGN_Quadword, 0}, in initGOFFMCObjectFileInfo() 562 GOFF::PRAttr{false, GOFF::ESD_EXE_DATA, in initGOFFMCObjectFileInfo() 563 GOFF::ESD_LT_XPLink, in initGOFFMCObjectFileInfo() 564 GOFF::ESD_BSC_Section, 0}, in initGOFFMCObjectFileInfo() 568 SectionKind::getText(), GOFF::CLASS_CODE, in initGOFFMCObjectFileInfo() [all …]
|
| H A D | MCContext.cpp | 106 case Triple::GOFF: in MCContext() 759 GOFF::SDAttr SDAttributes) { in getGOFFSection() 760 return getGOFFSection<GOFF::SDAttr>(Kind, Name, SDAttributes, nullptr, in getGOFFSection() 765 GOFF::EDAttr EDAttributes, in getGOFFSection() 767 return getGOFFSection<GOFF::EDAttr>( in getGOFFSection() 769 /*IsVirtual=*/EDAttributes.BindAlgorithm == GOFF::ESD_BA_Merge); in getGOFFSection() 773 GOFF::PRAttr PRAttributes, in getGOFFSection() 775 return getGOFFSection<GOFF::PRAttr>(Kind, Name, PRAttributes, Parent, in getGOFFSection()
|
| H A D | MCAsmBackend.cpp | 50 case Triple::GOFF: in createObjectWriter()
|
| H A D | TargetRegistry.cpp | 60 case Triple::GOFF: in createMCObjectStreamer()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/Object/ |
| H A D | GOFF.h | 60 assert(ByteIndex < GOFF::RecordLength && "Byte index out of bounds!"); in getBits() 70 assert(ByteIndex + sizeof(T) <= GOFF::RecordLength && in get() 125 GOFF::ESDSymbolType &SymbolType) { in getSymbolType() 128 SymbolType = (GOFF::ESDSymbolType)Value; in getSymbolType() 147 static void getNameSpaceId(const uint8_t *Record, GOFF::ESDNameSpaceId &Id) { in getNameSpaceId() 150 Id = (GOFF::ESDNameSpaceId)Value; in getNameSpaceId() 189 static void getAmode(const uint8_t *Record, GOFF::ESDAmode &Amode) { in getAmode() 192 Amode = (GOFF::ESDAmode)Value; in getAmode() 195 static void getRmode(const uint8_t *Record, GOFF::ESDRmode &Rmode) { in getRmode() 198 Rmode = (GOFF::ESDRmode)Value; in getRmode() [all …]
|
| H A D | Binary.h | 172 return Triple::GOFF; in getTripleObjectFormat()
|
| /freebsd/contrib/llvm-project/llvm/lib/Object/ |
| H A D | GOFFObjectFile.cpp | 40 if ((Object.getBufferSize() % GOFF::RecordLength) != 0) { in GOFFObjectFile() 51 if ((base()[1] & 0xF0) >> 4 != GOFF::RT_HDR) { in GOFFObjectFile() 56 if ((base()[Object.getBufferSize() - GOFF::RecordLength + 1] & 0xF0) >> 4 != in GOFFObjectFile() 57 GOFF::RT_END) { in GOFFObjectFile() 70 for (const uint8_t *I = base(); I < End; I += GOFF::RecordLength) { in GOFFObjectFile() 74 size_t RecordNum = (I - base()) / GOFF::RecordLength; in GOFFObjectFile() 107 LLVM_DEBUG(for (size_t J = 0; J < GOFF::RecordLength; ++J) { in GOFFObjectFile() 115 case GOFF::RT_ESD: { in GOFFObjectFile() 131 GOFF::ESDSymbolType SymbolType; in GOFFObjectFile() 136 if (SymbolType == GOFF::ESD_ST_ElementDefinition) { in GOFFObjectFile() [all …]
|
| H A D | ObjectFile.cpp | 138 TheTriple.setObjectFormat(Triple::GOFF); in makeTriple()
|
| /freebsd/contrib/llvm-project/llvm/lib/ObjectYAML/ |
| H A D | GOFFEmitter.cpp | 71 SetBufferSize(GOFF::PayloadLength); in GOFFOstream() 76 void makeNewRecord(GOFF::RecordType Type, size_t Size) { in makeNewRecord() 80 if (size_t Gap = (RemainingSize % GOFF::PayloadLength)) in makeNewRecord() 81 RemainingSize += GOFF::PayloadLength - Gap; in makeNewRecord() 101 GOFF::RecordType CurrentType; 110 size_t Bytes = RemainingSize % GOFF::PayloadLength; in bytesToNextPhysicalRecord() 111 return Bytes ? Bytes : GOFF::PayloadLength; in bytesToNextPhysicalRecord() 116 static void writeRecordPrefix(raw_ostream &OS, GOFF::RecordType Type, in writeRecordPrefix() 120 if (RemainingSize > GOFF::RecordLength) in writeRecordPrefix() 122 OS << binaryBe(static_cast<unsigned char>(GOFF::PTVPrefix)) in writeRecordPrefix() [all …]
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/BinaryFormat/ |
| H A D | GOFF.h | 25 namespace GOFF { 237 GOFF_BEHAVIORAL_ATTRIBUTE(Amode, GOFF::ESDAmode, 0, 0, 8) 238 GOFF_BEHAVIORAL_ATTRIBUTE(Rmode, GOFF::ESDRmode, 1, 0, 8) 239 GOFF_BEHAVIORAL_ATTRIBUTE(TextStyle, GOFF::ESDTextStyle, 2, 0, 4) 240 GOFF_BEHAVIORAL_ATTRIBUTE(BindingAlgorithm, GOFF::ESDBindingAlgorithm, 2, 4, 242 GOFF_BEHAVIORAL_ATTRIBUTE(TaskingBehavior, GOFF::ESDTaskingBehavior, 3, 0, 3) 244 GOFF_BEHAVIORAL_ATTRIBUTE(Executable, GOFF::ESDExecutable, 3, 5, 3) 246 GOFF::ESDDuplicateSymbolSeverity, 4, 2, 2) 247 GOFF_BEHAVIORAL_ATTRIBUTE(BindingStrength, GOFF::ESDBindingStrength, 4, 4, 4) 248 GOFF_BEHAVIORAL_ATTRIBUTE(LoadingBehavior, GOFF::ESDLoadingBehavior, 5, 0, 2) [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/CodeGen/ |
| H A D | TargetLoweringObjectFileImpl.cpp | 2777 TextLD->setLDAttributes(GOFF::LDAttr{ in getModuleMetadata() 2778 false, GOFF::ESD_EXE_CODE, GOFF::ESD_BST_Strong, GOFF::ESD_LT_XPLink, in getModuleMetadata() 2779 GOFF::ESD_AMODE_64, GOFF::ESD_BSC_Section}); in getModuleMetadata() 2794 SectionKind::getMetadata(), GOFF::CLASS_WSA, in getSectionForLSDA() 2795 GOFF::EDAttr{false, GOFF::ESD_RMODE_64, GOFF::ESD_NS_Parts, in getSectionForLSDA() 2796 GOFF::ESD_TS_ByteOriented, GOFF::ESD_BA_Merge, in getSectionForLSDA() 2797 GOFF::ESD_LB_Initial, GOFF::ESD_RQ_0, in getSectionForLSDA() 2798 GOFF::ESD_ALIGN_Fullword, 0}, in getSectionForLSDA() 2801 GOFF::PRAttr{true, GOFF::ESD_EXE_DATA, in getSectionForLSDA() 2802 GOFF::ESD_LT_XPLink, in getSectionForLSDA() [all …]
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/TargetParser/ |
| H A D | Triple.h | 318 GOFF, enumerator 779 bool isOSBinFormatGOFF() const { return getObjectFormat() == Triple::GOFF; } in isOSBinFormatGOFF()
|
| /freebsd/contrib/llvm-project/llvm/lib/TargetParser/ |
| H A D | Triple.cpp | 402 case GOFF: return "goff"; in getObjectFormatTypeName() 786 .EndsWith("goff", Triple::GOFF) in parseFormat() 1000 return Triple::GOFF; in getDefaultFormat()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/SystemZ/ |
| H A D | SystemZAsmPrinter.cpp | 1262 GOFF::SK_PPA1); in emitFunctionBodyEnd() 1568 GOFF::SK_PPA2); in emitPPA2()
|
| /freebsd/contrib/llvm-project/clang/lib/CodeGen/ |
| H A D | BackendUtil.cpp | 281 case Triple::GOFF: in asanUseGlobalsGC()
|
| /freebsd/contrib/llvm-project/llvm/lib/Bitcode/Writer/ |
| H A D | BitcodeWriter.cpp | 5802 case Triple::GOFF: in getSectionNameForBitcode() 5829 case Triple::GOFF: in getSectionNameForCommandline()
|
| /freebsd/contrib/llvm-project/lldb/source/Plugins/Process/gdb-remote/ |
| H A D | GDBRemoteCommunicationClient.cpp | 2273 case llvm::Triple::GOFF: in GetCurrentProcessInfo()
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/ |
| H A D | AddressSanitizer.cpp | 2248 case Triple::GOFF: in getGlobalMetadataSection()
|