Home
last modified time | relevance | path

Searched refs:llvm1DVectorTy (Results 1 – 5 of 5) sorted by relevance

/llvm-project-15.0.7/mlir/lib/Conversion/MathToLLVM/
H A DMathToLLVM.cpp76 [&](Type llvm1DVectorTy, ValueRange operands) { in matchAndRewrite() argument
79 return rewriter.create<LLVMOp>(loc, llvm1DVectorTy, operands[0], in matchAndRewrite()
128 [&](Type llvm1DVectorTy, ValueRange operands) { in matchAndRewrite() argument
131 {LLVM::getVectorNumElements(llvm1DVectorTy).getFixedValue()}, in matchAndRewrite()
137 rewriter.create<LLVM::ExpOp>(loc, llvm1DVectorTy, operands[0]); in matchAndRewrite()
138 return rewriter.create<LLVM::FSubOp>(loc, llvm1DVectorTy, exp, one); in matchAndRewrite()
182 [&](Type llvm1DVectorTy, ValueRange operands) { in matchAndRewrite() argument
190 auto add = rewriter.create<LLVM::FAddOp>(loc, llvm1DVectorTy, one, in matchAndRewrite()
192 return rewriter.create<LLVM::LogOp>(loc, llvm1DVectorTy, add); in matchAndRewrite()
235 [&](Type llvm1DVectorTy, ValueRange operands) { in matchAndRewrite() argument
[all …]
/llvm-project-15.0.7/mlir/lib/Conversion/LLVMCommon/
H A DVectorPattern.cpp37 info.llvm1DVectorTy = llvmTy; in extractNDVectorTypeInfo()
92 operand1DVectorTypes.push_back(operandTypeInfo.llvm1DVectorTy); in handleMultidimensionalVectors()
96 auto result1DVectorTy = resultTypeInfo.llvm1DVectorTy; in handleMultidimensionalVectors()
130 auto callback = [op, targetOp, &rewriter](Type llvm1DVectorTy, in vectorOneToOneRewrite()
134 llvm1DVectorTy, op->getAttrs()) in vectorOneToOneRewrite()
/llvm-project-15.0.7/mlir/lib/Conversion/ArithmeticToLLVM/
H A DArithmeticToLLVM.cpp184 [&](Type llvm1DVectorTy, ValueRange operands) { in matchAndRewrite() argument
187 op.getLoc(), llvm1DVectorTy, in matchAndRewrite()
219 [&](Type llvm1DVectorTy, ValueRange operands) { in matchAndRewrite() argument
222 op.getLoc(), llvm1DVectorTy, in matchAndRewrite()
/llvm-project-15.0.7/mlir/include/mlir/Conversion/LLVMCommon/
H A DVectorPattern.h25 Type llvm1DVectorTy; member
/llvm-project-15.0.7/mlir/lib/Conversion/VectorToLLVM/
H A DConvertVectorToLLVM.cpp1247 auto llvm1DVectorTy = vectorTypeInfo.llvm1DVectorTy; in matchAndRewrite() local
1248 if (!llvmNDVectorTy || !llvm1DVectorTy) in matchAndRewrite()
1256 Value vdesc = rewriter.create<LLVM::UndefOp>(loc, llvm1DVectorTy); in matchAndRewrite()
1260 Value v = rewriter.create<LLVM::InsertElementOp>(loc, llvm1DVectorTy, vdesc, in matchAndRewrite()