Searched refs:typeAttr (Results 1 – 7 of 7) sorted by relevance
| /llvm-project-15.0.7/mlir/lib/Dialect/Quant/IR/ |
| H A D | QuantOps.cpp | 48 if (auto typeAttr = quantSpec.dyn_cast<TypeAttr>()) { in isValidQuantizationSpec() local 49 Type spec = typeAttr.getValue(); in isValidQuantizationSpec()
|
| /llvm-project-15.0.7/mlir/lib/Conversion/PDLToPDLInterp/ |
| H A D | PDLToPDLInterp.cpp | 345 if (TypeAttr typeAttr = rawTypeAttr.dyn_cast<TypeAttr>()) in getValueAt() local 346 value = builder.create<pdl_interp::CreateTypeOp>(loc, typeAttr); in getValueAt() 618 if (TypeAttr type = typeOp.typeAttr()) { in generateRewriter() 812 if (TypeAttr typeAttr = typeOp.typeAttr()) { in generateRewriter() local 814 builder.create<pdl_interp::CreateTypeOp>(typeOp.getLoc(), typeAttr); in generateRewriter() 823 if (ArrayAttr typeAttr = typeOp.typesAttr()) { in generateRewriter() local 825 typeOp.getLoc(), typeOp.getType(), typeAttr); in generateRewriter()
|
| H A D | PredicateTree.cpp | 211 if (Attribute type = typeOp.typeAttr()) in getTreePredicates() 214 if (Attribute typeAttr = typeOp.typesAttr()) in getTreePredicates() local 215 predList.emplace_back(pos, builder.getTypeConstraint(typeAttr)); in getTreePredicates() 318 Attribute typeAttr = typeAttrFn(); in getTypePredicates() local 319 assert(typeAttr && in getTypePredicates() 321 typePos = builder.getTypeLiteral(typeAttr); in getTypePredicates() 343 typeOp, [&] { return typeOp.typeAttr(); }, builder, inputs); in getNonTreePredicates()
|
| /llvm-project-15.0.7/mlir/lib/Dialect/MLProgram/IR/ |
| H A D | MLProgramOps.cpp | 85 TypeAttr &typeAttr, Attribute &attr) { in parseTypedInitialValue() argument 96 typeAttr = TypeAttr::get(type); in parseTypedInitialValue()
|
| /llvm-project-15.0.7/mlir/lib/Dialect/PDL/IR/ |
| H A D | PDL.cpp | 480 if (!typeAttr()) in verify()
|
| /llvm-project-15.0.7/mlir/lib/IR/ |
| H A D | AsmPrinter.cpp | 1822 } else if (auto typeAttr = attr.dyn_cast<TypeAttr>()) { in printAttribute() local 1823 printType(typeAttr.getValue()); in printAttribute()
|
| /llvm-project-15.0.7/mlir/lib/Dialect/MemRef/IR/ |
| H A D | MemRefOps.cpp | 1266 parseGlobalMemrefOpTypeAndInitialValue(OpAsmParser &parser, TypeAttr &typeAttr, in parseGlobalMemrefOpTypeAndInitialValue() argument 1276 typeAttr = TypeAttr::get(type); in parseGlobalMemrefOpTypeAndInitialValue()
|