Lines Matching refs:Streamer
1305 MCObjectStreamer &Streamer; member in __anon9ac4b6f30211::FrameEmitterImpl
1308 FrameEmitterImpl(bool IsEH, MCObjectStreamer &Streamer) in FrameEmitterImpl() argument
1309 : IsEH(IsEH), Streamer(Streamer) {} in FrameEmitterImpl()
1324 static void emitEncodingByte(MCObjectStreamer &Streamer, unsigned Encoding) { in emitEncodingByte() argument
1325 Streamer.emitInt8(Encoding); in emitEncodingByte()
1329 int dataAlignmentFactor = getDataAlignmentFactor(Streamer); in emitCFIInstruction()
1330 auto *MRI = Streamer.getContext().getRegisterInfo(); in emitCFIInstruction()
1340 Streamer.emitInt8(dwarf::DW_CFA_register); in emitCFIInstruction()
1341 Streamer.emitULEB128IntValue(Reg1); in emitCFIInstruction()
1342 Streamer.emitULEB128IntValue(Reg2); in emitCFIInstruction()
1346 Streamer.emitInt8(dwarf::DW_CFA_GNU_window_save); in emitCFIInstruction()
1350 Streamer.emitInt8(dwarf::DW_CFA_AARCH64_negate_ra_state); in emitCFIInstruction()
1355 Streamer.emitInt8(dwarf::DW_CFA_undefined); in emitCFIInstruction()
1356 Streamer.emitULEB128IntValue(Reg); in emitCFIInstruction()
1364 Streamer.emitInt8(dwarf::DW_CFA_def_cfa_offset); in emitCFIInstruction()
1371 Streamer.emitULEB128IntValue(CFAOffset); in emitCFIInstruction()
1379 Streamer.emitInt8(dwarf::DW_CFA_def_cfa); in emitCFIInstruction()
1380 Streamer.emitULEB128IntValue(Reg); in emitCFIInstruction()
1382 Streamer.emitULEB128IntValue(CFAOffset); in emitCFIInstruction()
1390 Streamer.emitInt8(dwarf::DW_CFA_def_cfa_register); in emitCFIInstruction()
1391 Streamer.emitULEB128IntValue(Reg); in emitCFIInstruction()
1400 Streamer.emitIntValue(dwarf::DW_CFA_LLVM_def_aspace_cfa, 1); in emitCFIInstruction()
1401 Streamer.emitULEB128IntValue(Reg); in emitCFIInstruction()
1403 Streamer.emitULEB128IntValue(CFAOffset); in emitCFIInstruction()
1404 Streamer.emitULEB128IntValue(Instr.getAddressSpace()); in emitCFIInstruction()
1423 Streamer.emitInt8(dwarf::DW_CFA_offset_extended_sf); in emitCFIInstruction()
1424 Streamer.emitULEB128IntValue(Reg); in emitCFIInstruction()
1425 Streamer.emitSLEB128IntValue(Offset); in emitCFIInstruction()
1427 Streamer.emitInt8(dwarf::DW_CFA_offset + Reg); in emitCFIInstruction()
1428 Streamer.emitULEB128IntValue(Offset); in emitCFIInstruction()
1430 Streamer.emitInt8(dwarf::DW_CFA_offset_extended); in emitCFIInstruction()
1431 Streamer.emitULEB128IntValue(Reg); in emitCFIInstruction()
1432 Streamer.emitULEB128IntValue(Offset); in emitCFIInstruction()
1437 Streamer.emitInt8(dwarf::DW_CFA_remember_state); in emitCFIInstruction()
1440 Streamer.emitInt8(dwarf::DW_CFA_restore_state); in emitCFIInstruction()
1444 Streamer.emitInt8(dwarf::DW_CFA_same_value); in emitCFIInstruction()
1445 Streamer.emitULEB128IntValue(Reg); in emitCFIInstruction()
1453 Streamer.emitInt8(dwarf::DW_CFA_restore | Reg); in emitCFIInstruction()
1455 Streamer.emitInt8(dwarf::DW_CFA_restore_extended); in emitCFIInstruction()
1456 Streamer.emitULEB128IntValue(Reg); in emitCFIInstruction()
1461 Streamer.emitInt8(dwarf::DW_CFA_GNU_args_size); in emitCFIInstruction()
1462 Streamer.emitULEB128IntValue(Instr.getOffset()); in emitCFIInstruction()
1466 Streamer.emitBytes(Instr.getValues()); in emitCFIInstruction()
1469 Streamer.emitLabel(Instr.getCfiLabel(), Instr.getLoc()); in emitCFIInstruction()
1487 Streamer.emitDwarfAdvanceFrameAddr(BaseLabel, ThisSym, Instr.getLoc()); in emitCFIInstructions()
1498 MCContext &Context = Streamer.getContext(); in EmitCompactUnwind()
1533 unsigned Size = getSizeForEncoding(Streamer, FDEEncoding); in EmitCompactUnwind()
1534 Streamer.emitSymbolValue(Frame.Begin, Size); in EmitCompactUnwind()
1539 emitAbsValue(Streamer, Range, 4); in EmitCompactUnwind()
1542 Size = getSizeForEncoding(Streamer, dwarf::DW_EH_PE_udata4); in EmitCompactUnwind()
1543 Streamer.emitIntValue(Encoding, Size); in EmitCompactUnwind()
1546 Size = getSizeForEncoding(Streamer, dwarf::DW_EH_PE_absptr); in EmitCompactUnwind()
1548 Streamer.emitSymbolValue(Frame.Personality, Size); in EmitCompactUnwind()
1550 Streamer.emitIntValue(0, Size); // No personality fn in EmitCompactUnwind()
1553 Size = getSizeForEncoding(Streamer, Frame.LsdaEncoding); in EmitCompactUnwind()
1555 Streamer.emitSymbolValue(Frame.Lsda, Size); in EmitCompactUnwind()
1557 Streamer.emitIntValue(0, Size); // No LSDA in EmitCompactUnwind()
1576 MCContext &context = Streamer.getContext(); in EmitCIE()
1581 Streamer.emitLabel(sectionStart); in EmitCIE()
1592 Streamer.emitInt32(dwarf::DW_LENGTH_DWARF64); in EmitCIE()
1597 emitAbsValue(Streamer, Length, OffsetSize); in EmitCIE()
1602 Streamer.emitIntValue(CIE_ID, OffsetSize); in EmitCIE()
1606 Streamer.emitInt8(CIEVersion); in EmitCIE()
1622 Streamer.emitBytes(Augmentation); in EmitCIE()
1624 Streamer.emitInt8(0); in EmitCIE()
1628 Streamer.emitInt8(context.getAsmInfo()->getCodePointerSize()); in EmitCIE()
1631 Streamer.emitInt8(0); in EmitCIE()
1635 Streamer.emitULEB128IntValue(context.getAsmInfo()->getMinInstAlignment()); in EmitCIE()
1638 Streamer.emitSLEB128IntValue(getDataAlignmentFactor(Streamer)); in EmitCIE()
1648 Streamer.emitInt8(RAReg); in EmitCIE()
1650 Streamer.emitULEB128IntValue(RAReg); in EmitCIE()
1661 getSizeForEncoding(Streamer, Frame.PersonalityEncoding); in EmitCIE()
1668 Streamer.emitULEB128IntValue(augmentationLength); in EmitCIE()
1673 emitEncodingByte(Streamer, Frame.PersonalityEncoding); in EmitCIE()
1675 EmitPersonality(Streamer, *Frame.Personality, Frame.PersonalityEncoding); in EmitCIE()
1679 emitEncodingByte(Streamer, Frame.LsdaEncoding); in EmitCIE()
1682 emitEncodingByte(Streamer, MOFI->getFDEEncoding()); in EmitCIE()
1697 Streamer.emitValueToAlignment(Align(IsEH ? 4 : MAI->getCodePointerSize())); in EmitCIE()
1699 Streamer.emitLabel(sectionEnd); in EmitCIE()
1707 MCContext &context = Streamer.getContext(); in EmitFDE()
1719 Streamer.emitInt32(dwarf::DW_LENGTH_DWARF64); in EmitFDE()
1723 emitAbsValue(Streamer, Length, OffsetSize); in EmitFDE()
1725 Streamer.emitLabel(fdeStart); in EmitFDE()
1732 emitAbsValue(Streamer, offset, OffsetSize); in EmitFDE()
1736 emitAbsValue(Streamer, offset, OffsetSize); in EmitFDE()
1738 Streamer.emitSymbolValue(&cieStart, OffsetSize, in EmitFDE()
1745 unsigned PCSize = getSizeForEncoding(Streamer, PCEncoding); in EmitFDE()
1746 emitFDESymbol(Streamer, *frame.Begin, PCEncoding, IsEH); in EmitFDE()
1751 emitAbsValue(Streamer, Range, PCSize); in EmitFDE()
1758 augmentationLength += getSizeForEncoding(Streamer, frame.LsdaEncoding); in EmitFDE()
1760 Streamer.emitULEB128IntValue(augmentationLength); in EmitFDE()
1764 emitFDESymbol(Streamer, *frame.Lsda, frame.LsdaEncoding, true); in EmitFDE()
1775 Streamer.emitValueToAlignment(Align(Alignment)); in EmitFDE()
1777 Streamer.emitLabel(fdeEnd); in EmitFDE()
1831 void MCDwarfFrameEmitter::Emit(MCObjectStreamer &Streamer, MCAsmBackend *MAB, in Emit() argument
1833 MCContext &Context = Streamer.getContext(); in Emit()
1836 FrameEmitterImpl Emitter(IsEH, Streamer); in Emit()
1837 ArrayRef<MCDwarfFrameInfo> FrameArray = Streamer.getDwarfFrameInfos(); in Emit()
1842 Streamer.generateCompactUnwindEncodings(MAB); in Emit()
1847 Streamer.switchSection(MOFI->getCompactUnwindSection()); in Emit()
1848 Streamer.emitValueToAlignment(Align(AsmInfo->getCodePointerSize())); in Emit()
1868 Streamer.switchSection(&Section); in Emit()
1870 Streamer.emitLabel(SectionStart); in Emit()