Home
last modified time | relevance | path

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

/llvm-project-15.0.7/mlir/test/mlir-tblgen/
H A Dop-python-bindings.td113 …// CHECK: def __init__(self, i32attr, in_, *, optionalF32Attr=None, unitAttr=None, loc=None, ip=No…
120 // CHECK: if bool(unitAttr): attributes["unitAttr"] = _ods_ir.UnitAttr.get(
139 // CHECK: def unitAttr(self):
140 // CHECK: return "unitAttr" in self.operation.attributes
146 UnitAttr:$unitAttr, I32Attr:$in);
/llvm-project-15.0.7/mlir/test/mlir-pdll/Parser/
H A Dexpr.pdll192 // CHECK: |-NamedAttributeDecl {{.*}} Name<unitAttr>
198 erase op<> {unitAttr, "normal$Attr" = _: Attr};
/llvm-project-15.0.7/mlir/lib/IR/
H A DMLIRContext.cpp228 UnitAttr unitAttr; member in mlir::MLIRContextImpl
310 impl->unitAttr = AttributeUniquer::get<UnitAttr>(this); in MLIRContext()
910 return context->getImpl().unitAttr; in get()
/llvm-project-15.0.7/mlir/test/IR/
H A Dparser.mlir554 // CHECK-NEXT: "foo"() {unitAttr}
555 "foo"() {unitAttr = unit} : () -> ()
557 // CHECK-NEXT: "foo"() {unitAttr}
558 "foo"() {unitAttr} : () -> ()
560 // CHECK-NEXT: "foo"() {nested = {unitAttr}}
561 "foo"() {nested = {unitAttr}} : () -> ()
/llvm-project-15.0.7/mlir/include/mlir/IR/
H A DBuiltinAttributes.td1182 func.func @verbose_form() attributes {dialectName.unitAttr = unit}
1186 func.func @simple_form() attributes {dialectName.unitAttr}
/llvm-project-15.0.7/mlir/lib/Target/SPIRV/Serialization/
H A DSerializer.cpp241 if (auto unitAttr = attr.getValue().dyn_cast<UnitAttr>()) in processDecoration() local