/external/llvm/utils/TableGen/ |
D | CodeGenInstruction.cpp | 644 for (unsigned SubOp = 0; SubOp != NumSubOps; ++SubOp) { in CodeGenInstAlias() local 645 Record *SubRec = cast<DefInit>(MIOI->getArg(SubOp))->getDef(); in CodeGenInstAlias() 650 MIOI->getArgName(SubOp), in CodeGenInstAlias() 652 ResultInstOperandIndex.push_back(std::make_pair(i, SubOp)); in CodeGenInstAlias() 663 for (unsigned SubOp = 0; SubOp != NumSubOps; ++SubOp) { in CodeGenInstAlias() local 666 Record *SubRec = cast<DefInit>(MIOI->getArg(SubOp))->getDef(); in CodeGenInstAlias() 670 ResultInstOperandIndex.push_back(std::make_pair(i, SubOp)); in CodeGenInstAlias() 675 (SubOp == 0 ? InstOpRec->getName() :SubRec->getName())); in CodeGenInstAlias()
|
/external/llvm-project/llvm/utils/TableGen/ |
D | CodeGenInstruction.cpp | 750 for (unsigned SubOp = 0; SubOp != NumSubOps; ++SubOp) { in CodeGenInstAlias() local 751 Record *SubRec = cast<DefInit>(MIOI->getArg(SubOp))->getDef(); in CodeGenInstAlias() 757 MIOI->getArgName(SubOp)->getAsUnquotedString(), SubRec); in CodeGenInstAlias() 758 ResultInstOperandIndex.push_back(std::make_pair(i, SubOp)); in CodeGenInstAlias() 769 for (unsigned SubOp = 0; SubOp != NumSubOps; ++SubOp) { in CodeGenInstAlias() local 772 Record *SubRec = cast<DefInit>(MIOI->getArg(SubOp))->getDef(); in CodeGenInstAlias() 776 ResultInstOperandIndex.push_back(std::make_pair(i, SubOp)); in CodeGenInstAlias() 781 (SubOp == 0 ? InstOpRec->getName() :SubRec->getName())); in CodeGenInstAlias()
|
/external/tensorflow/tensorflow/compiler/mlir/hlo/lib/Dialect/mhlo/transforms/ |
D | chlo_legalize_to_hlo.cc | 176 rewriter.create<mhlo::SubOp>(loc, two, erfc_approx_clamped); in MaterializeErfcApproximationF64ForMagnituteGEOne() 225 Value erfc_based_approx = rewriter.create<mhlo::SubOp>(loc, one, erfc_approx); in MaterializeErfApproximationF64() 252 Value erf_based_approx = rewriter.create<mhlo::SubOp>(loc, one, erf_approx); in MaterializeErfcApproximationF64() 326 rewriter.create<mhlo::SubOp>(loc, two, erfc_approx_clamped); in MaterializeErfcApproximationF32ForMagnitudeGEOne() 400 Value erf_based_approx = rewriter.create<mhlo::SubOp>(loc, one, erf_approx); in MaterializeErfcApproximationF32() 527 Value x_sub_one = rewriter.create<mhlo::SubOp>(loc, x, one); in MaterializeLgamma() 564 Value sum = rewriter.create<mhlo::SubOp>( in MaterializeLgamma() 607 Value abs_frac = rewriter.create<mhlo::SubOp>( in MaterializeLgamma() 612 loc, reduce_abs_frac, rewriter.create<mhlo::SubOp>(loc, one, abs_frac), in MaterializeLgamma() 621 Value lgamma_reflection = rewriter.create<mhlo::SubOp>( in MaterializeLgamma() [all …]
|
D | lhlo_legalize_to_affine.cc | 147 BinaryOpConverter<lmhlo::SubOp>, in populateLHLOToAffineConversionPattern()
|
D | unfuse_batch_norm.cc | 160 Value result = rewriter.create<mhlo::SubOp>(bn_op.getLoc(), bn_op.operand(), in matchAndRewrite()
|
/external/deqp/framework/randomshaders/ |
D | rsgBinaryOps.hpp | 136 class SubOp : public SubBase class 139 SubOp (GeneratorState& state, ConstValueRangeAccess valueRange); 140 virtual ~SubOp (void) {} in ~SubOp()
|
D | rsgBinaryOps.cpp | 631 SubOp::SubOp (GeneratorState& state, ConstValueRangeAccess valueRange) in SubOp() function in rsg::SubOp 636 float SubOp::getWeight (const GeneratorState& state, ConstValueRangeAccess valueRange) in getWeight()
|
/external/llvm/lib/Transforms/InstCombine/ |
D | InstCombineSelect.cpp | 852 Instruction *AddOp = nullptr, *SubOp = nullptr; in foldAddSubSelect() local 858 SubOp = TI; in foldAddSubSelect() 864 SubOp = FI; in foldAddSubSelect() 869 if (SubOp->getOperand(0) == AddOp->getOperand(0)) { in foldAddSubSelect() 871 } else if (SubOp->getOperand(0) == AddOp->getOperand(1)) { in foldAddSubSelect() 880 NegVal = Builder.CreateFNeg(SubOp->getOperand(1)); in foldAddSubSelect() 883 Flags &= SubOp->getFastMathFlags(); in foldAddSubSelect() 887 NegVal = Builder.CreateNeg(SubOp->getOperand(1)); in foldAddSubSelect() 899 BinaryOperator::CreateFAdd(SubOp->getOperand(0), NewSel); in foldAddSubSelect() 902 Flags &= SubOp->getFastMathFlags(); in foldAddSubSelect() [all …]
|
/external/tensorflow/tensorflow/compiler/mlir/tensorflow/transforms/ |
D | lower_tf.cc | 330 {AddV2Op::getOperationName(), SubOp::getOperationName(), in ConvertFakeQuantWithMinMaxVarsOp() 353 auto float_diff = rewriter.create<SubOp>(op.getLoc(), float_max, float_min); in matchAndRewrite() 380 rewriter.create<SubOp>(op.getLoc(), quant_min, min_scaled); in matchAndRewrite() 389 rewriter.create<SubOp>(op.getLoc(), quant_min, nudged_zero_point_val); in matchAndRewrite() 391 rewriter.create<SubOp>(op.getLoc(), quant_max, nudged_zero_point_val); in matchAndRewrite() 405 quantized_input = rewriter.create<SubOp>(op.getLoc(), input_ty, in matchAndRewrite() 528 SubOp::getOperationName(), in LowerLgammaOp() 533 SubOp::getOperationName(), in LowerLgammaOp() 592 Value input_minus_one = rewriter.create<SubOp>(loc, input, one); in matchAndRewrite() 639 rewriter.create<SubOp>(loc, one_half, t_div_log_t); in matchAndRewrite() [all …]
|
/external/llvm-project/mlir/lib/Conversion/GPUToNVVM/ |
D | LowerGpuOpsToNVVMOps.cpp | 70 Value activeMask = rewriter.create<LLVM::SubOp>( in matchAndRewrite() 76 rewriter.create<LLVM::SubOp>(loc, int32Type, adaptor.width(), one); in matchAndRewrite()
|
/external/tensorflow/tensorflow/compiler/mlir/hlo/include/mlir-hlo/Dialect/mhlo/transforms/ |
D | map_lmhlo_to_scalar_op.h | 70 struct LhloToScalarOp<lmhlo::SubOp> { 73 using COp = ::mlir::complex::SubOp; 147 auto neg_val = b->create<ScalarIOp<lmhlo::SubOp>>(loc, zero_intval, lhs); 579 return b->create<ScalarIOp<lmhlo::SubOp>>(loc, zero_intval, lhs); 788 inline Value MapLhloOpToStdScalarOp<lmhlo::SubOp>(Location loc, 792 return MapLhloOpToStdScalarOpImpl<IntegerType, ScalarIOp<lmhlo::SubOp>, 793 FloatType, ScalarFOp<lmhlo::SubOp>, 794 ComplexType, ScalarCOp<lmhlo::SubOp>>{}(
|
D | map_hlo_to_lhlo_op.h | 87 MAP_HLO_TO_LHLO(SubOp);
|
D | map_chlo_to_hlo_op.h | 81 POPULATE_BCAST(BroadcastSubOp, mhlo::SubOp); in PopulateForBroadcastingBinaryOp()
|
/external/tensorflow/tensorflow/compiler/mlir/python/mlir_wrapper/ |
D | ops.cc | 188 py::class_<mlir::TF::SubOp>(m, "Tf_SubOp") in init_ops() 192 return opb.create<mlir::TF::SubOp>(loc, x, y).getOperation(); in init_ops()
|
/external/llvm/lib/TableGen/ |
D | SetTheory.cpp | 37 struct SubOp : public SetTheory::Operator { struct 249 addOperator("sub", llvm::make_unique<SubOp>()); in SetTheory()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/TableGen/ |
D | SetTheory.cpp | 47 struct SubOp : public SetTheory::Operator { struct 259 addOperator("sub", std::make_unique<SubOp>()); in SetTheory()
|
/external/llvm-project/llvm/lib/TableGen/ |
D | SetTheory.cpp | 47 struct SubOp : public SetTheory::Operator { struct 259 addOperator("sub", std::make_unique<SubOp>()); in SetTheory()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/ |
D | InstCombineSelect.cpp | 1689 Instruction *AddOp = nullptr, *SubOp = nullptr; in foldAddSubSelect() local 1695 SubOp = TI; in foldAddSubSelect() 1701 SubOp = FI; in foldAddSubSelect() 1706 if (SubOp->getOperand(0) == AddOp->getOperand(0)) { in foldAddSubSelect() 1708 } else if (SubOp->getOperand(0) == AddOp->getOperand(1)) { in foldAddSubSelect() 1717 NegVal = Builder.CreateFNeg(SubOp->getOperand(1)); in foldAddSubSelect() 1720 Flags &= SubOp->getFastMathFlags(); in foldAddSubSelect() 1724 NegVal = Builder.CreateNeg(SubOp->getOperand(1)); in foldAddSubSelect() 1736 BinaryOperator::CreateFAdd(SubOp->getOperand(0), NewSel); in foldAddSubSelect() 1739 Flags &= SubOp->getFastMathFlags(); in foldAddSubSelect() [all …]
|
/external/llvm-project/llvm/lib/Transforms/InstCombine/ |
D | InstCombineSelect.cpp | 1741 Instruction *AddOp = nullptr, *SubOp = nullptr; in foldAddSubSelect() local 1747 SubOp = TI; in foldAddSubSelect() 1753 SubOp = FI; in foldAddSubSelect() 1758 if (SubOp->getOperand(0) == AddOp->getOperand(0)) { in foldAddSubSelect() 1760 } else if (SubOp->getOperand(0) == AddOp->getOperand(1)) { in foldAddSubSelect() 1769 NegVal = Builder.CreateFNeg(SubOp->getOperand(1)); in foldAddSubSelect() 1772 Flags &= SubOp->getFastMathFlags(); in foldAddSubSelect() 1776 NegVal = Builder.CreateNeg(SubOp->getOperand(1)); in foldAddSubSelect() 1788 BinaryOperator::CreateFAdd(SubOp->getOperand(0), NewSel); in foldAddSubSelect() 1791 Flags &= SubOp->getFastMathFlags(); in foldAddSubSelect() [all …]
|
/external/tensorflow/tensorflow/compiler/mlir/lite/transforms/ |
D | optimize.cc | 652 if (llvm::isa<AddOp, SubOp>(binary_op)) { in matchAndRewrite() 660 if (llvm::isa<SubOp>(binary_op)) cst_value.changeSign(); in matchAndRewrite() 877 ScalarizeSplatConstantForBroadcastableOps<TFL::SubOp>;
|
/external/llvm-project/mlir/lib/Dialect/Tosa/Transforms/ |
D | TosaMakeBroadcastable.cpp | 258 patterns.insert<ConvertTosaOp<tosa::SubOp>>(ctx); in runOnFunction()
|
/external/tensorflow/tensorflow/compiler/mlir/tosa/transforms/ |
D | legalize_common.cc | 520 auto sub_op = rewriter.create<tosa::SubOp>(op->getLoc(), result_type, x, y); in convertSquaredDifferenceOp() 1382 auto a2_sub_a1_one_op = rewriter.create<tosa::SubOp>( in convertEluOp() 1459 auto op3_sub_op1_op2 = rewriter.create<tosa::SubOp>( in convertSoftmaxOp() 1505 auto op9_sub_op8 = rewriter.create<tosa::SubOp>( in convertSoftmaxOp() 1516 auto op11_sub_op10 = rewriter.create<tosa::SubOp>( in convertSoftmaxOp() 2197 .create<tosa::SubOp>(op->getLoc(), output_type, in convertFloorModOp() 2720 auto op3_sub_op2 = rewriter.create<tosa::SubOp>( in convertDequantizeOp()
|
/external/tensorflow/tensorflow/compiler/mlir/xla/ |
D | hlo_utils.cc | 317 } else if (isa<mlir::mhlo::SubOp, mlir::lmhlo::SubOp>(op)) { in MhloToHloOpcode()
|
/external/llvm-project/mlir/lib/Conversion/LinalgToLLVM/ |
D | LinalgToLLVM.cpp | 63 using llvm_sub = ValueBuilder<LLVM::SubOp>;
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/ |
D | AMDGPUISelDAGToDAG.cpp | 1217 unsigned SubOp = AMDGPU::V_SUB_I32_e32; in SelectDS1Addr1Offset() local 1219 SubOp = AMDGPU::V_SUB_U32_e64; in SelectDS1Addr1Offset() 1225 CurDAG->getMachineNode(SubOp, DL, MVT::i32, Opnds); in SelectDS1Addr1Offset() 1296 unsigned SubOp = AMDGPU::V_SUB_I32_e32; in SelectDS64Bit4ByteAligned() local 1298 SubOp = AMDGPU::V_SUB_U32_e64; in SelectDS64Bit4ByteAligned() 1304 = CurDAG->getMachineNode(SubOp, DL, MVT::i32, Opnds); in SelectDS64Bit4ByteAligned()
|