Lines Matching refs:Attribute
79 void emitAttribute(unsigned Attribute, unsigned Value) override;
80 void emitTextAttribute(unsigned Attribute, StringRef String) override;
81 void emitIntTextAttribute(unsigned Attribute, unsigned IntValue,
156 void ARMTargetAsmStreamer::emitAttribute(unsigned Attribute, unsigned Value) {
157 OS << "\t.eabi_attribute\t" << Attribute << ", " << Twine(Value);
159 StringRef Name = ARMBuildAttrs::AttrTypeAsString(Attribute);
165 void ARMTargetAsmStreamer::emitTextAttribute(unsigned Attribute,
167 switch (Attribute) {
172 OS << "\t.eabi_attribute\t" << Attribute << ", \"" << String << "\"";
174 StringRef Name = ARMBuildAttrs::AttrTypeAsString(Attribute);
182 void ARMTargetAsmStreamer::emitIntTextAttribute(unsigned Attribute,
185 switch (Attribute) {
186 default: llvm_unreachable("unsupported multi-value attribute in asm mode");
188 OS << "\t.eabi_attribute\t" << Attribute << ", " << IntValue;
192 OS << "\t@ " << ARMBuildAttrs::AttrTypeAsString(Attribute);
284 AttributeItem *getAttributeItem(unsigned Attribute) {
286 if (Contents[i].Tag == Attribute)
291 void setAttributeItem(unsigned Attribute, unsigned Value,
293 // Look for existing attribute item
294 if (AttributeItem *Item = getAttributeItem(Attribute)) {
302 // Create new attribute item
305 Attribute,
312 void setAttributeItem(unsigned Attribute, StringRef Value,
314 // Look for existing attribute item
315 if (AttributeItem *Item = getAttributeItem(Attribute)) {
323 // Create new attribute item
326 Attribute,
333 void setAttributeItems(unsigned Attribute, unsigned IntValue,
335 // Look for existing attribute item
336 if (AttributeItem *Item = getAttributeItem(Attribute)) {
345 // Create new attribute item
348 Attribute,
375 void emitAttribute(unsigned Attribute, unsigned Value) override;
376 void emitTextAttribute(unsigned Attribute, StringRef String) override;
377 void emitIntTextAttribute(unsigned Attribute, unsigned IntValue,
665 void ARMTargetELFStreamer::emitAttribute(unsigned Attribute, unsigned Value) {
666 setAttributeItem(Attribute, Value, /* OverwriteExisting= */ true);
668 void ARMTargetELFStreamer::emitTextAttribute(unsigned Attribute,
670 setAttributeItem(Attribute, Value, /* OverwriteExisting= */ true);
672 void ARMTargetELFStreamer::emitIntTextAttribute(unsigned Attribute,
675 setAttributeItems(Attribute, IntValue, StringValue,
855 // uses the FP_ARMV8_D16 build attribute.
938 // [ <file-tag> <size> <attribute>*
939 // | <section-tag> <size> <section-number>* 0 <attribute>*
940 // | <symbol-tag> <size> <symbol-number>* 0 <attribute>*
990 default: llvm_unreachable("Invalid attribute type");