Lines Matching full:form
40 ID.AddInteger(unsigned(Form));
41 if (Form == dwarf::DW_FORM_implicit_const)
75 // Emit form type.
77 // Could be an assertion, but this way we can see the failing form code
81 LLVM_DEBUG(dbgs() << "Invalid form " << format("0x%x", AttrData.getForm())
84 llvm_unreachable("Invalid form for specified DWARF version");
321 getDIE##T().emitValue(AP, Form); \
333 return getDIE##T().sizeOf(FormParams, Form);
364 void DIEInteger::emitValue(const AsmPrinter *Asm, dwarf::Form Form) const {
365 switch (Form) {
401 sizeOf(Asm->getDwarfFormParams(), Form));
415 default: llvm_unreachable("DIE Value form not supported yet");
422 dwarf::Form Form) const {
424 dwarf::getFixedFormByteSize(Form, FormParams))
427 switch (Form) {
438 default: llvm_unreachable("DIE Value form not supported yet");
454 void DIEExpr::emitValue(const AsmPrinter *AP, dwarf::Form Form) const {
455 AP->emitDebugValue(Expr, sizeOf(AP->getDwarfFormParams(), Form));
461 dwarf::Form Form) const {
462 switch (Form) {
470 llvm_unreachable("DIE Value form not supported yet");
483 void DIELabel::emitValue(const AsmPrinter *AP, dwarf::Form Form) const {
484 bool IsSectionRelative = Form != dwarf::DW_FORM_addr;
485 AP->emitLabelReference(Label, sizeOf(AP->getDwarfFormParams(), Form),
492 dwarf::Form Form) const {
493 switch (Form) {
504 llvm_unreachable("DIE Value form not supported yet");
515 void DIEBaseTypeRef::emitValue(const AsmPrinter *AP, dwarf::Form Form) const {
521 unsigned DIEBaseTypeRef::sizeOf(const dwarf::FormParams &, dwarf::Form) const {
534 void DIEDelta::emitValue(const AsmPrinter *AP, dwarf::Form Form) const {
536 sizeOf(AP->getDwarfFormParams(), Form));
542 dwarf::Form Form) const {
543 switch (Form) {
551 llvm_unreachable("DIE Value form not supported yet");
566 void DIEString::emitValue(const AsmPrinter *AP, dwarf::Form Form) const {
568 switch (Form) {
575 DIEInteger(S.getIndex()).emitValue(AP, Form);
579 DIELabel(S.getSymbol()).emitValue(AP, Form);
581 DIEInteger(S.getOffset()).emitValue(AP, Form);
584 llvm_unreachable("Expected valid string form");
591 dwarf::Form Form) const {
593 switch (Form) {
600 return DIEInteger(S.getIndex()).sizeOf(FormParams, Form);
603 return DIELabel(S.getSymbol()).sizeOf(FormParams, Form);
604 return DIEInteger(S.getOffset()).sizeOf(FormParams, Form);
606 llvm_unreachable("Expected valid string form");
618 void DIEInlineString::emitValue(const AsmPrinter *AP, dwarf::Form Form) const {
619 if (Form == dwarf::DW_FORM_string) {
624 llvm_unreachable("Expected valid string form");
627 unsigned DIEInlineString::sizeOf(const dwarf::FormParams &, dwarf::Form) const {
643 void DIEEntry::emitValue(const AsmPrinter *AP, dwarf::Form Form) const {
645 switch (Form) {
651 sizeOf(AP->getDwarfFormParams(), Form));
664 sizeOf(AP->getDwarfFormParams(), Form), true);
668 AP->OutStreamer->emitIntValue(Addr, sizeOf(AP->getDwarfFormParams(), Form));
672 llvm_unreachable("Improper form for DIE reference");
677 dwarf::Form Form) const {
678 switch (Form) {
693 llvm_unreachable("Improper form for DIE reference");
717 void DIELoc::emitValue(const AsmPrinter *Asm, dwarf::Form Form) const {
718 switch (Form) {
719 default: llvm_unreachable("Improper form for block");
735 unsigned DIELoc::sizeOf(const dwarf::FormParams &, dwarf::Form Form) const {
736 switch (Form) {
743 default: llvm_unreachable("Improper form for block");
767 void DIEBlock::emitValue(const AsmPrinter *Asm, dwarf::Form Form) const {
768 switch (Form) {
769 default: llvm_unreachable("Improper form for block");
787 unsigned DIEBlock::sizeOf(const dwarf::FormParams &, dwarf::Form Form) const {
788 switch (Form) {
795 default: llvm_unreachable("Improper form for block");
809 dwarf::Form Form) const {
810 switch (Form) {
826 llvm_unreachable("DIE Value form not supported yet");
832 void DIELocList::emitValue(const AsmPrinter *AP, dwarf::Form Form) const {
833 if (Form == dwarf::DW_FORM_loclistx) {
850 dwarf::Form) const {
857 void DIEAddrOffset::emitValue(const AsmPrinter *AP, dwarf::Form Form) const {