Lines Matching refs:Streamer

1270   MCObjectStreamer &Streamer;  member in __anone50d09a70111::FrameEmitterImpl
1273 FrameEmitterImpl(bool IsEH, MCObjectStreamer &Streamer) in FrameEmitterImpl() argument
1274 : IsEH(IsEH), Streamer(Streamer) {} in FrameEmitterImpl()
1289 static void emitEncodingByte(MCObjectStreamer &Streamer, unsigned Encoding) { in emitEncodingByte() argument
1290 Streamer.emitInt8(Encoding); in emitEncodingByte()
1294 int dataAlignmentFactor = getDataAlignmentFactor(Streamer); in emitCFIInstruction()
1295 auto *MRI = Streamer.getContext().getRegisterInfo(); in emitCFIInstruction()
1305 Streamer.emitInt8(dwarf::DW_CFA_register); in emitCFIInstruction()
1306 Streamer.emitULEB128IntValue(Reg1); in emitCFIInstruction()
1307 Streamer.emitULEB128IntValue(Reg2); in emitCFIInstruction()
1311 Streamer.emitInt8(dwarf::DW_CFA_GNU_window_save); in emitCFIInstruction()
1315 Streamer.emitInt8(dwarf::DW_CFA_AARCH64_negate_ra_state); in emitCFIInstruction()
1320 Streamer.emitInt8(dwarf::DW_CFA_undefined); in emitCFIInstruction()
1321 Streamer.emitULEB128IntValue(Reg); in emitCFIInstruction()
1329 Streamer.emitInt8(dwarf::DW_CFA_def_cfa_offset); in emitCFIInstruction()
1336 Streamer.emitULEB128IntValue(CFAOffset); in emitCFIInstruction()
1344 Streamer.emitInt8(dwarf::DW_CFA_def_cfa); in emitCFIInstruction()
1345 Streamer.emitULEB128IntValue(Reg); in emitCFIInstruction()
1347 Streamer.emitULEB128IntValue(CFAOffset); in emitCFIInstruction()
1355 Streamer.emitInt8(dwarf::DW_CFA_def_cfa_register); in emitCFIInstruction()
1356 Streamer.emitULEB128IntValue(Reg); in emitCFIInstruction()
1365 Streamer.emitIntValue(dwarf::DW_CFA_LLVM_def_aspace_cfa, 1); in emitCFIInstruction()
1366 Streamer.emitULEB128IntValue(Reg); in emitCFIInstruction()
1368 Streamer.emitULEB128IntValue(CFAOffset); in emitCFIInstruction()
1369 Streamer.emitULEB128IntValue(Instr.getAddressSpace()); in emitCFIInstruction()
1388 Streamer.emitInt8(dwarf::DW_CFA_offset_extended_sf); in emitCFIInstruction()
1389 Streamer.emitULEB128IntValue(Reg); in emitCFIInstruction()
1390 Streamer.emitSLEB128IntValue(Offset); in emitCFIInstruction()
1392 Streamer.emitInt8(dwarf::DW_CFA_offset + Reg); in emitCFIInstruction()
1393 Streamer.emitULEB128IntValue(Offset); in emitCFIInstruction()
1395 Streamer.emitInt8(dwarf::DW_CFA_offset_extended); in emitCFIInstruction()
1396 Streamer.emitULEB128IntValue(Reg); in emitCFIInstruction()
1397 Streamer.emitULEB128IntValue(Offset); in emitCFIInstruction()
1402 Streamer.emitInt8(dwarf::DW_CFA_remember_state); in emitCFIInstruction()
1405 Streamer.emitInt8(dwarf::DW_CFA_restore_state); in emitCFIInstruction()
1409 Streamer.emitInt8(dwarf::DW_CFA_same_value); in emitCFIInstruction()
1410 Streamer.emitULEB128IntValue(Reg); in emitCFIInstruction()
1418 Streamer.emitInt8(dwarf::DW_CFA_restore | Reg); in emitCFIInstruction()
1420 Streamer.emitInt8(dwarf::DW_CFA_restore_extended); in emitCFIInstruction()
1421 Streamer.emitULEB128IntValue(Reg); in emitCFIInstruction()
1426 Streamer.emitInt8(dwarf::DW_CFA_GNU_args_size); in emitCFIInstruction()
1427 Streamer.emitULEB128IntValue(Instr.getOffset()); in emitCFIInstruction()
1431 Streamer.emitBytes(Instr.getValues()); in emitCFIInstruction()
1449 Streamer.emitDwarfAdvanceFrameAddr(BaseLabel, ThisSym); in emitCFIInstructions()
1460 MCContext &Context = Streamer.getContext(); in EmitCompactUnwind()
1495 unsigned Size = getSizeForEncoding(Streamer, FDEEncoding); in EmitCompactUnwind()
1496 Streamer.emitSymbolValue(Frame.Begin, Size); in EmitCompactUnwind()
1501 emitAbsValue(Streamer, Range, 4); in EmitCompactUnwind()
1504 Size = getSizeForEncoding(Streamer, dwarf::DW_EH_PE_udata4); in EmitCompactUnwind()
1505 Streamer.emitIntValue(Encoding, Size); in EmitCompactUnwind()
1508 Size = getSizeForEncoding(Streamer, dwarf::DW_EH_PE_absptr); in EmitCompactUnwind()
1510 Streamer.emitSymbolValue(Frame.Personality, Size); in EmitCompactUnwind()
1512 Streamer.emitIntValue(0, Size); // No personality fn in EmitCompactUnwind()
1515 Size = getSizeForEncoding(Streamer, Frame.LsdaEncoding); in EmitCompactUnwind()
1517 Streamer.emitSymbolValue(Frame.Lsda, Size); in EmitCompactUnwind()
1519 Streamer.emitIntValue(0, Size); // No LSDA in EmitCompactUnwind()
1538 MCContext &context = Streamer.getContext(); in EmitCIE()
1543 Streamer.emitLabel(sectionStart); in EmitCIE()
1554 Streamer.emitInt32(dwarf::DW_LENGTH_DWARF64); in EmitCIE()
1559 emitAbsValue(Streamer, Length, OffsetSize); in EmitCIE()
1564 Streamer.emitIntValue(CIE_ID, OffsetSize); in EmitCIE()
1568 Streamer.emitInt8(CIEVersion); in EmitCIE()
1582 Streamer.emitBytes(Augmentation); in EmitCIE()
1584 Streamer.emitInt8(0); in EmitCIE()
1588 Streamer.emitInt8(context.getAsmInfo()->getCodePointerSize()); in EmitCIE()
1591 Streamer.emitInt8(0); in EmitCIE()
1595 Streamer.emitULEB128IntValue(context.getAsmInfo()->getMinInstAlignment()); in EmitCIE()
1598 Streamer.emitSLEB128IntValue(getDataAlignmentFactor(Streamer)); in EmitCIE()
1608 Streamer.emitInt8(RAReg); in EmitCIE()
1610 Streamer.emitULEB128IntValue(RAReg); in EmitCIE()
1621 getSizeForEncoding(Streamer, Frame.PersonalityEncoding); in EmitCIE()
1628 Streamer.emitULEB128IntValue(augmentationLength); in EmitCIE()
1633 emitEncodingByte(Streamer, Frame.PersonalityEncoding); in EmitCIE()
1635 EmitPersonality(Streamer, *Frame.Personality, Frame.PersonalityEncoding); in EmitCIE()
1639 emitEncodingByte(Streamer, Frame.LsdaEncoding); in EmitCIE()
1642 emitEncodingByte(Streamer, MOFI->getFDEEncoding()); in EmitCIE()
1657 Streamer.emitValueToAlignment(IsEH ? 4 : MAI->getCodePointerSize()); in EmitCIE()
1659 Streamer.emitLabel(sectionEnd); in EmitCIE()
1667 MCContext &context = Streamer.getContext(); in EmitFDE()
1679 Streamer.emitInt32(dwarf::DW_LENGTH_DWARF64); in EmitFDE()
1683 emitAbsValue(Streamer, Length, OffsetSize); in EmitFDE()
1685 Streamer.emitLabel(fdeStart); in EmitFDE()
1692 emitAbsValue(Streamer, offset, OffsetSize); in EmitFDE()
1696 emitAbsValue(Streamer, offset, OffsetSize); in EmitFDE()
1698 Streamer.emitSymbolValue(&cieStart, OffsetSize, in EmitFDE()
1705 unsigned PCSize = getSizeForEncoding(Streamer, PCEncoding); in EmitFDE()
1706 emitFDESymbol(Streamer, *frame.Begin, PCEncoding, IsEH); in EmitFDE()
1711 emitAbsValue(Streamer, Range, PCSize); in EmitFDE()
1718 augmentationLength += getSizeForEncoding(Streamer, frame.LsdaEncoding); in EmitFDE()
1720 Streamer.emitULEB128IntValue(augmentationLength); in EmitFDE()
1724 emitFDESymbol(Streamer, *frame.Lsda, frame.LsdaEncoding, true); in EmitFDE()
1735 Streamer.emitValueToAlignment(Align); in EmitFDE()
1737 Streamer.emitLabel(fdeEnd); in EmitFDE()
1816 void MCDwarfFrameEmitter::Emit(MCObjectStreamer &Streamer, MCAsmBackend *MAB, in Emit() argument
1818 Streamer.generateCompactUnwindEncodings(MAB); in Emit()
1820 MCContext &Context = Streamer.getContext(); in Emit()
1823 FrameEmitterImpl Emitter(IsEH, Streamer); in Emit()
1824 ArrayRef<MCDwarfFrameInfo> FrameArray = Streamer.getDwarfFrameInfos(); in Emit()
1833 Streamer.SwitchSection(MOFI->getCompactUnwindSection()); in Emit()
1834 Streamer.emitValueToAlignment(AsmInfo->getCodePointerSize()); in Emit()
1850 Streamer.SwitchSection(&Section); in Emit()
1852 Streamer.emitLabel(SectionStart); in Emit()
1885 void MCDwarfFrameEmitter::EmitAdvanceLoc(MCObjectStreamer &Streamer, in EmitAdvanceLoc() argument
1887 MCContext &Context = Streamer.getContext(); in EmitAdvanceLoc()
1891 Streamer.emitBytes(OS.str()); in EmitAdvanceLoc()