#include "mlir/TableGen/Property.h"
#include "mlir/TableGen/Format.h"
#include "mlir/TableGen/Operator.h"
#include "llvm/TableGen/Record.h"
usingnamespacemlir;
usingnamespacemlir::tblgen;
DefInit;
Init;
Record;
StringInit;
static StringRef getValueAsString(const Init *init) { … }
Property::Property(const Record *def)
: … { … }
Property::Property(const DefInit *init) : … { … }
Property::Property(StringRef summary, StringRef description,
StringRef storageType, StringRef interfaceType,
StringRef convertFromStorageCall,
StringRef assignToStorageCall,
StringRef convertToAttributeCall,
StringRef convertFromAttributeCall, StringRef parserCall,
StringRef optionalParserCall, StringRef printerCall,
StringRef readFromMlirBytecodeCall,
StringRef writeToMlirBytecodeCall,
StringRef hashPropertyCall, StringRef defaultValue,
StringRef storageTypeValueOverride)
: … { … }
StringRef Property::getPropertyDefName() const { … }
Property Property::getBaseProperty() const { … }