/external/llvm-project/mlir/lib/Dialect/SCF/Transforms/ |
D | LoopSpecialization.cpp | 34 auto minOp = bound.getDefiningOp<AffineMinOp>(); in specializeParallelLoopForUnrolling() local 35 if (!minOp) in specializeParallelLoopForUnrolling() 38 for (AffineExpr expr : minOp.map().getResults()) { in specializeParallelLoopForUnrolling() 69 auto minOp = bound.getDefiningOp<AffineMinOp>(); in specializeForLoopForUnrolling() local 70 if (!minOp) in specializeForLoopForUnrolling() 73 for (AffineExpr expr : minOp.map().getResults()) { in specializeForLoopForUnrolling()
|
/external/llvm-project/mlir/lib/Dialect/Linalg/Transforms/ |
D | Transforms.cpp | 467 AffineMinOp minOp, PatternRewriter &rewriter) const { in matchAndRewrite() argument 468 LLVM_DEBUG(DBGS() << "Canonicalize AffineMinSCF: " << *minOp.getOperation() in matchAndRewrite() 471 SmallVector<Value, 4> dims(minOp.getDimOperands()), in matchAndRewrite() 472 symbols(minOp.getSymbolOperands()); in matchAndRewrite() 473 AffineMap map = substitute(minOp.getAffineMap(), dims, symbols); in matchAndRewrite() 479 for (auto e : minOp.getAffineMap().getResults()) { in matchAndRewrite() 496 MLIRContext *ctx = minOp.getContext(); in matchAndRewrite() 505 rewriter.replaceOpWithNewOp<ConstantIndexOp>(minOp, cst.getValue()); in matchAndRewrite() 512 rewriter.replaceOpWithNewOp<AffineApplyOp>(minOp, resultMap, in matchAndRewrite()
|
/external/llvm-project/mlir/lib/Dialect/Affine/Utils/ |
D | Utils.cpp | 164 auto minOp = outsideBuilder.create<AffineMinOp>(loc, upperBoundMap, in affineParallelize() local 167 upperBoundOperands = minOp->getResults(); in affineParallelize()
|
/external/llvm/lib/Target/Hexagon/ |
D | HexagonInstrInfo.td | 739 class T_ALU32_2op <string mnemonic, bits<3> minOp> : 748 let Inst{23-21} = minOp; 759 class T_ALU32_2op_Pred <string mnemonic, bits<3> minOp, bit isPredNot, 771 let Inst{23-21} = minOp; 780 multiclass ALU32_2op_Pred<string mnemonic, bits<3> minOp, bit PredNot> { 782 def NAME : T_ALU32_2op_Pred<mnemonic, minOp, PredNot, 0>; 786 def NAME#new : T_ALU32_2op_Pred<mnemonic, minOp, PredNot, 1>; 790 multiclass ALU32_2op_base<string mnemonic, bits<3> minOp> { 793 def A2_#NAME : T_ALU32_2op<mnemonic, minOp>; 796 defm A4_p#NAME#t : ALU32_2op_Pred<mnemonic, minOp, 0>; [all …]
|
D | HexagonInstrInfoV4.td | 2569 class T_vcmpImm <string Str, bits<2> cmpOp, bits<2> minOp, Operand ImmOprnd> 2587 let Inst{4-3} = minOp;
|
/external/llvm-project/mlir/lib/Conversion/SCFToGPU/ |
D | SCFToGPU.cpp | 302 if (auto minOp = upperBound.getDefiningOp<AffineMinOp>()) { in deriveStaticUpperBound() local 303 for (const AffineExpr &result : minOp.map().getResults()) { in deriveStaticUpperBound() 305 return rewriter.create<ConstantIndexOp>(minOp.getLoc(), in deriveStaticUpperBound()
|
/external/tensorflow/tensorflow/c/eager/ |
D | c_api_test.cc | 867 TFE_Op* minOp = MinOp(ctx, input, axis); in TEST() local 870 TFE_Execute(minOp, &retvals[0], &num_retvals, status); in TEST() 872 TFE_DeleteOp(minOp); in TEST() 1449 TFE_Op* minOp = TFE_NewOp(ctx, "Min", status); in TEST() local 1451 TFE_OpAddInput(minOp, input, status); in TEST() 1453 TFE_OpAddInput(minOp, axis, status); in TEST() 1456 tensorflow::AttrValueMap attr_values = ExtractAttrs(minOp); in TEST() 1466 TFE_Execute(minOp, &retvals[0], &num_retvals, status); in TEST() 1470 TFE_DeleteOp(minOp); in TEST()
|
/external/llvm-project/mlir/include/mlir/Dialect/Linalg/Transforms/ |
D | Transforms.h | 721 LogicalResult matchAndRewrite(AffineMinOp minOp, 769 LogicalResult matchAndRewrite(ConvOp minOp,
|
/external/llvm-project/mlir/test/lib/Transforms/ |
D | TestLinalgTransforms.cpp | 486 funcOp.walk([&frozenPatterns](AffineMinOp minOp) { in applyAffineMinSCFCanonicalizationPatterns() argument 487 applyOpPatternsAndFold(minOp, frozenPatterns); in applyAffineMinSCFCanonicalizationPatterns()
|