Home
last modified time | relevance | path

Searched defs:constantOp (Results 1 – 14 of 14) sorted by relevance

/llvm-project/mlir/lib/Dialect/Tensor/Transforms/
H A DRewriteAsConstant.cpp38 Operation *constantOp = in matchAndRewrite() local
129 Operation *constantOp = in constantFoldPadOp() local
/llvm-project/mlir/lib/Dialect/Complex/IR/
H A DComplexOps.cpp268 if (auto constantOp = getRhs().getDefiningOp<ConstantOp>()) { in fold() local
290 if (auto constantOp = getRhs().getDefiningOp<ConstantOp>()) { in fold() local
/llvm-project/mlir/lib/Dialect/Bufferization/Transforms/
H A DBufferUtils.cpp104 getGlobalFor(arith::ConstantOp constantOp,uint64_t alignment,Attribute memorySpace) getGlobalFor() argument
/llvm-project/mlir/lib/Dialect/Arith/IR/
H A DValueBoundsOpInterfaceImpl.cpp44 auto constantOp = cast<ConstantOp>(op); in populateBoundsForIndexValue() local
/llvm-project/mlir/lib/Dialect/Arith/Transforms/
H A DBufferizableOpInterfaceImpl.cpp28 auto constantOp = cast<arith::ConstantOp>(op); in bufferize() local
/llvm-project/mlir/lib/Dialect/Linalg/Transforms/
H A DSplitReduction.cpp152 Value constantOp = b.create<arith::ConstantOp>(loc, *identity); in splitReduction() local
326 Value constantOp = b.create<arith::ConstantOp>(loc, std::get<1>(it)); in splitReductionByScaling() local
H A DTilingInterfaceImpl.cpp375 Value constantOp = b.create<arith::ConstantOp>(loc, *identity); generateInitialTensorForPartialReduction() local
/llvm-project/mlir/lib/Conversion/VectorToGPU/
H A DVectorToGPU.cpp188 static bool constantSupportsMMAMatrixType(arith::ConstantOp constantOp) { in constantSupportsMMAMatrixType() argument
1256 } else if (auto constantOp = dyn_cast<arith::ConstantOp>(op)) { convertVectorToMMAOps() local
/llvm-project/mlir/lib/Dialect/Shape/IR/
H A DShape.cpp1078 if (auto constantOp = getIndex().getDefiningOp<arith::ConstantOp>()) getConstantIndex() local
1322 if (auto constantOp = getDim().getDefiningOp<arith::ConstantOp>()) getConstantDim() local
/llvm-project/mlir/lib/Dialect/Vector/Transforms/
H A DVectorTransforms.cpp1165 allI1ConstantValuesSetTo(arith::ConstantOp constantOp,bool value) allI1ConstantValuesSetTo() argument
H A DVectorDistribute.cpp752 auto constantOp = yieldOperand->get().getDefiningOp<arith::ConstantOp>(); matchAndRewrite() local
/llvm-project/mlir/lib/Conversion/MemRefToLLVM/
H A DMemRefToLLVM.cpp328 if (auto constantOp = dimOp.getIndex().getDefiningOp<LLVM::ConstantOp>()) getConstantDimIndex() local
/llvm-project/mlir/lib/Target/Cpp/
H A DTranslateToCpp.cpp342 printOperation(CppEmitter & emitter,emitc::ConstantOp constantOp) printOperation() argument
/llvm-project/mlir/lib/Dialect/Vector/IR/
H A DVectorOps.cpp112 if (auto constantOp = operand.getDefiningOp<arith::ConstantOp>()) { in getMaskFormat() local
2086 auto constantOp = operand.getDefiningOp<arith::ConstantOp>(); matchAndRewrite() local
5287 auto constantOp = matchAndRewrite() local