Home | History | Annotate | Download | only in MCTargetDesc

Lines Matching refs:Item

293     // Look for existing attribute item
294 if (AttributeItem *Item = getAttributeItem(Attribute)) {
297 Item->Type = AttributeItem::NumericAttribute;
298 Item->IntValue = Value;
302 // Create new attribute item
303 AttributeItem Item = {
309 Contents.push_back(Item);
314 // Look for existing attribute item
315 if (AttributeItem *Item = getAttributeItem(Attribute)) {
318 Item->Type = AttributeItem::TextAttribute;
319 Item->StringValue = Value;
323 // Create new attribute item
324 AttributeItem Item = {
330 Contents.push_back(Item);
335 // Look for existing attribute item
336 if (AttributeItem *Item = getAttributeItem(Attribute)) {
339 Item->Type = AttributeItem::NumericAndTextAttributes;
340 Item->IntValue = IntValue;
341 Item->StringValue = StringValue;
345 // Create new attribute item
346 AttributeItem Item = {
352 Contents.push_back(Item);
926 AttributeItem item = Contents[i];
927 switch (item.Type) {
931 Result += getULEB128Size(item.Tag);
932 Result += getULEB128Size(item.IntValue);
935 Result += getULEB128Size(item.Tag);
936 Result += item.StringValue.size() + 1; // string + '\0'
939 Result += getULEB128Size(item.Tag);
940 Result += getULEB128Size(item.IntValue);
941 Result += item.StringValue.size() + 1; // string + '\0';
999 AttributeItem item = Contents[i];
1000 Streamer.EmitULEB128IntValue(item.Tag);
1001 switch (item.Type) {
1004 Streamer.EmitULEB128IntValue(item.IntValue);
1007 Streamer.EmitBytes(item.StringValue);
1011 Streamer.EmitULEB128IntValue(item.IntValue);
1012 Streamer.EmitBytes(item.StringValue);