Searched refs:getConstantLike (Results 1 – 4 of 4) sorted by relevance
/external/tensorflow/tensorflow/compiler/mlir/hlo/lib/Dialect/mhlo/transforms/ |
D | chlo_legalize_to_hlo.cc | 85 Value poly = chlo::getConstantLike(rewriter, loc, 0.0, x); in MaterializePolynomialApproximation() 89 loc, x.getType(), poly, chlo::getConstantLike(rewriter, loc, c, x)); in MaterializePolynomialApproximation() 156 Value eight = chlo::getConstantLike(rewriter, loc, 8.0, x); in MaterializeErfcApproximationF64ForMagnituteGEOne() 164 loc, z, chlo::getConstantLike(rewriter, loc, -kMaxlog, x), kLT); in MaterializeErfcApproximationF64ForMagnituteGEOne() 165 Value zero = chlo::getConstantLike(rewriter, loc, 0.0, x); in MaterializeErfcApproximationF64ForMagnituteGEOne() 174 Value two = chlo::getConstantLike(rewriter, loc, 2.0, x); in MaterializeErfcApproximationF64ForMagnituteGEOne() 222 Value one = chlo::getConstantLike(rewriter, loc, 1.0, x); in MaterializeErfApproximationF64() 249 Value one = chlo::getConstantLike(rewriter, loc, 1.0, x); in MaterializeErfcApproximationF64() 295 Value one = chlo::getConstantLike(rewriter, loc, 1.0, x); in MaterializeErfcApproximationF32ForMagnitudeGEOne() 301 Value two = chlo::getConstantLike(rewriter, loc, 2.0, x); in MaterializeErfcApproximationF32ForMagnitudeGEOne() [all …]
|
/external/tensorflow/tensorflow/compiler/mlir/hlo/include/mlir-hlo/Dialect/mhlo/IR/ |
D | chlo_ops.h | 57 static Value getConstantLike(OpBuilder& b, Location loc, T constant, in getConstantLike() function 69 Value getConstantLike(OpBuilder& b, Location loc, const APFloat& constant,
|
D | hlo_utils.td | 31 "chlo::getConstantLike($_builder, $_loc, " # value # ", $0)">;
|
/external/tensorflow/tensorflow/compiler/mlir/hlo/lib/Dialect/mhlo/IR/ |
D | chlo_ops.cc | 38 return getConstantLike( in getConstantLikeMaxFiniteValue() 45 return getConstantLike( in getConstantLikeInfValue() 52 return getConstantLike( in getConstantLikeSmallestFiniteValue() 56 Value getConstantLike(OpBuilder& b, Location loc, const APFloat& constant, in getConstantLike() function
|