Home
last modified time | relevance | path

Searched refs:getAttrDefName (Results 1 – 6 of 6) sorted by relevance

/external/llvm-project/mlir/tools/mlir-tblgen/
DSPIRVUtilsGen.cpp495 if (attr.getAttrDefName() == "SPV_ScopeAttr" || in emitAttributeSerialization()
496 attr.getAttrDefName() == "SPV_MemorySemanticsAttr") { in emitAttributeSerialization()
501 } else if (attr.getAttrDefName() == "I32ArrayAttr") { in emitAttributeSerialization()
509 } else if (attr.isEnumAttr() || attr.getAttrDefName() == "I32Attr") { in emitAttributeSerialization()
514 } else if (attr.isEnumAttr() || attr.getAttrDefName() == "TypeAttr") { in emitAttributeSerialization()
524 attr.getAttrDefName() + llvm::Twine("'")); in emitAttributeSerialization()
750 if (attr.getAttrDefName() == "SPV_ScopeAttr" || in emitAttributeDeserialization()
751 attr.getAttrDefName() == "SPV_MemorySemanticsAttr") { in emitAttributeDeserialization()
756 } else if (attr.getAttrDefName() == "I32ArrayAttr") { in emitAttributeDeserialization()
770 } else if (attr.isEnumAttr() || attr.getAttrDefName() == "I32Attr") { in emitAttributeDeserialization()
[all …]
DRewriterGen.cpp222 PrintFatalError(loc, "Attribute " + attr.getAttrDefName() + in handleConstantAttr()
DOpFormatGen.cpp121 return var->attr.getBaseAttr().getAttrDefName() == "UnitAttr"; in isUnitAttr()
477 return attr->attr.getBaseAttr().getAttrDefName() == "SymbolNameAttr"; in shouldFormatSymbolNameAttr()
/external/llvm-project/mlir/include/mlir/TableGen/
DAttribute.h108 StringRef getAttrDefName() const;
/external/tensorflow/tensorflow/compiler/mlir/lite/
Dconverter_gen.cc134 arg_name, mlir::tblgen::Attribute(arg_def).getAttrDefName()); in EmitOptionBuilders()
386 StringRef attr_type = mlir::tblgen::Attribute(arg_def).getAttrDefName(); in EmitBuiltinOptionsToAttributes()
/external/llvm-project/mlir/lib/TableGen/
DAttribute.cpp120 StringRef Attribute::getAttrDefName() const { in getAttrDefName() function in Attribute