/external/llvm-project/llvm/lib/Transforms/InstCombine/ |
D | InstCombineNegator.cpp | 267 Value *NegOp = negate(I->getOperand(0), Depth + 1); in visitImpl() local 268 if (!NegOp) // Early return. in visitImpl() 270 return Builder.CreateFreeze(NegOp, I->getName() + ".neg"); in visitImpl() 347 Value *NegOp = negate(I->getOperand(0), Depth + 1); in visitImpl() local 348 if (!NegOp) // Early return. in visitImpl() 350 return Builder.CreateTrunc(NegOp, I->getType(), I->getName() + ".neg"); in visitImpl() 382 if (Value *NegOp = negate(Op, Depth + 1)) { in visitImpl() local 383 NegatedOps.emplace_back(NegOp); // Successfully negated operand! in visitImpl()
|
/external/tensorflow/tensorflow/compiler/mlir/hlo/include/mlir-hlo/Dialect/mhlo/transforms/ |
D | map_hlo_to_lhlo_op.h | 70 MAP_HLO_TO_LHLO(NegOp);
|
D | map_lmhlo_to_scalar_op.h | 560 inline Value MapLhloOpToStdScalarOp<lmhlo::NegOp>(Location loc,
|
/external/tensorflow/tensorflow/compiler/mlir/python/mlir_wrapper/ |
D | ops.cc | 171 py::class_<mlir::TF::NegOp>(m, "Tf_NegOp") in init_ops() 175 return opb.create<mlir::TF::NegOp>(loc, x).getOperation(); in init_ops()
|
/external/tensorflow/tensorflow/compiler/mlir/hlo/lib/Dialect/mhlo/transforms/ |
D | chlo_legalize_to_hlo.cc | 129 Value z = rewriter.create<mhlo::NegOp>(loc, x_sq); in MaterializeErfcApproximationF64ForMagnituteGEOne() 287 Value z = rewriter.create<mhlo::NegOp>(loc, x_sq); in MaterializeErfcApproximationF32ForMagnitudeGEOne() 525 Value neg_x = rewriter.create<mhlo::NegOp>(loc, x); in MaterializeLgamma() 633 rewriter.create<mhlo::NegOp>(loc, reflection_denom); in MaterializeLgamma() 670 Value neg_x = rewriter.create<mhlo::NegOp>(loc, x); in MaterializeDigamma() 789 Value neg_x = rewriter.create<mhlo::NegOp>(loc, x); in MaterializeZeta()
|
D | transform_unranked_hlo.cc | 41 sep fn(NotOp) sep fn(NegOp) sep fn(PopulationCountOp) \
|
D | hlo_legalize_to_lhlo.cc | 671 HloToLhloOpConverter<mhlo::NegOp>, in populateHLOToLHLOConversionPattern()
|
D | legalize_to_linalg.cc | 1411 PointwiseToLinalgConverter<lmhlo::NegOp>, in populateLHLOToLinalgConversionPattern() 1538 PointwiseToLinalgConverter<mhlo::NegOp, false>, in populateHLOToLinalgConversionPattern()
|
/external/tensorflow/tensorflow/compiler/mlir/xla/ |
D | hlo_utils.cc | 397 } else if (isa<mlir::mhlo::NegOp, mlir::lmhlo::NegOp>(op)) { in MhloToHloOpcode()
|
D | hlo_function_importer.cc | 768 NoAttributeCase(kNegate, NegOp); in ImportInstructionImpl()
|
/external/tensorflow/tensorflow/compiler/mlir/tensorflow/transforms/ |
D | lower_tf.cc | 527 NegOp::getOperationName(), in LowerLgammaOp() 591 Value minus_input = rewriter.create<NegOp>(loc, input); in matchAndRewrite() 699 Value neg_reflection_denom = rewriter.create<NegOp>(loc, reflection_denom); in matchAndRewrite()
|
/external/tensorflow/tensorflow/compiler/mlir/xla/transforms/ |
D | legalize_tf_with_tf2xla.cc | 189 TypeID::get<TF::NegOp>(), in IsOpAllowedTf2XlaFallback()
|
D | legalize_tf.cc | 1551 Value neg_d = rewriter.create<NegOp>(loc, d); in matchAndRewrite() 5755 builder->create<NegOp>(loc, batch_size_one)), in House() 6044 auto neg_beta = builder->create<NegOp>(loc, beta); in ComputeWYRepresentation() 6065 auto neg_beta = rewriter->create<NegOp>(loc, beta); in ComputeWYRepresentation()
|
D | mhlo_to_lhlo_with_xla.cc | 329 return CreateOpWithoutAttrs<lmhlo::NegOp>(instr); in EmitOp()
|
/external/tensorflow/tensorflow/compiler/mlir/tosa/transforms/ |
D | legalize_tf.cc | 1915 auto tf_neg_op = cast<TF::NegOp>(op); in matchAndRewrite()
|
D | legalize_tfl.cc | 2724 auto tfl_neg_op = cast<TFL::NegOp>(op); in matchAndRewrite()
|
/external/tensorflow/tensorflow/compiler/mlir/lite/ir/ |
D | tfl_ops.cc | 2166 OpFoldResult NegOp::fold(ArrayRef<Attribute> operands) { in fold()
|
/external/tensorflow/tensorflow/compiler/mlir/hlo/lib/Dialect/mhlo/IR/ |
D | hlo_ops.cc | 2218 UNARY_FOLDER(NegOp, std::negate);
|
/external/clang/lib/CodeGen/ |
D | CGBuiltin.cpp | 510 Value *NegOp = Builder.CreateNeg(ArgValue, "neg"); in EmitBuiltinExpr() local 516 Builder.CreateSelect(CmpResult, ArgValue, NegOp, "abs"); in EmitBuiltinExpr()
|
/external/llvm-project/clang/lib/CodeGen/ |
D | CGBuiltin.cpp | 2430 Value *NegOp = Builder.CreateNSWNeg(ArgValue, "neg"); in EmitBuiltinExpr() local 2433 Value *Result = Builder.CreateSelect(CmpResult, NegOp, ArgValue, "abs"); in EmitBuiltinExpr()
|