Lines Matching refs:JT

150   void emitJumpTable(const JumpTable &JT, MCSection *HotSection,
719 JumpTable &JT = *JTI.second; in emitJumpTables() local
721 JT.print(outs()); in emitJumpTables()
724 JT.updateOriginal(); in emitJumpTables()
731 std::string Name = ".local." + JT.Labels[0]->getName().str(); in emitJumpTables()
736 JT.setOutputSection(Section); in emitJumpTables()
748 emitJumpTable(JT, HotSection, ColdSection); in emitJumpTables()
753 void BinaryEmitter::emitJumpTable(const JumpTable &JT, MCSection *HotSection, in emitJumpTable() argument
759 if (opts::JumpTables > JTS_SPLIT && !JT.Counts.empty()) { in emitJumpTable()
760 MCSymbol *CurrentLabel = JT.Labels.at(0); in emitJumpTable()
762 for (unsigned Index = 0; Index < JT.Entries.size(); ++Index) { in emitJumpTable()
763 auto LI = JT.Labels.find(Index * JT.EntrySize); in emitJumpTable()
764 if (LI != JT.Labels.end()) { in emitJumpTable()
769 CurrentLabelCount += JT.Counts[Index].Count; in emitJumpTable()
773 Streamer.switchSection(JT.Count > 0 ? HotSection : ColdSection); in emitJumpTable()
774 Streamer.emitValueToAlignment(JT.EntrySize); in emitJumpTable()
778 for (MCSymbol *Entry : JT.Entries) { in emitJumpTable()
779 auto LI = JT.Labels.find(Offset); in emitJumpTable()
780 if (LI != JT.Labels.end()) { in emitJumpTable()
784 << Twine::utohexstr(JT.getAddress() + Offset) in emitJumpTable()
793 Streamer.emitValueToAlignment(JT.EntrySize); in emitJumpTable()
798 if (JT.Type == JumpTable::JTT_NORMAL) { in emitJumpTable()
799 Streamer.emitSymbolValue(Entry, JT.OutputEntrySize); in emitJumpTable()
807 Streamer.emitValue(Value, JT.EntrySize); in emitJumpTable()
809 Offset += JT.EntrySize; in emitJumpTable()