Home
last modified time | relevance | path

Searched refs:mlirType (Results 1 – 4 of 4) sorted by relevance

/llvm-project-15.0.7/mlir/utils/vim/syntax/
H A Dmlir.vim17 syn keyword mlirType index f16 f32 f64 bf16
19 syn match mlirType /\<i\d\+\>/
21 syn match mlirType /\<ui\d\+\>/
23 syn match mlirType /\<si\d\+\>/
26 syn match mlirType /x\s*\zs\(bf16|f16\|f32\|f64\|i\d\+\|ui\d\+\|si\d\+\)/
29 syn match mlirType /\<memref\ze\s*<.*>/
30 syn match mlirType /\<tensor\ze\s*<.*>/
31 syn match mlirType /\<vector\ze\s*<.*>/
34 syn match mlirType /x\s*\zsvector/
122 HiLink mlirType Type
/llvm-project-15.0.7/mlir/lib/Tools/PDLL/CodeGen/
H A DMLIRGen.cpp334 Type mlirType = genType(type); in genNonInitializerVar() local
336 return builder.create<pdl::OperandOp>(loc, mlirType, getTypeConstraint()); in genNonInitializerVar()
338 return builder.create<pdl::TypeOp>(loc, mlirType, /*type=*/TypeAttr()); in genNonInitializerVar()
355 return builder.create<pdl::OperandsOp>(loc, mlirType, in genNonInitializerVar()
358 return builder.create<pdl::TypesOp>(loc, mlirType, /*types=*/ArrayAttr()); in genNonInitializerVar()
439 Type mlirType = genType(expr->getType()); in genExprImpl() local
440 if (mlirType.isa<pdl::ValueType>()) in genExprImpl()
441 return builder.create<pdl::ResultOp>(loc, mlirType, parentExprs[0], in genExprImpl()
443 return builder.create<pdl::ResultsOp>(loc, mlirType, parentExprs[0]); in genExprImpl()
/llvm-project-15.0.7/flang/lib/Lower/
H A DCallInterface.cpp691 mlir::Type mlirType = translateDynamicType(dynamicType); in handleImplicitResult() local
692 addFirResult(mlirType, FirPlaceHolder::resultEntityPosition, in handleImplicitResult()
697 mlir::Type mlirType = in handleImplicitResult() local
699 addFirResult(mlirType, FirPlaceHolder::resultEntityPosition, in handleImplicitResult()
942 mlir::Type mlirType = translateDynamicType(typeAndShape->type()); in handleExplicitResult() local
945 mlirType = fir::SequenceType::get(bounds, mlirType); in handleExplicitResult()
947 mlirType = fir::BoxType::get(fir::HeapType::get(mlirType)); in handleExplicitResult()
949 mlirType = fir::BoxType::get(fir::PointerType::get(mlirType)); in handleExplicitResult()
951 if (fir::isa_char(mlirType)) { in handleExplicitResult()
961 addFirResult(mlirType, FirPlaceHolder::resultEntityPosition, in handleExplicitResult()
/llvm-project-15.0.7/mlir/lib/Tools/mlir-pdll-lsp-server/
H A DPDLLServer.cpp813 auto addCoreConstraint = [&](StringRef constraint, StringRef mlirType, in codeCompleteConstraintName()
821 ("A single entity core constraint of type `" + mlirType + "`").str()}; in codeCompleteConstraintName()