/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/tensorflow/tensorflow/compiler/mlir/tensorflow/transforms/ |
D | lower_tf.cc | 365 {AddV2Op::getOperationName(), SubOp::getOperationName(), in ConvertFakeQuantWithMinMaxVarsOp() 387 auto float_diff = rewriter.create<SubOp>(op.getLoc(), float_max, float_min); in matchAndRewrite() 414 rewriter.create<SubOp>(op.getLoc(), quant_min, min_scaled); in matchAndRewrite() 423 rewriter.create<SubOp>(op.getLoc(), quant_min, nudged_zero_point_val); in matchAndRewrite() 425 rewriter.create<SubOp>(op.getLoc(), quant_max, nudged_zero_point_val); in matchAndRewrite() 439 quantized_input = rewriter.create<SubOp>(op.getLoc(), input_ty, in matchAndRewrite() 561 SubOp::getOperationName(), in LowerLgammaOp() 566 SubOp::getOperationName(), in LowerLgammaOp() 624 Value input_minus_one = rewriter.create<SubOp>(loc, input, one); in matchAndRewrite() 671 rewriter.create<SubOp>(loc, one_half, t_div_log_t); in matchAndRewrite() [all …]
|
D | stack_ops_decomposition.cc | 430 auto new_size = builder.create<TF::SubOp>( in HandleStackPopV2Op()
|
/external/tensorflow/tensorflow/compiler/mlir/tensorflow/ir/ |
D | tf_arith_ops_folder.h | 36 class SubOp; variable 58 OpT, AddV2Op, SubOp, MulOp, DivOp, RealDivOp>::value>::type * = nullptr>
|
/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/dtensor/mlir/expansions/ |
D | softmax_spmd_expander.cc | 127 builder.create<mlir::TF::SubOp>(loc, logits, max_logits).getResult(); in ComputeExpAndSum() 159 auto log_softmax = builder.create<mlir::TF::SubOp>( in ComputeLogSoftmax() 306 builder.create<mlir::TF::SubOp>(loc, input, id_offset).z(); in ComputeOneHot() 615 builder.create<mlir::TF::SubOp>(op->getLoc(), softmax, labels); in ExpandOp()
|
D | conv_spmd_expander.cc | 265 builder.create<mlir::TF::SubOp>(location, halo_sizes_const, offset); in HandleConv()
|
/external/tensorflow/tensorflow/compiler/mlir/python/mlir_wrapper/ |
D | ops.cc | 187 py::class_<mlir::TF::SubOp>(m, "Tf_SubOp") in init_ops() 191 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/tensorflow/tensorflow/compiler/mlir/tosa/transforms/ |
D | legalize_common.cc | 560 CreateOpAndInfer<tosa::SubOp>(rewriter, op->getLoc(), result_type, x, y); in convertSquaredDifferenceOp() 1339 CreateOpAndInfer<tosa::SubOp>(rewriter, op->getLoc(), output_type, in convertEluOp() 1417 auto op3_sub_op1_op2 = CreateOpAndInfer<tosa::SubOp>( in convertSoftmaxOp() 1518 auto op17_sub_op16 = CreateOpAndInfer<tosa::SubOp>( in convertSoftmaxOp() 1561 auto op22_sub_one_op21 = CreateOpAndInfer<tosa::SubOp>( in convertSoftmaxOp() 1594 auto op27_sub_op16 = CreateOpAndInfer<tosa::SubOp>( in convertSoftmaxOp() 1619 auto op3_sub_op1_op2 = CreateOpAndInfer<tosa::SubOp>( in convertSoftmaxOp() 1668 auto op11_sub_op10 = CreateOpAndInfer<tosa::SubOp>( in convertSoftmaxOp() 1678 auto op13_sub_op12 = CreateOpAndInfer<tosa::SubOp>( in convertSoftmaxOp() 1689 auto op15_add_op14 = CreateOpAndInfer<tosa::SubOp>( in convertSoftmaxOp() [all …]
|
D | legalize_tf.cc | 297 auto tf_sub_op = cast<TF::SubOp>(op); in matchAndRewrite() 304 CreateReplaceOpAndInfer<tosa::SubOp>(rewriter, op, output_type, tf_sub_op.x(), in matchAndRewrite() 1290 auto op1_sub_input_mean = CreateOpAndInfer<tosa::SubOp>( in matchAndRewrite() 1349 auto op1_sub_input_mean = CreateOpAndInfer<tosa::SubOp>( in matchAndRewrite()
|
/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/tensorflow/tensorflow/compiler/mlir/quantization/tensorflow/passes/ |
D | replace_cast_hacks_with_tf_xla_ops.cc | 157 return builder.create<TF::SubOp>(loc, xla_conv_output, zp_offset); in CreateXLAConvOp()
|
/external/tensorflow/tensorflow/compiler/mlir/lite/quantization/tensorflow/ |
D | fallback_to_flex_ops.cc | 105 TF::SubOp::getOperationName().str(), in QuantizableOpsInLegacyMode()
|
/external/tensorflow/tensorflow/compiler/mlir/quantization/tensorflow/utils/ |
D | tf_to_xla_attribute_utils.cc | 60 return builder.create<TF::SubOp>(loc, int32_scalar_type, lhs, rhs); in GetSamePaddingValues()
|
/external/tensorflow/tensorflow/compiler/mlir/lite/transforms/ |
D | optimize.cc | 1047 if (llvm::isa<AddOp, SubOp>(binary_op)) { in matchAndRewrite() 1055 if (llvm::isa<SubOp>(binary_op)) cst_value.changeSign(); in matchAndRewrite() 1273 ScalarizeSplatConstantForBroadcastableOps<TFL::SubOp>;
|
D | prepare_tf.cc | 1138 ::mlir::TF::SubOp sub_op; in matchAndRewrite() 1142 sub_op = rewriter.create<::mlir::TF::SubOp>(odsLoc, in matchAndRewrite()
|
D | lower_static_tensor_list.cc | 741 auto size_diff = rewriter.create<TF::SubOp>( in matchAndRewrite() 862 auto partial_position_shape = rewriter->create<TF::SubOp>( in CreateCondFalseBranch()
|
/external/tensorflow/tensorflow/dtensor/mlir/utils/ |
D | collective_lowering.cc | 248 builder.create<mlir::TF::SubOp>(loc, device_id, start_device_id); in LowerAllReduceOpImpl() 537 builder.create<mlir::TF::SubOp>(loc, device_id, start_device_id); in LowerAllGatherOp()
|
/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()
|
/external/tensorflow/tensorflow/compiler/mlir/lite/experimental/tac/transforms/ |
D | device_transform_patterns.cc | 276 rewriter.create<TF::SubOp>(squared_diff_op.getLoc(), result_type, x, y); in matchAndRewrite()
|
/external/tensorflow/tensorflow/dtensor/mlir/ |
D | spmd_expanders.cc | 105 REGISTER_SPMD(Sub, TF::SubOp, ElementwiseSPMDExpander);
|