Lines Matching refs:Streamer
1353 MCObjectStreamer &Streamer; member in __anon19791e2a0111::FrameEmitterImpl
1356 FrameEmitterImpl(bool IsEH, MCObjectStreamer &Streamer) in FrameEmitterImpl() argument
1357 : IsEH(IsEH), Streamer(Streamer) {} in FrameEmitterImpl()
1372 static void emitEncodingByte(MCObjectStreamer &Streamer, unsigned Encoding) { in emitEncodingByte() argument
1373 Streamer.emitInt8(Encoding); in emitEncodingByte()
1377 int dataAlignmentFactor = getDataAlignmentFactor(Streamer); in emitCFIInstruction()
1378 auto *MRI = Streamer.getContext().getRegisterInfo(); in emitCFIInstruction()
1388 Streamer.emitInt8(dwarf::DW_CFA_register); in emitCFIInstruction()
1389 Streamer.emitULEB128IntValue(Reg1); in emitCFIInstruction()
1390 Streamer.emitULEB128IntValue(Reg2); in emitCFIInstruction()
1394 Streamer.emitInt8(dwarf::DW_CFA_GNU_window_save); in emitCFIInstruction()
1398 Streamer.emitInt8(dwarf::DW_CFA_AARCH64_negate_ra_state); in emitCFIInstruction()
1403 Streamer.emitInt8(dwarf::DW_CFA_undefined); in emitCFIInstruction()
1404 Streamer.emitULEB128IntValue(Reg); in emitCFIInstruction()
1412 Streamer.emitInt8(dwarf::DW_CFA_def_cfa_offset); in emitCFIInstruction()
1419 Streamer.emitULEB128IntValue(CFAOffset); in emitCFIInstruction()
1427 Streamer.emitInt8(dwarf::DW_CFA_def_cfa); in emitCFIInstruction()
1428 Streamer.emitULEB128IntValue(Reg); in emitCFIInstruction()
1430 Streamer.emitULEB128IntValue(CFAOffset); in emitCFIInstruction()
1438 Streamer.emitInt8(dwarf::DW_CFA_def_cfa_register); in emitCFIInstruction()
1439 Streamer.emitULEB128IntValue(Reg); in emitCFIInstruction()
1458 Streamer.emitInt8(dwarf::DW_CFA_offset_extended_sf); in emitCFIInstruction()
1459 Streamer.emitULEB128IntValue(Reg); in emitCFIInstruction()
1460 Streamer.emitSLEB128IntValue(Offset); in emitCFIInstruction()
1462 Streamer.emitInt8(dwarf::DW_CFA_offset + Reg); in emitCFIInstruction()
1463 Streamer.emitULEB128IntValue(Offset); in emitCFIInstruction()
1465 Streamer.emitInt8(dwarf::DW_CFA_offset_extended); in emitCFIInstruction()
1466 Streamer.emitULEB128IntValue(Reg); in emitCFIInstruction()
1467 Streamer.emitULEB128IntValue(Offset); in emitCFIInstruction()
1472 Streamer.emitInt8(dwarf::DW_CFA_remember_state); in emitCFIInstruction()
1475 Streamer.emitInt8(dwarf::DW_CFA_restore_state); in emitCFIInstruction()
1479 Streamer.emitInt8(dwarf::DW_CFA_same_value); in emitCFIInstruction()
1480 Streamer.emitULEB128IntValue(Reg); in emitCFIInstruction()
1488 Streamer.emitInt8(dwarf::DW_CFA_restore | Reg); in emitCFIInstruction()
1490 Streamer.emitInt8(dwarf::DW_CFA_restore_extended); in emitCFIInstruction()
1491 Streamer.emitULEB128IntValue(Reg); in emitCFIInstruction()
1496 Streamer.emitInt8(dwarf::DW_CFA_GNU_args_size); in emitCFIInstruction()
1497 Streamer.emitULEB128IntValue(Instr.getOffset()); in emitCFIInstruction()
1501 Streamer.emitBytes(Instr.getValues()); in emitCFIInstruction()
1519 Streamer.emitDwarfAdvanceFrameAddr(BaseLabel, ThisSym); in emitCFIInstructions()
1530 MCContext &Context = Streamer.getContext(); in EmitCompactUnwind()
1565 unsigned Size = getSizeForEncoding(Streamer, FDEEncoding); in EmitCompactUnwind()
1566 Streamer.emitSymbolValue(Frame.Begin, Size); in EmitCompactUnwind()
1571 emitAbsValue(Streamer, Range, 4); in EmitCompactUnwind()
1574 Size = getSizeForEncoding(Streamer, dwarf::DW_EH_PE_udata4); in EmitCompactUnwind()
1575 Streamer.emitIntValue(Encoding, Size); in EmitCompactUnwind()
1578 Size = getSizeForEncoding(Streamer, dwarf::DW_EH_PE_absptr); in EmitCompactUnwind()
1580 Streamer.emitSymbolValue(Frame.Personality, Size); in EmitCompactUnwind()
1582 Streamer.emitIntValue(0, Size); // No personality fn in EmitCompactUnwind()
1585 Size = getSizeForEncoding(Streamer, Frame.LsdaEncoding); in EmitCompactUnwind()
1587 Streamer.emitSymbolValue(Frame.Lsda, Size); in EmitCompactUnwind()
1589 Streamer.emitIntValue(0, Size); // No LSDA in EmitCompactUnwind()
1608 MCContext &context = Streamer.getContext(); in EmitCIE()
1613 Streamer.emitLabel(sectionStart); in EmitCIE()
1624 Streamer.emitInt32(dwarf::DW_LENGTH_DWARF64); in EmitCIE()
1629 emitAbsValue(Streamer, Length, OffsetSize); in EmitCIE()
1634 Streamer.emitIntValue(CIE_ID, OffsetSize); in EmitCIE()
1638 Streamer.emitInt8(CIEVersion); in EmitCIE()
1652 Streamer.emitBytes(Augmentation); in EmitCIE()
1654 Streamer.emitInt8(0); in EmitCIE()
1658 Streamer.emitInt8(context.getAsmInfo()->getCodePointerSize()); in EmitCIE()
1661 Streamer.emitInt8(0); in EmitCIE()
1665 Streamer.emitULEB128IntValue(context.getAsmInfo()->getMinInstAlignment()); in EmitCIE()
1668 Streamer.emitSLEB128IntValue(getDataAlignmentFactor(Streamer)); in EmitCIE()
1678 Streamer.emitInt8(RAReg); in EmitCIE()
1680 Streamer.emitULEB128IntValue(RAReg); in EmitCIE()
1691 getSizeForEncoding(Streamer, Frame.PersonalityEncoding); in EmitCIE()
1698 Streamer.emitULEB128IntValue(augmentationLength); in EmitCIE()
1703 emitEncodingByte(Streamer, Frame.PersonalityEncoding); in EmitCIE()
1705 EmitPersonality(Streamer, *Frame.Personality, Frame.PersonalityEncoding); in EmitCIE()
1709 emitEncodingByte(Streamer, Frame.LsdaEncoding); in EmitCIE()
1712 emitEncodingByte(Streamer, MOFI->getFDEEncoding()); in EmitCIE()
1727 Streamer.emitValueToAlignment(IsEH ? 4 : MAI->getCodePointerSize()); in EmitCIE()
1729 Streamer.emitLabel(sectionEnd); in EmitCIE()
1737 MCContext &context = Streamer.getContext(); in EmitFDE()
1749 Streamer.emitInt32(dwarf::DW_LENGTH_DWARF64); in EmitFDE()
1753 emitAbsValue(Streamer, Length, OffsetSize); in EmitFDE()
1755 Streamer.emitLabel(fdeStart); in EmitFDE()
1762 emitAbsValue(Streamer, offset, OffsetSize); in EmitFDE()
1766 emitAbsValue(Streamer, offset, OffsetSize); in EmitFDE()
1768 Streamer.emitSymbolValue(&cieStart, OffsetSize, in EmitFDE()
1775 unsigned PCSize = getSizeForEncoding(Streamer, PCEncoding); in EmitFDE()
1776 emitFDESymbol(Streamer, *frame.Begin, PCEncoding, IsEH); in EmitFDE()
1781 emitAbsValue(Streamer, Range, PCSize); in EmitFDE()
1788 augmentationLength += getSizeForEncoding(Streamer, frame.LsdaEncoding); in EmitFDE()
1790 Streamer.emitULEB128IntValue(augmentationLength); in EmitFDE()
1794 emitFDESymbol(Streamer, *frame.Lsda, frame.LsdaEncoding, true); in EmitFDE()
1805 Streamer.emitValueToAlignment(Align); in EmitFDE()
1807 Streamer.emitLabel(fdeEnd); in EmitFDE()
1886 void MCDwarfFrameEmitter::Emit(MCObjectStreamer &Streamer, MCAsmBackend *MAB, in Emit() argument
1888 Streamer.generateCompactUnwindEncodings(MAB); in Emit()
1890 MCContext &Context = Streamer.getContext(); in Emit()
1893 FrameEmitterImpl Emitter(IsEH, Streamer); in Emit()
1894 ArrayRef<MCDwarfFrameInfo> FrameArray = Streamer.getDwarfFrameInfos(); in Emit()
1903 Streamer.SwitchSection(MOFI->getCompactUnwindSection()); in Emit()
1904 Streamer.emitValueToAlignment(AsmInfo->getCodePointerSize()); in Emit()
1920 Streamer.SwitchSection(&Section); in Emit()
1922 Streamer.emitLabel(SectionStart); in Emit()
1955 void MCDwarfFrameEmitter::EmitAdvanceLoc(MCObjectStreamer &Streamer, in EmitAdvanceLoc() argument
1957 MCContext &Context = Streamer.getContext(); in EmitAdvanceLoc()
1961 Streamer.emitBytes(OS.str()); in EmitAdvanceLoc()