Lines Matching refs:Property
24 static void emitPropertyEnum(Record *Property, raw_ostream &OS) { in emitPropertyEnum() argument
26 OS << Property->getName(); in emitPropertyEnum()
30 static void emitProperty(Record *Property, raw_ostream &OS) { in emitProperty() argument
34 OS << "\"" << Property->getValueAsString("Name") << "\""; in emitProperty()
38 llvm::StringRef type = Property->getValueAsString("Type"); in emitProperty()
44 OS << (Property->getValue("Global") ? "true" : "false"); in emitProperty()
47 bool hasDefaultUnsignedValue = Property->getValue("HasDefaultUnsignedValue"); in emitProperty()
48 bool hasDefaultEnumValue = Property->getValue("HasDefaultEnumValue"); in emitProperty()
49 bool hasDefaultStringValue = Property->getValue("HasDefaultStringValue"); in emitProperty()
50 bool hasElementType = Property->getValue("HasElementType"); in emitProperty()
63 assert(!(Property->getValueAsString("Type") == "Boolean" && in emitProperty()
64 !Property->getValue("HasDefaultBooleanValue")) && in emitProperty()
68 assert(!(Property->getValueAsString("Type") == "String" && in emitProperty()
74 !(Property->getValueAsString("Type") == "Enum" && !hasDefaultEnumValue) && in emitProperty()
83 OS << std::to_string(Property->getValueAsInt("DefaultUnsignedValue")); in emitProperty()
85 OS << Property->getValueAsString("DefaultEnumValue"); in emitProperty()
88 OS << Property->getValueAsString("ElementType"); in emitProperty()
96 if (auto D = Property->getValue("DefaultStringValue")) { in emitProperty()
109 if (Property->getValue("EnumValues")) in emitProperty()
110 OS << Property->getValueAsString("EnumValues"); in emitProperty()
116 if (auto D = Property->getValue("Description")) { in emitProperty()