Home
last modified time | relevance | path

Searched refs:MCSectionMachO (Results 1 – 25 of 37) sorted by relevance

12

/external/swiftshader/third_party/LLVM/lib/MC/
DMCSectionMachO.cpp21 } SectionTypeDescriptors[MCSectionMachO::LAST_KNOWN_SECTION_TYPE+1] = {
58 { MCSectionMachO::ENUM, ASMNAME, #ENUM },
75 MCSectionMachO::MCSectionMachO(StringRef Segment, StringRef Section, in MCSectionMachO() function in MCSectionMachO
93 void MCSectionMachO::PrintSwitchToSection(const MCAsmInfo &MAI, in PrintSwitchToSection()
104 unsigned SectionType = TAA & MCSectionMachO::SECTION_TYPE; in PrintSwitchToSection()
105 assert(SectionType <= MCSectionMachO::LAST_KNOWN_SECTION_TYPE && in PrintSwitchToSection()
118 unsigned SectionAttrs = TAA & MCSectionMachO::SECTION_ATTRIBUTES; in PrintSwitchToSection()
156 bool MCSectionMachO::UseCodeAlign() const { in UseCodeAlign()
157 return hasAttribute(MCSectionMachO::S_ATTR_PURE_INSTRUCTIONS); in UseCodeAlign()
160 bool MCSectionMachO::isVirtualSection() const { in isVirtualSection()
[all …]
DMCObjectFileInfo.cpp36 MCSectionMachO::S_ATTR_PURE_INSTRUCTIONS, in InitMachOMCObjectFileInfo()
44 MCSectionMachO::S_THREAD_LOCAL_REGULAR, in InitMachOMCObjectFileInfo()
48 MCSectionMachO::S_THREAD_LOCAL_ZEROFILL, in InitMachOMCObjectFileInfo()
54 MCSectionMachO::S_THREAD_LOCAL_VARIABLES, in InitMachOMCObjectFileInfo()
59 MCSectionMachO::S_THREAD_LOCAL_INIT_FUNCTION_POINTERS, in InitMachOMCObjectFileInfo()
64 MCSectionMachO::S_CSTRING_LITERALS, in InitMachOMCObjectFileInfo()
71 MCSectionMachO::S_4BYTE_LITERALS, in InitMachOMCObjectFileInfo()
75 MCSectionMachO::S_8BYTE_LITERALS, in InitMachOMCObjectFileInfo()
85 MCSectionMachO::S_16BYTE_LITERALS, in InitMachOMCObjectFileInfo()
94 MCSectionMachO::S_COALESCED | in InitMachOMCObjectFileInfo()
[all …]
DMachObjectWriter.cpp202 const MCSectionMachO &Section = cast<MCSectionMachO>(SD.getSection()); in WriteSection()
216 Flags |= MCSectionMachO::S_ATTR_SOME_INSTRUCTIONS; in WriteSection()
376 const MCSectionMachO &Section = in BindIndirectSymbols()
377 cast<MCSectionMachO>(it->SectionData->getSection()); in BindIndirectSymbols()
379 if (Section.getType() != MCSectionMachO::S_NON_LAZY_SYMBOL_POINTERS) in BindIndirectSymbols()
393 const MCSectionMachO &Section = in BindIndirectSymbols()
394 cast<MCSectionMachO>(it->SectionData->getSection()); in BindIndirectSymbols()
396 if (Section.getType() != MCSectionMachO::S_LAZY_SYMBOL_POINTERS && in BindIndirectSymbols()
397 Section.getType() != MCSectionMachO::S_SYMBOL_STUBS) in BindIndirectSymbols()
764 const MCSectionMachO &Section = in WriteObject()
[all …]
DMCContext.cpp25 typedef StringMap<const MCSectionMachO*> MachOUniqueMapTy;
155 const MCSectionMachO *MCContext::
176 const MCSectionMachO *&Entry = Map[Name.str()]; in getMachOSection()
180 return Entry = new (*this) MCSectionMachO(Segment, Section, TypeAndAttributes, in getMachOSection()
/external/swiftshader/third_party/LLVM/lib/MC/MCParser/
DDarwinAsmParser.cpp126 MCSectionMachO::S_CSTRING_LITERALS); in ParseSectionDirectiveCString()
130 MCSectionMachO::S_4BYTE_LITERALS, 4); in ParseSectionDirectiveLiteral4()
134 MCSectionMachO::S_8BYTE_LITERALS, 8); in ParseSectionDirectiveLiteral8()
138 MCSectionMachO::S_16BYTE_LITERALS, 16); in ParseSectionDirectiveLiteral16()
154 MCSectionMachO::S_SYMBOL_STUBS | in ParseSectionDirectiveSymbolStub()
155 MCSectionMachO::S_ATTR_PURE_INSTRUCTIONS, in ParseSectionDirectiveSymbolStub()
161 MCSectionMachO::S_SYMBOL_STUBS | in ParseSectionDirectivePICSymbolStub()
162 MCSectionMachO::S_ATTR_PURE_INSTRUCTIONS, 0, 26); in ParseSectionDirectivePICSymbolStub()
172 MCSectionMachO::S_NON_LAZY_SYMBOL_POINTERS, 4); in ParseSectionDirectiveNonLazySymbolPointers()
176 MCSectionMachO::S_LAZY_SYMBOL_POINTERS, 4); in ParseSectionDirectiveLazySymbolPointers()
[all …]
/external/swiftshader/third_party/LLVM/lib/Target/X86/MCTargetDesc/
DX86AsmBackend.cpp409 const MCSectionMachO &SMO = static_cast<const MCSectionMachO&>(Section); in doesSectionRequireSymbols()
410 return SMO.getType() == MCSectionMachO::S_CSTRING_LITERALS; in doesSectionRequireSymbols()
414 const MCSectionMachO &SMO = static_cast<const MCSectionMachO&>(Section); in isSectionAtomizable()
420 case MCSectionMachO::S_4BYTE_LITERALS: in isSectionAtomizable()
421 case MCSectionMachO::S_8BYTE_LITERALS: in isSectionAtomizable()
422 case MCSectionMachO::S_16BYTE_LITERALS: in isSectionAtomizable()
423 case MCSectionMachO::S_LITERAL_POINTERS: in isSectionAtomizable()
424 case MCSectionMachO::S_NON_LAZY_SYMBOL_POINTERS: in isSectionAtomizable()
425 case MCSectionMachO::S_LAZY_SYMBOL_POINTERS: in isSectionAtomizable()
426 case MCSectionMachO::S_MOD_INIT_FUNC_POINTERS: in isSectionAtomizable()
[all …]
DX86MachObjectWriter.cpp219 const MCSectionMachO &Section = static_cast<const MCSectionMachO&>( in RecordX86_64Relocation()
221 if (Section.hasAttribute(MCSectionMachO::S_ATTR_DEBUG)) in RecordX86_64Relocation()
/external/llvm/lib/MC/
DMCSectionMachO.cpp72 MCSectionMachO::MCSectionMachO(StringRef Segment, StringRef Section, in MCSectionMachO() function in MCSectionMachO
92 void MCSectionMachO::PrintSwitchToSection(const MCAsmInfo &MAI, in PrintSwitchToSection()
156 bool MCSectionMachO::UseCodeAlign() const { in UseCodeAlign()
160 bool MCSectionMachO::isVirtualSection() const { in isVirtualSection()
171 std::string MCSectionMachO::ParseSectionSpecifier(StringRef Spec, // In. in ParseSectionSpecifier()
DMCAsmInfoDarwin.cpp23 const MCSectionMachO &SMO = static_cast<const MCSectionMachO &>(Section); in isSectionAtomizableBySymbols()
DMachObjectWriter.cpp202 const MCSectionMachO &Section = cast<MCSectionMachO>(Sec); in writeSection()
456 const MCSectionMachO &Section = cast<MCSectionMachO>(*it->Section); in bindIndirectSymbols()
472 const MCSectionMachO &Section = cast<MCSectionMachO>(*it->Section); in bindIndirectSymbols()
488 const MCSectionMachO &Section = cast<MCSectionMachO>(*it->Section); in bindIndirectSymbols()
803 const auto &Sec = cast<MCSectionMachO>(Section); in writeObject()
955 const MCSectionMachO &Section = in writeObject()
956 static_cast<const MCSectionMachO &>(*it->Section); in writeObject()
DMCMachOStreamer.cpp125 static bool canGoAfterDWARF(const MCSectionMachO &MSec) { in canGoAfterDWARF()
155 const MCSectionMachO &MSec = *cast<MCSectionMachO>(Section); in ChangeSection()
DCMakeLists.txt36 MCSectionMachO.cpp
DMCContext.cpp267 MCSectionMachO *MCContext::getMachOSection(StringRef Segment, StringRef Section, in getMachOSection()
283 MCSectionMachO *&Entry = MachOUniquingMap[Name]; in getMachOSection()
292 return Entry = new (MachOAllocator.Allocate()) MCSectionMachO( in getMachOSection()
/external/swiftshader/third_party/LLVM/include/llvm/MC/
DMCSectionMachO.h24 class MCSectionMachO : public MCSection {
36 MCSectionMachO(StringRef Segment, StringRef Section,
176 static bool classof(const MCSectionMachO *) { return true; } in classof() argument
DMCContext.h34 class MCSectionMachO; variable
171 const MCSectionMachO *getMachOSection(StringRef Segment,
176 const MCSectionMachO *getMachOSection(StringRef Segment, in getMachOSection()
/external/swiftshader/third_party/LLVM/lib/Target/PowerPC/
DPPCAsmPrinter.cpp454 MCSectionMachO::S_SYMBOL_STUBS | in EmitStartOfAsmFile()
455 MCSectionMachO::S_ATTR_PURE_INSTRUCTIONS, in EmitStartOfAsmFile()
460 MCSectionMachO::S_SYMBOL_STUBS | in EmitStartOfAsmFile()
461 MCSectionMachO::S_ATTR_PURE_INSTRUCTIONS, in EmitStartOfAsmFile()
495 MCSectionMachO::S_SYMBOL_STUBS | in EmitFunctionStubs()
496 MCSectionMachO::S_ATTR_PURE_INSTRUCTIONS, in EmitFunctionStubs()
542 MCSectionMachO::S_SYMBOL_STUBS | in EmitFunctionStubs()
543 MCSectionMachO::S_ATTR_PURE_INSTRUCTIONS, in EmitFunctionStubs()
/external/llvm/lib/Target/AArch64/MCTargetDesc/
DAArch64MachObjectWriter.cpp117 static bool canUseLocalRelocation(const MCSectionMachO &Section, in canUseLocalRelocation()
130 const MCSectionMachO &RefSec = cast<MCSectionMachO>(Symbol.getSection()); in canUseLocalRelocation()
295 const MCSectionMachO &Section = in recordRelocation()
296 static_cast<const MCSectionMachO &>(*Fragment->getParent()); in recordRelocation()
/external/llvm/include/llvm/MC/
DMCSectionMachO.h25 class MCSectionMachO final : public MCSection {
37 MCSectionMachO(StringRef Segment, StringRef Section, unsigned TAA,
DMCContext.h43 class MCSectionMachO; variable
81 SpecificBumpPtrAllocator<MCSectionMachO> MachOAllocator;
219 StringMap<MCSectionMachO *> MachOUniquingMap;
330 MCSectionMachO *getMachOSection(StringRef Segment, StringRef Section,
335 MCSectionMachO *getMachOSection(StringRef Segment, StringRef Section,
/external/llvm/lib/CodeGen/
DTargetLoweringObjectFileImpl.cpp517 MCSectionMachO::ParseSectionSpecifier(SectionVal, Segment, Section, in emitModuleFlags()
525 MCSectionMachO *S = getContext().getMachOSection( in emitModuleFlags()
555 MCSectionMachO::ParseSectionSpecifier(GV->getSection(), Segment, Section, in getExplicitSectionGlobal()
565 MCSectionMachO *S = in getExplicitSectionGlobal()
788 const MCSectionMachO &SMO = cast<MCSectionMachO>(Section); in canUsePrivateLabel()
/external/swiftshader/third_party/LLVM/lib/Target/X86/
DX86AsmPrinter.cpp495 MCSectionMachO::S_SYMBOL_STUBS | in EmitEndOfAsmFile()
496 MCSectionMachO::S_ATTR_SELF_MODIFYING_CODE | in EmitEndOfAsmFile()
497 MCSectionMachO::S_ATTR_PURE_INSTRUCTIONS, in EmitEndOfAsmFile()
521 MCSectionMachO::S_NON_LAZY_SYMBOL_POINTERS, in EmitEndOfAsmFile()
/external/swiftshader/third_party/LLVM/include/llvm/Target/
DTargetLoweringObjectFile.h29 class MCSectionMachO; variable
/external/swiftshader/third_party/LLVM/include/llvm/CodeGen/
DTargetLoweringObjectFileImpl.h28 class MCSectionMachO; variable
/external/llvm/lib/MC/MCParser/
DDarwinAsmParser.cpp472 const MCSectionMachO *Current = static_cast<const MCSectionMachO*>( in parseDirectiveIndirectSymbol()
615 MCSectionMachO::ParseSectionSpecifier(SectionSpec, Segment, Section, in parseDirectiveSection()
/external/llvm/include/llvm/CodeGen/
DTargetLoweringObjectFileImpl.h27 class MCSectionMachO; variable

12