Lines Matching refs:Form
41 ID.AddInteger(unsigned(Form));
76 // Emit form type.
205 void DIEInteger::EmitValue(AsmPrinter *Asm, dwarf::Form Form) const {
207 switch (Form) {
230 default: llvm_unreachable("DIE Value form not supported yet");
237 unsigned DIEInteger::SizeOf(AsmPrinter *AP, dwarf::Form Form) const {
238 switch (Form) {
256 default: llvm_unreachable("DIE Value form not supported yet");
273 void DIEExpr::EmitValue(AsmPrinter *AP, dwarf::Form Form) const {
274 AP->OutStreamer.EmitValue(Expr, SizeOf(AP, Form));
279 unsigned DIEExpr::SizeOf(AsmPrinter *AP, dwarf::Form Form) const {
280 if (Form == dwarf::DW_FORM_data4) return 4;
281 if (Form == dwarf::DW_FORM_sec_offset) return 4;
282 if (Form == dwarf::DW_FORM_strp) return 4;
299 void DIELabel::EmitValue(AsmPrinter *AP, dwarf::Form Form) const {
300 AP->EmitLabelReference(Label, SizeOf(AP, Form),
301 Form == dwarf::DW_FORM_strp ||
302 Form == dwarf::DW_FORM_sec_offset ||
303 Form == dwarf::DW_FORM_ref_addr);
308 unsigned DIELabel::SizeOf(AsmPrinter *AP, dwarf::Form Form) const {
309 if (Form == dwarf::DW_FORM_data4) return 4;
310 if (Form == dwarf::DW_FORM_sec_offset) return 4;
311 if (Form == dwarf::DW_FORM_strp) return 4;
327 void DIEDelta::EmitValue(AsmPrinter *AP, dwarf::Form Form) const {
328 AP->EmitLabelDifference(LabelHi, LabelLo, SizeOf(AP, Form));
333 unsigned DIEDelta::SizeOf(AsmPrinter *AP, dwarf::Form Form) const {
334 if (Form == dwarf::DW_FORM_data4) return 4;
335 if (Form == dwarf::DW_FORM_sec_offset) return 4;
336 if (Form == dwarf::DW_FORM_strp) return 4;
352 void DIEString::EmitValue(AsmPrinter *AP, dwarf::Form Form) const {
353 Access->EmitValue(AP, Form);
358 unsigned DIEString::SizeOf(AsmPrinter *AP, dwarf::Form Form) const {
359 return Access->SizeOf(AP, Form);
375 void DIEEntry::EmitValue(AsmPrinter *AP, dwarf::Form Form) const {
377 if (Form == dwarf::DW_FORM_ref_addr) {
399 // DWARF4: References that use the attribute form DW_FORM_ref_addr are
419 void DIETypeSignature::EmitValue(AsmPrinter *Asm, dwarf::Form Form) const {
420 assert(Form == dwarf::DW_FORM_ref_sig8);
450 void DIELoc::EmitValue(AsmPrinter *Asm, dwarf::Form Form) const {
451 switch (Form) {
452 default: llvm_unreachable("Improper form for block");
468 unsigned DIELoc::SizeOf(AsmPrinter *AP, dwarf::Form Form) const {
469 switch (Form) {
476 default: llvm_unreachable("Improper form for block");
505 void DIEBlock::EmitValue(AsmPrinter *Asm, dwarf::Form Form) const {
506 switch (Form) {
507 default: llvm_unreachable("Improper form for block");
521 unsigned DIEBlock::SizeOf(AsmPrinter *AP, dwarf::Form Form) const {
522 switch (Form) {
527 default: llvm_unreachable("Improper form for block");
542 unsigned DIELocList::SizeOf(AsmPrinter *AP, dwarf::Form Form) const {
543 if (Form == dwarf::DW_FORM_data4)
545 if (Form == dwarf::DW_FORM_sec_offset)
552 void DIELocList::EmitValue(AsmPrinter *AP, dwarf::Form Form) const {