Lines Matching defs:AP
62 void DIEAbbrev::Emit(const AsmPrinter *AP) const {
64 AP->emitULEB128(Tag, dwarf::TagString(Tag).data());
67 AP->emitULEB128((unsigned)Children, dwarf::ChildrenString(Children).data());
72 AP->emitULEB128(AttrData.getAttribute(),
80 AP->getDwarfVersion())) {
82 << " for DWARF version " << AP->getDwarfVersion()
87 AP->emitULEB128(AttrData.getForm(),
92 AP->emitSLEB128(AttrData.getValue());
96 AP->emitULEB128(0, "EOM(1)");
97 AP->emitULEB128(0, "EOM(2)");
160 void DIEAbbrevSet::Emit(const AsmPrinter *AP, MCSection *Section) const {
163 AP->OutStreamer->switchSection(Section);
164 AP->emitDwarfAbbrevs(Abbreviations);
315 void DIEValue::emitValue(const AsmPrinter *AP) const {
321 getDIE##T().emitValue(AP, Form); \
454 void DIEExpr::emitValue(const AsmPrinter *AP, dwarf::Form Form) const {
455 AP->emitDebugValue(Expr, sizeOf(AP->getDwarfFormParams(), Form));
483 void DIELabel::emitValue(const AsmPrinter *AP, dwarf::Form Form) const {
485 AP->emitLabelReference(Label, sizeOf(AP->getDwarfFormParams(), Form),
515 void DIEBaseTypeRef::emitValue(const AsmPrinter *AP, dwarf::Form Form) const {
518 AP->emitULEB128(Offset, nullptr, ULEB128PadSize);
534 void DIEDelta::emitValue(const AsmPrinter *AP, dwarf::Form Form) const {
535 AP->emitLabelDifference(LabelHi, LabelLo,
536 sizeOf(AP->getDwarfFormParams(), Form));
566 void DIEString::emitValue(const AsmPrinter *AP, dwarf::Form Form) const {
575 DIEInteger(S.getIndex()).emitValue(AP, Form);
578 if (AP->doesDwarfUseRelocationsAcrossSections())
579 DIELabel(S.getSymbol()).emitValue(AP, Form);
581 DIEInteger(S.getOffset()).emitValue(AP, Form);
618 void DIEInlineString::emitValue(const AsmPrinter *AP, dwarf::Form Form) const {
620 AP->OutStreamer->emitBytes(S);
621 AP->emitInt8(0);
643 void DIEEntry::emitValue(const AsmPrinter *AP, dwarf::Form Form) const {
650 AP->OutStreamer->emitIntValue(Entry->getOffset(),
651 sizeOf(AP->getDwarfFormParams(), Form));
655 AP->emitULEB128(Entry->getOffset());
663 AP->emitLabelPlusOffset(SectionSym, Addr,
664 sizeOf(AP->getDwarfFormParams(), Form), true);
668 AP->OutStreamer->emitIntValue(Addr, sizeOf(AP->getDwarfFormParams(), Form));
832 void DIELocList::emitValue(const AsmPrinter *AP, dwarf::Form Form) const {
834 AP->emitULEB128(Index);
837 DwarfDebug *DD = AP->getDwarfDebug();
839 AP->emitDwarfSymbolReference(Label, /*ForceOffset*/ DD->useSplitDwarf());
857 void DIEAddrOffset::emitValue(const AsmPrinter *AP, dwarf::Form Form) const {
858 Addr.emitValue(AP, dwarf::DW_FORM_addrx);
859 Offset.emitValue(AP, dwarf::DW_FORM_data4);