| /llvm-project-15.0.7/mlir/lib/Dialect/X86Vector/Transforms/ |
| H A D | LegalizeForLLVMExport.cpp | 73 auto opType = adaptor.getA().getType(); in matchAndRewrite() local 79 src = rewriter.create<arith::ConstantOp>(op.getLoc(), opType, in matchAndRewrite() 82 Attribute zeroAttr = rewriter.getZeroAttr(opType); in matchAndRewrite() 83 src = rewriter.create<arith::ConstantOp>(op->getLoc(), opType, zeroAttr); in matchAndRewrite() 86 rewriter.replaceOpWithNewOp<MaskCompressIntrOp>(op, opType, adaptor.getA(), in matchAndRewrite() 99 auto opType = adaptor.getA().getType(); in matchAndRewrite() local 100 rewriter.replaceOpWithNewOp<RsqrtIntrOp>(op, opType, adaptor.getA()); in matchAndRewrite() 111 auto opType = adaptor.getA().getType(); in matchAndRewrite() local 117 rewriter.replaceOpWithNewOp<DotIntrOp>(op, opType, adaptor.getA(), in matchAndRewrite()
|
| /llvm-project-15.0.7/mlir/lib/Conversion/MathToLibm/ |
| H A D | MathToLibm.cpp | 62 auto opType = op.getType(); in matchAndRewrite() local 64 auto vecType = opType.template dyn_cast<VectorType>(); in matchAndRewrite() 96 auto opType = op.getType(); in matchAndRewrite() local 97 if (!opType.template isa<Float16Type, BFloat16Type>()) in matchAndRewrite() 107 rewriter.replaceOpWithNewOp<arith::TruncFOp>(op, opType, newOp); in matchAndRewrite()
|
| /llvm-project-15.0.7/llvm/lib/Target/AMDGPU/ |
| H A D | SIRegisterInfo.td | 924 let OperandType = opType#"_INT16"; 930 let OperandType = opType#"_FP16"; 936 let OperandType = opType#"_INT32"; 942 let OperandType = opType#"_FP32"; 948 let OperandType = opType#"_V2INT16"; 954 let OperandType = opType#"_V2FP16"; 965 let OperandType = opType#"_INT64"; 970 let OperandType = opType#"_FP64"; 976 let OperandType = opType#"_V2FP32"; 990 SIRegOperand32<rc, MatchName, opType>, [all …]
|
| /llvm-project-15.0.7/mlir/lib/IR/ |
| H A D | Operation.cpp | 739 for (auto opType : op->getOperandTypes()) { in verifyOperandsAreSignlessIntegerLike() local 740 auto type = getTensorOrVectorElementType(opType); in verifyOperandsAreSignlessIntegerLike() 748 for (auto opType : op->getOperandTypes()) { in verifyOperandsAreFloatLike() local 749 auto type = getTensorOrVectorElementType(opType); in verifyOperandsAreFloatLike() 763 for (auto opType : llvm::drop_begin(op->getOperandTypes(), 1)) in verifySameTypeOperands() local 764 if (opType != type) in verifySameTypeOperands() 898 for (auto opType : op->getOperandTypes()) { in verifySameOperandsAndResultType() local 899 if (getElementTypeOrSelf(opType) != elementType || in verifySameOperandsAndResultType() 900 failed(verifyCompatibleShape(opType, type))) in verifySameOperandsAndResultType()
|
| /llvm-project-15.0.7/mlir/lib/Tools/PDLL/Parser/ |
| H A D | CodeComplete.cpp | 24 ast::OperationType opType) {} in codeCompleteOperationMemberAccess() argument
|
| H A D | Parser.cpp | 625 if (auto opType = type.dyn_cast<ast::OperationType>()) { in convertExpressionTo() local 626 if (opType.getName()) in convertExpressionTo() 2754 if (ast::OperationType opType = parentType.dyn_cast<ast::OperationType>()) { in validateMemberAccess() local 2759 if (const ods::Operation *odsOp = opType.getODSOperation()) { in validateMemberAccess() 3051 if (ast::OperationType opType = parentType.dyn_cast<ast::OperationType>()) in codeCompleteMemberAccess() local 3052 codeCompleteContext->codeCompleteOperationMemberAccess(opType); in codeCompleteMemberAccess()
|
| /llvm-project-15.0.7/mlir/lib/Tools/PDLL/CodeGen/ |
| H A D | CPPGen.cpp | 174 .Case([&](ast::OperationType opType) -> StringRef { in getNativeTypeName() argument 176 if (const auto *odsOp = opType.getODSOperation()) in getNativeTypeName()
|
| H A D | MLIRGen.cpp | 341 if (ast::OperationType opType = type.dyn_cast<ast::OperationType>()) { in genNonInitializerVar() local 348 return builder.create<pdl::OperationOp>(loc, opType.getName(), operands, in genNonInitializerVar() 437 if (ast::OperationType opType = parentType.dyn_cast<ast::OperationType>()) { in genExprImpl() local 446 const ods::Operation *odsOp = opType.getODSOperation(); in genExprImpl()
|
| /llvm-project-15.0.7/mlir/include/mlir/Tools/PDLL/Parser/ |
| H A D | CodeComplete.h | 44 virtual void codeCompleteOperationMemberAccess(ast::OperationType opType);
|
| /llvm-project-15.0.7/mlir/lib/Dialect/MemRef/Transforms/ |
| H A D | NormalizeMemRefs.cpp | 215 Type opType = operandEn.value().getType(); in updateFunctionSignature() local 216 MemRefType memrefType = opType.dyn_cast<MemRefType>(); in updateFunctionSignature()
|
| /llvm-project-15.0.7/mlir/lib/Tools/mlir-pdll-lsp-server/ |
| H A D | PDLLServer.cpp | 739 void codeCompleteOperationMemberAccess(ast::OperationType opType) final { in codeCompleteOperationMemberAccess() argument 740 const ods::Operation *odsOp = opType.getODSOperation(); in codeCompleteOperationMemberAccess() 1290 ast::OperationType opType = expr->getType().dyn_cast<ast::OperationType>(); in getInlayHintsFor() local 1291 const auto *odsOp = opType ? opType.getODSOperation() : nullptr; in getInlayHintsFor()
|
| /llvm-project-15.0.7/mlir/lib/Dialect/SPIRV/IR/ |
| H A D | SPIRVOps.cpp | 1823 Type opType) { in verifyConstantType() argument 1827 if (valueType != opType) in verifyConstantType() 1829 << opType << ") does not match value type (" << valueType << ")"; in verifyConstantType() 1833 if (valueType == opType) in verifyConstantType() 1835 auto arrayType = opType.dyn_cast<spirv::ArrayType>(); in verifyConstantType() 1839 << opType << ") does not match value type (" << valueType in verifyConstantType() 1866 auto arrayType = opType.dyn_cast<spirv::ArrayType>(); in verifyConstantType()
|
| /llvm-project-15.0.7/mlir/lib/Conversion/VectorToGPU/ |
| H A D | VectorToGPU.cpp | 797 static void convertElementwiseOp(Operation *op, gpu::MMAElementwiseOp opType, in convertElementwiseOp() argument 804 op->getLoc(), matrixOperands[0].getType(), matrixOperands, opType); in convertElementwiseOp()
|
| /llvm-project-15.0.7/clang/include/clang/AST/ |
| H A D | Expr.h | 3585 QualType opType); 3587 QualType opType);
|
| /llvm-project-15.0.7/clang/lib/AST/ |
| H A D | Expr.cpp | 1941 QualType opType) { in getTargetFieldForToUnionCast() argument 1943 return getTargetFieldForToUnionCast(RD, opType); in getTargetFieldForToUnionCast()
|