Lines Matching defs:SizeOf
202 /// SizeOf - Determine size of integer value in bytes.
204 unsigned DIEInteger::SizeOf(AsmPrinter *AP, unsigned Form) const {
208 case dwarf::DW_FORM_data1: return sizeof(int8_t);
210 case dwarf::DW_FORM_data2: return sizeof(int16_t);
212 case dwarf::DW_FORM_data4: return sizeof(int32_t);
214 case dwarf::DW_FORM_data8: return sizeof(int64_t);
236 AP->OutStreamer.EmitSymbolValue(Label, SizeOf(AP, Form), 0/*AddrSpace*/);
239 /// SizeOf - Determine size of label value in bytes.
241 unsigned DIELabel::SizeOf(AsmPrinter *AP, unsigned Form) const {
260 AP->EmitLabelDifference(LabelHi, LabelLo, SizeOf(AP, Form));
263 /// SizeOf - Determine size of delta value in bytes.
265 unsigned DIEDelta::SizeOf(AsmPrinter *AP, unsigned Form) const {
303 Size += Values[i]->SizeOf(AP, AbbrevData[i].getForm());
325 /// SizeOf - Determine size of block data in bytes.
327 unsigned DIEBlock::SizeOf(AsmPrinter *AP, unsigned Form) const {
329 case dwarf::DW_FORM_block1: return Size + sizeof(int8_t);
330 case dwarf::DW_FORM_block2: return Size + sizeof(int16_t);
331 case dwarf::DW_FORM_block4: return Size + sizeof(int32_t);