/external/swiftshader/third_party/llvm-7.0/llvm/lib/MC/ |
D | ELFObjectWriter.cpp | 69 using SectionIndexMapTy = DenseMap<const MCSectionELF *, uint32_t>; 74 bool isDwoSection(const MCSectionELF &Sec) { in isDwoSection() 151 std::vector<const MCSectionELF *> SectionTable; 152 unsigned addToSectionTable(const MCSectionELF *Sec); 188 std::map<const MCSectionELF *, std::pair<uint64_t, uint64_t>>; 205 MCSectionELF *createRelocationSection(MCContext &Ctx, 206 const MCSectionELF &Sec); 208 const MCSectionELF *createStringTable(MCContext &Ctx); 222 void writeRelocations(const MCAssembler &Asm, const MCSectionELF &Sec); 227 const MCSectionELF &Section); [all …]
|
D | MCSectionELF.cpp | 21 MCSectionELF::~MCSectionELF() = default; // anchor. 25 bool MCSectionELF::ShouldOmitSectionDirective(StringRef Name, in ShouldOmitSectionDirective() 56 void MCSectionELF::PrintSwitchToSection(const MCAsmInfo &MAI, const Triple &T, in PrintSwitchToSection() 188 bool MCSectionELF::UseCodeAlign() const { in UseCodeAlign() 192 bool MCSectionELF::isVirtualSection() const { in isVirtualSection()
|
D | MCContext.cpp | 301 void MCContext::renameELFSection(MCSectionELF *Section, StringRef Name) { in renameELFSection() 314 const_cast<MCSectionELF *>(Section)->setSectionName(CachedName); in renameELFSection() 317 MCSectionELF *MCContext::createELFSectionImpl(StringRef Section, unsigned Type, in createELFSectionImpl() 341 auto *Ret = new (ELFAllocator.Allocate()) MCSectionELF( in createELFSectionImpl() 352 MCSectionELF *MCContext::createELFRelSection(const Twine &Name, unsigned Type, in createELFRelSection() 355 const MCSectionELF *RelInfoSection) { in createELFRelSection() 366 MCSectionELF *MCContext::getELFNamedSection(const Twine &Prefix, in getELFNamedSection() 373 MCSectionELF *MCContext::getELFSection(const Twine &Section, unsigned Type, in getELFSection() 385 MCSectionELF *MCContext::getELFSection(const Twine &Section, unsigned Type, in getELFSection() 410 MCSectionELF *Result = createELFSectionImpl( in getELFSection() [all …]
|
D | MCELFStreamer.cpp | 104 const MCSectionELF &Section = in EmitLabel() 105 static_cast<const MCSectionELF &>(*getCurrentSectionOnly()); in EmitLabel() 114 const MCSectionELF &Section = in EmitLabel() 115 static_cast<const MCSectionELF &>(*getCurrentSectionOnly()); in EmitLabel() 155 auto *SectionELF = static_cast<const MCSectionELF *>(Section); in ChangeSection()
|
/external/llvm/lib/MC/ |
D | ELFObjectWriter.cpp | 45 typedef DenseMap<const MCSectionELF *, uint32_t> SectionIndexMapTy; 102 llvm::DenseMap<const MCSectionELF *, std::vector<ELFRelocationEntry>> 123 std::vector<const MCSectionELF *> SectionTable; 124 unsigned addToSectionTable(const MCSectionELF *Sec); 177 typedef std::map<const MCSectionELF *, std::pair<uint64_t, uint64_t>> 203 MCSectionELF *createRelocationSection(MCContext &Ctx, 204 const MCSectionELF &Sec); 206 const MCSectionELF *createStringTable(MCContext &Ctx); 223 void writeRelocations(const MCAssembler &Asm, const MCSectionELF &Sec); 235 const MCSectionELF &Section); [all …]
|
D | MCContext.cpp | 127 MCSymbolELF *MCContext::getOrCreateSectionSymbol(const MCSectionELF &Section) { in getOrCreateSectionSymbol() 296 void MCContext::renameELFSection(MCSectionELF *Section, StringRef Name) { in renameELFSection() 309 const_cast<MCSectionELF *>(Section)->setSectionName(CachedName); in renameELFSection() 312 MCSectionELF *MCContext::createELFRelSection(const Twine &Name, unsigned Type, in createELFRelSection() 315 const MCSectionELF *Associated) { in createELFRelSection() 322 MCSectionELF(I->getKey(), Type, Flags, SectionKind::getReadOnly(), in createELFRelSection() 326 MCSectionELF *MCContext::getELFNamedSection(const Twine &Prefix, in getELFNamedSection() 333 MCSectionELF *MCContext::getELFSection(const Twine &Section, unsigned Type, in getELFSection() 345 MCSectionELF *MCContext::getELFSection(const Twine &Section, unsigned Type, in getELFSection() 350 const MCSectionELF *Associated) { in getELFSection() [all …]
|
D | MCSectionELF.cpp | 20 MCSectionELF::~MCSectionELF() {} // anchor. in ~MCSectionELF() 24 bool MCSectionELF::ShouldOmitSectionDirective(StringRef Name, in ShouldOmitSectionDirective() 56 void MCSectionELF::PrintSwitchToSection(const MCAsmInfo &MAI, in PrintSwitchToSection() 162 bool MCSectionELF::UseCodeAlign() const { in UseCodeAlign() 166 bool MCSectionELF::isVirtualSection() const { in isVirtualSection()
|
/external/llvm/include/llvm/MC/ |
D | MCContext.h | 44 class MCSectionELF; variable 80 SpecificBumpPtrAllocator<MCSectionELF> ELFAllocator; 88 DenseMap<const MCSectionELF *, MCSymbolELF *> SectionSymbols; 220 std::map<ELFSectionKey, MCSectionELF *> ELFUniquingMap; 295 MCSymbolELF *getOrCreateSectionSymbol(const MCSectionELF &Section); 342 MCSectionELF *getELFSection(const Twine &Section, unsigned Type, in getELFSection() 347 MCSectionELF *getELFSection(const Twine &Section, unsigned Type, in getELFSection() 352 MCSectionELF *getELFSection(const Twine &Section, unsigned Type, in getELFSection() 358 MCSectionELF *getELFSection(const Twine &Section, unsigned Type, in getELFSection() 365 MCSectionELF *getELFSection(const Twine &Section, unsigned Type, in getELFSection() [all …]
|
D | MCSectionELF.h | 30 class MCSectionELF final : public MCSection { 51 const MCSectionELF *Associated; 55 MCSectionELF(StringRef Section, unsigned type, unsigned flags, SectionKind K, in MCSectionELF() function 57 MCSymbol *Begin, const MCSectionELF *Associated) in MCSectionELF() 68 ~MCSectionELF(); 89 const MCSectionELF *getAssociatedSection() const { return Associated; } in getAssociatedSection()
|
/external/swiftshader/third_party/LLVM/lib/MC/ |
D | ELFObjectWriter.cpp | 300 const MCSectionELF &Section = in WriteSymbolTable() 301 static_cast<const MCSectionELF&>(i->getSection()); in WriteSymbolTable() 355 const MCSectionELF &Section = in SymbolToReloc() 356 static_cast<const MCSectionELF&>(ASymbol.getSection()); in SymbolToReloc() 369 const MCSectionELF &Sec2 = in SymbolToReloc() 370 static_cast<const MCSectionELF&>(F.getParent()->getSection()); in SymbolToReloc() 532 const MCSectionELF &Section = in ComputeIndexMap() 533 static_cast<const MCSectionELF &>(it->getSection()); in ComputeIndexMap() 541 const MCSectionELF &Section = in ComputeIndexMap() 542 static_cast<const MCSectionELF &>(it->getSection()); in ComputeIndexMap() [all …]
|
D | MCSectionELF.cpp | 19 MCSectionELF::~MCSectionELF() {} // anchor. in ~MCSectionELF() 23 bool MCSectionELF::ShouldOmitSectionDirective(StringRef Name, in ShouldOmitSectionDirective() 34 void MCSectionELF::PrintSwitchToSection(const MCAsmInfo &MAI, in PrintSwitchToSection() 134 bool MCSectionELF::UseCodeAlign() const { in UseCodeAlign() 138 bool MCSectionELF::isVirtualSection() const { in isVirtualSection() 142 unsigned MCSectionELF::DetermineEntrySize(SectionKind Kind) { in DetermineEntrySize()
|
D | MCContext.cpp | 26 typedef StringMap<const MCSectionELF*> ELFUniqueMapTy; 184 const MCSectionELF *MCContext:: 190 const MCSectionELF *MCContext:: 198 StringMapEntry<const MCSectionELF*> &Entry = Map.GetOrCreateValue(Section); in getELFSection() 203 EntrySize = MCSectionELF::DetermineEntrySize(Kind); in getELFSection() 210 MCSectionELF *Result = new (*this) MCSectionELF(Entry.getKey(), Type, Flags, in getELFSection() 216 const MCSectionELF *MCContext::CreateELFGroupSection() { in CreateELFGroupSection() 217 MCSectionELF *Result = in CreateELFGroupSection() 218 new (*this) MCSectionELF(".group", ELF::SHT_GROUP, 0, in CreateELFGroupSection()
|
D | ELFObjectWriter.h | 35 class MCSectionELF; variable 56 const MCSectionELF &Section); 258 typedef DenseMap<const MCSectionELF*, uint32_t> SectionIndexMapTy; 272 typedef DenseMap<const MCSectionELF*, const MCSymbol*> GroupMapTy; 274 typedef DenseMap<const MCSymbol*, const MCSectionELF*> RevGroupMapTy; 276 typedef DenseMap<const MCSectionELF*, const MCSectionELF*> RelMapTy; 278 typedef DenseMap<const MCSectionELF*, uint64_t> SectionOffsetMapTy; 321 std::vector<const MCSectionELF*> &Sections); 344 const MCSectionELF &Section);
|
D | MCELFStreamer.cpp | 46 const MCSectionELF &Section = in EmitLabel() 47 static_cast<const MCSectionELF&>(Symbol->getSection()); in EmitLabel() 85 const MCSymbol *Grp = static_cast<const MCSectionELF *>(Section)->getGroup(); in ChangeSection()
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/MC/ |
D | MCContext.h | 50 class MCSectionELF; variable 92 SpecificBumpPtrAllocator<MCSectionELF> ELFAllocator; 251 std::map<ELFSectionKey, MCSectionELF *> ELFUniquingMap; 271 MCSectionELF *createELFSectionImpl(StringRef Section, unsigned Type, 393 MCSectionELF *getELFSection(const Twine &Section, unsigned Type, in getELFSection() 398 MCSectionELF *getELFSection(const Twine &Section, unsigned Type, in getELFSection() 404 MCSectionELF *getELFSection(const Twine &Section, unsigned Type, in getELFSection() 411 MCSectionELF *getELFSection(const Twine &Section, unsigned Type, 416 MCSectionELF *getELFSection(const Twine &Section, unsigned Type, 425 MCSectionELF *getELFNamedSection(const Twine &Prefix, const Twine &Suffix, [all …]
|
D | MCSectionELF.h | 28 class MCSectionELF final : public MCSection { 54 MCSectionELF(StringRef Section, unsigned type, unsigned flags, SectionKind K, in MCSectionELF() function 67 ~MCSectionELF();
|
/external/swiftshader/third_party/LLVM/include/llvm/MC/ |
D | MCSectionELF.h | 26 class MCSectionELF : public MCSection { 47 MCSectionELF(StringRef Section, unsigned type, unsigned flags, in MCSectionELF() function 51 ~MCSectionELF(); 78 static bool classof(const MCSectionELF *) { return true; } in classof() argument
|
D | MCContext.h | 35 class MCSectionELF; variable 183 const MCSectionELF *getELFSection(StringRef Section, unsigned Type, 186 const MCSectionELF *getELFSection(StringRef Section, unsigned Type, 190 const MCSectionELF *CreateELFGroupSection();
|
/external/swiftshader/third_party/LLVM/lib/CodeGen/ |
D | ELFWriter.cpp | 190 const MCSectionELF *Data = (const MCSectionELF *)TLOF.getDataSection(); in getDataSection() 196 const MCSectionELF *BSS = (const MCSectionELF *)TLOF.getBSSSection(); in getBSSSection() 202 const MCSectionELF *Ctor = (const MCSectionELF *)TLOF.getStaticCtorSection(); in getCtorSection() 208 const MCSectionELF *Dtor = (const MCSectionELF *)TLOF.getStaticDtorSection(); in getDtorSection() 214 const MCSectionELF *Text = in getTextSection() 215 (const MCSectionELF *)TLOF.SectionForGlobal(F, Mang, TM); in getTextSection() 222 const MCSectionELF *JT = in getJumpTableSection() 223 (const MCSectionELF *)TLOF.getSectionForConstant(SectionKind::getReadOnly()); in getJumpTableSection() 247 const MCSectionELF *CPSect = in getConstantPoolSection() 248 (const MCSectionELF *)TLOF.getSectionForConstant(Kind); in getConstantPoolSection() [all …]
|
/external/llvm/lib/Target/Hexagon/ |
D | HexagonTargetObjectFile.h | 36 MCSectionELF *SmallDataSection; 37 MCSectionELF *SmallBSSSection;
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Hexagon/ |
D | HexagonTargetObjectFile.h | 42 MCSectionELF *SmallDataSection; 43 MCSectionELF *SmallBSSSection;
|
/external/llvm/lib/Target/Mips/MCTargetDesc/ |
D | MipsOptionRecord.cpp | 31 MCSectionELF *Sec = in EmitMipsOptionRecord() 50 MCSectionELF *Sec = Context.getELFSection(".reginfo", ELF::SHT_MIPS_REGINFO, in EmitMipsOptionRecord()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Mips/MCTargetDesc/ |
D | MipsOptionRecord.cpp | 37 MCSectionELF *Sec = in EmitMipsOptionRecord() 56 MCSectionELF *Sec = Context.getELFSection(".reginfo", ELF::SHT_MIPS_REGINFO, in EmitMipsOptionRecord()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AMDGPU/ |
D | R600AsmPrinter.cpp | 113 MCSectionELF *ConfigSection = in runOnMachineFunction() 122 MCSectionELF *CommentSection = in runOnMachineFunction()
|
/external/llvm/lib/Target/AMDGPU/MCTargetDesc/ |
D | AMDGPUTargetStreamer.cpp | 259 MCSectionELF *Note = OS.getContext().getELFSection(".note", ELF::SHT_NOTE, 0); in EmitDirectiveHSACodeObjectVersion() 282 MCSectionELF *Note = OS.getContext().getELFSection(".note", ELF::SHT_NOTE, 0); in EmitDirectiveHSACodeObjectISA()
|