Home | History | Annotate | Download | only in AsmPrinter

Lines Matching defs:SizeOf

206 unsigned DIEValue::SizeOf(const AsmPrinter *AP) const {
212 return getDIE##T().SizeOf(AP, Form);
270 Size = SizeOf(Asm, dwarf::DW_FORM_ref_addr);
277 /// SizeOf - Determine size of integer value in bytes.
279 unsigned DIEInteger::SizeOf(const AsmPrinter *AP, dwarf::Form Form) const {
284 case dwarf::DW_FORM_data1: return sizeof(int8_t);
286 case dwarf::DW_FORM_data2: return sizeof(int16_t);
290 case dwarf::DW_FORM_data4: return sizeof(int32_t);
293 case dwarf::DW_FORM_data8: return sizeof(int64_t);
303 return sizeof(int32_t);
321 AP->OutStreamer->EmitValue(Expr, SizeOf(AP, Form));
324 /// SizeOf - Determine size of expression value in bytes.
326 unsigned DIEExpr::SizeOf(const AsmPrinter *AP, dwarf::Form Form) const {
343 AP->EmitLabelReference(Label, SizeOf(AP, Form),
349 /// SizeOf - Determine size of label value in bytes.
351 unsigned DIELabel::SizeOf(const AsmPrinter *AP, dwarf::Form Form) const {
368 AP->EmitLabelDifference(LabelHi, LabelLo, SizeOf(AP, Form));
371 /// SizeOf - Determine size of delta value in bytes.
373 unsigned DIEDelta::SizeOf(const AsmPrinter *AP, dwarf::Form Form) const {
413 /// SizeOf - Determine size of delta value in bytes.
415 unsigned DIEString::SizeOf(const AsmPrinter *AP, dwarf::Form Form) const {
422 return DIEInteger(S.getIndex()).SizeOf(AP, Form);
426 return DIELabel(S.getSymbol()).SizeOf(AP, Form);
429 return DIEInteger(S.getOffset()).SizeOf(AP, Form);
473 return sizeof(int32_t);
504 Size += V.SizeOf(AP);
527 /// SizeOf - Determine size of location data in bytes.
529 unsigned DIELoc::SizeOf(const AsmPrinter *AP, dwarf::Form Form) const {
531 case dwarf::DW_FORM_block1: return Size + sizeof(int8_t);
532 case dwarf::DW_FORM_block2: return Size + sizeof(int16_t);
533 case dwarf::DW_FORM_block4: return Size + sizeof(int32_t);
555 Size += V.SizeOf(AP);
576 /// SizeOf - Determine size of block data in bytes.
578 unsigned DIEBlock::SizeOf(const AsmPrinter *AP, dwarf::Form Form) const {
580 case dwarf::DW_FORM_block1: return Size + sizeof(int8_t);
581 case dwarf::DW_FORM_block2: return Size + sizeof(int16_t);
582 case dwarf::DW_FORM_block4: return Size + sizeof(int32_t);
597 unsigned DIELocList::SizeOf(const AsmPrinter *AP, dwarf::Form Form) const {