Home
last modified time | relevance | path

Searched refs:rootType (Results 1 – 3 of 3) sorted by relevance

/llvm-project-15.0.7/mlir/test/Conversion/PDLToPDLInterp/
H A Dpdl-to-pdl-interp-rewriter.mlir84 %rootType = type
86 %root = operation "foo.op" -> (%rootType, %rootType1 : !pdl.type, !pdl.type)
89 %newOp = operation "foo.op" -> (%rootType, %newType1 : !pdl.type, !pdl.type)
103 %rootType = type
105 %root = operation "foo.op" -> (%rootType, %rootTypes : !pdl.type, !pdl.range<type>)
107 %newOp = operation "foo.op" -> (%rootType, %rootTypes : !pdl.type, !pdl.range<type>)
/llvm-project-15.0.7/mlir/lib/Target/LLVMIR/
H A DConvertFromLLVMIR.cpp533 Type rootType = processType(c->getType()); in processConstant() local
534 if (!rootType) in processConstant()
536 bool useInsertValue = rootType.isa<LLVMArrayType, LLVMStructType>(); in processConstant()
537 assert((useInsertValue || LLVM::isCompatibleVectorType(rootType)) && in processConstant()
539 Value root = bEntry.create<UndefOp>(unknownLoc, rootType); in processConstant()
547 root = bEntry.create<InsertValueOp>(UnknownLoc::get(context), rootType, in processConstant()
556 UnknownLoc::get(context), rootType, root, elementValue, indexValue); in processConstant()
/llvm-project-15.0.7/mlir/lib/Tools/PDLL/Parser/
H A DParser.cpp2989 ast::Type rootType = rootOp->getType(); in createEraseStmt() local
2990 if (!rootType.isa<ast::OperationType>()) in createEraseStmt()
3000 ast::Type rootType = rootOp->getType(); in createReplaceStmt() local
3001 if (!rootType.isa<ast::OperationType>()) { in createReplaceStmt()
3004 llvm::formatv("expected `Op` expression, but got `{0}`", rootType)); in createReplaceStmt()
3035 ast::Type rootType = rootOp->getType(); in createRewriteStmt() local
3036 if (!rootType.isa<ast::OperationType>()) { in createRewriteStmt()
3039 llvm::formatv("expected `Op` expression, but got `{0}`", rootType)); in createRewriteStmt()