Home
last modified time | relevance | path

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

123

/external/llvm-project/mlir/lib/Conversion/GPUToSPIRV/
DConvertGPUToSPIRV.cpp34 ConversionPatternRewriter &rewriter) const override;
46 ConversionPatternRewriter &rewriter) const override;
59 ConversionPatternRewriter &rewriter) const override;
69 ConversionPatternRewriter &rewriter) const override;
82 ConversionPatternRewriter &rewriter) const override;
93 ConversionPatternRewriter &rewriter) const override;
120 ConversionPatternRewriter &rewriter) const { in matchAndRewrite()
137 ConversionPatternRewriter &rewriter) const { in matchAndRewrite()
145 ConversionPatternRewriter &rewriter) const { in matchAndRewrite()
167 ConversionPatternRewriter &rewriter, in lowerAsEntryFunction()
[all …]
/external/llvm-project/mlir/lib/Conversion/StandardToSPIRV/
DConvertStandardToSPIRV.cpp273 ConversionPatternRewriter &rewriter) const override { in matchAndRewrite()
315 ConversionPatternRewriter &rewriter) const override { in matchAndRewrite()
332 ConversionPatternRewriter &rewriter) const override { in matchAndRewrite()
356 ConversionPatternRewriter &rewriter) const override;
370 ConversionPatternRewriter &rewriter) const override { in matchAndRewrite()
394 ConversionPatternRewriter &rewriter) const override;
404 ConversionPatternRewriter &rewriter) const override;
414 ConversionPatternRewriter &rewriter) const override;
424 ConversionPatternRewriter &rewriter) const override;
434 ConversionPatternRewriter &rewriter) const override;
[all …]
/external/llvm-project/mlir/lib/Conversion/ShapeToStandard/
DShapeToStandard.cpp30 ConversionPatternRewriter &rewriter) const override;
36 ConversionPatternRewriter &rewriter) const { in matchAndRewrite()
53 ConversionPatternRewriter &rewriter) const override { in matchAndRewrite()
73 ConversionPatternRewriter &rewriter) const override;
79 ConversionPatternRewriter &rewriter) const { in matchAndRewrite()
165 ConversionPatternRewriter &rewriter) const override;
171 ConversionPatternRewriter &rewriter) const { in matchAndRewrite()
199 ConversionPatternRewriter &rewriter) const override;
205 ConversionPatternRewriter &rewriter) const { in matchAndRewrite()
217 ConversionPatternRewriter &rewriter) const override;
[all …]
/external/llvm-project/mlir/include/mlir/Conversion/StandardToLLVM/
DConvertStandardToLLVM.h93 void promoteBarePtrsToDescriptors(ConversionPatternRewriter &rewriter,
505 Value createIndexConstant(ConversionPatternRewriter &builder, Location loc,
512 ConversionPatternRewriter &rewriter) const;
517 ConversionPatternRewriter &rewriter) const;
542 ConversionPatternRewriter &rewriter,
549 ConversionPatternRewriter &rewriter) const;
553 ConversionPatternRewriter &rewriter) const;
560 ConversionPatternRewriter &rewriter) const;
576 ConversionPatternRewriter &rewriter) const final { in rewrite()
584 ConversionPatternRewriter &rewriter) const final { in matchAndRewrite()
[all …]
/external/llvm-project/mlir/lib/Transforms/Utils/
DDialectConversion.cpp1247 ConversionPatternRewriter::ConversionPatternRewriter(MLIRContext *ctx) in ConversionPatternRewriter() function in ConversionPatternRewriter
1250 ConversionPatternRewriter::~ConversionPatternRewriter() {} in ~ConversionPatternRewriter()
1253 void ConversionPatternRewriter::replaceOp(Operation *op, ValueRange newValues) { in replaceOp()
1264 void ConversionPatternRewriter::eraseOp(Operation *op) { in eraseOp()
1273 void ConversionPatternRewriter::eraseBlock(Block *block) { in eraseBlock()
1287 Block *ConversionPatternRewriter::applySignatureConversion( in applySignatureConversion()
1292 FailureOr<Block *> ConversionPatternRewriter::convertRegionTypes( in convertRegionTypes()
1298 void ConversionPatternRewriter::replaceUsesOfBlockArgument(BlockArgument from, in replaceUsesOfBlockArgument()
1312 Value ConversionPatternRewriter::getRemappedValue(Value key) { in getRemappedValue()
1317 void ConversionPatternRewriter::notifyBlockCreated(Block *block) { in notifyBlockCreated()
[all …]
/external/llvm-project/mlir/lib/Conversion/AVX512ToLLVM/
DConvertAVX512ToLLVM.cpp40 ConversionPatternRewriter &rewriter) { in matchAndRewriteOneToOne()
84 ConversionPatternRewriter &rewriter) const override { in matchAndRewrite()
101 ConversionPatternRewriter &rewriter) const override { in matchAndRewrite()
118 ConversionPatternRewriter &rewriter) const override { in matchAndRewrite()
135 ConversionPatternRewriter &rewriter) const override { in matchAndRewrite()
/external/llvm-project/mlir/lib/Conversion/SPIRVToLLVM/
DConvertSPIRVToLLVM.cpp141 ConversionPatternRewriter &rewriter) { in broadcast()
158 ConversionPatternRewriter &rewriter) { in optionallyBroadcast()
178 ConversionPatternRewriter &rewriter) { in processCountOrOffset()
221 ConversionPatternRewriter &rewriter, in replaceWithLoadOrStore()
308 ConversionPatternRewriter &rewriter) const override { in matchAndRewrite()
333 ConversionPatternRewriter &rewriter) const override { in matchAndRewrite()
350 ConversionPatternRewriter &rewriter) const override { in matchAndRewrite()
394 ConversionPatternRewriter &rewriter) const override { in matchAndRewrite()
439 ConversionPatternRewriter &rewriter) const override { in matchAndRewrite()
492 ConversionPatternRewriter &rewriter) const override { in matchAndRewrite()
[all …]
/external/llvm-project/mlir/lib/Conversion/GPUCommon/
DConvertLaunchFuncToRuntimeCalls.cpp167 ConversionPatternRewriter &rewriter) const override;
181 ConversionPatternRewriter &rewriter) const override;
195 ConversionPatternRewriter &rewriter) const override;
209 ConversionPatternRewriter &rewriter) const override;
223 ConversionPatternRewriter &rewriter) const override;
255 ConversionPatternRewriter &rewriter) const override;
301 ConversionPatternRewriter &rewriter) { in areAllLLVMTypes()
311 isAsyncWithOneDependency(ConversionPatternRewriter &rewriter, in isAsyncWithOneDependency()
325 ConversionPatternRewriter &rewriter) const { in matchAndRewrite()
347 ConversionPatternRewriter &rewriter) const { in matchAndRewrite()
[all …]
/external/llvm-project/mlir/lib/Dialect/StandardOps/Transforms/
DBufferize.cpp29 ConversionPatternRewriter &rewriter) const override { in matchAndRewrite()
46 ConversionPatternRewriter &rewriter) const final { in matchAndRewrite()
97 ConversionPatternRewriter &rewriter) const override { in matchAndRewrite()
112 ConversionPatternRewriter &rewriter) const override { in matchAndRewrite()
130 ConversionPatternRewriter &rewriter) const override { in matchAndRewrite()
145 ConversionPatternRewriter &rewriter) const override { in matchAndRewrite()
DFuncConversions.cpp24 ConversionPatternRewriter &rewriter) const override { in matchAndRewrite()
58 ConversionPatternRewriter &rewriter) const final { in matchAndRewrite()
94 ConversionPatternRewriter &rewriter) const final { in matchAndRewrite()
DDecomposeCallGraphTypes.cpp65 ConversionPatternRewriter &rewriter) const final { in matchAndRewrite()
107 ConversionPatternRewriter &rewriter) const final { in matchAndRewrite()
132 ConversionPatternRewriter &rewriter) const final { in matchAndRewrite()
/external/llvm-project/mlir/lib/Conversion/VectorToLLVM/
DConvertVectorToLLVM.cpp36 static Value insertOne(ConversionPatternRewriter &rewriter, in insertOne()
64 static Value extractOne(ConversionPatternRewriter &rewriter, in extractOne()
112 static Value buildVectorComparison(ConversionPatternRewriter &rewriter, in buildVectorComparison()
163 static LogicalResult getBase(ConversionPatternRewriter &rewriter, Location loc, in getBase()
180 static LogicalResult getBasePtr(ConversionPatternRewriter &rewriter, in getBasePtr()
192 static LogicalResult getBasePtr(ConversionPatternRewriter &rewriter, in getBasePtr()
206 static LogicalResult getIndexedPtrs(ConversionPatternRewriter &rewriter, in getIndexedPtrs()
220 replaceTransferOpWithLoadOrStore(ConversionPatternRewriter &rewriter, in replaceTransferOpWithLoadOrStore()
232 replaceTransferOpWithMasked(ConversionPatternRewriter &rewriter, in replaceTransferOpWithMasked()
256 replaceTransferOpWithLoadOrStore(ConversionPatternRewriter &rewriter, in replaceTransferOpWithLoadOrStore()
[all …]
/external/llvm-project/mlir/lib/Conversion/VectorToSPIRV/
DVectorToSPIRV.cpp33 ConversionPatternRewriter &rewriter) const override { in matchAndRewrite()
52 ConversionPatternRewriter &rewriter) const override { in matchAndRewrite()
69 ConversionPatternRewriter &rewriter) const override { in matchAndRewrite()
88 ConversionPatternRewriter &rewriter) const override { in matchAndRewrite()
106 ConversionPatternRewriter &rewriter) const override { in matchAndRewrite()
/external/llvm-project/mlir/lib/Conversion/SCFToSPIRV/
DSCFToSPIRV.cpp62 ConversionPatternRewriter &rewriter) const override;
73 ConversionPatternRewriter &rewriter) const override;
82 ConversionPatternRewriter &rewriter) const override;
93 ConversionPatternRewriter &rewriter, in replaceSCFOutputValue()
124 ConversionPatternRewriter &rewriter) const { in matchAndRewrite()
209 ConversionPatternRewriter &rewriter) const { in matchAndRewrite()
267 ConversionPatternRewriter &rewriter) const { in matchAndRewrite()
/external/tensorflow/tensorflow/compiler/mlir/tools/kernel_gen/transforms/
Dembed_tf_framework.cc36 ConversionPatternRewriter &rewriter) const override { in matchAndRewrite()
65 ConversionPatternRewriter &rewriter) const override { in matchAndRewrite()
98 ConversionPatternRewriter &rewriter) const override { in matchAndRewrite()
127 ConversionPatternRewriter &rewriter) const override { in matchAndRewrite()
Dbufferize.cc39 ConversionPatternRewriter &rewriter) const final { in matchAndRewrite()
81 ConversionPatternRewriter &rewriter) const override { in matchAndRewrite()
94 ConversionPatternRewriter &rewriter) const override { in matchAndRewrite()
Dtf_framework_legalize_to_llvm.cc73 ConversionPatternRewriter &rewriter) const override { in matchAndRewrite()
145 ConversionPatternRewriter &rewriter, in CreateMemRefDescriptor()
180 ConversionPatternRewriter *rewriter) const { in ConvertI32ArrayAttrToStackAllocatedArray()
221 ConversionPatternRewriter &rewriter) const override { in matchAndRewrite()
252 ConversionPatternRewriter &rewriter) const override { in matchAndRewrite()
325 ConversionPatternRewriter &rewriter) const override { in matchAndRewrite()
337 ConversionPatternRewriter &rewriter) const override { in matchAndRewrite()
/external/tensorflow/tensorflow/compiler/mlir/hlo/lib/Dialect/mhlo/transforms/
Dhlo_legalize_to_lhlo.cc51 ConversionPatternRewriter* rewriter) { in InsertDynamicAllocAndDealloc()
78 ConversionPatternRewriter* rewriter) { in InsertAlloc()
95 ConversionPatternRewriter& rewriter) { in ConvertResults()
124 ConversionPatternRewriter& rewriter) const final { in matchAndRewrite()
147 ConversionPatternRewriter& rewriter) const final { in matchAndRewrite()
177 ConversionPatternRewriter& rewriter) const final { in matchAndRewrite()
203 ConversionPatternRewriter& rewriter) const final { in matchAndRewrite()
226 ConversionPatternRewriter& rewriter) const final { in matchAndRewrite()
256 ConversionPatternRewriter& rewriter) const final { in matchAndRewrite()
374 ConversionPatternRewriter& rewriter) const final { in matchAndRewrite()
[all …]
Dchlo_legalize_to_hlo.cc51 ConversionPatternRewriter &rewriter) const override { in matchAndRewrite()
82 Value MaterializePolynomialApproximation(ConversionPatternRewriter &rewriter, in MaterializePolynomialApproximation()
100 ConversionPatternRewriter &rewriter, Location loc, ValueRange args) { in MaterializeErfcApproximationF64ForMagnituteGEOne()
184 ConversionPatternRewriter &rewriter, Location loc, ValueRange args) { in MaterializeErfApproximationF64ForMagnituteLEOne()
209 Value MaterializeErfApproximationF64(ConversionPatternRewriter &rewriter, in MaterializeErfApproximationF64()
236 Value MaterializeErfcApproximationF64(ConversionPatternRewriter &rewriter, in MaterializeErfcApproximationF64()
269 ConversionPatternRewriter &rewriter, Location loc, ValueRange args) { in MaterializeErfcApproximationF32ForMagnitudeGEOne()
334 ConversionPatternRewriter &rewriter, Location loc, ValueRange args) { in MaterializeErfApproximationF32ForMagnitudeLEOne()
353 Value MaterializeErfApproximationF32(ConversionPatternRewriter &rewriter, in MaterializeErfApproximationF32()
384 Value MaterializeErfcApproximationF32(ConversionPatternRewriter &rewriter, in MaterializeErfcApproximationF32()
[all …]
/external/llvm-project/mlir/test/lib/Dialect/Test/
DTestPatterns.cpp203 ConversionPatternRewriter &rewriter) const final { in matchAndRewrite()
290 ConversionPatternRewriter &rewriter) const final { in matchAndRewrite()
307 ConversionPatternRewriter &rewriter) const final { in matchAndRewrite()
326 ConversionPatternRewriter &rewriter) const override { in matchAndRewrite()
349 ConversionPatternRewriter &rewriter) const final { in matchAndRewrite()
361 ConversionPatternRewriter &rewriter) const final { in matchAndRewrite()
386 ConversionPatternRewriter &rewriter) const final { in matchAndRewrite()
399 ConversionPatternRewriter &rewriter) const final { in matchAndRewrite()
412 ConversionPatternRewriter &rewriter) const final { in matchAndRewrite()
424 ConversionPatternRewriter &rewriter) const final { in matchAndRewrite()
[all …]
/external/llvm-project/mlir/include/mlir/Transforms/
DDialectConversion.h24 class ConversionPatternRewriter; variable
322 ConversionPatternRewriter &rewriter) const { in rewrite()
329 ConversionPatternRewriter &rewriter) const { in matchAndRewrite()
386 ConversionPatternRewriter &rewriter) const final { in rewrite()
391 ConversionPatternRewriter &rewriter) const final { in matchAndRewrite()
400 ConversionPatternRewriter &rewriter) const { in rewrite()
406 ConversionPatternRewriter &rewriter) const { in matchAndRewrite()
434 class ConversionPatternRewriter final : public PatternRewriter {
436 ConversionPatternRewriter(MLIRContext *ctx);
437 ~ConversionPatternRewriter() override;
/external/llvm-project/mlir/lib/Conversion/StandardToLLVM/
DStandardToLLVM.cpp435 ConversionPatternRewriter &rewriter, Location loc, ArrayRef<Type> stdTypes, in promoteBarePtrsToDescriptors()
1044 ConversionPatternRewriter &builder, Location loc, uint64_t value) const { in createIndexConstant()
1050 ConversionPatternRewriter &rewriter) const { in getStridedElementPtr()
1086 ConversionPatternRewriter &rewriter) const { in getDataPtr()
1108 ConversionPatternRewriter &rewriter, SmallVectorImpl<Value> &sizes, in getMemRefDescriptorSizes()
1155 Location loc, Type type, ConversionPatternRewriter &rewriter) const { in getSizeInBytes()
1172 ConversionPatternRewriter &rewriter) const { in getNumElements()
1185 ConversionPatternRewriter &rewriter) const { in createMemRefDescriptor()
1349 ConversionPatternRewriter &rewriter) const { in convertFuncOpToLLVMFuncOp()
1404 ConversionPatternRewriter &rewriter) const override { in matchAndRewrite()
[all …]
/external/llvm-project/mlir/lib/Dialect/SCF/Transforms/
DStructuralTypeConversions.cpp25 ConversionPatternRewriter &rewriter) const override { in matchAndRewrite()
83 ConversionPatternRewriter &rewriter) const override { in matchAndRewrite()
129 ConversionPatternRewriter &rewriter) const override { in matchAndRewrite()
/external/llvm-project/mlir/lib/Dialect/Shape/Transforms/
DStructuralTypeConversions.cpp24 ConversionPatternRewriter &rewriter) const final { in matchAndRewrite()
52 ConversionPatternRewriter &rewriter) const final { in matchAndRewrite()
/external/tensorflow/tensorflow/compiler/mlir/lite/transforms/
Dlower_static_tensor_list.cc180 ConversionPatternRewriter &rewriter) const override { in matchAndRewrite()
263 ConversionPatternRewriter &rewriter) const override { in matchAndRewrite()
329 ConversionPatternRewriter &rewriter) const override { in matchAndRewrite()
521 ConversionPatternRewriter &rewriter) const override { in matchAndRewrite()
565 ConversionPatternRewriter &rewriter) const override { in matchAndRewrite()
644 ConversionPatternRewriter *rewriter) const { in CreateCondTrueBranch()
681 ConversionPatternRewriter *rewriter) const { in CreateCondFalseBranch()
716 ConversionPatternRewriter &rewriter) const override { in matchAndRewrite()
731 ConversionPatternRewriter &rewriter) const override { in matchAndRewrite()
751 ConversionPatternRewriter &rewriter) const override { in matchAndRewrite()
[all …]

123