Home
last modified time | relevance | path

Searched refs:materializeConstant (Results 1 – 25 of 25) sorted by relevance

/llvm-project-15.0.7/mlir/lib/Dialect/Arithmetic/IR/
H A DArithmeticDialect.cpp41 Operation *arith::ArithmeticDialect::materializeConstant(OpBuilder &builder, in materializeConstant() function in arith::ArithmeticDialect
/llvm-project-15.0.7/mlir/lib/Transforms/Utils/
H A DFoldUtils.cpp50 static Operation *materializeConstant(Dialect *dialect, OpBuilder &builder, in materializeConstant() function
57 if (auto *constOp = dialect->materializeConstant(builder, value, type, loc)) { in materializeConstant()
344 if (!(constOp = materializeConstant(dialect, builder, value, type, loc))) in tryGetOrCreateConstant()
/llvm-project-15.0.7/mlir/lib/Dialect/Complex/IR/
H A DComplexDialect.cpp23 Operation *complex::ComplexDialect::materializeConstant(OpBuilder &builder, in materializeConstant() function in complex::ComplexDialect
/llvm-project-15.0.7/mlir/lib/Dialect/Shape/Transforms/
H A DShapeToShapeLowering.cpp38 ->materializeConstant(rewriter, rewriter.getIndexAttr(1), in matchAndRewrite()
/llvm-project-15.0.7/mlir/docs/
H A DCanonicalization.md199 implement the `materializeConstant` hook. This hook takes in an `Attribute`
204 to generate a declaration for the `materializeConstant` method.
221 Operation *MyDialect::materializeConstant(OpBuilder &builder, Attribute value,
H A DDefiningDialects.md147 materialization, and the `materializeConstant` hook is declared on the dialect. This
162 Operation *MyDialect::materializeConstant(OpBuilder &builder, Attribute value,
/llvm-project-15.0.7/mlir/lib/Dialect/EmitC/IR/
H A DEmitC.cpp41 Operation *EmitCDialect::materializeConstant(OpBuilder &builder, in materializeConstant() function in EmitCDialect
/llvm-project-15.0.7/mlir/lib/Dialect/Math/IR/
H A DMathOps.cpp250 Operation *math::MathDialect::materializeConstant(OpBuilder &builder, in materializeConstant() function in math::MathDialect
/llvm-project-15.0.7/mlir/include/mlir/IR/
H A DDialect.h86 virtual Operation *materializeConstant(OpBuilder &builder, Attribute value, in materializeConstant() function
/llvm-project-15.0.7/mlir/lib/Dialect/Func/IR/
H A DFuncOps.cpp114 Operation *FuncDialect::materializeConstant(OpBuilder &builder, Attribute value, in materializeConstant() function in FuncDialect
/llvm-project-15.0.7/llvm/include/llvm/CodeGen/
H A DFastISel.h539 Register materializeConstant(const Value *V, MVT VT);
/llvm-project-15.0.7/mlir/examples/toy/Ch7/mlir/
H A DDialect.cpp631 mlir::Operation *ToyDialect::materializeConstant(mlir::OpBuilder &builder, in materializeConstant() function in ToyDialect
/llvm-project-15.0.7/mlir/docs/Tutorials/Toy/
H A DCh-7.md482 `materializeConstant`. This allows for generic MLIR operations to create
486 mlir::Operation *ToyDialect::materializeConstant(mlir::OpBuilder &builder,
/llvm-project-15.0.7/mlir/lib/IR/
H A DBuilders.cpp447 auto *constOp = dialect->materializeConstant(cstBuilder, attr, expectedType, in tryFold()
/llvm-project-15.0.7/mlir/lib/Dialect/SPIRV/IR/
H A DSPIRVDialect.cpp879 Operation *SPIRVDialect::materializeConstant(OpBuilder &builder, in materializeConstant() function in SPIRVDialect
/llvm-project-15.0.7/mlir/examples/toy/Ch7/include/toy/
H A DOps.td30 // We set this bit to generate a declaration of the `materializeConstant`
/llvm-project-15.0.7/llvm/lib/CodeGen/SelectionDAG/
H A DFastISel.cpp279 Register FastISel::materializeConstant(const Value *V, MVT VT) { in materializeConstant() function in FastISel
340 Reg = materializeConstant(V, VT); in materializeRegForValue()
/llvm-project-15.0.7/mlir/test/lib/Dialect/Test/
H A DTestDialect.cpp428 Operation *TestDialect::materializeConstant(OpBuilder &builder, Attribute value, in materializeConstant() function in TestDialect
/llvm-project-15.0.7/mlir/lib/Dialect/Tosa/IR/
H A DTosaOps.cpp88 Operation *TosaDialect::materializeConstant(OpBuilder &builder, Attribute value, in materializeConstant() function in TosaDialect
/llvm-project-15.0.7/mlir/lib/Dialect/Shape/IR/
H A DShape.cpp147 Operation *ShapeDialect::materializeConstant(OpBuilder &builder, in materializeConstant() function in ShapeDialect
/llvm-project-15.0.7/mlir/lib/Dialect/Affine/IR/
H A DAffineOps.cpp220 Operation *AffineDialect::materializeConstant(OpBuilder &builder, in materializeConstant() function in AffineDialect
728 constants.push_back(dialect->materializeConstant( in materializeConstants()
/llvm-project-15.0.7/mlir/lib/Dialect/Linalg/IR/
H A DLinalgOps.cpp1935 Operation *LinalgDialect::materializeConstant(OpBuilder &builder, in materializeConstant() function in LinalgDialect
/llvm-project-15.0.7/mlir/lib/Dialect/Tensor/IR/
H A DTensorOps.cpp28 Operation *TensorDialect::materializeConstant(OpBuilder &builder, in materializeConstant() function in TensorDialect
/llvm-project-15.0.7/mlir/lib/Dialect/MemRef/IR/
H A DMemRefOps.cpp74 Operation *MemRefDialect::materializeConstant(OpBuilder &builder, in materializeConstant() function in MemRefDialect
/llvm-project-15.0.7/mlir/lib/Dialect/Vector/IR/
H A DVectorOps.cpp316 Operation *VectorDialect::materializeConstant(OpBuilder &builder, in materializeConstant() function in VectorDialect