Lines Matching refs:Streamer

1300   MCObjectStreamer &Streamer;  member in __anon5f208a230211::FrameEmitterImpl
1303 FrameEmitterImpl(bool IsEH, MCObjectStreamer &Streamer) in FrameEmitterImpl() argument
1304 : IsEH(IsEH), Streamer(Streamer) {} in FrameEmitterImpl()
1319 static void emitEncodingByte(MCObjectStreamer &Streamer, unsigned Encoding) { in emitEncodingByte() argument
1320 Streamer.emitInt8(Encoding); in emitEncodingByte()
1324 int dataAlignmentFactor = getDataAlignmentFactor(Streamer); in emitCFIInstruction()
1325 auto *MRI = Streamer.getContext().getRegisterInfo(); in emitCFIInstruction()
1335 Streamer.emitInt8(dwarf::DW_CFA_register); in emitCFIInstruction()
1336 Streamer.emitULEB128IntValue(Reg1); in emitCFIInstruction()
1337 Streamer.emitULEB128IntValue(Reg2); in emitCFIInstruction()
1341 Streamer.emitInt8(dwarf::DW_CFA_GNU_window_save); in emitCFIInstruction()
1345 Streamer.emitInt8(dwarf::DW_CFA_AARCH64_negate_ra_state); in emitCFIInstruction()
1350 Streamer.emitInt8(dwarf::DW_CFA_undefined); in emitCFIInstruction()
1351 Streamer.emitULEB128IntValue(Reg); in emitCFIInstruction()
1359 Streamer.emitInt8(dwarf::DW_CFA_def_cfa_offset); in emitCFIInstruction()
1366 Streamer.emitULEB128IntValue(CFAOffset); in emitCFIInstruction()
1374 Streamer.emitInt8(dwarf::DW_CFA_def_cfa); in emitCFIInstruction()
1375 Streamer.emitULEB128IntValue(Reg); in emitCFIInstruction()
1377 Streamer.emitULEB128IntValue(CFAOffset); in emitCFIInstruction()
1385 Streamer.emitInt8(dwarf::DW_CFA_def_cfa_register); in emitCFIInstruction()
1386 Streamer.emitULEB128IntValue(Reg); in emitCFIInstruction()
1395 Streamer.emitIntValue(dwarf::DW_CFA_LLVM_def_aspace_cfa, 1); in emitCFIInstruction()
1396 Streamer.emitULEB128IntValue(Reg); in emitCFIInstruction()
1398 Streamer.emitULEB128IntValue(CFAOffset); in emitCFIInstruction()
1399 Streamer.emitULEB128IntValue(Instr.getAddressSpace()); in emitCFIInstruction()
1418 Streamer.emitInt8(dwarf::DW_CFA_offset_extended_sf); in emitCFIInstruction()
1419 Streamer.emitULEB128IntValue(Reg); in emitCFIInstruction()
1420 Streamer.emitSLEB128IntValue(Offset); in emitCFIInstruction()
1422 Streamer.emitInt8(dwarf::DW_CFA_offset + Reg); in emitCFIInstruction()
1423 Streamer.emitULEB128IntValue(Offset); in emitCFIInstruction()
1425 Streamer.emitInt8(dwarf::DW_CFA_offset_extended); in emitCFIInstruction()
1426 Streamer.emitULEB128IntValue(Reg); in emitCFIInstruction()
1427 Streamer.emitULEB128IntValue(Offset); in emitCFIInstruction()
1432 Streamer.emitInt8(dwarf::DW_CFA_remember_state); in emitCFIInstruction()
1435 Streamer.emitInt8(dwarf::DW_CFA_restore_state); in emitCFIInstruction()
1439 Streamer.emitInt8(dwarf::DW_CFA_same_value); in emitCFIInstruction()
1440 Streamer.emitULEB128IntValue(Reg); in emitCFIInstruction()
1448 Streamer.emitInt8(dwarf::DW_CFA_restore | Reg); in emitCFIInstruction()
1450 Streamer.emitInt8(dwarf::DW_CFA_restore_extended); in emitCFIInstruction()
1451 Streamer.emitULEB128IntValue(Reg); in emitCFIInstruction()
1456 Streamer.emitInt8(dwarf::DW_CFA_GNU_args_size); in emitCFIInstruction()
1457 Streamer.emitULEB128IntValue(Instr.getOffset()); in emitCFIInstruction()
1461 Streamer.emitBytes(Instr.getValues()); in emitCFIInstruction()
1479 Streamer.emitDwarfAdvanceFrameAddr(BaseLabel, ThisSym); in emitCFIInstructions()
1490 MCContext &Context = Streamer.getContext(); in EmitCompactUnwind()
1525 unsigned Size = getSizeForEncoding(Streamer, FDEEncoding); in EmitCompactUnwind()
1526 Streamer.emitSymbolValue(Frame.Begin, Size); in EmitCompactUnwind()
1531 emitAbsValue(Streamer, Range, 4); in EmitCompactUnwind()
1534 Size = getSizeForEncoding(Streamer, dwarf::DW_EH_PE_udata4); in EmitCompactUnwind()
1535 Streamer.emitIntValue(Encoding, Size); in EmitCompactUnwind()
1538 Size = getSizeForEncoding(Streamer, dwarf::DW_EH_PE_absptr); in EmitCompactUnwind()
1540 Streamer.emitSymbolValue(Frame.Personality, Size); in EmitCompactUnwind()
1542 Streamer.emitIntValue(0, Size); // No personality fn in EmitCompactUnwind()
1545 Size = getSizeForEncoding(Streamer, Frame.LsdaEncoding); in EmitCompactUnwind()
1547 Streamer.emitSymbolValue(Frame.Lsda, Size); in EmitCompactUnwind()
1549 Streamer.emitIntValue(0, Size); // No LSDA in EmitCompactUnwind()
1568 MCContext &context = Streamer.getContext(); in EmitCIE()
1573 Streamer.emitLabel(sectionStart); in EmitCIE()
1584 Streamer.emitInt32(dwarf::DW_LENGTH_DWARF64); in EmitCIE()
1589 emitAbsValue(Streamer, Length, OffsetSize); in EmitCIE()
1594 Streamer.emitIntValue(CIE_ID, OffsetSize); in EmitCIE()
1598 Streamer.emitInt8(CIEVersion); in EmitCIE()
1614 Streamer.emitBytes(Augmentation); in EmitCIE()
1616 Streamer.emitInt8(0); in EmitCIE()
1620 Streamer.emitInt8(context.getAsmInfo()->getCodePointerSize()); in EmitCIE()
1623 Streamer.emitInt8(0); in EmitCIE()
1627 Streamer.emitULEB128IntValue(context.getAsmInfo()->getMinInstAlignment()); in EmitCIE()
1630 Streamer.emitSLEB128IntValue(getDataAlignmentFactor(Streamer)); in EmitCIE()
1640 Streamer.emitInt8(RAReg); in EmitCIE()
1642 Streamer.emitULEB128IntValue(RAReg); in EmitCIE()
1653 getSizeForEncoding(Streamer, Frame.PersonalityEncoding); in EmitCIE()
1660 Streamer.emitULEB128IntValue(augmentationLength); in EmitCIE()
1665 emitEncodingByte(Streamer, Frame.PersonalityEncoding); in EmitCIE()
1667 EmitPersonality(Streamer, *Frame.Personality, Frame.PersonalityEncoding); in EmitCIE()
1671 emitEncodingByte(Streamer, Frame.LsdaEncoding); in EmitCIE()
1674 emitEncodingByte(Streamer, MOFI->getFDEEncoding()); in EmitCIE()
1689 Streamer.emitValueToAlignment(IsEH ? 4 : MAI->getCodePointerSize()); in EmitCIE()
1691 Streamer.emitLabel(sectionEnd); in EmitCIE()
1699 MCContext &context = Streamer.getContext(); in EmitFDE()
1711 Streamer.emitInt32(dwarf::DW_LENGTH_DWARF64); in EmitFDE()
1715 emitAbsValue(Streamer, Length, OffsetSize); in EmitFDE()
1717 Streamer.emitLabel(fdeStart); in EmitFDE()
1724 emitAbsValue(Streamer, offset, OffsetSize); in EmitFDE()
1728 emitAbsValue(Streamer, offset, OffsetSize); in EmitFDE()
1730 Streamer.emitSymbolValue(&cieStart, OffsetSize, in EmitFDE()
1737 unsigned PCSize = getSizeForEncoding(Streamer, PCEncoding); in EmitFDE()
1738 emitFDESymbol(Streamer, *frame.Begin, PCEncoding, IsEH); in EmitFDE()
1743 emitAbsValue(Streamer, Range, PCSize); in EmitFDE()
1750 augmentationLength += getSizeForEncoding(Streamer, frame.LsdaEncoding); in EmitFDE()
1752 Streamer.emitULEB128IntValue(augmentationLength); in EmitFDE()
1756 emitFDESymbol(Streamer, *frame.Lsda, frame.LsdaEncoding, true); in EmitFDE()
1767 Streamer.emitValueToAlignment(Align); in EmitFDE()
1769 Streamer.emitLabel(fdeEnd); in EmitFDE()
1848 void MCDwarfFrameEmitter::Emit(MCObjectStreamer &Streamer, MCAsmBackend *MAB, in Emit() argument
1850 MCContext &Context = Streamer.getContext(); in Emit()
1853 FrameEmitterImpl Emitter(IsEH, Streamer); in Emit()
1854 ArrayRef<MCDwarfFrameInfo> FrameArray = Streamer.getDwarfFrameInfos(); in Emit()
1859 Streamer.generateCompactUnwindEncodings(MAB); in Emit()
1864 Streamer.switchSection(MOFI->getCompactUnwindSection()); in Emit()
1865 Streamer.emitValueToAlignment(AsmInfo->getCodePointerSize()); in Emit()
1881 Streamer.switchSection(&Section); in Emit()
1883 Streamer.emitLabel(SectionStart); in Emit()
1916 void MCDwarfFrameEmitter::EmitAdvanceLoc(MCObjectStreamer &Streamer, in EmitAdvanceLoc() argument
1918 MCContext &Context = Streamer.getContext(); in EmitAdvanceLoc()
1922 Streamer.emitBytes(OS.str()); in EmitAdvanceLoc()